Chromium Code Reviews| Index: ash/wm/dock/docked_window_layout_manager.h |
| diff --git a/ash/wm/dock/docked_window_layout_manager.h b/ash/wm/dock/docked_window_layout_manager.h |
| index c5ef46959bd72373a66ce5f37e05ab5d9f4497d6..5facf675da99f68c53ec0111e03b68239c2cc311 100644 |
| --- a/ash/wm/dock/docked_window_layout_manager.h |
| +++ b/ash/wm/dock/docked_window_layout_manager.h |
| @@ -103,6 +103,9 @@ class ASH_EXPORT DockedWindowLayoutManager |
| virtual void OnWindowPropertyChanged(aura::Window* window, |
| const void* key, |
| intptr_t old) OVERRIDE; |
| + virtual void OnWindowBoundsChanged(aura::Window* window, |
| + const gfx::Rect& old_bounds, |
| + const gfx::Rect& new_bounds) OVERRIDE; |
| // aura::client::ActivationChangeObserver: |
| virtual void OnWindowActivated(aura::Window* gained_active, |
| @@ -174,6 +177,10 @@ class ASH_EXPORT DockedWindowLayoutManager |
| // Side of the screen that the dock is positioned at. |
| DockedAlignment alignment_; |
| + // The last active window. Used to maintain stacking even if no windows are |
|
flackr
2013/07/18 23:18:41
nit: stacking order
varkha
2013/07/19 16:52:01
Done (in panels as well).
|
| + // currently focused. |
| + aura::Window* last_active_; |
| + |
| // Observers of dock bounds changes. |
| ObserverList<DockedWindowLayoutManagerObserver> observer_list_; |