#include "chrome/browser/ui/browser_element_identifiers.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/location_bar/lens_overlay_page_action_icon_view.h"
#include "chrome/browser/ui/views/location_bar/location_bar_view.h"
#include "chrome/browser/ui/views/toolbar/toolbar_view.h"
#include "chrome/common/webui_url_constants.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/lens/lens_features.h"
#include "components/omnibox/browser/omnibox_prefs.h"
#include "content/public/test/browser_test.h"
#include "ui/views/interaction/element_tracker_views.h"
#include "url/url_constants.h"
namespace {
class LensOverlayPageActionIconViewTestBase : public InProcessBrowserTest { … };
class LensOverlayPageActionIconViewTest
: public LensOverlayPageActionIconViewTestBase { … };
class LensOverlayPageActionIconViewTestOmniboxEntryPointDisabled
: public LensOverlayPageActionIconViewTestBase { … };
IN_PROC_BROWSER_TEST_F(LensOverlayPageActionIconViewTest,
ShowsWhenLocationBarFocused) { … }
IN_PROC_BROWSER_TEST_F(LensOverlayPageActionIconViewTest,
DoesNotShowWhenSettingDisabled) { … }
IN_PROC_BROWSER_TEST_F(LensOverlayPageActionIconViewTest, DoesNotShowOnNTP) { … }
IN_PROC_BROWSER_TEST_F(
LensOverlayPageActionIconViewTestOmniboxEntryPointDisabled,
DoesNotExistWhenOmniboxFeatureParamDisabled) { … }
IN_PROC_BROWSER_TEST_F(LensOverlayPageActionIconViewTest,
RespectsShowShortcutPreference) { … }
}