#include "chrome/browser/ui/views/location_bar/location_icon_view.h"
#include <memory>
#include "base/memory/raw_ptr.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "chrome/grit/generated_resources.h"
#include "chrome/test/views/chrome_views_test_base.h"
#include "components/omnibox/browser/location_bar_model.h"
#include "components/omnibox/browser/test_location_bar_model.h"
#include "components/strings/grit/components_strings.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/widget/widget.h"
namespace {
class TestLocationIconDelegate : public IconLabelBubbleView::Delegate,
public LocationIconView::Delegate { … };
}
class LocationIconViewTest : public ChromeViewsTestBase { … };
TEST_F(LocationIconViewTest, ShouldNotAnimateWhenSuppressingAnimations) { … }
TEST_F(LocationIconViewTest, ShouldAnimateTextWhenWarning) { … }
TEST_F(LocationIconViewTest, ShouldAnimateTextWhenDangerous) { … }
TEST_F(LocationIconViewTest, ShouldNotAnimateWarningToDangerous) { … }
TEST_F(LocationIconViewTest, IconViewAccessibleNameAndRole) { … }