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_SHELL_H_ | 5 #ifndef ASH_SHELL_H_ |
6 #define ASH_SHELL_H_ | 6 #define ASH_SHELL_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 21 matching lines...) Expand all Loading... |
32 namespace client { | 32 namespace client { |
33 class ActivationClient; | 33 class ActivationClient; |
34 class FocusClient; | 34 class FocusClient; |
35 } | 35 } |
36 } | 36 } |
37 | 37 |
38 namespace chromeos { | 38 namespace chromeos { |
39 class AudioA11yController; | 39 class AudioA11yController; |
40 } | 40 } |
41 | 41 |
| 42 namespace display { |
| 43 class DisplayManager; |
| 44 } |
| 45 |
42 namespace gfx { | 46 namespace gfx { |
43 class ImageSkia; | 47 class ImageSkia; |
44 class Rect; | 48 class Rect; |
45 } | 49 } |
46 | 50 |
47 namespace ui { | 51 namespace ui { |
48 class DisplayConfigurator; | 52 class DisplayConfigurator; |
49 class Layer; | 53 class Layer; |
50 class UserActivityDetector; | 54 class UserActivityDetector; |
51 class UserActivityPowerManagerNotifier; | 55 class UserActivityPowerManagerNotifier; |
(...skipping 17 matching lines...) Expand all Loading... |
69 namespace ash { | 73 namespace ash { |
70 | 74 |
71 class AcceleratorControllerDelegateAura; | 75 class AcceleratorControllerDelegateAura; |
72 class AshNativeCursorManager; | 76 class AshNativeCursorManager; |
73 class AutoclickController; | 77 class AutoclickController; |
74 class BluetoothNotificationController; | 78 class BluetoothNotificationController; |
75 class DisplayChangeObserver; | 79 class DisplayChangeObserver; |
76 class DisplayColorManager; | 80 class DisplayColorManager; |
77 class DisplayConfigurationController; | 81 class DisplayConfigurationController; |
78 class DisplayErrorObserver; | 82 class DisplayErrorObserver; |
79 class DisplayManager; | |
80 class DragDropController; | 83 class DragDropController; |
81 class EventClientImpl; | 84 class EventClientImpl; |
82 class EventRewriterEventFilter; | 85 class EventRewriterEventFilter; |
83 class EventTransformationHandler; | 86 class EventTransformationHandler; |
84 class FirstRunHelper; | 87 class FirstRunHelper; |
85 class GPUSupport; | 88 class GPUSupport; |
86 class HighContrastController; | 89 class HighContrastController; |
87 class ImmersiveHandlerFactoryAsh; | 90 class ImmersiveHandlerFactoryAsh; |
88 class LaserPointerController; | 91 class LaserPointerController; |
89 class LinkHandlerModelFactory; | 92 class LinkHandlerModelFactory; |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 // MaximizeModeController is not currently setting a display rotation. Or if | 232 // MaximizeModeController is not currently setting a display rotation. Or if |
230 // the |resolution_notification_controller_| is not showing its confirmation | 233 // the |resolution_notification_controller_| is not showing its confirmation |
231 // dialog. If true then changes to display settings can be saved. | 234 // dialog. If true then changes to display settings can be saved. |
232 bool ShouldSaveDisplaySettings(); | 235 bool ShouldSaveDisplaySettings(); |
233 #endif | 236 #endif |
234 | 237 |
235 AcceleratorControllerDelegateAura* accelerator_controller_delegate() { | 238 AcceleratorControllerDelegateAura* accelerator_controller_delegate() { |
236 return accelerator_controller_delegate_.get(); | 239 return accelerator_controller_delegate_.get(); |
237 } | 240 } |
238 | 241 |
239 DisplayManager* display_manager() { return display_manager_.get(); } | 242 display::DisplayManager* display_manager() { return display_manager_.get(); } |
240 DisplayConfigurationController* display_configuration_controller() { | 243 DisplayConfigurationController* display_configuration_controller() { |
241 return display_configuration_controller_.get(); | 244 return display_configuration_controller_.get(); |
242 } | 245 } |
243 ::wm::CompoundEventFilter* env_filter() { return env_filter_.get(); } | 246 ::wm::CompoundEventFilter* env_filter() { return env_filter_.get(); } |
244 views::corewm::TooltipController* tooltip_controller() { | 247 views::corewm::TooltipController* tooltip_controller() { |
245 return tooltip_controller_.get(); | 248 return tooltip_controller_.get(); |
246 } | 249 } |
247 OverlayEventFilter* overlay_filter() { return overlay_filter_.get(); } | 250 OverlayEventFilter* overlay_filter() { return overlay_filter_.get(); } |
248 LinkHandlerModelFactory* link_handler_model_factory() { | 251 LinkHandlerModelFactory* link_handler_model_factory() { |
249 return link_handler_model_factory_; | 252 return link_handler_model_factory_; |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 | 485 |
483 // An event filter which handles moving and resizing windows. | 486 // An event filter which handles moving and resizing windows. |
484 std::unique_ptr<ToplevelWindowEventHandler> toplevel_window_event_handler_; | 487 std::unique_ptr<ToplevelWindowEventHandler> toplevel_window_event_handler_; |
485 | 488 |
486 // An event filter which handles system level gestures | 489 // An event filter which handles system level gestures |
487 std::unique_ptr<SystemGestureEventFilter> system_gesture_filter_; | 490 std::unique_ptr<SystemGestureEventFilter> system_gesture_filter_; |
488 | 491 |
489 // An event filter that pre-handles global accelerators. | 492 // An event filter that pre-handles global accelerators. |
490 std::unique_ptr<::wm::AcceleratorFilter> accelerator_filter_; | 493 std::unique_ptr<::wm::AcceleratorFilter> accelerator_filter_; |
491 | 494 |
492 std::unique_ptr<DisplayManager> display_manager_; | 495 std::unique_ptr<display::DisplayManager> display_manager_; |
493 std::unique_ptr<DisplayConfigurationController> | 496 std::unique_ptr<DisplayConfigurationController> |
494 display_configuration_controller_; | 497 display_configuration_controller_; |
495 | 498 |
496 std::unique_ptr<ScreenPinningController> screen_pinning_controller_; | 499 std::unique_ptr<ScreenPinningController> screen_pinning_controller_; |
497 | 500 |
498 #if defined(OS_CHROMEOS) | 501 #if defined(OS_CHROMEOS) |
499 std::unique_ptr<PowerEventObserver> power_event_observer_; | 502 std::unique_ptr<PowerEventObserver> power_event_observer_; |
500 std::unique_ptr<ui::UserActivityPowerManagerNotifier> user_activity_notifier_; | 503 std::unique_ptr<ui::UserActivityPowerManagerNotifier> user_activity_notifier_; |
501 std::unique_ptr<VideoActivityNotifier> video_activity_notifier_; | 504 std::unique_ptr<VideoActivityNotifier> video_activity_notifier_; |
502 std::unique_ptr<StickyKeysController> sticky_keys_controller_; | 505 std::unique_ptr<StickyKeysController> sticky_keys_controller_; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 std::unique_ptr<GPUSupport> gpu_support_; | 548 std::unique_ptr<GPUSupport> gpu_support_; |
546 | 549 |
547 std::unique_ptr<ImmersiveHandlerFactoryAsh> immersive_handler_factory_; | 550 std::unique_ptr<ImmersiveHandlerFactoryAsh> immersive_handler_factory_; |
548 | 551 |
549 DISALLOW_COPY_AND_ASSIGN(Shell); | 552 DISALLOW_COPY_AND_ASSIGN(Shell); |
550 }; | 553 }; |
551 | 554 |
552 } // namespace ash | 555 } // namespace ash |
553 | 556 |
554 #endif // ASH_SHELL_H_ | 557 #endif // ASH_SHELL_H_ |
OLD | NEW |