Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 1 | // Copyright 2019 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef COMPONENTS_OMNIBOX_COMMON_OMNIBOX_FEATURES_H_ |
| 6 | #define COMPONENTS_OMNIBOX_COMMON_OMNIBOX_FEATURES_H_ |
| 7 | |
| 8 | #include "base/feature_list.h" |
| 9 | |
| 10 | namespace omnibox { |
| 11 | |
Dan Beam | c6f0d22 | 2019-04-26 00:38:31 | [diff] [blame] | 12 | // TODO(dbeam): why is this list not sorted alphabetically? |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 13 | extern const base::Feature kHideFileUrlScheme; |
| 14 | extern const base::Feature kHideSteadyStateUrlScheme; |
| 15 | extern const base::Feature kHideSteadyStateUrlTrivialSubdomains; |
| 16 | extern const base::Feature kHideSteadyStateUrlPathQueryAndRef; |
| 17 | extern const base::Feature kOneClickUnelide; |
| 18 | extern const base::Feature kSimplifyHttpsIndicator; |
Kevin Bailey | 3830559 | 2019-05-24 16:55:36 | [diff] [blame] | 19 | extern const base::Feature kOmniboxGroupSuggestionsBySearchVsUrl; |
manuk | addd3c4 | 2019-04-09 21:20:59 | [diff] [blame] | 20 | extern const base::Feature kOmniboxLocalEntitySuggestions; |
Kevin Bailey | cd688992 | 2019-05-30 17:22:55 | [diff] [blame] | 21 | extern const base::Feature kOmniboxMaxURLMatches; |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 22 | extern const base::Feature kOmniboxRichEntitySuggestions; |
| 23 | extern const base::Feature kOmniboxNewAnswerLayout; |
| 24 | extern const base::Feature kOmniboxReverseAnswers; |
Kevin Bailey | 7d918b9 | 2019-05-02 16:00:14 | [diff] [blame] | 25 | extern const base::Feature kOmniboxShortBookmarkSuggestions; |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 26 | extern const base::Feature kOmniboxTailSuggestions; |
| 27 | extern const base::Feature kOmniboxTabSwitchSuggestions; |
Kevin Bailey | c9cd6cd | 2019-06-27 02:47:53 | [diff] [blame] | 28 | extern const base::Feature kOmniboxWrapPopupPosition; |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 29 | extern const base::Feature kOmniboxReverseTabSwitchLogic; |
| 30 | extern const base::Feature kExperimentalKeywordMode; |
| 31 | extern const base::Feature kOmniboxPedalSuggestions; |
Tommy C. Li | a2c75fb | 2019-04-08 20:22:34 | [diff] [blame] | 32 | extern const base::Feature kOmniboxSuggestionTransparencyOptions; |
Tommy C. Li | e57096e9 | 2019-04-23 21:18:55 | [diff] [blame] | 33 | extern const base::Feature kOmniboxUICuesForSearchHistoryMatches; |
Tommy C. Li | 7af8664b | 2019-04-24 18:10:29 | [diff] [blame] | 34 | extern const base::Feature kOmniboxAlternateMatchDescriptionSeparator; |
Kevin Bailey | abf05d6 | 2019-05-15 17:29:56 | [diff] [blame] | 35 | extern const base::Feature kOmniboxPreserveDefaultMatchScore; |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 36 | extern const base::Feature kEnableClipboardProviderTextSuggestions; |
| 37 | extern const base::Feature kEnableClipboardProviderImageSuggestions; |
| 38 | extern const base::Feature kSearchProviderWarmUpOnFocus; |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 39 | extern const base::Feature kDisplayTitleForCurrentUrl; |
| 40 | extern const base::Feature kQueryInOmnibox; |
| 41 | extern const base::Feature kUIExperimentMaxAutocompleteMatches; |
| 42 | extern const base::Feature kUIExperimentShowSuggestionFavicons; |
| 43 | extern const base::Feature kUIExperimentSwapTitleAndUrl; |
| 44 | extern const base::Feature kUIExperimentVerticalMargin; |
Tommy C. Li | e35fb6b | 2019-04-30 16:29:54 | [diff] [blame] | 45 | extern const base::Feature kUIExperimentVerticalMarginLimitToNonTouchOnly; |
Dan Beam | c6f0d22 | 2019-04-26 00:38:31 | [diff] [blame] | 46 | extern const base::Feature kUIExperimentShowPlaceholderWhenCaretShowing; |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 47 | extern const base::Feature kSpeculativeServiceWorkerStartOnQueryInput; |
| 48 | extern const base::Feature kDocumentProvider; |
Ce Chen | 20af01c | 2019-07-02 19:16:36 | [diff] [blame^] | 49 | extern const base::Feature kOnDeviceHeadProvider; |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 50 | extern const base::Feature kDedupeGoogleDriveURLs; |
| 51 | extern const base::Feature kOmniboxPopupShortcutIconsInZeroState; |
| 52 | extern const base::Feature kOmniboxMaterialDesignWeatherIcons; |
Patrick Noland | 2b4968b | 2019-06-27 14:50:26 | [diff] [blame] | 53 | extern const base::Feature kOmniboxDisableInstantExtendedLimit; |
Tommy C. Li | 09010551 | 2019-05-16 22:00:56 | [diff] [blame] | 54 | |
| 55 | // On-Focus Suggestions a.k.a. ZeroSuggest. |
| 56 | extern const base::Feature kOnFocusSuggestions; |
Tomasz Wiszkowski | 947f6d0d | 2019-03-15 22:27:25 | [diff] [blame] | 57 | extern const base::Feature kZeroSuggestionsOnNTP; |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 58 | |
| 59 | } // namespace omnibox |
| 60 | |
| 61 | #endif // COMPONENTS_OMNIBOX_COMMON_OMNIBOX_FEATURES_H_ |