Commit eb98d044 authored by Tomasz Wiszkowski's avatar Tomasz Wiszkowski Committed by Commit Bot

Chrome flags: allow plain NTP to offer ZPS.

When navigating to a webpage and then back to NTP using home button,
pressing fakebox to activate omnibox input reports context as NTP,
rather than NTP with fakebox/realbox as starting focus, though this does
not seem to be 100% the case, either.

This change ensures that plain NTP also triggers ZPS suggestions when
users navigate to NTP page by pressing the home button, and have the
On-Focus suggestions set to a non-default value (fixes possible
flakiness for test team)

Bug: 1004925
Change-Id: Id2930ad1651f23a3710d1e3124bd291a81e7bc28
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1890497Reviewed-by: default avatarMoe Ahmadi <mahmadi@chromium.org>
Commit-Queue: Ender <ender@google.com>
Cr-Commit-Position: refs/heads/master@{#711011}
parent 69b700e9
......@@ -814,10 +814,12 @@ const FeatureEntry::FeatureVariation kOmniboxDocumentProviderVariations[] = {
#ifdef OS_ANDROID
const FeatureEntry::FeatureParam kOmniboxNTPZPSLocal[] = {
{"ZeroSuggestVariant:1:*", "Local"},
{"ZeroSuggestVariant:7:*", "Local"},
{"ZeroSuggestVariant:8:*", "Local"}};
const FeatureEntry::FeatureParam kOmniboxNTPZPSRemote[] = {
{"ZeroSuggestVariant:1:*", "RemoteNoUrl"},
{"ZeroSuggestVariant:7:*", "RemoteNoUrl"},
{"ZeroSuggestVariant:8:*", "RemoteNoUrl"}};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment