| // Copyright 2019 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef COMPONENTS_OMNIBOX_COMMON_OMNIBOX_FEATURES_H_ |
| #define COMPONENTS_OMNIBOX_COMMON_OMNIBOX_FEATURES_H_ |
| |
| #include "base/feature_list.h" |
| |
| namespace omnibox { |
| |
| // TODO(dbeam): why is this list not sorted alphabetically? |
| extern const base::Feature kHideFileUrlScheme; |
| extern const base::Feature kHideSteadyStateUrlScheme; |
| extern const base::Feature kHideSteadyStateUrlTrivialSubdomains; |
| extern const base::Feature kHideSteadyStateUrlPathQueryAndRef; |
| extern const base::Feature kOneClickUnelide; |
| extern const base::Feature kSimplifyHttpsIndicator; |
| extern const base::Feature kOmniboxGroupSuggestionsBySearchVsUrl; |
| extern const base::Feature kOmniboxLocalEntitySuggestions; |
| extern const base::Feature kOmniboxMaxURLMatches; |
| extern const base::Feature kOmniboxRichEntitySuggestions; |
| extern const base::Feature kOmniboxReverseAnswers; |
| extern const base::Feature kOmniboxShortBookmarkSuggestions; |
| extern const base::Feature kOmniboxTailSuggestions; |
| extern const base::Feature kOmniboxTabSwitchSuggestions; |
| extern const base::Feature kOmniboxTabSwitchSuggestionsDedicatedRow; |
| extern const base::Feature kOmniboxReverseTabSwitchLogic; |
| extern const base::Feature kExperimentalKeywordMode; |
| extern const base::Feature kOmniboxPedalSuggestions; |
| extern const base::Feature kOmniboxSuggestionTransparencyOptions; |
| extern const base::Feature kEnableClipboardProviderTextSuggestions; |
| extern const base::Feature kEnableClipboardProviderImageSuggestions; |
| extern const base::Feature kSearchProviderWarmUpOnFocus; |
| extern const base::Feature kDisplayTitleForCurrentUrl; |
| extern const base::Feature kQueryInOmnibox; |
| extern const base::Feature kUIExperimentMaxAutocompleteMatches; |
| extern const base::Feature kUIExperimentShowSuggestionFavicons; |
| extern const base::Feature kUIExperimentSwapTitleAndUrl; |
| extern const base::Feature kSpeculativeServiceWorkerStartOnQueryInput; |
| extern const base::Feature kDocumentProvider; |
| extern const base::Feature kOnDeviceHeadProvider; |
| extern const base::Feature kAutocompleteTitles; |
| extern const base::Feature kOmniboxPopupShortcutIconsInZeroState; |
| extern const base::Feature kOmniboxMaterialDesignWeatherIcons; |
| extern const base::Feature kOmniboxDisableInstantExtendedLimit; |
| extern const base::Feature kOmniboxSearchEngineLogo; |
| extern const base::Feature kOmniboxRemoveSuggestionsFromClipboard; |
| |
| // Flags that affect the "twiddle" step of AutocompleteResult, i.e. SortAndCull. |
| // TODO(tommycli): There are more flags above that belong in this category. |
| extern const base::Feature kOmniboxPreserveDefaultMatchScore; |
| extern const base::Feature kOmniboxPreserveDefaultMatchAgainstAsyncUpdate; |
| |
| // On-Focus Suggestions a.k.a. ZeroSuggest. |
| extern const base::Feature kOnFocusSuggestions; |
| extern const base::Feature kZeroSuggestionsOnNTP; |
| extern const base::Feature kZeroSuggestionsOnNTPRealbox; |
| extern const base::Feature kZeroSuggestionsOnSERP; |
| |
| } // namespace omnibox |
| |
| #endif // COMPONENTS_OMNIBOX_COMMON_OMNIBOX_FEATURES_H_ |