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

Unified Diff: ash/common/shelf/shelf_tooltip_manager.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/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 e84cb3a301704436645c2e409fe9a3ee9e0c3f17..dc4b0605314a8b3a1b039b023e5c3e79e0f96c0e 100644
--- a/ash/common/shelf/shelf_tooltip_manager.cc
+++ b/ash/common/shelf/shelf_tooltip_manager.cc
@@ -120,8 +120,8 @@ ShelfTooltipManager::ShelfTooltipManager(ShelfView* shelf_view)
bubble_(nullptr),
weak_factory_(this) {
shelf_view_->wm_shelf()->AddObserver(this);
- const bool wants_moves = false;
- WmShell::Get()->AddPointerWatcher(this, wants_moves);
+ const views::RequestedEvents events = views::RequestedEvents::BASIC;
+ WmShell::Get()->AddPointerWatcher(this, events);
}
ShelfTooltipManager::~ShelfTooltipManager() {

Powered by Google App Engine
This is Rietveld 408576698