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

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: Renamed IsAppListCentered to IsCenteredAppListEnabled. 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/ui/views/app_list/win/app_list_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..71374c91b1721017ca038fc266e392ebafb46918 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::IsCenteredAppListEnabled())
return positioner.GetAnchorPointForScreenCenter();
gfx::Point anchor;
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/ui/views/app_list/win/app_list_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698