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

Unified Diff: ash/sysui/pointer_watcher_delegate_mus.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/sysui/pointer_watcher_delegate_mus.cc
diff --git a/ash/sysui/pointer_watcher_delegate_mus.cc b/ash/sysui/pointer_watcher_delegate_mus.cc
index 0487af9d8686a628074ec77c0f6fd9ad4e0f9f9f..ef23817855ea3899c9fb6f5d0a41d338adb21919 100644
--- a/ash/sysui/pointer_watcher_delegate_mus.cc
+++ b/ash/sysui/pointer_watcher_delegate_mus.cc
@@ -13,7 +13,8 @@ PointerWatcherDelegateMus::PointerWatcherDelegateMus() {}
PointerWatcherDelegateMus::~PointerWatcherDelegateMus() {}
void PointerWatcherDelegateMus::AddPointerWatcher(
- views::PointerWatcher* watcher) {
+ views::PointerWatcher* watcher,
+ bool wants_moves /* =false */) {
views::WindowManagerConnection::Get()->AddPointerWatcher(
watcher, false /* want_moves */);
}

Powered by Google App Engine
This is Rietveld 408576698