| 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_COMMON_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ |
| 6 #define ASH_COMMON_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ | 6 #define ASH_COMMON_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" | 12 #include "ash/common/shelf/wm_shelf_observer.h" |
| 13 #include "ash/common/shell_observer.h" | 13 #include "ash/common/shell_observer.h" |
| 14 #include "ash/common/wm/window_state_observer.h" | 14 #include "ash/common/wm/window_state_observer.h" |
| 15 #include "ash/common/wm_activation_observer.h" | 15 #include "ash/common/wm_activation_observer.h" |
| 16 #include "ash/common/wm_display_observer.h" | 16 #include "ash/common/wm_display_observer.h" |
| 17 #include "ash/common/wm_layout_manager.h" | 17 #include "ash/common/wm_layout_manager.h" |
| 18 #include "ash/common/wm_window_observer.h" | 18 #include "ash/common/wm_window_observer.h" |
| 19 #include "ash/common/wm_window_tracker.h" | 19 #include "ash/common/wm_window_tracker.h" |
| 20 #include "base/compiler_specific.h" | 20 #include "base/compiler_specific.h" |
| 21 #include "base/macros.h" | 21 #include "base/macros.h" |
| 22 #include "base/memory/weak_ptr.h" | 22 #include "base/memory/weak_ptr.h" |
| 23 #include "ui/keyboard/keyboard_controller.h" | 23 #include "ui/keyboard/keyboard_controller.h" |
| 24 #include "ui/keyboard/keyboard_controller_observer.h" | 24 #include "ui/keyboard/keyboard_controller_observer.h" |
| 25 | 25 |
| 26 namespace aura { | |
| 27 class Window; | |
| 28 } | |
| 29 | |
| 30 namespace gfx { | 26 namespace gfx { |
| 31 class Rect; | 27 class Rect; |
| 32 } | 28 } |
| 33 | 29 |
| 34 namespace views { | 30 namespace views { |
| 35 class Widget; | 31 class Widget; |
| 36 } | 32 } |
| 37 | 33 |
| 38 namespace ash { | 34 namespace ash { |
| 39 class PanelCalloutWidget; | 35 class PanelCalloutWidget; |
| 40 class ShelfLayoutManager; | |
| 41 class WmShelf; | 36 class WmShelf; |
| 42 | 37 |
| 43 namespace wm { | 38 namespace wm { |
| 44 class WmRootWindowController; | 39 class WmRootWindowController; |
| 45 } | 40 } |
| 46 | 41 |
| 47 // PanelLayoutManager is responsible for organizing panels within the | 42 // PanelLayoutManager is responsible for organizing panels within the |
| 48 // workspace. It is associated with a specific container window (i.e. | 43 // workspace. It is associated with a specific container window (i.e. |
| 49 // kShellWindowId_PanelContainer) and controls the layout of any windows | 44 // kShellWindowId_PanelContainer) and controls the layout of any windows |
| 50 // added to that container. | 45 // added to that container. |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 // are currently focused. | 194 // are currently focused. |
| 200 WmWindow* last_active_panel_; | 195 WmWindow* last_active_panel_; |
| 201 base::WeakPtrFactory<PanelLayoutManager> weak_factory_; | 196 base::WeakPtrFactory<PanelLayoutManager> weak_factory_; |
| 202 | 197 |
| 203 DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager); | 198 DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager); |
| 204 }; | 199 }; |
| 205 | 200 |
| 206 } // namespace ash | 201 } // namespace ash |
| 207 | 202 |
| 208 #endif // ASH_COMMON_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ | 203 #endif // ASH_COMMON_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ |
| OLD | NEW |