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

Unified Diff: third_party/WebKit/Source/core/input/GestureManager.cpp

Issue 2785853002: Selection Action mode triggered like a context menu (Closed)
Patch Set: fixing tests Created 3 years, 7 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: 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 5961df0856725ea312feeb072b36ced08171d803..3cb84964b0771544ec4e3c7f6fa394ace4590f06 100644
--- a/third_party/WebKit/Source/core/input/GestureManager.cpp
+++ b/third_party/WebKit/Source/core/input/GestureManager.cpp
@@ -301,6 +301,7 @@ WebInputEventResult GestureManager::HandleGestureTap(
tapped_position_in_viewport, tapped_node,
dom_tree_changed || style_changed);
}
+
return event_result;
}
@@ -333,7 +334,6 @@ WebInputEventResult GestureManager::HandleGestureLongPress(
if (inner_node && inner_node->GetLayoutObject() &&
selection_controller_->HandleGestureLongPress(hit_test_result)) {
mouse_event_manager_->FocusDocumentView();
- return WebInputEventResult::kHandledSystem;
}
return SendContextMenuEventForGesture(targeted_event);

Powered by Google App Engine
This is Rietveld 408576698