Index: ash/common/shelf/overflow_bubble.cc |
diff --git a/ash/common/shelf/overflow_bubble.cc b/ash/common/shelf/overflow_bubble.cc |
index 74e59be6ac0d1fe1fa814928409f39319be004b1..aaf84caf96fce6a975986e1579f8599953c39b77 100644 |
--- a/ash/common/shelf/overflow_bubble.cc |
+++ b/ash/common/shelf/overflow_bubble.cc |
@@ -71,16 +71,12 @@ 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) { |
- ProcessPressedEvent(location_in_screen); |
+void OverflowBubble::OnPointerEventObserved( |
+ const ui::PointerEvent& event, |
+ const gfx::Point& location_in_screen, |
+ views::Widget* target) { |
+ if (event.type() == ui::ET_POINTER_DOWN) |
+ ProcessPressedEvent(location_in_screen); |
} |
void OverflowBubble::OnWidgetDestroying(views::Widget* widget) { |