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

Unified Diff: chrome/browser/ui/views/app_list/win/app_list_win.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 flag to --enable-centered-app-list. 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/win/app_list_win.cc
diff --git a/chrome/browser/ui/views/app_list/win/app_list_win.cc b/chrome/browser/ui/views/app_list/win/app_list_win.cc
index c96ab6d5054f3e160ce820fd79dbb2dcac81ab98..92f15569364a2bbc042b7d1d2da731ca59a142c4 100644
--- a/chrome/browser/ui/views/app_list/win/app_list_win.cc
+++ b/chrome/browser/ui/views/app_list/win/app_list_win.cc
@@ -63,8 +63,8 @@ gfx::Point AppListWin::FindAnchorPoint(const gfx::Size& view_size,
// never overlap the taskbar.
positioner.WorkAreaSubtract(taskbar_rect);
- // 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();
// Find which edge of the screen the taskbar is attached to.

Powered by Google App Engine
This is Rietveld 408576698