Index: third_party/WebKit/Source/core/input/EventHandler.cpp |
diff --git a/third_party/WebKit/Source/core/input/EventHandler.cpp b/third_party/WebKit/Source/core/input/EventHandler.cpp |
index 731624bfcf1c7a13ac042921bfa12bee9e1a3daf..85aa0c06f3c9cba37e12e2f60dd74189df73e244 100644 |
--- a/third_party/WebKit/Source/core/input/EventHandler.cpp |
+++ b/third_party/WebKit/Source/core/input/EventHandler.cpp |
@@ -1810,7 +1810,7 @@ static bool ShouldShowContextMenuAtSelection(const FrameSelection& selection) { |
return selection.SelectionHasFocus(); |
} |
-WebInputEventResult EventHandler::SendContextMenuEventForKey( |
+WebInputEventResult EventHandler::ShowNonLocatedContextMenu( |
Element* override_target_element) { |
FrameView* view = frame_->View(); |
if (!view) |
@@ -1881,7 +1881,7 @@ WebInputEventResult EventHandler::SendContextMenuEventForKey( |
doc->UpdateHoverActiveState(request, result.InnerElement()); |
// The contextmenu event is a mouse event even when invoked using the |
- // keyboard. This is required for web compatibility. |
+ // keyboard or other methods. This is required for web compatibility. |
WebInputEvent::Type event_type = WebInputEvent::kMouseDown; |
if (frame_->GetSettings() && |
frame_->GetSettings()->GetShowContextMenuOnMouseUp()) |