#include "components/omnibox/browser/omnibox_popup_selection.h"
#include "build/build_config.h"
#include "components/omnibox/browser/actions/omnibox_action.h"
#include "components/omnibox/browser/autocomplete_result.h"
#include "components/search_engines/template_url_service.h"
#include <algorithm>
constexpr bool kIsDesktop = …;
const size_t OmniboxPopupSelection::kNoMatch = …;
bool OmniboxPopupSelection::operator==(const OmniboxPopupSelection& b) const { … }
bool OmniboxPopupSelection::operator!=(const OmniboxPopupSelection& b) const { … }
bool OmniboxPopupSelection::operator<(const OmniboxPopupSelection& b) const { … }
bool OmniboxPopupSelection::IsChangeToKeyword(
OmniboxPopupSelection from) const { … }
bool OmniboxPopupSelection::IsButtonFocused() const { … }
bool OmniboxPopupSelection::IsAction() const { … }
bool OmniboxPopupSelection::IsControlPresentOnMatch(
const AutocompleteResult& result,
PrefService* pref_service) const { … }
OmniboxPopupSelection OmniboxPopupSelection::GetNextSelection(
const AutocompleteResult& result,
PrefService* pref_service,
TemplateURLService* template_url_service,
Direction direction,
Step step) const { … }
std::vector<OmniboxPopupSelection>
OmniboxPopupSelection::GetAllAvailableSelectionsSorted(
const AutocompleteResult& result,
PrefService* pref_service,
TemplateURLService* template_url_service,
Direction direction,
Step step) { … }