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

Unified Diff: chrome/browser/ui/views/app_list/linux/app_list_linux.cc

Issue 263883002: Renamed app list position flag to --enable-centered-app-list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: chrome/browser/ui/views/app_list/linux/app_list_linux.cc
diff --git a/chrome/browser/ui/views/app_list/linux/app_list_linux.cc b/chrome/browser/ui/views/app_list/linux/app_list_linux.cc
index 87716c48a3ee569bed54df99a5b09a8a4ed44391..8bd5c4337ecd2fb19548146e463d596ddf31708f 100644
--- a/chrome/browser/ui/views/app_list/linux/app_list_linux.cc
+++ b/chrome/browser/ui/views/app_list/linux/app_list_linux.cc
@@ -74,8 +74,8 @@ gfx::Point AppListLinux::FindAnchorPoint(const gfx::Size& view_size,
AppListPositioner::ScreenEdge edge) {
AppListPositioner positioner(display, view_size, 0);
- // The experimental app list is placed in the center of the screen.
- if (app_list::switches::IsExperimentalAppListPositionEnabled())
+ // Special case for app list in the center of the screen.
+ if (app_list::switches::IsAppListCentered())
return positioner.GetAnchorPointForScreenCenter();
gfx::Point anchor;

Powered by Google App Engine
This is Rietveld 408576698