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 | #include "components/omnibox/common/omnibox_features.h" |
| 6 | |
manuk | c32a8eff | 2019-07-02 15:48:30 | [diff] [blame] | 7 | #include "build/build_config.h" |
| 8 | |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 9 | namespace omnibox { |
| 10 | |
| 11 | // Feature used to hide the scheme from steady state URLs displayed in the |
| 12 | // toolbar. It is restored during editing. |
| 13 | const base::Feature kHideFileUrlScheme { |
| 14 | "OmniboxUIExperimentHideFileUrlScheme", |
| 15 | // Android and iOS don't have the File security chip, and therefore still |
| 16 | // need to show the file scheme. |
| 17 | #if defined(OS_ANDROID) || defined(OS_IOS) |
| 18 | base::FEATURE_DISABLED_BY_DEFAULT |
| 19 | #else |
| 20 | base::FEATURE_ENABLED_BY_DEFAULT |
| 21 | #endif |
| 22 | }; |
| 23 | |
| 24 | // Feature used to hide the scheme from steady state URLs displayed in the |
| 25 | // toolbar. It is restored during editing. |
Tommy C. Li | 7514ba8 | 2019-06-25 19:43:53 | [diff] [blame] | 26 | const base::Feature kHideSteadyStateUrlScheme{ |
| 27 | "OmniboxUIExperimentHideSteadyStateUrlScheme", |
| 28 | base::FEATURE_ENABLED_BY_DEFAULT}; |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 29 | |
| 30 | // Feature used to hide trivial subdomains from steady state URLs displayed in |
| 31 | // the toolbar. It is restored during editing. |
Tommy C. Li | 7514ba8 | 2019-06-25 19:43:53 | [diff] [blame] | 32 | const base::Feature kHideSteadyStateUrlTrivialSubdomains{ |
| 33 | "OmniboxUIExperimentHideSteadyStateUrlTrivialSubdomains", |
| 34 | base::FEATURE_ENABLED_BY_DEFAULT}; |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 35 | |
| 36 | // Feature used to hide the path, query and ref from steady state URLs |
| 37 | // displayed in the toolbar. It is restored during editing. |
| 38 | const base::Feature kHideSteadyStateUrlPathQueryAndRef { |
| 39 | "OmniboxUIExperimentHideSteadyStateUrlPathQueryAndRef", |
| 40 | #if defined(OS_IOS) |
| 41 | base::FEATURE_ENABLED_BY_DEFAULT |
| 42 | #else |
| 43 | base::FEATURE_DISABLED_BY_DEFAULT |
| 44 | #endif |
| 45 | }; |
| 46 | |
| 47 | // Feature used to undo all omnibox elisions on a single click or focus action. |
| 48 | const base::Feature kOneClickUnelide{"OmniboxOneClickUnelide", |
| 49 | base::FEATURE_DISABLED_BY_DEFAULT}; |
| 50 | |
Christopher Thompson | c26ef30 | 2019-06-07 01:55:45 | [diff] [blame] | 51 | // This feature simplifies the security indiciator UI for https:// pages. |
| 52 | // The default behavior is to show no verbose text for EV pages. When disabled, |
| 53 | // the verbose EV indicator text will be displayed. |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 54 | // This feature is used for EV UI removal experiment (https://crbug.com/803501). |
| 55 | const base::Feature kSimplifyHttpsIndicator{"SimplifyHttpsIndicator", |
Christopher Thompson | c26ef30 | 2019-06-07 01:55:45 | [diff] [blame] | 56 | base::FEATURE_ENABLED_BY_DEFAULT}; |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 57 | |
Kevin Bailey | 0f7d159 | 2019-05-23 19:07:35 | [diff] [blame] | 58 | // This feature is used to have final suggestions within the Omnibox grouped |
Kevin Bailey | 3830559 | 2019-05-24 16:55:36 | [diff] [blame] | 59 | // by major type. i.e. search types are first, followed by all others, |
| 60 | // except for the default match which is unchanged in position. |
| 61 | const base::Feature kOmniboxGroupSuggestionsBySearchVsUrl{ |
manuk | 57c1185 | 2019-07-26 22:59:05 | [diff] [blame] | 62 | "OmniboxGroupSuggestionsBySearchVsUrl", |
Tomasz Wiszkowski | 650be108 | 2019-09-19 15:13:08 | [diff] [blame] | 63 | #if defined(OS_IOS) |
manuk | 57c1185 | 2019-07-26 22:59:05 | [diff] [blame] | 64 | base::FEATURE_DISABLED_BY_DEFAULT |
| 65 | #else |
| 66 | base::FEATURE_ENABLED_BY_DEFAULT |
| 67 | #endif |
| 68 | }; |
Kevin Bailey | 0f7d159 | 2019-05-23 19:07:35 | [diff] [blame] | 69 | |
manuk | addd3c4 | 2019-04-09 21:20:59 | [diff] [blame] | 70 | // Feature used to enable local entity suggestions. Similar to rich entities but |
| 71 | // but location specific. E.g., typing 'starbucks near' could display the local |
| 72 | // entity suggestion 'starbucks near disneyland \n starbucks * Anaheim, CA'. |
| 73 | const base::Feature kOmniboxLocalEntitySuggestions{ |
| 74 | "OmniboxLocalEntitySuggestions", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 75 | |
Kevin Bailey | b3e0873 | 2019-05-29 03:55:25 | [diff] [blame] | 76 | // Feature used to cap the number of URL-type matches shown within the |
| 77 | // Omnibox. If enabled, the number of URL-type matches is limited (unless |
| 78 | // there are no more non-URL matches available.) If enabled, there is a |
| 79 | // companion parameter - OmniboxMaxURLMatches - which specifies the maximum |
| 80 | // desired number of URL-type matches. |
Kevin Bailey | cd688992 | 2019-05-30 17:22:55 | [diff] [blame] | 81 | const base::Feature kOmniboxMaxURLMatches{"OmniboxMaxURLMatches", |
Kevin Bailey | b3e0873 | 2019-05-29 03:55:25 | [diff] [blame] | 82 | base::FEATURE_DISABLED_BY_DEFAULT}; |
| 83 | |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 84 | // Feature used to enable entity suggestion images and enhanced presentation |
| 85 | // showing more context and descriptive text about the entity. |
| 86 | const base::Feature kOmniboxRichEntitySuggestions{ |
Justin Donnelly | 481a69c | 2019-05-03 20:41:42 | [diff] [blame] | 87 | "OmniboxRichEntitySuggestions", |
| 88 | #if defined(OS_IOS) || defined(OS_ANDROID) |
| 89 | base::FEATURE_DISABLED_BY_DEFAULT |
| 90 | #else |
| 91 | base::FEATURE_ENABLED_BY_DEFAULT |
| 92 | #endif |
| 93 | }; |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 94 | |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 95 | // Feature used to enable swapping the rows on answers. |
| 96 | const base::Feature kOmniboxReverseAnswers{"OmniboxReverseAnswers", |
| 97 | base::FEATURE_DISABLED_BY_DEFAULT}; |
| 98 | |
Kevin Bailey | 7d918b9 | 2019-05-02 16:00:14 | [diff] [blame] | 99 | // Feature used to enable matching short words to bookmarks for suggestions. |
| 100 | const base::Feature kOmniboxShortBookmarkSuggestions{ |
| 101 | "OmniboxShortBookmarkSuggestions", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 102 | |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 103 | // Feature used to force on the experiment of transmission of tail suggestions |
| 104 | // from GWS to this client, currently testing for desktop. |
| 105 | const base::Feature kOmniboxTailSuggestions{ |
| 106 | "OmniboxTailSuggestions", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 107 | |
Kevin Bailey | 37bbf1d | 2019-08-21 19:23:55 | [diff] [blame] | 108 | // Feature that enables the tab-switch suggestions corresponding to an open |
| 109 | // tab, for a button or dedicated suggestion. Enabled by default on Desktop |
| 110 | // and iOS. |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 111 | const base::Feature kOmniboxTabSwitchSuggestions{ |
| 112 | "OmniboxTabSwitchSuggestions", |
Stepan Khapugin | b0980166 | 2019-05-07 10:17:04 | [diff] [blame] | 113 | #if defined(OS_ANDROID) |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 114 | base::FEATURE_DISABLED_BY_DEFAULT |
| 115 | #else |
| 116 | base::FEATURE_ENABLED_BY_DEFAULT |
| 117 | #endif |
| 118 | }; |
| 119 | |
Kevin Bailey | 37bbf1d | 2019-08-21 19:23:55 | [diff] [blame] | 120 | // Feature that enables tab-switch suggestions in their own row. |
| 121 | const base::Feature kOmniboxTabSwitchSuggestionsDedicatedRow{ |
| 122 | "OmniboxTabSwitchSuggestionsDedicatedRow", |
| 123 | base::FEATURE_DISABLED_BY_DEFAULT}; |
| 124 | |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 125 | // Feature used to reverse the sense of the tab switch button. Selecting the |
| 126 | // suggestion will switch to the tab, while the button will navigate |
| 127 | // locally. |
| 128 | const base::Feature kOmniboxReverseTabSwitchLogic{ |
| 129 | "OmniboxReverseTabSwitchLogic", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 130 | |
| 131 | // Feature used to enable various experiments on keyword mode, UI and |
| 132 | // suggestions. |
| 133 | const base::Feature kExperimentalKeywordMode{"OmniboxExperimentalKeywordMode", |
| 134 | base::FEATURE_DISABLED_BY_DEFAULT}; |
| 135 | |
| 136 | // Feature used to enable Pedal suggestions. |
| 137 | const base::Feature kOmniboxPedalSuggestions{"OmniboxPedalSuggestions", |
| 138 | base::FEATURE_DISABLED_BY_DEFAULT}; |
| 139 | |
Tommy C. Li | a2c75fb | 2019-04-08 20:22:34 | [diff] [blame] | 140 | // Feature used for UI that improves transparency of and control over omnibox |
Tommy Li | 9d12b4be | 2019-09-12 19:21:41 | [diff] [blame] | 141 | // suggestions. This includes "Why this Suggestion?" and user controls to delete |
| 142 | // personalized suggestions. This will be eventually enabled by default. |
Tommy C. Li | a2c75fb | 2019-04-08 20:22:34 | [diff] [blame] | 143 | const base::Feature kOmniboxSuggestionTransparencyOptions{ |
| 144 | "OmniboxSuggestionTransparencyOptions", base::FEATURE_DISABLED_BY_DEFAULT}; |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 145 | |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 146 | // Feature to enable clipboard provider to suggest copied text. |
| 147 | const base::Feature kEnableClipboardProviderTextSuggestions{ |
Robbie Gibson | 85cef318 | 2019-07-21 15:10:29 | [diff] [blame] | 148 | "OmniboxEnableClipboardProviderTextSuggestions", |
| 149 | #if defined(OS_IOS) |
| 150 | base::FEATURE_ENABLED_BY_DEFAULT |
| 151 | #else |
| 152 | base::FEATURE_DISABLED_BY_DEFAULT |
| 153 | #endif |
| 154 | }; |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 155 | |
| 156 | // Feature to enable clipboard provider to suggest searching for copied images. |
| 157 | const base::Feature kEnableClipboardProviderImageSuggestions{ |
Robbie Gibson | 85cef318 | 2019-07-21 15:10:29 | [diff] [blame] | 158 | "OmniboxEnableClipboardProviderImageSuggestions", |
| 159 | #if defined(OS_IOS) |
| 160 | base::FEATURE_ENABLED_BY_DEFAULT |
| 161 | #else |
| 162 | base::FEATURE_DISABLED_BY_DEFAULT |
| 163 | #endif |
| 164 | }; |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 165 | |
| 166 | // Feature to enable the search provider to send a request to the suggest |
| 167 | // server on focus. This allows the suggest server to warm up, by, for |
| 168 | // example, loading per-user models into memory. Having a per-user model |
| 169 | // in memory allows the suggest server to respond more quickly with |
| 170 | // personalized suggestions as the user types. |
| 171 | const base::Feature kSearchProviderWarmUpOnFocus{ |
| 172 | "OmniboxWarmUpSearchProviderOnFocus", |
| 173 | #if defined(OS_IOS) |
| 174 | base::FEATURE_DISABLED_BY_DEFAULT |
| 175 | #else |
| 176 | base::FEATURE_ENABLED_BY_DEFAULT |
| 177 | #endif |
| 178 | }; |
| 179 | |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 180 | // Feature used to display the title of the current URL match. |
| 181 | const base::Feature kDisplayTitleForCurrentUrl{ |
| 182 | "OmniboxDisplayTitleForCurrentUrl", |
| 183 | #if !defined(OS_IOS) |
| 184 | base::FEATURE_ENABLED_BY_DEFAULT |
| 185 | #else |
| 186 | base::FEATURE_DISABLED_BY_DEFAULT |
| 187 | #endif |
| 188 | }; |
| 189 | |
| 190 | // Feature used for the max autocomplete matches UI experiment. |
| 191 | const base::Feature kUIExperimentMaxAutocompleteMatches{ |
| 192 | "OmniboxUIExperimentMaxAutocompleteMatches", |
| 193 | base::FEATURE_DISABLED_BY_DEFAULT}; |
| 194 | |
| 195 | // Feature used to display the search terms instead of the URL in the Omnibox |
| 196 | // when the user is on the search results page of the default search provider. |
| 197 | const base::Feature kQueryInOmnibox{"QueryInOmnibox", |
| 198 | base::FEATURE_DISABLED_BY_DEFAULT}; |
| 199 | |
Tommy C. Li | 0001b82 | 2019-05-10 00:10:03 | [diff] [blame] | 200 | // Feature used for showing the URL suggestion favicons as a UI experiment. |
| 201 | // Already launched on Desktop, and currently under development on Android. |
| 202 | // This flag is not used on iOS. |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 203 | const base::Feature kUIExperimentShowSuggestionFavicons{ |
Tomasz Wiszkowski | 4af1f735 | 2019-04-08 16:46:15 | [diff] [blame] | 204 | "OmniboxUIExperimentShowSuggestionFavicons", |
| 205 | #if defined(OS_ANDROID) |
| 206 | base::FEATURE_DISABLED_BY_DEFAULT |
| 207 | #else |
| 208 | base::FEATURE_ENABLED_BY_DEFAULT |
| 209 | #endif |
| 210 | }; |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 211 | |
| 212 | // Feature used to always swap the title and URL. |
| 213 | const base::Feature kUIExperimentSwapTitleAndUrl{ |
| 214 | "OmniboxUIExperimentSwapTitleAndUrl", |
| 215 | #if defined(OS_IOS) || defined(OS_ANDROID) |
| 216 | base::FEATURE_DISABLED_BY_DEFAULT |
| 217 | #else |
| 218 | base::FEATURE_ENABLED_BY_DEFAULT |
| 219 | #endif |
| 220 | }; |
| 221 | |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 222 | // Feature used to enable speculatively starting a service worker associated |
| 223 | // with the destination of the default match when the user's input looks like a |
| 224 | // query. |
| 225 | const base::Feature kSpeculativeServiceWorkerStartOnQueryInput{ |
| 226 | "OmniboxSpeculativeServiceWorkerStartOnQueryInput", |
| 227 | base::FEATURE_ENABLED_BY_DEFAULT |
| 228 | }; |
| 229 | |
| 230 | // Feature used to fetch document suggestions. |
| 231 | const base::Feature kDocumentProvider{"OmniboxDocumentProvider", |
| 232 | base::FEATURE_DISABLED_BY_DEFAULT}; |
| 233 | |
manuk | 4542e23 | 2019-09-11 19:27:35 | [diff] [blame] | 234 | // Feature used to autocomplete bookmark, history, and document suggestions when |
| 235 | // the user input is a prefix of their titles, as opposed to their URLs. |
| 236 | const base::Feature kAutocompleteTitles{"OmniboxAutocompleteTitles", |
| 237 | base::FEATURE_DISABLED_BY_DEFAULT}; |
| 238 | |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 239 | // Feature to replace the standard ZeroSuggest with icons for most visited sites |
| 240 | // and collections (bookmarks, history, recent tabs, reading list). Only |
| 241 | // available on iOS. |
| 242 | const base::Feature kOmniboxPopupShortcutIconsInZeroState{ |
| 243 | "OmniboxPopupShortcutIconsInZeroState", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 244 | |
| 245 | // Feature to use material design weather icons in the omnibox when displaying |
| 246 | // weather answers. |
| 247 | const base::Feature kOmniboxMaterialDesignWeatherIcons{ |
manuk | 9a2ed55 | 2019-09-09 23:45:44 | [diff] [blame] | 248 | "OmniboxMaterialDesignWeatherIcons", base::FEATURE_ENABLED_BY_DEFAULT}; |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 249 | |
Patrick Noland | 2b4968b | 2019-06-27 14:50:26 | [diff] [blame] | 250 | // Returns whether IsInstantExtendedAPIEnabled should be ignored when deciding |
| 251 | // the number of Google-provided search suggestions. |
| 252 | const base::Feature kOmniboxDisableInstantExtendedLimit{ |
| 253 | "OmniboxDisableInstantExtendedLimit", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 254 | |
Brandon Wylie | f8dd4e8 | 2019-07-11 16:39:57 | [diff] [blame] | 255 | // Show the search engine logo in the omnibox on Android (desktop already does |
| 256 | // this). |
| 257 | const base::Feature kOmniboxSearchEngineLogo{"OmniboxSearchEngineLogo", |
| 258 | base::FEATURE_DISABLED_BY_DEFAULT}; |
| 259 | |
manuk | bf3c8ab | 2019-10-24 16:52:08 | [diff] [blame^] | 260 | // Feature used to allow users to remove suggestions from clipboard. |
| 261 | const base::Feature kOmniboxRemoveSuggestionsFromClipboard{ |
| 262 | "OmniboxRemoveSuggestionsFromClipboard", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 263 | |
| 264 | // Feature to provide non personalized head search suggestion from a compact |
| 265 | // on device model. |
| 266 | const base::Feature kOnDeviceHeadProvider{"OmniboxOnDeviceHeadProvider", |
| 267 | base::FEATURE_DISABLED_BY_DEFAULT}; |
| 268 | |
| 269 | // Feature to debounce drive requests from the document provider. |
| 270 | const base::Feature kDebounceDocumentProvider{ |
| 271 | "OmniboxDebounceDocumentProvider", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 272 | |
Tommy Li | 6390ecc | 2019-09-06 21:08:57 | [diff] [blame] | 273 | // Exempts the default match from demotion-by-type. |
| 274 | const base::Feature kOmniboxPreserveDefaultMatchScore { |
| 275 | "OmniboxPreserveDefaultMatchScore", |
Tomasz Wiszkowski | 650be108 | 2019-09-19 15:13:08 | [diff] [blame] | 276 | #if defined(OS_IOS) |
Tommy Li | 6390ecc | 2019-09-06 21:08:57 | [diff] [blame] | 277 | base::FEATURE_DISABLED_BY_DEFAULT |
| 278 | #else |
| 279 | base::FEATURE_ENABLED_BY_DEFAULT |
| 280 | #endif |
| 281 | }; |
| 282 | |
| 283 | // Preserves the default match against change when providers return results |
| 284 | // asynchronously. This prevents the default match from changing after the user |
| 285 | // finishes typing. Without this feature, if the default match is updated right |
| 286 | // when the user presses Enter, the user may go to a surprising destination. |
| 287 | const base::Feature kOmniboxPreserveDefaultMatchAgainstAsyncUpdate{ |
| 288 | "OmniboxPreserveDefaultMatchAgainstAsyncUpdate", |
| 289 | base::FEATURE_DISABLED_BY_DEFAULT}; |
| 290 | |
Tommy C. Li | 09010551 | 2019-05-16 22:00:56 | [diff] [blame] | 291 | // Feature to configure on-focus suggestions provided by ZeroSuggestProvider. |
Tommy C. Li | 414f2202 | 2019-06-07 23:46:22 | [diff] [blame] | 292 | // This feature's main job is to contain some field trial parameters such as: |
| 293 | // - "ZeroSuggestVariant" configures the per-page-classification mode of |
| 294 | // ZeroSuggestProvider. |
Tommy C. Li | 09010551 | 2019-05-16 22:00:56 | [diff] [blame] | 295 | const base::Feature kOnFocusSuggestions{"OmniboxOnFocusSuggestions", |
| 296 | base::FEATURE_ENABLED_BY_DEFAULT}; |
| 297 | |
Tomasz Wiszkowski | 947f6d0d | 2019-03-15 22:27:25 | [diff] [blame] | 298 | // Allow suggestions to be shown to the user on the New Tab Page upon focusing |
| 299 | // URL bar (the omnibox). |
| 300 | const base::Feature kZeroSuggestionsOnNTP{"OmniboxZeroSuggestionsOnNTP", |
| 301 | base::FEATURE_DISABLED_BY_DEFAULT}; |
| 302 | |
Moe Ahmadi | 4005ec9 | 2019-09-09 16:55:53 | [diff] [blame] | 303 | // Allow suggestions to be shown to the user on the New Tab Page upon focusing |
| 304 | // the real search box. |
| 305 | const base::Feature kZeroSuggestionsOnNTPRealbox{ |
| 306 | "OmniboxZeroSuggestionsOnNTPRealbox", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 307 | |
Tommy Li | 1d03b9bf | 2019-09-23 23:46:34 | [diff] [blame] | 308 | // Allow on-focus query refinements to be shown on the default SERP. |
| 309 | const base::Feature kZeroSuggestionsOnSERP{"OmniboxZeroSuggestionsOnSERP", |
| 310 | base::FEATURE_ENABLED_BY_DEFAULT}; |
| 311 | |
Tommy Li | 7c2bf49 | 2019-10-22 19:34:23 | [diff] [blame] | 312 | // If enabled, shows a confirm dialog before removing search suggestions from |
| 313 | // the omnibox. See ConfirmNtpSuggestionRemovals for the NTP equivalent. |
| 314 | const base::Feature kConfirmOmniboxSuggestionRemovals{ |
| 315 | "ConfirmOmniboxSuggestionRemovals", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 316 | |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 317 | } // namespace omnibox |