| Index: ash/shelf/shelf_button.cc
|
| diff --git a/ash/shelf/shelf_button.cc b/ash/shelf/shelf_button.cc
|
| index 43c93a0b57edb4bd69986367c9da98f32c45bc35..d3803ad3e99f41fbe50866e29dbac1d2eca0be5c 100644
|
| --- a/ash/shelf/shelf_button.cc
|
| +++ b/ash/shelf/shelf_button.cc
|
| @@ -461,6 +461,10 @@ void ShelfButton::OnGestureEvent(ui::GestureEvent* event) {
|
| shelf_view_->PointerReleasedOnButton(this, ShelfView::TOUCH, false);
|
| event->SetHandled();
|
| return;
|
| + case ui::ET_GESTURE_LONG_TAP:
|
| + // Handle LONG_TAP to avoid opening the context menu twice.
|
| + event->SetHandled();
|
| + return;
|
| default:
|
| return CustomButton::OnGestureEvent(event);
|
| }
|
|
|