#include <string_view>
#include "base/ranges/algorithm.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "chrome/browser/extensions/extension_browsertest.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_commands.h"
#include "chrome/browser/ui/extensions/settings_api_bubble_helpers.h"
#include "chrome/browser/ui/view_ids.h"
#include "chrome/test/base/interactive_test_utils.h"
#include "chrome/test/base/ui_test_utils.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/content_features.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/test_frame_navigation_observer.h"
#include "content/public/test/test_navigation_observer.h"
#include "extensions/browser/extension_prefs.h"
#include "extensions/test/test_extension_dir.h"
#include "third_party/blink/public/common/features.h"
namespace extensions {
class OmniboxFocusInteractiveTest : public ExtensionBrowserTest { … };
IN_PROC_BROWSER_TEST_F(OmniboxFocusInteractiveTest,
NtpReplacementExtension_LocationAssignment) { … }
IN_PROC_BROWSER_TEST_F(OmniboxFocusInteractiveTest,
NtpReplacementExtension_TabsUpdate) { … }
IN_PROC_BROWSER_TEST_F(OmniboxFocusInteractiveTest,
NtpReplacementExtension_LocationReplacement) { … }
IN_PROC_BROWSER_TEST_F(OmniboxFocusInteractiveTest,
NtpReplacementExtension_PushState) { … }
IN_PROC_BROWSER_TEST_F(OmniboxFocusInteractiveTest,
NtpReplacementExtension_Reload) { … }
IN_PROC_BROWSER_TEST_F(OmniboxFocusInteractiveTest, OmniboxFocusStealing) { … }
IN_PROC_BROWSER_TEST_F(OmniboxFocusInteractiveTest, TabFocusStealingFromOopif) { … }
IN_PROC_BROWSER_TEST_F(OmniboxFocusInteractiveTest,
TabFocusStealingFromMainFrame) { … }
class OmniboxFocusInteractiveFencedFrameTest
: public OmniboxFocusInteractiveTest { … };
IN_PROC_BROWSER_TEST_F(OmniboxFocusInteractiveFencedFrameTest,
NtpReplacementExtension_LoadFencedFrame) { … }
}