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

Unified Diff: ash/shelf/overflow_bubble.cc

Issue 2092343002: Touch HUD app for mustash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/shelf/overflow_bubble.cc
diff --git a/ash/shelf/overflow_bubble.cc b/ash/shelf/overflow_bubble.cc
index ecd277cd36a9c0565d7303f4191d4b4657f417e7..203081f4c98cae5ee2c765c425bb4ce991a82421 100644
--- a/ash/shelf/overflow_bubble.cc
+++ b/ash/shelf/overflow_bubble.cc
@@ -71,18 +71,32 @@ void OverflowBubble::ProcessPressedEvent(
}
}
-void OverflowBubble::OnMousePressed(const ui::MouseEvent& event,
- const gfx::Point& location_in_screen,
- views::Widget* target) {
+void OverflowBubble::OnMousePressObserved(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::OnTouchPressObserved(const ui::TouchEvent& event,
+ const gfx::Point& location_in_screen,
+ views::Widget* target) {
ProcessPressedEvent(location_in_screen);
}
+void OverflowBubble::OnTouchReleaseObserved(
+ const ui::TouchEvent& event,
+ const gfx::Point& location_in_screen,
+ views::Widget* target) {}
+
+void OverflowBubble::OnTouchMoveObserved(const ui::TouchEvent& event,
+ const gfx::Point& location_in_screen,
+ views::Widget* target) {}
+
+void OverflowBubble::OnTouchCancellObserved(
+ const ui::TouchEvent& event,
+ const gfx::Point& location_in_screen,
+ views::Widget* target) {}
+
void OverflowBubble::OnWidgetDestroying(views::Widget* widget) {
DCHECK(widget == bubble_->GetWidget());
bubble_ = NULL;

Powered by Google App Engine
This is Rietveld 408576698