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_COMMON_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ | 5 #ifndef ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ |
6 #define ASH_COMMON_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 |
11 #include "ash/ash_export.h" | 11 #include "ash/ash_export.h" |
12 #include "ash/common/shelf/wm_shelf_observer.h" | |
13 #include "ash/common/shell_observer.h" | |
14 #include "ash/common/wm/window_state_observer.h" | |
15 #include "ash/common/wm_activation_observer.h" | |
16 #include "ash/common/wm_display_observer.h" | |
17 #include "ash/common/wm_layout_manager.h" | |
18 #include "ash/root_window_controller.h" | 12 #include "ash/root_window_controller.h" |
| 13 #include "ash/shelf/wm_shelf_observer.h" |
| 14 #include "ash/shell_observer.h" |
| 15 #include "ash/wm/window_state_observer.h" |
| 16 #include "ash/wm_activation_observer.h" |
| 17 #include "ash/wm_display_observer.h" |
| 18 #include "ash/wm_layout_manager.h" |
19 #include "base/compiler_specific.h" | 19 #include "base/compiler_specific.h" |
20 #include "base/macros.h" | 20 #include "base/macros.h" |
21 #include "base/memory/weak_ptr.h" | 21 #include "base/memory/weak_ptr.h" |
22 #include "ui/aura/window_observer.h" | 22 #include "ui/aura/window_observer.h" |
23 #include "ui/aura/window_tracker.h" | 23 #include "ui/aura/window_tracker.h" |
24 #include "ui/keyboard/keyboard_controller.h" | 24 #include "ui/keyboard/keyboard_controller.h" |
25 #include "ui/keyboard/keyboard_controller_observer.h" | 25 #include "ui/keyboard/keyboard_controller_observer.h" |
26 | 26 |
27 namespace gfx { | 27 namespace gfx { |
28 class Rect; | 28 class Rect; |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 // The last active panel. Used to maintain stacking order even if no panels | 195 // The last active panel. Used to maintain stacking order even if no panels |
196 // are currently focused. | 196 // are currently focused. |
197 WmWindow* last_active_panel_; | 197 WmWindow* last_active_panel_; |
198 base::WeakPtrFactory<PanelLayoutManager> weak_factory_; | 198 base::WeakPtrFactory<PanelLayoutManager> weak_factory_; |
199 | 199 |
200 DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager); | 200 DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager); |
201 }; | 201 }; |
202 | 202 |
203 } // namespace ash | 203 } // namespace ash |
204 | 204 |
205 #endif // ASH_COMMON_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ | 205 #endif // ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ |
OLD | NEW |