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

Unified Diff: ash/common/system/tray/tray_event_filter.cc

Issue 2271393002: Wires up drags to pointer watcher adapter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: 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/common/system/tray/tray_event_filter.cc
diff --git a/ash/common/system/tray/tray_event_filter.cc b/ash/common/system/tray/tray_event_filter.cc
index 9f2c3d6a5a33ec651b25d0b5304a9311527ddf46..bfa3729eb10e9b778c4991fe9a7c9993b9f84fa1 100644
--- a/ash/common/system/tray/tray_event_filter.cc
+++ b/ash/common/system/tray/tray_event_filter.cc
@@ -26,7 +26,8 @@ void TrayEventFilter::AddWrapper(TrayBubbleWrapper* wrapper) {
wrappers_.insert(wrapper);
if (was_empty && !wrappers_.empty()) {
const bool wants_moves = false;
- WmShell::Get()->AddPointerWatcher(this, wants_moves);
+ const bool wants_drags = false;
+ WmShell::Get()->AddPointerWatcher(this, wants_moves, wants_drags);
}
}

Powered by Google App Engine
This is Rietveld 408576698