| 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_COMMON_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_BACKDROP_DELEGATE_H_ | 5 #ifndef ASH_COMMON_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_BACKDROP_DELEGATE_H_ |
| 6 #define ASH_COMMON_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_BACKDROP_DELEGATE_H_ | 6 #define ASH_COMMON_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_BACKDROP_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/common/wm/wm_types.h" | 9 #include "ash/common/wm/wm_types.h" |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 // The visibility of a window has changed. | 31 // The visibility of a window has changed. |
| 32 virtual void OnChildWindowVisibilityChanged(WmWindow* child, | 32 virtual void OnChildWindowVisibilityChanged(WmWindow* child, |
| 33 bool visible) = 0; | 33 bool visible) = 0; |
| 34 | 34 |
| 35 // The stacking order of a window has changed. | 35 // The stacking order of a window has changed. |
| 36 virtual void OnWindowStackingChanged(WmWindow* window) = 0; | 36 virtual void OnWindowStackingChanged(WmWindow* window) = 0; |
| 37 | 37 |
| 38 // A window state type has changed. | 38 // A window state type has changed. |
| 39 virtual void OnPostWindowStateTypeChange(wm::WindowState* window_state, | 39 virtual void OnPostWindowStateTypeChange(wm::WindowState* window_state, |
| 40 wm::WindowStateType old_type) = 0; | 40 wm::WindowStateType old_type) = 0; |
| 41 | |
| 42 // The work area insets have changed, altering the total available space. | |
| 43 virtual void OnDisplayWorkAreaInsetsChanged() = 0; | |
| 44 }; | 41 }; |
| 45 | 42 |
| 46 } // namespace ash | 43 } // namespace ash |
| 47 | 44 |
| 48 #endif // ASH_COMMON_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_BACKDROP_DELEGATE_H_ | 45 #endif // ASH_COMMON_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_BACKDROP_DELEGATE_H_ |
| OLD | NEW |