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

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: Rebased. 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..b655cb7bac8557c98917429daea1028c9cdf3548 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);
+ WmShell::Get()->AddPointerWatcher(this,
+ views::PointerWatcherEventTypes::BASIC);
}
ShelfTooltipManager::~ShelfTooltipManager() {

Powered by Google App Engine
This is Rietveld 408576698