// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_ROW_VIEW_H_ #define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_ROW_VIEW_H_ #include <string> #include "base/memory/raw_ptr.h" #include "ui/base/metadata/metadata_header_macros.h" #include "ui/views/view.h" class OmniboxPopupViewViews; class OmniboxResultView; class OmniboxHeaderView; // The View that's a direct child of the OmniboxPopupViewViews, one per row. // This, in turn, has a child OmniboxResultView and an optional header that is // painted right above it. The header is not a child of OmniboxResultView // because it's logically not part of the result view: // - Hovering the header doesn't highlight the result view. // - Clicking the header doesn't navigate to the match. // - It's the header for multiple matches, it's just painted above this row. class OmniboxRowView : public views::View { … }; #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_ROW_VIEW_H_