Index: ash/wm/workspace/workspace_event_filter.h |
=================================================================== |
--- ash/wm/workspace/workspace_event_filter.h (revision 124527) |
+++ ash/wm/workspace/workspace_event_filter.h (working copy) |
@@ -27,11 +27,11 @@ |
virtual bool PreHandleMouseEvent(aura::Window* target, |
aura::MouseEvent* event) OVERRIDE; |
- // Overriden from WindowObserver: |
+ // Overridden from WindowObserver: |
virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; |
protected: |
- // Overriden from ToplevelWindowEventFilter: |
+ // Overridden from ToplevelWindowEventFilter: |
virtual WindowResizer* CreateWindowResizer(aura::Window* window, |
const gfx::Point& point, |
int window_component) OVERRIDE; |
@@ -41,6 +41,13 @@ |
// the look of the caption area based on mouse-hover. |
void UpdateHoveredWindow(aura::Window* toplevel); |
+ // Determines if |event| corresponds to a double click on either the top or |
+ // bottom vertical resize edge, and if so toggles the vertical height of the |
+ // window between its restored state and the full available height of the |
+ // workspace. |
+ void HandleVerticalResizeDoubleClick(aura::Window* target, |
+ aura::MouseEvent* event); |
+ |
// Top-level window under the mouse cursor. |
aura::Window* hovered_window_; |