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_PANELS_PANEL_LAYOUT_MANAGER_H_ | 5 #ifndef ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ |
6 #define ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ | 6 #define ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 83 |
84 WmShelf* shelf() { return shelf_; } | 84 WmShelf* shelf() { return shelf_; } |
85 void SetShelf(WmShelf* shelf); | 85 void SetShelf(WmShelf* shelf); |
86 | 86 |
87 // aura::LayoutManager: | 87 // aura::LayoutManager: |
88 void OnWindowResized() override; | 88 void OnWindowResized() override; |
89 void OnWindowAddedToLayout(aura::Window* child) override; | 89 void OnWindowAddedToLayout(aura::Window* child) override; |
90 void OnWillRemoveWindowFromLayout(aura::Window* child) override; | 90 void OnWillRemoveWindowFromLayout(aura::Window* child) override; |
91 void OnWindowRemovedFromLayout(aura::Window* child) override; | 91 void OnWindowRemovedFromLayout(aura::Window* child) override; |
92 void OnChildWindowVisibilityChanged(aura::Window* child, | 92 void OnChildWindowVisibilityChanged(aura::Window* child, |
93 bool visibile) override; | 93 bool visible) override; |
94 void SetChildBounds(aura::Window* child, | 94 void SetChildBounds(aura::Window* child, |
95 const gfx::Rect& requested_bounds) override; | 95 const gfx::Rect& requested_bounds) override; |
96 | 96 |
97 // ShellObserver: | 97 // ShellObserver: |
98 void OnOverviewModeEnded() override; | 98 void OnOverviewModeEnded() override; |
99 void OnShelfAlignmentChanged(WmWindow* root_window) override; | 99 void OnShelfAlignmentChanged(WmWindow* root_window) override; |
100 void OnVirtualKeyboardStateChanged(bool activated, | 100 void OnVirtualKeyboardStateChanged(bool activated, |
101 aura::Window* root_window) override; | 101 aura::Window* root_window) override; |
102 | 102 |
103 // aura::WindowObserver | 103 // aura::WindowObserver |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 keyboard_observer_; | 204 keyboard_observer_; |
205 | 205 |
206 base::WeakPtrFactory<PanelLayoutManager> weak_factory_; | 206 base::WeakPtrFactory<PanelLayoutManager> weak_factory_; |
207 | 207 |
208 DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager); | 208 DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager); |
209 }; | 209 }; |
210 | 210 |
211 } // namespace ash | 211 } // namespace ash |
212 | 212 |
213 #endif // ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ | 213 #endif // ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ |
OLD | NEW |