commit | 5187a4620ba4e4d97a786910c4b7d3194a83ad85 | [log] [tgz] |
---|---|---|
author | Stepan Khapugin <[email protected]> | Tue Jan 07 13:16:26 2020 |
committer | Commit Bot <[email protected]> | Tue Jan 07 13:16:26 2020 |
tree | 398424c187aea5bf5ff62bbef65dfa0ed71b2274 | |
parent | 84519fa044b380e0a73e71317b7043bf5a3cfc42 [diff] [blame] |
[iOS] Remove "Shortcuts" feature. Removes the feature to show icons instead of ZeroSuggest. Bug: 888367 Change-Id: I88f7b65f2426b461774173078c825f5d2659f1a0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1942088 Reviewed-by: Ilya Sherman <[email protected]> Reviewed-by: Mark Cogan <[email protected]> Reviewed-by: Robbie Gibson <[email protected]> Reviewed-by: Justin Donnelly <[email protected]> Auto-Submit: Stepan Khapugin <[email protected]> Commit-Queue: Stepan Khapugin <[email protected]> Cr-Commit-Position: refs/heads/master@{#728896}
diff --git a/components/omnibox/browser/zero_suggest_provider.cc b/components/omnibox/browser/zero_suggest_provider.cc index 0b932f5..df84290 100644 --- a/components/omnibox/browser/zero_suggest_provider.cc +++ b/components/omnibox/browser/zero_suggest_provider.cc
@@ -696,11 +696,8 @@ const auto field_trial_variants = OmniboxFieldTrial::GetZeroSuggestVariants(current_page_classification_); - if (base::Contains(field_trial_variants, kNoneVariant) || - base::FeatureList::IsEnabled( - omnibox::kOmniboxPopupShortcutIconsInZeroState)) { + if (base::Contains(field_trial_variants, kNoneVariant)) return NONE; - } // TODO(tommycli): Since this can be configured via ZeroSuggestVariant, we // should eliminate this special case and use a field trial configuration.