| 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 struct ShellInitParams; | 134 struct ShellInitParams; |
| 135 class ShellObserver; | 135 class ShellObserver; |
| 136 class SlowAnimationEventFilter; | 136 class SlowAnimationEventFilter; |
| 137 class StatusAreaWidget; | 137 class StatusAreaWidget; |
| 138 class StickyKeysController; | 138 class StickyKeysController; |
| 139 class SystemGestureEventFilter; | 139 class SystemGestureEventFilter; |
| 140 class SystemModalContainerEventFilter; | 140 class SystemModalContainerEventFilter; |
| 141 class SystemTray; | 141 class SystemTray; |
| 142 class SystemTrayDelegate; | 142 class SystemTrayDelegate; |
| 143 class SystemTrayNotifier; | 143 class SystemTrayNotifier; |
| 144 class ToastManager; |
| 144 class ToplevelWindowEventHandler; | 145 class ToplevelWindowEventHandler; |
| 145 class TouchTransformerController; | 146 class TouchTransformerController; |
| 146 class TouchObserverHUD; | 147 class TouchObserverHUD; |
| 147 class UserWallpaperDelegate; | 148 class UserWallpaperDelegate; |
| 148 class VirtualKeyboardController; | 149 class VirtualKeyboardController; |
| 149 class VideoActivityNotifier; | 150 class VideoActivityNotifier; |
| 150 class VideoDetector; | 151 class VideoDetector; |
| 151 class WebNotificationTray; | 152 class WebNotificationTray; |
| 152 class WindowCycleController; | 153 class WindowCycleController; |
| 153 class WindowPositioner; | 154 class WindowPositioner; |
| (...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 576 | 577 |
| 577 // Toggles cursor compositing on/off. Native cursor is disabled when cursor | 578 // Toggles cursor compositing on/off. Native cursor is disabled when cursor |
| 578 // compositing is enabled, and vice versa. | 579 // compositing is enabled, and vice versa. |
| 579 void SetCursorCompositingEnabled(bool enabled); | 580 void SetCursorCompositingEnabled(bool enabled); |
| 580 | 581 |
| 581 StickyKeysController* sticky_keys_controller() { | 582 StickyKeysController* sticky_keys_controller() { |
| 582 return sticky_keys_controller_.get(); | 583 return sticky_keys_controller_.get(); |
| 583 } | 584 } |
| 584 #endif // defined(OS_CHROMEOS) | 585 #endif // defined(OS_CHROMEOS) |
| 585 | 586 |
| 587 ToastManager* toast_manager() { return toast_manager_.get(); } |
| 588 |
| 586 GPUSupport* gpu_support() { return gpu_support_.get(); } | 589 GPUSupport* gpu_support() { return gpu_support_.get(); } |
| 587 | 590 |
| 588 private: | 591 private: |
| 589 FRIEND_TEST_ALL_PREFIXES(ExtendedDesktopTest, TestCursor); | 592 FRIEND_TEST_ALL_PREFIXES(ExtendedDesktopTest, TestCursor); |
| 590 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, MouseEventCursors); | 593 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, MouseEventCursors); |
| 591 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, TransformActivate); | 594 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, TransformActivate); |
| 592 friend class RootWindowController; | 595 friend class RootWindowController; |
| 593 friend class ScopedTargetRootWindow; | 596 friend class ScopedTargetRootWindow; |
| 594 friend class test::ShellTestApi; | 597 friend class test::ShellTestApi; |
| 595 friend class shell::WindowWatcher; | 598 friend class shell::WindowWatcher; |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 738 | 741 |
| 739 // Implements content::ScreenOrientationController for ChromeOS | 742 // Implements content::ScreenOrientationController for ChromeOS |
| 740 scoped_ptr<ScreenOrientationController> screen_orientation_controller_; | 743 scoped_ptr<ScreenOrientationController> screen_orientation_controller_; |
| 741 | 744 |
| 742 scoped_ptr<TouchTransformerController> touch_transformer_controller_; | 745 scoped_ptr<TouchTransformerController> touch_transformer_controller_; |
| 743 | 746 |
| 744 scoped_ptr<ui::EventHandler> magnifier_key_scroll_handler_; | 747 scoped_ptr<ui::EventHandler> magnifier_key_scroll_handler_; |
| 745 scoped_ptr<ui::EventHandler> speech_feedback_handler_; | 748 scoped_ptr<ui::EventHandler> speech_feedback_handler_; |
| 746 #endif // defined(OS_CHROMEOS) | 749 #endif // defined(OS_CHROMEOS) |
| 747 | 750 |
| 751 scoped_ptr<ToastManager> toast_manager_; |
| 748 scoped_ptr<MaximizeModeController> maximize_mode_controller_; | 752 scoped_ptr<MaximizeModeController> maximize_mode_controller_; |
| 749 | 753 |
| 750 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a | 754 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a |
| 751 // pointer to vend to test code. | 755 // pointer to vend to test code. |
| 752 AshNativeCursorManager* native_cursor_manager_; | 756 AshNativeCursorManager* native_cursor_manager_; |
| 753 | 757 |
| 754 // Cursor may be hidden on certain key events in ChromeOS, whereas we never | 758 // Cursor may be hidden on certain key events in ChromeOS, whereas we never |
| 755 // hide the cursor on Windows. | 759 // hide the cursor on Windows. |
| 756 scoped_ptr<::wm::CursorManager> cursor_manager_; | 760 scoped_ptr<::wm::CursorManager> cursor_manager_; |
| 757 | 761 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 770 bool in_mus_ = false; | 774 bool in_mus_ = false; |
| 771 | 775 |
| 772 scoped_ptr<KeyboardUI> keyboard_ui_; | 776 scoped_ptr<KeyboardUI> keyboard_ui_; |
| 773 | 777 |
| 774 DISALLOW_COPY_AND_ASSIGN(Shell); | 778 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 775 }; | 779 }; |
| 776 | 780 |
| 777 } // namespace ash | 781 } // namespace ash |
| 778 | 782 |
| 779 #endif // ASH_SHELL_H_ | 783 #endif // ASH_SHELL_H_ |
| OLD | NEW |