| 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_MUS_BRIDGE_WM_SHELL_MUS_H_ | 5 #ifndef ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ |
| 6 #define ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ | 6 #define ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 void AddActivationObserver(WmActivationObserver* observer) override; | 106 void AddActivationObserver(WmActivationObserver* observer) override; |
| 107 void RemoveActivationObserver(WmActivationObserver* observer) override; | 107 void RemoveActivationObserver(WmActivationObserver* observer) override; |
| 108 void AddDisplayObserver(WmDisplayObserver* observer) override; | 108 void AddDisplayObserver(WmDisplayObserver* observer) override; |
| 109 void RemoveDisplayObserver(WmDisplayObserver* observer) override; | 109 void RemoveDisplayObserver(WmDisplayObserver* observer) override; |
| 110 void AddPointerWatcher(views::PointerWatcher* watcher, | 110 void AddPointerWatcher(views::PointerWatcher* watcher, |
| 111 views::PointerWatcherEventTypes events) override; | 111 views::PointerWatcherEventTypes events) override; |
| 112 void RemovePointerWatcher(views::PointerWatcher* watcher) override; | 112 void RemovePointerWatcher(views::PointerWatcher* watcher) override; |
| 113 bool IsTouchDown() override; | 113 bool IsTouchDown() override; |
| 114 #if defined(OS_CHROMEOS) | 114 #if defined(OS_CHROMEOS) |
| 115 void ToggleIgnoreExternalKeyboard() override; | 115 void ToggleIgnoreExternalKeyboard() override; |
| 116 void SetLaserPointerEnabled(bool enabled) override; |
| 116 #endif | 117 #endif |
| 117 | 118 |
| 118 private: | 119 private: |
| 119 friend class WmShellMusTestApi; | 120 friend class WmShellMusTestApi; |
| 120 | 121 |
| 121 ui::WindowTreeClient* window_tree_client(); | 122 ui::WindowTreeClient* window_tree_client(); |
| 122 | 123 |
| 123 // Returns true if |window| is a window that can have active children. | 124 // Returns true if |window| is a window that can have active children. |
| 124 static bool IsActivationParent(ui::Window* window); | 125 static bool IsActivationParent(ui::Window* window); |
| 125 | 126 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 143 | 144 |
| 144 base::ObserverList<WmActivationObserver> activation_observers_; | 145 base::ObserverList<WmActivationObserver> activation_observers_; |
| 145 | 146 |
| 146 DISALLOW_COPY_AND_ASSIGN(WmShellMus); | 147 DISALLOW_COPY_AND_ASSIGN(WmShellMus); |
| 147 }; | 148 }; |
| 148 | 149 |
| 149 } // namespace mus | 150 } // namespace mus |
| 150 } // namespace ash | 151 } // namespace ash |
| 151 | 152 |
| 152 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ | 153 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ |
| OLD | NEW |