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

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 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/ui/views/app_list/linux/app_list_linux.cc ('k') | ui/app_list/app_list_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..78d347e558f7a6d876ce03061256a41e7990ba8e 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::IsCenteredAppListEnabled())
return positioner.GetAnchorPointForScreenCenter();
// Find which edge of the screen the taskbar is attached to.
« no previous file with comments | « chrome/browser/ui/views/app_list/linux/app_list_linux.cc ('k') | ui/app_list/app_list_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698