| 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..401f299bbb3091309e058d08d5ee277df4530f2e 100644
|
| --- a/ash/common/shelf/overflow_bubble.cc
|
| +++ b/ash/common/shelf/overflow_bubble.cc
|
| @@ -71,16 +71,11 @@ 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::OnPointerWatcherEvent(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) {
|
|
|