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

Unified Diff: ui/app_list/app_list_switches.h

Issue 2342773002: Removed experimental app list flags. Experimental is now the only way. (Closed)
Patch Set: Respond to nit. Created 4 years, 3 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.h
diff --git a/ui/app_list/app_list_switches.h b/ui/app_list/app_list_switches.h
index 05c6f0bd763f66ae7db8fe6756727328c75b2249..1d07d8e2c1762cf88772194dc13f59869027ad74 100644
--- a/ui/app_list/app_list_switches.h
+++ b/ui/app_list/app_list_switches.h
@@ -15,9 +15,6 @@ namespace switches {
APP_LIST_EXPORT extern const char kCustomLauncherPage[];
APP_LIST_EXPORT extern const char kDisableAppListDismissOnBlur[];
APP_LIST_EXPORT extern const char kEnableAppList[];
-APP_LIST_EXPORT extern const char kEnableCenteredAppList[];
-APP_LIST_EXPORT extern const char kEnableExperimentalAppList[];
-APP_LIST_EXPORT extern const char kDisableExperimentalAppList[];
APP_LIST_EXPORT extern const char kEnableSyncAppList[];
APP_LIST_EXPORT extern const char kDisableSyncAppList[];
APP_LIST_EXPORT extern const char kEnableDriveSearchInChromeLauncher[];
@@ -30,12 +27,9 @@ bool APP_LIST_EXPORT IsFolderUIEnabled();
bool APP_LIST_EXPORT IsVoiceSearchEnabled();
+// Deprecated. These always return true.
+// TODO(mgiuca): Remove (https://crbug.com/531059).
bool APP_LIST_EXPORT IsExperimentalAppListEnabled();
-
-// Determines whether either command-line switch was given for enabling the
-// centered app list position. Do not use this when positioning the app list;
-// instead use AppListViewDelegate::ShouldCenterWindow. It checks a superset of
-// the conditions that trigger the position.
bool APP_LIST_EXPORT IsCenteredAppListEnabled();
// Determines whether the app list should not be dismissed on focus loss.
« no previous file with comments | « chrome/browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc ('k') | ui/app_list/app_list_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698