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

Unified Diff: chrome/browser/ui/app_list/app_list_positioner.h

Issue 162753002: Center and change the aspect ratio for the experimental app list. [Win] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android compile Created 6 years, 10 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/app_list/app_list_positioner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/app_list_positioner.h
diff --git a/chrome/browser/ui/app_list/app_list_positioner.h b/chrome/browser/ui/app_list/app_list_positioner.h
index f743a92e48d127ec253ab8ea69ce02b0f6e44fdc..43b6cbbe305995179256f7c8188ecf743f4e9883 100644
--- a/chrome/browser/ui/app_list/app_list_positioner.h
+++ b/chrome/browser/ui/app_list/app_list_positioner.h
@@ -61,6 +61,10 @@ class AppListPositioner {
// anchor point will potentially position the window under it.
gfx::Point GetAnchorPointForScreenCorner(ScreenCorner corner) const;
+ // Finds the position for a window to anchor it to the center of the screen.
+ // Returns the intended coordinates for the center of the window.
+ gfx::Point GetAnchorPointForScreenCenter() const;
+
// Finds the position for a window to anchor it to the corner of the shelf.
// The window will be aligned to the left of the work area for horizontal
// shelves, or to the top for vertical shelves. |shelf_edge| specifies the
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/ui/app_list/app_list_positioner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698