Enables Desktop NTP realbox by default
Feature being launched in cr/326256148
- Enables ntp_features::kRealbox and
omnibox::kZeroSuggestionsOnNTPRealbox which control the realbox and
zero-suggest in realbox respectively.
- Enables omnibox::kZeroSuggestionsOnNTP which should've been enabled
in crrev.com/c/2175138.
- Removes applicable fieldtrial_testing_config.json entries and adjusts
test expectations.
Change-Id: I1889e65c23e02624b85f0291600b26382e75f828
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2354993
Reviewed-by: Mark Pearson <[email protected]>
Reviewed-by: Tommy Li <[email protected]>
Commit-Queue: Moe Ahmadi <[email protected]>
Cr-Commit-Position: refs/heads/master@{#798392}
diff --git a/components/omnibox/common/omnibox_features.cc b/components/omnibox/common/omnibox_features.cc
index 6fe6155..23427eeb 100644
--- a/components/omnibox/common/omnibox_features.cc
+++ b/components/omnibox/common/omnibox_features.cc
@@ -283,12 +283,12 @@
// Allow suggestions to be shown to the user on the New Tab Page upon focusing
// URL bar (the omnibox).
const base::Feature kZeroSuggestionsOnNTP{"OmniboxZeroSuggestionsOnNTP",
- base::FEATURE_DISABLED_BY_DEFAULT};
+ base::FEATURE_ENABLED_BY_DEFAULT};
// Allow suggestions to be shown to the user on the New Tab Page upon focusing
// the real search box.
const base::Feature kZeroSuggestionsOnNTPRealbox{
- "OmniboxZeroSuggestionsOnNTPRealbox", base::FEATURE_DISABLED_BY_DEFAULT};
+ "OmniboxZeroSuggestionsOnNTPRealbox", base::FEATURE_ENABLED_BY_DEFAULT};
// Allow on-focus query refinements to be shown on the default SERP.
const base::Feature kZeroSuggestionsOnSERP{"OmniboxZeroSuggestionsOnSERP",