Index: ash/screen_ash.h |
diff --git a/ash/screen_ash.h b/ash/screen_ash.h |
index 20340a7b5d53d74c71f6a3fbe99c8f4832131e78..ea2021f68519babe2aefb5820ec91804b26b41e2 100644 |
--- a/ash/screen_ash.h |
+++ b/ash/screen_ash.h |
@@ -24,6 +24,13 @@ class ASH_EXPORT ScreenAsh : public gfx::Screen { |
explicit ScreenAsh(aura::RootWindow* root_window); |
virtual ~ScreenAsh(); |
+ // Returns the bounds for maximized windows. Maximized windows trigger |
+ // auto-hiding the shelf. |
+ static gfx::Rect GetMaximizedWindowBounds(aura::Window* window); |
+ |
+ // Returns work area when a maximized window is not present. |
+ static gfx::Rect GetUnmaximizedWorkAreaBounds(aura::Window* window); |
+ |
protected: |
virtual gfx::Point GetCursorScreenPointImpl() OVERRIDE; |
virtual gfx::Rect GetMonitorWorkAreaNearestWindowImpl( |