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

Unified Diff: content/renderer/render_view_impl.cc

Issue 15149006: <webview>: Plumb edit commands (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 7 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: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index dc5a923125c1755b520c0835501f71b9a0353dec..e8eda858b27a8487fb31c940c04cdf345f3f0136 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2196,7 +2196,8 @@ bool RenderViewImpl::handleCurrentKeyboardEvent() {
// key (but it's the exception). Once one edit command is not executed, it
// seems safest to not execute the rest.
if (!frame->executeCommand(WebString::fromUTF8(it->name),
- WebString::fromUTF8(it->value)))
+ WebString::fromUTF8(it->value),
+ GetFocusedNode()))
dcheng 2013/05/22 21:43:43 I think it would be worth mentioning somewhere why
break;
did_execute_command = true;
}

Powered by Google App Engine
This is Rietveld 408576698