Index: third_party/WebKit/Source/core/input/GestureManager.cpp |
diff --git a/third_party/WebKit/Source/core/input/GestureManager.cpp b/third_party/WebKit/Source/core/input/GestureManager.cpp |
index 8babf0f96f24f75dd48bb580e0c141a14bc2c61f..0944925f922bcb823a03dd491d0310ac052d0fbf 100644 |
--- a/third_party/WebKit/Source/core/input/GestureManager.cpp |
+++ b/third_party/WebKit/Source/core/input/GestureManager.cpp |
@@ -301,6 +301,8 @@ WebInputEventResult GestureManager::HandleGestureTap( |
tapped_position_in_viewport, tapped_node, |
dom_tree_changed || style_changed); |
} |
+ |
+ frame_->GetEventHandler().SendContextMenuEventForTouchSelection(); |
return event_result; |
} |
@@ -334,6 +336,7 @@ WebInputEventResult GestureManager::HandleGestureLongPress( |
selection_controller_->HandleGestureLongPress(gesture_event, |
hit_test_result)) { |
mouse_event_manager_->FocusDocumentView(); |
+ frame_->GetEventHandler().SendContextMenuEventForTouchSelection(); |
return WebInputEventResult::kHandledSystem; |
} |