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

Unified Diff: ash/common/shelf/shelf_tooltip_manager.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/shelf/overflow_bubble.cc ('k') | ash/common/system/tray/tray_event_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/shelf_tooltip_manager.cc
diff --git a/ash/common/shelf/shelf_tooltip_manager.cc b/ash/common/shelf/shelf_tooltip_manager.cc
index adf34ca93f3c851741f58c2ec767d66af9e2f721..e84cb3a301704436645c2e409fe9a3ee9e0c3f17 100644
--- a/ash/common/shelf/shelf_tooltip_manager.cc
+++ b/ash/common/shelf/shelf_tooltip_manager.cc
@@ -120,7 +120,8 @@ ShelfTooltipManager::ShelfTooltipManager(ShelfView* shelf_view)
bubble_(nullptr),
weak_factory_(this) {
shelf_view_->wm_shelf()->AddObserver(this);
- WmShell::Get()->AddPointerWatcher(this);
+ const bool wants_moves = false;
+ WmShell::Get()->AddPointerWatcher(this, wants_moves);
}
ShelfTooltipManager::~ShelfTooltipManager() {
« no previous file with comments | « ash/common/shelf/overflow_bubble.cc ('k') | ash/common/system/tray/tray_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698