Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Unified Diff: ui/app_list/app_list_switches.cc

Issue 2965813002: Added flag in chrome://flags to enable the New Launcher UI. (Closed)
Patch Set: Added flag in chrome://flags to enable the feature. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« chrome/browser/flag_descriptions.cc ('K') | « ui/app_list/app_list_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_switches.cc
diff --git a/ui/app_list/app_list_switches.cc b/ui/app_list/app_list_switches.cc
index 89f621e2238eedc118e6a1186443c68223e8fa98..8f11f5426e05a30504965b24dd1b7dca0a2bfe86 100644
--- a/ui/app_list/app_list_switches.cc
+++ b/ui/app_list/app_list_switches.cc
@@ -21,6 +21,9 @@ const char kDisableAppListDismissOnBlur[] = "disable-app-list-dismiss-on-blur";
// If set, the app list will be enabled as if enabled from CWS.
const char kEnableAppList[] = "enable-app-list";
+// If set, fullscreen app list will be enabled as if the feature flag was set.
+const char kEnableNewAppListUI[] = "enable-new-launcher-ui";
stevenjb 2017/06/30 21:17:26 Is this just intended to enable the fullscreen app
newcomer 2017/06/30 21:40:24 Done.
+
// Enable/disable syncing of the app list independent of extensions.
const char kEnableSyncAppList[] = "enable-sync-app-list";
const char kDisableSyncAppList[] = "disable-sync-app-list";
@@ -41,6 +44,10 @@ bool IsAppListSyncEnabled() {
kDisableSyncAppList);
}
+bool IsNewAppListUIEnabled() {
+ return base::CommandLine::ForCurrentProcess()->HasSwitch(kEnableNewAppListUI);
+}
+
bool IsFolderUIEnabled() {
// Folder UI is available only when AppList sync is enabled, and should
// not be disabled separately.
« chrome/browser/flag_descriptions.cc ('K') | « ui/app_list/app_list_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698