| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_COMMON_WM_SHELL_H_ | 5 #ifndef ASH_COMMON_WM_SHELL_H_ |
| 6 #define ASH_COMMON_WM_SHELL_H_ | 6 #define ASH_COMMON_WM_SHELL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 virtual void OnOverviewModeStarting() = 0; | 125 virtual void OnOverviewModeStarting() = 0; |
| 126 | 126 |
| 127 // Called after overview mode has ended. | 127 // Called after overview mode has ended. |
| 128 virtual void OnOverviewModeEnded() = 0; | 128 virtual void OnOverviewModeEnded() = 0; |
| 129 | 129 |
| 130 // TODO(sky): if WindowSelectorController can't be moved over, move these | 130 // TODO(sky): if WindowSelectorController can't be moved over, move these |
| 131 // onto their own local class. | 131 // onto their own local class. |
| 132 virtual bool IsOverviewModeSelecting() = 0; | 132 virtual bool IsOverviewModeSelecting() = 0; |
| 133 virtual bool IsOverviewModeRestoringMinimizedWindows() = 0; | 133 virtual bool IsOverviewModeRestoringMinimizedWindows() = 0; |
| 134 | 134 |
| 135 // TODO(jamescook): Remove this when VirtualKeyboardController has been moved. |
| 136 virtual void ToggleIgnoreExternalKeyboard() = 0; |
| 137 |
| 135 virtual AccessibilityDelegate* GetAccessibilityDelegate() = 0; | 138 virtual AccessibilityDelegate* GetAccessibilityDelegate() = 0; |
| 136 | 139 |
| 137 virtual SessionStateDelegate* GetSessionStateDelegate() = 0; | 140 virtual SessionStateDelegate* GetSessionStateDelegate() = 0; |
| 138 | 141 |
| 139 virtual void AddActivationObserver(WmActivationObserver* observer) = 0; | 142 virtual void AddActivationObserver(WmActivationObserver* observer) = 0; |
| 140 virtual void RemoveActivationObserver(WmActivationObserver* observer) = 0; | 143 virtual void RemoveActivationObserver(WmActivationObserver* observer) = 0; |
| 141 | 144 |
| 142 virtual void AddDisplayObserver(WmDisplayObserver* observer) = 0; | 145 virtual void AddDisplayObserver(WmDisplayObserver* observer) = 0; |
| 143 virtual void RemoveDisplayObserver(WmDisplayObserver* observer) = 0; | 146 virtual void RemoveDisplayObserver(WmDisplayObserver* observer) = 0; |
| 144 | 147 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 161 std::unique_ptr<FocusCycler> focus_cycler_; | 164 std::unique_ptr<FocusCycler> focus_cycler_; |
| 162 std::unique_ptr<WmSystemTrayNotifier> system_tray_notifier_; | 165 std::unique_ptr<WmSystemTrayNotifier> system_tray_notifier_; |
| 163 std::unique_ptr<SystemTrayDelegate> system_tray_delegate_; | 166 std::unique_ptr<SystemTrayDelegate> system_tray_delegate_; |
| 164 | 167 |
| 165 bool simulate_modal_window_open_for_testing_ = false; | 168 bool simulate_modal_window_open_for_testing_ = false; |
| 166 }; | 169 }; |
| 167 | 170 |
| 168 } // namespace ash | 171 } // namespace ash |
| 169 | 172 |
| 170 #endif // ASH_COMMON_WM_SHELL_H_ | 173 #endif // ASH_COMMON_WM_SHELL_H_ |
| OLD | NEW |