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

Unified Diff: ui/app_list/app_list_switches.cc

Issue 2802903003: Implementation of a full screen app list and re-alphabetized switches (Closed)
Patch Set: Addressed comments, added my tests to the filter, and refactored! Created 3 years, 8 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
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 19bcc41c45735f6d986e370ac68d0874e8f74941..82a9fb6edd875972b1ec77aec4dc63254bbc3a86 100644
--- a/ui/app_list/app_list_switches.cc
+++ b/ui/app_list/app_list_switches.cc
@@ -26,6 +26,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";
+// Enables the fullscreen app list.
+extern const char kEnableFullscreenAppList[] = "enable-fullscreen-app-list";
+
// Enable/disable syncing of the app list independent of extensions.
const char kEnableSyncAppList[] = "enable-sync-app-list";
const char kDisableSyncAppList[] = "disable-sync-app-list";
@@ -83,5 +86,10 @@ std::string AnswerServerUrl() {
kAnswerServerUrl);
}
+void SetFullscreenAppListSwitch() {
+ base::CommandLine::ForCurrentProcess()->AppendSwitch(
+ kEnableFullscreenAppList);
+}
+
} // namespace switches
} // namespace app_list

Powered by Google App Engine
This is Rietveld 408576698