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

Unified Diff: third_party/WebKit/Source/core/editing/EditorKeyBindings.cpp

Issue 2287803002: Add support for edit commands in OOPIFs. (Closed)
Patch Set: Remove WebFrameClient null checks Created 4 years, 3 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/editing/EditorKeyBindings.cpp
diff --git a/third_party/WebKit/Source/core/editing/EditorKeyBindings.cpp b/third_party/WebKit/Source/core/editing/EditorKeyBindings.cpp
index 2a19b41b9f3a92721a4fb9ae4d2853896270d5ff..ec93345e60f25b373eb632b823396d49a709d87e 100644
--- a/third_party/WebKit/Source/core/editing/EditorKeyBindings.cpp
+++ b/third_party/WebKit/Source/core/editing/EditorKeyBindings.cpp
@@ -71,7 +71,7 @@ bool Editor::handleEditingKeyboardEvent(KeyboardEvent* evt)
void Editor::handleKeyboardEvent(KeyboardEvent* evt)
{
// Give the embedder a chance to handle the keyboard event.
- if (client().handleKeyboardEvent() || handleEditingKeyboardEvent(evt))
+ if (client().handleKeyboardEvent(m_frame) || handleEditingKeyboardEvent(evt))
evt->setDefaultHandled();
}
« no previous file with comments | « content/renderer/render_widget_owner_delegate.h ('k') | third_party/WebKit/Source/core/loader/EmptyClients.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698