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

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

Issue 2349523002: Add support for edit commands in OOPIFs. (Closed)
Patch Set: 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 589c314f62ddb710bfe4845ddd83bf5c0d5b22c7..8f22aee50e892ba407ee0730e56f7a4c3e591687 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