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

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: Removed fprintf 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
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 9d060ffa66e246de6f84c30eb7071b24bc68d21f..ce0f5d2c0b122fa2f7a70bedec7994b91a073374 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2214,7 +2214,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()))
break;
did_execute_command = true;
}
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698