OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_DELEGATE_H_ | 5 #ifndef ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_DELEGATE_H_ |
6 #define ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_DELEGATE_H_ | 6 #define ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_DELEGATE_H_ |
7 | 7 |
8 #include "ash/wm/wm_types.h" | 8 #include "ash/wm/wm_types.h" |
9 | 9 |
10 namespace aura { | 10 namespace aura { |
(...skipping 21 matching lines...) Expand all Loading... |
32 // The visibility of a window has changed. | 32 // The visibility of a window has changed. |
33 virtual void OnChildWindowVisibilityChanged(aura::Window* child, | 33 virtual void OnChildWindowVisibilityChanged(aura::Window* child, |
34 bool visible) = 0; | 34 bool visible) = 0; |
35 | 35 |
36 // The stacking order of a window has changed. | 36 // The stacking order of a window has changed. |
37 virtual void OnWindowStackingChanged(aura::Window* window) = 0; | 37 virtual void OnWindowStackingChanged(aura::Window* window) = 0; |
38 | 38 |
39 // A window state type has changed. | 39 // A window state type has changed. |
40 virtual void OnPostWindowStateTypeChange(wm::WindowState* window_state, | 40 virtual void OnPostWindowStateTypeChange(wm::WindowState* window_state, |
41 wm::WindowStateType old_type) = 0; | 41 wm::WindowStateType old_type) = 0; |
| 42 |
| 43 // The work area insets have changed, altering the total available space. |
| 44 virtual void OnDisplayWorkAreaInsetsChanged() = 0; |
42 }; | 45 }; |
43 | 46 |
44 } // namespace ash | 47 } // namespace ash |
45 | 48 |
46 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_DELEGATE_H_ | 49 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_DELEGATE_H_ |
OLD | NEW |