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

Unified Diff: ash/common/shelf/overflow_bubble.cc

Issue 2163453002: mus: Change PointerWatcher to watch for all events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add back location Created 4 years, 5 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 0a5428ab3d96e75b88fbd295f1dc538efe66bdd2..2bc1047731c384d90a5fbc28f39467d9e0953f8d 100644
--- a/ash/common/shelf/overflow_bubble.cc
+++ b/ash/common/shelf/overflow_bubble.cc
@@ -71,15 +71,10 @@ void OverflowBubble::ProcessPressedEvent(
}
}
-void OverflowBubble::OnMousePressed(const ui::MouseEvent& event,
- const gfx::Point& location_in_screen,
- views::Widget* target) {
- ProcessPressedEvent(location_in_screen);
-}
-
-void OverflowBubble::OnTouchPressed(const ui::TouchEvent& event,
- const gfx::Point& location_in_screen,
- views::Widget* target) {
+void OverflowBubble::OnPointerEventObserved(
+ const ui::LocatedEvent& event,
+ const gfx::Point& location_in_screen,
+ views::Widget* target) {
ProcessPressedEvent(location_in_screen);
James Cook 2016/07/22 22:06:26 For example, I would expect you to have to check t
}

Powered by Google App Engine
This is Rietveld 408576698