Commit 5da77d64 authored by Thomas Lukaszewicz's avatar Thomas Lukaszewicz Committed by Commit Bot

Tab Search: Add chrome://flags entry for Tab Search

This addition is necessary to allow users to disable the feature once
the experiment is enabled.

Bug: 1099917
Change-Id: I4e537a1fe92d1329c75ff8c190f92ce7f1cde8b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2336020Reviewed-by: default avatarRobert Liao <robliao@chromium.org>
Commit-Queue: Thomas Lukaszewicz <tluk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#794867}
parent c175c6cd
......@@ -6182,6 +6182,12 @@ const FeatureEntry kFeatureEntries[] = {
password_manager::features::kFillingPasswordsFromAnyOrigin)},
#endif // OS_ANDROID
#if BUILDFLAG(ENABLE_TAB_SEARCH)
{"enable-tab-search", flag_descriptions::kEnableTabSearchName,
flag_descriptions::kEnableTabSearchDescription, kOsCrOS,
FEATURE_VALUE_TYPE(features::kTabSearch)}
#endif // BUILDFLAG(ENABLE_TAB_SEARCH)
// NOTE: Adding a new flag requires adding a corresponding entry to enum
// "LoginCustomFlags" in tools/metrics/histograms/enums.xml. See "Flag
// Histograms" in tools/metrics/histograms/README.md (run the
......
......@@ -3866,6 +3866,13 @@ const char kEnableSuggestedFilesDescription[] =
"Enable Suggested Files feature in Launcher, which will show file "
"suggestions in the suggestion chips when the launcher is opened";
#if BUILDFLAG(ENABLE_TAB_SEARCH)
const char kEnableTabSearchName[] = "Enable Tab Search";
const char kEnableTabSearchDescription[] =
"Enable the Tab Search feature in Top Chrome UI, which will show a popup"
"bubble that allows users to search over their currently open tabs.";
#endif // BUILDFLAG(ENABLE_TAB_SEARCH)
const char kEnterpriseReportingInChromeOSName[] =
"Enterprise cloud reporting in Chrome OS";
const char kEnterpriseReportingInChromeOSDescription[] =
......
......@@ -2242,6 +2242,11 @@ extern const char kEnableZeroStateSuggestionsDescription[];
extern const char kEnableSuggestedFilesName[];
extern const char kEnableSuggestedFilesDescription[];
#if BUILDFLAG(ENABLE_TAB_SEARCH)
extern const char kEnableTabSearchName[];
extern const char kEnableTabSearchDescription[];
#endif // BUILDFLAG(ENABLE_TAB_SEARCH)
extern const char kEnterpriseReportingInChromeOSName[];
extern const char kEnterpriseReportingInChromeOSDescription[];
......
......@@ -40579,6 +40579,7 @@ from previous Chrome versions.
<int value="-1371984027" label="CrostiniWebUIUpgrader:disabled"/>
<int value="-1371239786" label="EnablePasswordsAccountStorage:enabled"/>
<int value="-1370532920" label="AppServiceAsh:enabled"/>
<int value="-1368913664" label="TabSearch:disabled"/>
<int value="-1368499577" label="OnTheFlyMhtmlHashComputation:enabled"/>
<int value="-1365795470"
label="ServiceWorkerImportedScriptUpdateCheck:disabled"/>
......@@ -41827,6 +41828,7 @@ from previous Chrome versions.
<int value="-40935502" label="ContextualSuggestionsSlimPeekUI:enabled"/>
<int value="-36503306" label="HomepageLocationPolicy:enabled"/>
<int value="-36234530" label="PluginVmShowMicrophonePermissions:enabled"/>
<int value="-35745997" label="TabSearch:enabled"/>
<int value="-35388407" label="AshNewSystemMenu:disabled"/>
<int value="-31444029" label="MediaInspectorLogging:disabled"/>
<int value="-30966385" label="enable-hardware-overlays"/>
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