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

Unified Diff: ash/mus/bridge/wm_shell_mus.cc

Issue 2271393002: Wires up drags to pointer watcher adapter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fixed patch set 1 errors. 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/mus/bridge/wm_shell_mus.cc
diff --git a/ash/mus/bridge/wm_shell_mus.cc b/ash/mus/bridge/wm_shell_mus.cc
index e2eb353e1b57e430b3afc5446e339fd99e6daf00..82f779ec73ddf1e4aed5b2ee2eab280f9fbab5ff 100644
--- a/ash/mus/bridge/wm_shell_mus.cc
+++ b/ash/mus/bridge/wm_shell_mus.cc
@@ -374,7 +374,10 @@ void WmShellMus::RemoveDisplayObserver(WmDisplayObserver* observer) {
}
void WmShellMus::AddPointerWatcher(views::PointerWatcher* watcher,
- bool wants_moves) {
+ views::RequestedEvents events) {
+ // TODO: implement drags for mus pointer watcher, http://crbug.com/641164.
+ // NOTIMPLEMENTED drags for mus pointer watcher.
+ const bool wants_moves = events == views::RequestedEvents::MOVES;
pointer_watcher_event_router_->AddPointerWatcher(watcher, wants_moves);
}

Powered by Google App Engine
This is Rietveld 408576698