| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 class ScreenOrientationController; | 105 class ScreenOrientationController; |
| 106 class ScreenshotController; | 106 class ScreenshotController; |
| 107 class ScreenPinningController; | 107 class ScreenPinningController; |
| 108 class ScreenPositionController; | 108 class ScreenPositionController; |
| 109 class SessionStateDelegate; | 109 class SessionStateDelegate; |
| 110 class ShellDelegate; | 110 class ShellDelegate; |
| 111 struct ShellInitParams; | 111 struct ShellInitParams; |
| 112 class SlowAnimationEventFilter; | 112 class SlowAnimationEventFilter; |
| 113 class StatusAreaWidget; | 113 class StatusAreaWidget; |
| 114 class StickyKeysController; | 114 class StickyKeysController; |
| 115 class StylusMetricsRecorder; | |
| 116 class SystemGestureEventFilter; | 115 class SystemGestureEventFilter; |
| 117 class SystemModalContainerEventFilter; | 116 class SystemModalContainerEventFilter; |
| 118 class SystemTray; | 117 class SystemTray; |
| 119 class ToplevelWindowEventHandler; | 118 class ToplevelWindowEventHandler; |
| 120 class TouchTransformerController; | 119 class TouchTransformerController; |
| 121 class TouchObserverHUD; | 120 class TouchObserverHUD; |
| 122 class ScreenLayoutObserver; | 121 class ScreenLayoutObserver; |
| 123 class VirtualKeyboardController; | 122 class VirtualKeyboardController; |
| 124 class VideoActivityNotifier; | 123 class VideoActivityNotifier; |
| 125 class VideoDetector; | 124 class VideoDetector; |
| (...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 std::unique_ptr<DisplayChangeObserver> display_change_observer_; | 528 std::unique_ptr<DisplayChangeObserver> display_change_observer_; |
| 530 | 529 |
| 531 // Implements content::ScreenOrientationController for ChromeOS | 530 // Implements content::ScreenOrientationController for ChromeOS |
| 532 std::unique_ptr<ScreenOrientationController> screen_orientation_controller_; | 531 std::unique_ptr<ScreenOrientationController> screen_orientation_controller_; |
| 533 std::unique_ptr<ScreenLayoutObserver> screen_layout_observer_; | 532 std::unique_ptr<ScreenLayoutObserver> screen_layout_observer_; |
| 534 | 533 |
| 535 std::unique_ptr<TouchTransformerController> touch_transformer_controller_; | 534 std::unique_ptr<TouchTransformerController> touch_transformer_controller_; |
| 536 | 535 |
| 537 std::unique_ptr<ui::EventHandler> magnifier_key_scroll_handler_; | 536 std::unique_ptr<ui::EventHandler> magnifier_key_scroll_handler_; |
| 538 std::unique_ptr<ui::EventHandler> speech_feedback_handler_; | 537 std::unique_ptr<ui::EventHandler> speech_feedback_handler_; |
| 539 std::unique_ptr<StylusMetricsRecorder> stylus_metrics_recorder_; | |
| 540 | |
| 541 std::unique_ptr<LaserPointerController> laser_pointer_controller_; | 538 std::unique_ptr<LaserPointerController> laser_pointer_controller_; |
| 542 std::unique_ptr<PartialMagnificationController> | 539 std::unique_ptr<PartialMagnificationController> |
| 543 partial_magnification_controller_; | 540 partial_magnification_controller_; |
| 544 #endif // defined(OS_CHROMEOS) | 541 #endif // defined(OS_CHROMEOS) |
| 545 | 542 |
| 546 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a | 543 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a |
| 547 // pointer to vend to test code. | 544 // pointer to vend to test code. |
| 548 AshNativeCursorManager* native_cursor_manager_; | 545 AshNativeCursorManager* native_cursor_manager_; |
| 549 | 546 |
| 550 // Cursor may be hidden on certain key events in ChromeOS, whereas we never | 547 // Cursor may be hidden on certain key events in ChromeOS, whereas we never |
| 551 // hide the cursor on Windows. | 548 // hide the cursor on Windows. |
| 552 std::unique_ptr<::wm::CursorManager> cursor_manager_; | 549 std::unique_ptr<::wm::CursorManager> cursor_manager_; |
| 553 | 550 |
| 554 // For testing only: simulate that a modal window is open | 551 // For testing only: simulate that a modal window is open |
| 555 bool simulate_modal_window_open_for_testing_; | 552 bool simulate_modal_window_open_for_testing_; |
| 556 | 553 |
| 557 bool is_touch_hud_projection_enabled_; | 554 bool is_touch_hud_projection_enabled_; |
| 558 | 555 |
| 559 // Injected content::GPUDataManager support. | 556 // Injected content::GPUDataManager support. |
| 560 std::unique_ptr<GPUSupport> gpu_support_; | 557 std::unique_ptr<GPUSupport> gpu_support_; |
| 561 | 558 |
| 562 std::unique_ptr<ImmersiveHandlerFactoryAsh> immersive_handler_factory_; | 559 std::unique_ptr<ImmersiveHandlerFactoryAsh> immersive_handler_factory_; |
| 563 | 560 |
| 564 DISALLOW_COPY_AND_ASSIGN(Shell); | 561 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 565 }; | 562 }; |
| 566 | 563 |
| 567 } // namespace ash | 564 } // namespace ash |
| 568 | 565 |
| 569 #endif // ASH_SHELL_H_ | 566 #endif // ASH_SHELL_H_ |
| OLD | NEW |