summaryrefslogtreecommitdiffstats
path: root/ash/screen_ash.h
diff options
context:
space:
mode:
Diffstat (limited to 'ash/screen_ash.h')
-rw-r--r--ash/screen_ash.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ash/screen_ash.h b/ash/screen_ash.h
index 20340a7..ea2021f 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(