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

Unified Diff: ash/wm/base_layout_manager.h

Issue 10910164: Removes the grid from ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ShelfBrowserTest Created 8 years, 3 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 | « ash/shell.cc ('k') | ash/wm/base_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/base_layout_manager.h
diff --git a/ash/wm/base_layout_manager.h b/ash/wm/base_layout_manager.h
index c245940df734a2e3265411e9231c554e22ee6b87..7c059c5ed307ff51172d961639be3f82d03821a2 100644
--- a/ash/wm/base_layout_manager.h
+++ b/ash/wm/base_layout_manager.h
@@ -41,6 +41,12 @@ class ASH_EXPORT BaseLayoutManager : public aura::LayoutManager,
const WindowSet& windows() const { return windows_; }
+ // Given a |window| and tentative |restore_bounds|, returns new bounds that
+ // ensure that at least a few pixels of the screen background are visible
+ // outside the edges of the window.
+ static gfx::Rect BoundsWithScreenEdgeVisible(aura::Window* window,
+ const gfx::Rect& restore_bounds);
+
// LayoutManager overrides:
virtual void OnWindowResized() OVERRIDE;
virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE;
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/base_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698