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

Unified Diff: ash/common/shelf/overflow_bubble.cc

Issue 2235363003: Wires up WmShellMus::Add/RemovePointerWatcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pointer_watcher_capture
Patch Set: merge to tot again 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
« no previous file with comments | « ash/common/pointer_watcher_delegate.h ('k') | ash/common/shelf/shelf_tooltip_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/overflow_bubble.cc
diff --git a/ash/common/shelf/overflow_bubble.cc b/ash/common/shelf/overflow_bubble.cc
index aaf84caf96fce6a975986e1579f8599953c39b77..b0ae2bc69386caf052e56c8a19b95c25e1fe8051 100644
--- a/ash/common/shelf/overflow_bubble.cc
+++ b/ash/common/shelf/overflow_bubble.cc
@@ -19,7 +19,8 @@ OverflowBubble::OverflowBubble(WmShelf* wm_shelf)
bubble_(nullptr),
anchor_(nullptr),
shelf_view_(nullptr) {
- WmShell::Get()->AddPointerWatcher(this);
+ const bool wants_moves = false;
+ WmShell::Get()->AddPointerWatcher(this, wants_moves);
}
OverflowBubble::~OverflowBubble() {
« no previous file with comments | « ash/common/pointer_watcher_delegate.h ('k') | ash/common/shelf/shelf_tooltip_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698