| 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 <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 class ShellObserver; | 129 class ShellObserver; |
| 130 class SlowAnimationEventFilter; | 130 class SlowAnimationEventFilter; |
| 131 class StatusAreaWidget; | 131 class StatusAreaWidget; |
| 132 class StickyKeysController; | 132 class StickyKeysController; |
| 133 class SystemGestureEventFilter; | 133 class SystemGestureEventFilter; |
| 134 class SystemModalContainerEventFilter; | 134 class SystemModalContainerEventFilter; |
| 135 class SystemTray; | 135 class SystemTray; |
| 136 class SystemTrayDelegate; | 136 class SystemTrayDelegate; |
| 137 class SystemTrayNotifier; | 137 class SystemTrayNotifier; |
| 138 class ToplevelWindowEventHandler; | 138 class ToplevelWindowEventHandler; |
| 139 class TouchTransformerController; |
| 139 class TouchObserverHUD; | 140 class TouchObserverHUD; |
| 140 class UserActivityDetector; | 141 class UserActivityDetector; |
| 141 class UserWallpaperDelegate; | 142 class UserWallpaperDelegate; |
| 142 class VideoActivityNotifier; | 143 class VideoActivityNotifier; |
| 143 class VideoDetector; | 144 class VideoDetector; |
| 144 class WebNotificationTray; | 145 class WebNotificationTray; |
| 145 class WindowCycleController; | 146 class WindowCycleController; |
| 146 class WindowPositioner; | 147 class WindowPositioner; |
| 147 class WindowSelectorController; | 148 class WindowSelectorController; |
| 148 | 149 |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 VideoDetector* video_detector() { | 364 VideoDetector* video_detector() { |
| 364 return video_detector_.get(); | 365 return video_detector_.get(); |
| 365 } | 366 } |
| 366 WindowSelectorController* window_selector_controller() { | 367 WindowSelectorController* window_selector_controller() { |
| 367 return window_selector_controller_.get(); | 368 return window_selector_controller_.get(); |
| 368 } | 369 } |
| 369 FocusCycler* focus_cycler() { return focus_cycler_.get(); } | 370 FocusCycler* focus_cycler() { return focus_cycler_.get(); } |
| 370 DisplayController* display_controller() { | 371 DisplayController* display_controller() { |
| 371 return display_controller_.get(); | 372 return display_controller_.get(); |
| 372 } | 373 } |
| 374 #if defined(OS_CHROMEOS) && defined(USE_X11) |
| 375 TouchTransformerController* touch_transformer_controller() { |
| 376 return touch_transformer_controller_.get(); |
| 377 } |
| 378 #endif // defined(OS_CHROMEOS) && defined(USE_X11) |
| 373 MouseCursorEventFilter* mouse_cursor_filter() { | 379 MouseCursorEventFilter* mouse_cursor_filter() { |
| 374 return mouse_cursor_filter_.get(); | 380 return mouse_cursor_filter_.get(); |
| 375 } | 381 } |
| 376 EventTransformationHandler* event_transformation_handler() { | 382 EventTransformationHandler* event_transformation_handler() { |
| 377 return event_transformation_handler_.get(); | 383 return event_transformation_handler_.get(); |
| 378 } | 384 } |
| 379 ::wm::CursorManager* cursor_manager() { return &cursor_manager_; } | 385 ::wm::CursorManager* cursor_manager() { return &cursor_manager_; } |
| 380 | 386 |
| 381 ShellDelegate* delegate() { return delegate_.get(); } | 387 ShellDelegate* delegate() { return delegate_.get(); } |
| 382 | 388 |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 707 scoped_ptr<DisplayConfiguratorAnimation> display_configurator_animation_; | 713 scoped_ptr<DisplayConfiguratorAnimation> display_configurator_animation_; |
| 708 scoped_ptr<DisplayErrorObserver> display_error_observer_; | 714 scoped_ptr<DisplayErrorObserver> display_error_observer_; |
| 709 scoped_ptr<ProjectingObserver> projecting_observer_; | 715 scoped_ptr<ProjectingObserver> projecting_observer_; |
| 710 | 716 |
| 711 // Listens for output changes and updates the display manager. | 717 // Listens for output changes and updates the display manager. |
| 712 scoped_ptr<DisplayChangeObserver> display_change_observer_; | 718 scoped_ptr<DisplayChangeObserver> display_change_observer_; |
| 713 | 719 |
| 714 #if defined(USE_X11) | 720 #if defined(USE_X11) |
| 715 scoped_ptr<ui::EventHandler> magnifier_key_scroll_handler_; | 721 scoped_ptr<ui::EventHandler> magnifier_key_scroll_handler_; |
| 716 scoped_ptr<ui::EventHandler> speech_feedback_handler_; | 722 scoped_ptr<ui::EventHandler> speech_feedback_handler_; |
| 723 scoped_ptr<TouchTransformerController> touch_transformer_controller_; |
| 717 #endif // defined(USE_X11) | 724 #endif // defined(USE_X11) |
| 718 #endif // defined(OS_CHROMEOS) | 725 #endif // defined(OS_CHROMEOS) |
| 719 | 726 |
| 720 scoped_ptr<MaximizeModeController> maximize_mode_controller_; | 727 scoped_ptr<MaximizeModeController> maximize_mode_controller_; |
| 721 | 728 |
| 722 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a | 729 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a |
| 723 // pointer to vend to test code. | 730 // pointer to vend to test code. |
| 724 AshNativeCursorManager* native_cursor_manager_; | 731 AshNativeCursorManager* native_cursor_manager_; |
| 725 | 732 |
| 726 // Cursor may be hidden on certain key events in ChromeOS, whereas we never hide | 733 // Cursor may be hidden on certain key events in ChromeOS, whereas we never hide |
| (...skipping 13 matching lines...) Expand all Loading... |
| 740 | 747 |
| 741 // Injected content::GPUDataManager support. | 748 // Injected content::GPUDataManager support. |
| 742 scoped_ptr<GPUSupport> gpu_support_; | 749 scoped_ptr<GPUSupport> gpu_support_; |
| 743 | 750 |
| 744 DISALLOW_COPY_AND_ASSIGN(Shell); | 751 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 745 }; | 752 }; |
| 746 | 753 |
| 747 } // namespace ash | 754 } // namespace ash |
| 748 | 755 |
| 749 #endif // ASH_SHELL_H_ | 756 #endif // ASH_SHELL_H_ |
| OLD | NEW |