#include "chrome/browser/ui/views/autofill/popup/custom_cursor_suppressor.h"
#include <memory>
#include <string_view>
#include <vector>
#include "chrome/browser/ui/browser_navigator.h"
#include "chrome/browser/ui/browser_navigator_params.h"
#include "chrome/test/base/browser_with_test_window_test.h"
#include "content/public/browser/global_routing_id.h"
#include "content/public/browser/web_contents.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/ui_base_types.h"
#include "url/gurl.h"
namespace {
GlobalRenderFrameHostId;
SizeIs;
UnorderedElementsAre;
UnorderedElementsAreArray;
constexpr std::string_view kUrl1 = …;
constexpr std::string_view kUrl2 = …;
constexpr std::string_view kUrl3 = …;
}
class CustomCursorSuppressorTest : public BrowserWithTestWindowTest { … };
TEST_F(CustomCursorSuppressorTest, SingleBrowserSingleTab) { … }
TEST_F(CustomCursorSuppressorTest,
SingleBrowserSingleTabWithNavigationToDifferentOrigin) { … }
TEST_F(CustomCursorSuppressorTest, SingleBrowserWithTabChange) { … }
TEST_F(CustomCursorSuppressorTest, SingleBrowserWithForegroundTabAddition) { … }
TEST_F(CustomCursorSuppressorTest, SingleBrowserWithBackgroundTabAddition) { … }
TEST_F(CustomCursorSuppressorTest, MultipleBrowsers) { … }
TEST_F(CustomCursorSuppressorTest, BrowserAddition) { … }