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

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 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.h ('k') | ash/shared/immersive_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d94a4beb68f849ae4fbe9390e63095419d51f3cd..58ca302cbdb1e336f84a93e05e19434a3570e6b2 100644
--- a/ash/mus/bridge/wm_shell_mus.cc
+++ b/ash/mus/bridge/wm_shell_mus.cc
@@ -388,8 +388,11 @@ void WmShellMus::RemoveDisplayObserver(WmDisplayObserver* observer) {
}
void WmShellMus::AddPointerWatcher(views::PointerWatcher* watcher,
- bool wants_moves) {
- pointer_watcher_event_router_->AddPointerWatcher(watcher, wants_moves);
+ views::PointerWatcherEventTypes events) {
+ // TODO: implement drags for mus pointer watcher, http://crbug.com/641164.
+ // NOTIMPLEMENTED drags for mus pointer watcher.
+ pointer_watcher_event_router_->AddPointerWatcher(
+ watcher, events == views::PointerWatcherEventTypes::MOVES);
}
void WmShellMus::RemovePointerWatcher(views::PointerWatcher* watcher) {
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.h ('k') | ash/shared/immersive_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698