| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 UI_AURA_SHELL_SHELL_H_ | 5 #ifndef UI_AURA_SHELL_SHELL_H_ |
| 6 #define UI_AURA_SHELL_SHELL_H_ | 6 #define UI_AURA_SHELL_SHELL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 class ShellAcceleratorController; | 31 class ShellAcceleratorController; |
| 32 class ShellDelegate; | 32 class ShellDelegate; |
| 33 class ShellTooltipManager; | 33 class ShellTooltipManager; |
| 34 | 34 |
| 35 namespace internal { | 35 namespace internal { |
| 36 class ActivationController; | 36 class ActivationController; |
| 37 class AppList; | 37 class AppList; |
| 38 class DragDropController; | 38 class DragDropController; |
| 39 class ShadowController; | 39 class ShadowController; |
| 40 class ShellAcceleratorFilter; | 40 class ShellAcceleratorFilter; |
| 41 class StackingController; |
| 41 class WorkspaceController; | 42 class WorkspaceController; |
| 42 } | 43 } |
| 43 | 44 |
| 44 // Shell is a singleton object that presents the Shell API and implements the | 45 // Shell is a singleton object that presents the Shell API and implements the |
| 45 // RootWindow's delegate interface. | 46 // RootWindow's delegate interface. |
| 46 class AURA_SHELL_EXPORT Shell { | 47 class AURA_SHELL_EXPORT Shell { |
| 47 public: | 48 public: |
| 48 // Upon creation, the Shell sets itself as the RootWindow's delegate, which | 49 // Upon creation, the Shell sets itself as the RootWindow's delegate, which |
| 49 // takes ownership of the Shell. | 50 // takes ownership of the Shell. |
| 50 | 51 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 base::WeakPtrFactory<Shell> method_factory_; | 111 base::WeakPtrFactory<Shell> method_factory_; |
| 111 | 112 |
| 112 scoped_ptr<ShellAcceleratorController> accelerator_controller_; | 113 scoped_ptr<ShellAcceleratorController> accelerator_controller_; |
| 113 | 114 |
| 114 scoped_ptr<ShellDelegate> delegate_; | 115 scoped_ptr<ShellDelegate> delegate_; |
| 115 | 116 |
| 116 scoped_ptr<Launcher> launcher_; | 117 scoped_ptr<Launcher> launcher_; |
| 117 | 118 |
| 118 scoped_ptr<internal::AppList> app_list_; | 119 scoped_ptr<internal::AppList> app_list_; |
| 119 | 120 |
| 121 scoped_ptr<internal::StackingController> stacking_controller_; |
| 120 scoped_ptr<internal::ActivationController> activation_controller_; | 122 scoped_ptr<internal::ActivationController> activation_controller_; |
| 121 scoped_ptr<internal::DragDropController> drag_drop_controller_; | 123 scoped_ptr<internal::DragDropController> drag_drop_controller_; |
| 122 scoped_ptr<internal::WorkspaceController> workspace_controller_; | 124 scoped_ptr<internal::WorkspaceController> workspace_controller_; |
| 123 scoped_ptr<internal::ShadowController> shadow_controller_; | 125 scoped_ptr<internal::ShadowController> shadow_controller_; |
| 124 | 126 |
| 125 // An event filter that pre-handles global accelerators. | 127 // An event filter that pre-handles global accelerators. |
| 126 scoped_ptr<internal::ShellAcceleratorFilter> accelerator_filter_; | 128 scoped_ptr<internal::ShellAcceleratorFilter> accelerator_filter_; |
| 127 | 129 |
| 128 scoped_ptr<ShellTooltipManager> tooltip_manager_; | 130 scoped_ptr<ShellTooltipManager> tooltip_manager_; |
| 129 | 131 |
| 130 DISALLOW_COPY_AND_ASSIGN(Shell); | 132 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 131 }; | 133 }; |
| 132 | 134 |
| 133 } // namespace aura_shell | 135 } // namespace aura_shell |
| 134 | 136 |
| 135 #endif // UI_AURA_SHELL_SHELL_H_ | 137 #endif // UI_AURA_SHELL_SHELL_H_ |
| OLD | NEW |