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

Unified Diff: ash/common/shelf/overflow_bubble.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/overflow_bubble.cc
diff --git a/ash/common/shelf/overflow_bubble.cc b/ash/common/shelf/overflow_bubble.cc
index fccafd0496dfa5e88b841da3fb0a65053a125c15..81649279511978d2bc0bdd4664715e86a1c44e2a 100644
--- a/ash/common/shelf/overflow_bubble.cc
+++ b/ash/common/shelf/overflow_bubble.cc
@@ -19,8 +19,8 @@ OverflowBubble::OverflowBubble(WmShelf* wm_shelf)
bubble_(nullptr),
anchor_(nullptr),
shelf_view_(nullptr) {
- const bool wants_moves = false;
- WmShell::Get()->AddPointerWatcher(this, wants_moves);
+ WmShell::Get()->AddPointerWatcher(this,
+ views::PointerWatcherEventTypes::BASIC);
}
OverflowBubble::~OverflowBubble() {

Powered by Google App Engine
This is Rietveld 408576698