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

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: 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/overflow_bubble.cc
diff --git a/ash/common/shelf/overflow_bubble.cc b/ash/common/shelf/overflow_bubble.cc
index fccafd0496dfa5e88b841da3fb0a65053a125c15..f1f6064295c7ed3be2894817fe4f4c060b6c374a 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);
+ const views::RequestedEvents events = views::RequestedEvents::BASIC;
sky 2016/08/26 15:36:55 The temporary is useful to understand what a boole
sammiequon 2016/08/26 18:34:20 Done.
+ WmShell::Get()->AddPointerWatcher(this, events);
}
OverflowBubble::~OverflowBubble() {

Powered by Google App Engine
This is Rietveld 408576698