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