[omnibox] Add a chrome://flag flag for local entities.
- Enabling the local entities feature will also enable the rich entities
feature.
- This CL also updates some outdated flag descriptions and comments.
Bug: 950512
Change-Id: Id9be6a3afa1f40b85fd193f5aec37d0bed73cc21
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1560148
Commit-Queue: manuk hovanesian <[email protected]>
Reviewed-by: Tommy Li <[email protected]>
Cr-Commit-Position: refs/heads/master@{#649269}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 68fc855a..f1567a42 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2534,6 +2534,11 @@
flag_descriptions::kOmniboxRichEntitySuggestionsDescription, kOsAll,
FEATURE_VALUE_TYPE(omnibox::kOmniboxRichEntitySuggestions)},
+ {"omnibox-local-entity-suggestions",
+ flag_descriptions::kOmniboxLocalEntitySuggestionsName,
+ flag_descriptions::kOmniboxLocalEntitySuggestionsDescription, kOsDesktop,
+ FEATURE_VALUE_TYPE(omnibox::kOmniboxLocalEntitySuggestions)},
+
#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN)
{"omnibox-experimental-keyword-mode",
flag_descriptions::kOmniboxExperimentalKeywordModeName,