#include "chrome/browser/ui/views/autofill/popup/popup_base_view.h"
#include <utility>
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "build/build_config.h"
#include "chrome/browser/ui/autofill/autofill_popup_view_delegate.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "components/autofill/core/browser/autofill_test_utils.h"
#include "components/autofill/core/browser/ui/popup_open_enums.h"
#include "components/autofill/core/browser/ui/suggestion.h"
#include "components/autofill/core/common/autofill_features.h"
#include "components/strings/grit/components_strings.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/browser_test.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/events/event_utils.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/point_conversions.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/rect_f.h"
#include "ui/gfx/geometry/vector2d.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/test/views_test_base.h"
#include "ui/views/widget/widget.h"
namespace autofill {
namespace {
Return;
ReturnRef;
class MockAutofillPopupViewDelegate : public AutofillPopupViewDelegate { … };
}
class PopupBaseViewBrowsertest : public InProcessBrowserTest { … };
IN_PROC_BROWSER_TEST_F(PopupBaseViewBrowsertest, CorrectBoundsTest) { … }
IN_PROC_BROWSER_TEST_F(PopupBaseViewBrowsertest, AccessibleProperties) { … }
struct ProminentPopupTestParams { … };
class PopupBaseViewProminentStyleFeatureTest
: public PopupBaseViewBrowsertest,
public testing::WithParamInterface<ProminentPopupTestParams> { … };
IN_PROC_BROWSER_TEST_P(PopupBaseViewProminentStyleFeatureTest, LeftMaxOffset) { … }
INSTANTIATE_TEST_SUITE_P(…);
}