Index: ash/common/wm_shell.h |
diff --git a/ash/common/wm_shell.h b/ash/common/wm_shell.h |
index 8dd3d7eb4d6e70841e7dfbfa540547e8ef80e2a1..9950a24fd03347ead5786b830c096f8e498e74b3 100644 |
--- a/ash/common/wm_shell.h |
+++ b/ash/common/wm_shell.h |
@@ -305,7 +305,11 @@ class ASH_EXPORT WmShell { |
void AddShellObserver(ShellObserver* observer); |
void RemoveShellObserver(ShellObserver* observer); |
- virtual void AddPointerWatcher(views::PointerWatcher* watcher) = 0; |
+ // If |wants_moves| is true PointerWatcher::OnPointerEventObserved() is |
+ // called for pointer move events. Enabling pointer moves may incur a |
+ // performance hit and should be avoided if possible. |
+ virtual void AddPointerWatcher(views::PointerWatcher* watcher, |
+ bool wants_moves) = 0; |
virtual void RemovePointerWatcher(views::PointerWatcher* watcher) = 0; |
// TODO: Move these back to LockStateController when that has been moved. |