Commit fabf13a1 authored by Robbie Gibson's avatar Robbie Gibson Committed by Commit Bot

[iOS] Add flag for zero-suggest on NTP

This extends the definition of kZeroSuggestionsOnNTP from
Desktop/Android to iOS.

Bug: 1048193
Change-Id: I593c8dfd287a20b7afb9b4041ce6c33abbb99c22
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2036030
Commit-Queue: Robbie Gibson <rkgibson@google.com>
Reviewed-by: default avatarStepan Khapugin <stkhapugin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#738183}
parent bf928f02
...@@ -467,6 +467,10 @@ const flags_ui::FeatureEntry kFeatureEntries[] = { ...@@ -467,6 +467,10 @@ const flags_ui::FeatureEntry kFeatureEntries[] = {
flags_ui::kOsIos, flags_ui::kOsIos,
FEATURE_VALUE_TYPE( FEATURE_VALUE_TYPE(
omnibox::kOmniboxPreserveDefaultMatchAgainstAsyncUpdate)}, omnibox::kOmniboxPreserveDefaultMatchAgainstAsyncUpdate)},
{"omnibox-zero-suggestions-on-ntp",
flag_descriptions::kOmniboxZeroSuggestionsOnNTPName,
flag_descriptions::kOmniboxZeroSuggestionsOnNTPDescription,
flags_ui::kOsIos, FEATURE_VALUE_TYPE(omnibox::kZeroSuggestionsOnNTP)},
{"enable-send-tab-to-self-broadcast", {"enable-send-tab-to-self-broadcast",
flag_descriptions::kSendTabToSelfBroadcastName, flag_descriptions::kSendTabToSelfBroadcastName,
flag_descriptions::kSendTabToSelfBroadcastDescription, flags_ui::kOsIos, flag_descriptions::kSendTabToSelfBroadcastDescription, flags_ui::kOsIos,
......
...@@ -310,6 +310,11 @@ const char kOmniboxOnDeviceHeadSuggestionsDescription[] = ...@@ -310,6 +310,11 @@ const char kOmniboxOnDeviceHeadSuggestionsDescription[] =
"Shows Google head non personalized search suggestions provided by a " "Shows Google head non personalized search suggestions provided by a "
"compact on device model"; "compact on device model";
const char kOmniboxZeroSuggestionsOnNTPName[] =
"Omnibox Zero Suggestions on New Tab Page";
const char kOmniboxZeroSuggestionsOnNTPDescription[] =
"Offer suggestions when URL bar (omnibox) is focused.";
const char kPageInfoRefactoringName[] = "New design of the page info"; const char kPageInfoRefactoringName[] = "New design of the page info";
const char kPageInfoRefactoringDescription[] = const char kPageInfoRefactoringDescription[] =
"Uses the new design for the page security info."; "Uses the new design for the page security info.";
......
...@@ -265,6 +265,11 @@ extern const char kOmniboxUIMaxAutocompleteMatchesDescription[]; ...@@ -265,6 +265,11 @@ extern const char kOmniboxUIMaxAutocompleteMatchesDescription[];
extern const char kOmniboxOnDeviceHeadSuggestionsName[]; extern const char kOmniboxOnDeviceHeadSuggestionsName[];
extern const char kOmniboxOnDeviceHeadSuggestionsDescription[]; extern const char kOmniboxOnDeviceHeadSuggestionsDescription[];
// Title and description for the flag to enable omnibox zero-state suggestions
// on the NTP.
extern const char kOmniboxZeroSuggestionsOnNTPName[];
extern const char kOmniboxZeroSuggestionsOnNTPDescription[];
// Title and description for the flag to enable the new design of the page info. // Title and description for the flag to enable the new design of the page info.
extern const char kPageInfoRefactoringName[]; extern const char kPageInfoRefactoringName[];
extern const char kPageInfoRefactoringDescription[]; extern const char kPageInfoRefactoringDescription[];
......
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