blob: 4910578c720623c1cbc4799e20dc45ca0510c417 [file] [log] [blame]
Tomasz Wiszkowskid938a1112019-03-06 18:01:571// 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
10namespace omnibox {
11
Dan Beamc6f0d222019-04-26 00:38:3112// TODO(dbeam): why is this list not sorted alphabetically?
Tomasz Wiszkowskid938a1112019-03-06 18:01:5713extern const base::Feature kHideFileUrlScheme;
14extern const base::Feature kHideSteadyStateUrlScheme;
15extern const base::Feature kHideSteadyStateUrlTrivialSubdomains;
16extern const base::Feature kHideSteadyStateUrlPathQueryAndRef;
17extern const base::Feature kOneClickUnelide;
18extern const base::Feature kSimplifyHttpsIndicator;
Kevin Bailey38305592019-05-24 16:55:3619extern const base::Feature kOmniboxGroupSuggestionsBySearchVsUrl;
manukaddd3c42019-04-09 21:20:5920extern const base::Feature kOmniboxLocalEntitySuggestions;
Kevin Baileycd6889922019-05-30 17:22:5521extern const base::Feature kOmniboxMaxURLMatches;
Tomasz Wiszkowskid938a1112019-03-06 18:01:5722extern const base::Feature kOmniboxRichEntitySuggestions;
Tomasz Wiszkowskid938a1112019-03-06 18:01:5723extern const base::Feature kOmniboxReverseAnswers;
Kevin Bailey7d918b92019-05-02 16:00:1424extern const base::Feature kOmniboxShortBookmarkSuggestions;
Tomasz Wiszkowskid938a1112019-03-06 18:01:5725extern const base::Feature kOmniboxTailSuggestions;
26extern const base::Feature kOmniboxTabSwitchSuggestions;
Kevin Bailey37bbf1d2019-08-21 19:23:5527extern const base::Feature kOmniboxTabSwitchSuggestionsDedicatedRow;
Kevin Baileyc9cd6cd2019-06-27 02:47:5328extern const base::Feature kOmniboxWrapPopupPosition;
Tomasz Wiszkowskid938a1112019-03-06 18:01:5729extern const base::Feature kOmniboxReverseTabSwitchLogic;
30extern const base::Feature kExperimentalKeywordMode;
31extern const base::Feature kOmniboxPedalSuggestions;
Tommy C. Lia2c75fb2019-04-08 20:22:3432extern const base::Feature kOmniboxSuggestionTransparencyOptions;
Tomasz Wiszkowskid938a1112019-03-06 18:01:5733extern const base::Feature kEnableClipboardProviderTextSuggestions;
34extern const base::Feature kEnableClipboardProviderImageSuggestions;
35extern const base::Feature kSearchProviderWarmUpOnFocus;
Tomasz Wiszkowskid938a1112019-03-06 18:01:5736extern const base::Feature kDisplayTitleForCurrentUrl;
37extern const base::Feature kQueryInOmnibox;
38extern const base::Feature kUIExperimentMaxAutocompleteMatches;
39extern const base::Feature kUIExperimentShowSuggestionFavicons;
40extern const base::Feature kUIExperimentSwapTitleAndUrl;
Tomasz Wiszkowskid938a1112019-03-06 18:01:5741extern const base::Feature kSpeculativeServiceWorkerStartOnQueryInput;
42extern const base::Feature kDocumentProvider;
Ce Chen20af01c2019-07-02 19:16:3643extern const base::Feature kOnDeviceHeadProvider;
manuk4542e232019-09-11 19:27:3544extern const base::Feature kAutocompleteTitles;
Tomasz Wiszkowskid938a1112019-03-06 18:01:5745extern const base::Feature kOmniboxPopupShortcutIconsInZeroState;
46extern const base::Feature kOmniboxMaterialDesignWeatherIcons;
Patrick Noland2b4968b2019-06-27 14:50:2647extern const base::Feature kOmniboxDisableInstantExtendedLimit;
Brandon Wylief8dd4e82019-07-11 16:39:5748extern const base::Feature kOmniboxSearchEngineLogo;
Tommy C. Li090105512019-05-16 22:00:5649
Tommy Li6390ecc2019-09-06 21:08:5750// Flags that affect the "twiddle" step of AutocompleteResult, i.e. SortAndCull.
51// TODO(tommycli): There are more flags above that belong in this category.
52extern const base::Feature kOmniboxPreserveDefaultMatchScore;
53extern const base::Feature kOmniboxPreserveDefaultMatchAgainstAsyncUpdate;
54
Tommy C. Li090105512019-05-16 22:00:5655// On-Focus Suggestions a.k.a. ZeroSuggest.
56extern const base::Feature kOnFocusSuggestions;
Tomasz Wiszkowski947f6d0d2019-03-15 22:27:2557extern const base::Feature kZeroSuggestionsOnNTP;
Moe Ahmadi4005ec92019-09-09 16:55:5358extern const base::Feature kZeroSuggestionsOnNTPRealbox;
Tommy Li1d03b9bf2019-09-23 23:46:3459extern const base::Feature kZeroSuggestionsOnSERP;
Tomasz Wiszkowskid938a1112019-03-06 18:01:5760
61} // namespace omnibox
62
63#endif // COMPONENTS_OMNIBOX_COMMON_OMNIBOX_FEATURES_H_