Add flag for testing quick app access ui
Bug=b:266734005
Low-Coverage-Reason: Code is behind a test flag, will never be enabled.
Change-Id: Ib4be9e7b2c221db257ccc6e26a5cf1a35739e6c1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4472027
Reviewed-by: Toni Barzic <[email protected]>
Code-Coverage: Findit <[email protected]>
Commit-Queue: Matthew Mourgos <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1136162}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index bbf0a2b..6554fa5 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -7981,6 +7981,10 @@
flag_descriptions::kLauncherLocalImageSearchName,
flag_descriptions::kLauncherLocalImageSearchDescription, kOsCrOS,
FEATURE_VALUE_TYPE(search_features::kLauncherImageSearch)},
+ {"quick-app-access-test-ui", flag_descriptions::kQuickAppAccessTestUIName,
+ flag_descriptions::kQuickAppAccessTestUIDescription, kOsCrOS,
+ FEATURE_VALUE_TYPE(ash::features::kQuickAppAccessTestUI)},
+
#endif // BUILDFLAG(IS_CHROMEOS_ASH)
#if BUILDFLAG(IS_CHROMEOS_ASH)
diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
index 38e39c8..defee42 100644
--- a/chrome/browser/flag-metadata.json
+++ b/chrome/browser/flag-metadata.json
@@ -6423,6 +6423,11 @@
"expiry_milestone": 120
},
{
+ "name": "quick-app-access-test-ui",
+ "owners": [ "mmourgos", "//ash/app_list/OWNERS" ],
+ "expiry_milestone": 120
+ },
+ {
"name": "quick-commands",
"owners": [ "lgrey" ],
"expiry_milestone": 120
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
index 26a8ad6..3f0130a1 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -2802,6 +2802,11 @@
const char kQuicName[] = "Experimental QUIC protocol";
const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
+extern const char kQuickAppAccessTestUIName[] =
+ "Internal test: quick app access";
+extern const char kQuickAppAccessTestUIDescription[] =
+ "Show an app in the quick app access area at the start of the session";
+
const char kQuickIntensiveWakeUpThrottlingAfterLoadingName[] =
"Quick intensive throttling after loading";
const char kQuickIntensiveWakeUpThrottlingAfterLoadingDescription[] =
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
index 6ad6171..b43aa551 100644
--- a/chrome/browser/flag_descriptions.h
+++ b/chrome/browser/flag_descriptions.h
@@ -1577,6 +1577,9 @@
extern const char kQuicName[];
extern const char kQuicDescription[];
+extern const char kQuickAppAccessTestUIName[];
+extern const char kQuickAppAccessTestUIDescription[];
+
extern const char kQuickDimName[];
extern const char kQuickDimDescription[];