#include "chrome/browser/ui/views/omnibox/omnibox_result_view.h"
#include <memory>
#include "base/memory/raw_ptr.h"
#include "base/test/scoped_feature_list.h"
#include "chrome/browser/ui/omnibox/omnibox_theme.h"
#include "chrome/browser/ui/views/omnibox/omnibox_header_view.h"
#include "chrome/browser/ui/views/omnibox/omnibox_popup_view_views.h"
#include "chrome/browser/ui/views/omnibox/omnibox_row_view.h"
#include "chrome/test/views/chrome_views_test_base.h"
#include "components/omnibox/browser/omnibox_controller.h"
#include "components/omnibox/browser/test_omnibox_client.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/display/test/test_screen.h"
#include "ui/events/event.h"
#include "ui/events/event_constants.h"
#include "ui/events/event_utils.h"
#include "ui/events/types/event_type.h"
#include "ui/gfx/image/image.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/widget/widget.h"
#if defined(USE_AURA)
#include "ui/aura/env.h"
#endif
namespace {
static constexpr size_t kTestResultViewIndex = …;
class TestOmniboxPopupViewViews : public OmniboxPopupViewViews { … };
}
class OmniboxResultViewTest : public ChromeViewsTestBase { … };
TEST_F(OmniboxResultViewTest, MousePressedWithLeftButtonSelectsThisResult) { … }
TEST_F(OmniboxResultViewTest, MouseDragWithLeftButtonSelectsThisResult) { … }
TEST_F(OmniboxResultViewTest, MouseDragWithNonLeftButtonSetsHoveredState) { … }
TEST_F(OmniboxResultViewTest, MouseDragOutOfViewCancelsHoverState) { … }
TEST_F(OmniboxResultViewTest, MouseEnterAndExitSetsHoveredState) { … }
TEST_F(OmniboxResultViewTest, MouseEnterAndExitSetsHoveredAccessibleState) { … }
TEST_F(OmniboxResultViewTest, AccessibleProperties) { … }
TEST_F(OmniboxResultViewTest, ExpandedCollapsedAccessibilityState) { … }
TEST_F(OmniboxResultViewTest, StarterPackMatch) { … }
TEST_F(OmniboxResultViewTest, FeaturedEnterpriseSearchMatch) { … }