Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: ash/mus/bridge/wm_shell_mus.h

Issue 2311393004: Laser tool blocks events from propagating. (Closed)
Patch Set: Fixed patch set 2 errors. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 void AddActivationObserver(WmActivationObserver* observer) override; 108 void AddActivationObserver(WmActivationObserver* observer) override;
109 void RemoveActivationObserver(WmActivationObserver* observer) override; 109 void RemoveActivationObserver(WmActivationObserver* observer) override;
110 void AddDisplayObserver(WmDisplayObserver* observer) override; 110 void AddDisplayObserver(WmDisplayObserver* observer) override;
111 void RemoveDisplayObserver(WmDisplayObserver* observer) override; 111 void RemoveDisplayObserver(WmDisplayObserver* observer) override;
112 void AddPointerWatcher(views::PointerWatcher* watcher, 112 void AddPointerWatcher(views::PointerWatcher* watcher,
113 views::PointerWatcherEventTypes events) override; 113 views::PointerWatcherEventTypes events) override;
114 void RemovePointerWatcher(views::PointerWatcher* watcher) override; 114 void RemovePointerWatcher(views::PointerWatcher* watcher) override;
115 bool IsTouchDown() override; 115 bool IsTouchDown() override;
116 #if defined(OS_CHROMEOS) 116 #if defined(OS_CHROMEOS)
117 void ToggleIgnoreExternalKeyboard() override; 117 void ToggleIgnoreExternalKeyboard() override;
118 void SetLaserPointerEnabled(bool enabled) override;
118 #endif 119 #endif
119 120
120 private: 121 private:
121 friend class WmShellMusTestApi; 122 friend class WmShellMusTestApi;
122 123
123 ui::WindowTreeClient* window_tree_client(); 124 ui::WindowTreeClient* window_tree_client();
124 125
125 // Returns true if |window| is a window that can have active children. 126 // Returns true if |window| is a window that can have active children.
126 static bool IsActivationParent(ui::Window* window); 127 static bool IsActivationParent(ui::Window* window);
127 128
(...skipping 17 matching lines...) Expand all
145 146
146 base::ObserverList<WmActivationObserver> activation_observers_; 147 base::ObserverList<WmActivationObserver> activation_observers_;
147 148
148 DISALLOW_COPY_AND_ASSIGN(WmShellMus); 149 DISALLOW_COPY_AND_ASSIGN(WmShellMus);
149 }; 150 };
150 151
151 } // namespace mus 152 } // namespace mus
152 } // namespace ash 153 } // namespace ash
153 154
154 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ 155 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698