| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_COMMON_PANELS_PANEL_LAYOUT_MANAGER_H_ | 5 #ifndef ASH_WM_COMMON_PANELS_PANEL_LAYOUT_MANAGER_H_ |
| 6 #define ASH_WM_COMMON_PANELS_PANEL_LAYOUT_MANAGER_H_ | 6 #define ASH_WM_COMMON_PANELS_PANEL_LAYOUT_MANAGER_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 const gfx::Rect& requested_bounds) override; | 101 const gfx::Rect& requested_bounds) override; |
| 102 | 102 |
| 103 // Overridden from wm::WmOverviewModeObserver | 103 // Overridden from wm::WmOverviewModeObserver |
| 104 void OnOverviewModeEnded() override; | 104 void OnOverviewModeEnded() override; |
| 105 | 105 |
| 106 // Overridden from wm::WmRootWindowControllerObserver | 106 // Overridden from wm::WmRootWindowControllerObserver |
| 107 void OnShelfAlignmentChanged() override; | 107 void OnShelfAlignmentChanged() override; |
| 108 | 108 |
| 109 // Overridden from wm::WmWindowObserver | 109 // Overridden from wm::WmWindowObserver |
| 110 void OnWindowPropertyChanged(wm::WmWindow* window, | 110 void OnWindowPropertyChanged(wm::WmWindow* window, |
| 111 wm::WmWindowProperty property, | 111 wm::WmWindowProperty property) override; |
| 112 intptr_t old) override; | |
| 113 | 112 |
| 114 // Overridden from wm::WindowStateObserver | 113 // Overridden from wm::WindowStateObserver |
| 115 void OnPostWindowStateTypeChange(wm::WindowState* window_state, | 114 void OnPostWindowStateTypeChange(wm::WindowState* window_state, |
| 116 wm::WindowStateType old_type) override; | 115 wm::WindowStateType old_type) override; |
| 117 | 116 |
| 118 // Overridden from wm::WmActivationObserver | 117 // Overridden from wm::WmActivationObserver |
| 119 void OnWindowActivated(wm::WmWindow* gained_active, | 118 void OnWindowActivated(wm::WmWindow* gained_active, |
| 120 wm::WmWindow* lost_active) override; | 119 wm::WmWindow* lost_active) override; |
| 121 | 120 |
| 122 // Overridden from WindowTreeHostManager::Observer | 121 // Overridden from WindowTreeHostManager::Observer |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 // are currently focused. | 204 // are currently focused. |
| 206 wm::WmWindow* last_active_panel_; | 205 wm::WmWindow* last_active_panel_; |
| 207 base::WeakPtrFactory<PanelLayoutManager> weak_factory_; | 206 base::WeakPtrFactory<PanelLayoutManager> weak_factory_; |
| 208 | 207 |
| 209 DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager); | 208 DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager); |
| 210 }; | 209 }; |
| 211 | 210 |
| 212 } // namespace ash | 211 } // namespace ash |
| 213 | 212 |
| 214 #endif // ASH_WM_COMMON_PANELS_PANEL_LAYOUT_MANAGER_H_ | 213 #endif // ASH_WM_COMMON_PANELS_PANEL_LAYOUT_MANAGER_H_ |
| OLD | NEW |