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

Unified Diff: ash/aura/wm_shell_aura.cc

Issue 2231533004: Pointer watcher modifications to support laser pointer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Initial patch. Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: ash/aura/wm_shell_aura.cc
diff --git a/ash/aura/wm_shell_aura.cc b/ash/aura/wm_shell_aura.cc
index 004253bfe2a3e42f26d0151d07ebb73afe3d91cc..6c71b4efd43db6331b7510aa70a6245f1ad686a7 100644
--- a/ash/aura/wm_shell_aura.cc
+++ b/ash/aura/wm_shell_aura.cc
@@ -234,8 +234,9 @@ void WmShellAura::RemoveDisplayObserver(WmDisplayObserver* observer) {
display_observers_.RemoveObserver(observer);
}
-void WmShellAura::AddPointerWatcher(views::PointerWatcher* watcher) {
- Shell::GetInstance()->AddPointerWatcher(watcher);
+void WmShellAura::AddPointerWatcher(views::PointerWatcher* watcher,
+ bool wants_moves /*=false*/) {
+ Shell::GetInstance()->AddPointerWatcher(watcher, wants_moves);
}
void WmShellAura::RemovePointerWatcher(views::PointerWatcher* watcher) {

Powered by Google App Engine
This is Rietveld 408576698