| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 class ScreenOrientationController; | 106 class ScreenOrientationController; |
| 107 class ScreenshotController; | 107 class ScreenshotController; |
| 108 class ScreenPinningController; | 108 class ScreenPinningController; |
| 109 class ScreenPositionController; | 109 class ScreenPositionController; |
| 110 class SessionStateDelegate; | 110 class SessionStateDelegate; |
| 111 class ShellDelegate; | 111 class ShellDelegate; |
| 112 struct ShellInitParams; | 112 struct ShellInitParams; |
| 113 class SlowAnimationEventFilter; | 113 class SlowAnimationEventFilter; |
| 114 class StatusAreaWidget; | 114 class StatusAreaWidget; |
| 115 class StickyKeysController; | 115 class StickyKeysController; |
| 116 class StylusMetricsRecorder; | |
| 117 class SystemGestureEventFilter; | 116 class SystemGestureEventFilter; |
| 118 class SystemModalContainerEventFilter; | 117 class SystemModalContainerEventFilter; |
| 119 class SystemTray; | 118 class SystemTray; |
| 120 class ToplevelWindowEventHandler; | 119 class ToplevelWindowEventHandler; |
| 121 class TouchTransformerController; | 120 class TouchTransformerController; |
| 122 class TouchObserverHUD; | 121 class TouchObserverHUD; |
| 123 class ScreenLayoutObserver; | 122 class ScreenLayoutObserver; |
| 124 class VirtualKeyboardController; | 123 class VirtualKeyboardController; |
| 125 class VideoActivityNotifier; | 124 class VideoActivityNotifier; |
| 126 class VideoDetector; | 125 class VideoDetector; |
| (...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 554 std::unique_ptr<DisplayChangeObserver> display_change_observer_; | 553 std::unique_ptr<DisplayChangeObserver> display_change_observer_; |
| 555 | 554 |
| 556 // Implements content::ScreenOrientationController for ChromeOS | 555 // Implements content::ScreenOrientationController for ChromeOS |
| 557 std::unique_ptr<ScreenOrientationController> screen_orientation_controller_; | 556 std::unique_ptr<ScreenOrientationController> screen_orientation_controller_; |
| 558 std::unique_ptr<ScreenLayoutObserver> screen_layout_observer_; | 557 std::unique_ptr<ScreenLayoutObserver> screen_layout_observer_; |
| 559 | 558 |
| 560 std::unique_ptr<TouchTransformerController> touch_transformer_controller_; | 559 std::unique_ptr<TouchTransformerController> touch_transformer_controller_; |
| 561 | 560 |
| 562 std::unique_ptr<ui::EventHandler> magnifier_key_scroll_handler_; | 561 std::unique_ptr<ui::EventHandler> magnifier_key_scroll_handler_; |
| 563 std::unique_ptr<ui::EventHandler> speech_feedback_handler_; | 562 std::unique_ptr<ui::EventHandler> speech_feedback_handler_; |
| 564 std::unique_ptr<StylusMetricsRecorder> stylus_metrics_recorder_; | |
| 565 #endif // defined(OS_CHROMEOS) | 563 #endif // defined(OS_CHROMEOS) |
| 566 | 564 |
| 567 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a | 565 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a |
| 568 // pointer to vend to test code. | 566 // pointer to vend to test code. |
| 569 AshNativeCursorManager* native_cursor_manager_; | 567 AshNativeCursorManager* native_cursor_manager_; |
| 570 | 568 |
| 571 // Cursor may be hidden on certain key events in ChromeOS, whereas we never | 569 // Cursor may be hidden on certain key events in ChromeOS, whereas we never |
| 572 // hide the cursor on Windows. | 570 // hide the cursor on Windows. |
| 573 std::unique_ptr<::wm::CursorManager> cursor_manager_; | 571 std::unique_ptr<::wm::CursorManager> cursor_manager_; |
| 574 | 572 |
| 575 // For testing only: simulate that a modal window is open | 573 // For testing only: simulate that a modal window is open |
| 576 bool simulate_modal_window_open_for_testing_; | 574 bool simulate_modal_window_open_for_testing_; |
| 577 | 575 |
| 578 bool is_touch_hud_projection_enabled_; | 576 bool is_touch_hud_projection_enabled_; |
| 579 | 577 |
| 580 // Injected content::GPUDataManager support. | 578 // Injected content::GPUDataManager support. |
| 581 std::unique_ptr<GPUSupport> gpu_support_; | 579 std::unique_ptr<GPUSupport> gpu_support_; |
| 582 | 580 |
| 583 std::unique_ptr<ImmersiveHandlerFactoryAsh> immersive_handler_factory_; | 581 std::unique_ptr<ImmersiveHandlerFactoryAsh> immersive_handler_factory_; |
| 584 | 582 |
| 585 bool in_mus_ = false; | 583 bool in_mus_ = false; |
| 586 | 584 |
| 587 DISALLOW_COPY_AND_ASSIGN(Shell); | 585 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 588 }; | 586 }; |
| 589 | 587 |
| 590 } // namespace ash | 588 } // namespace ash |
| 591 | 589 |
| 592 #endif // ASH_SHELL_H_ | 590 #endif // ASH_SHELL_H_ |
| OLD | NEW |