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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.cc

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: content/browser/renderer_host/render_widget_host_view_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index c681785cb705010ce713840ddd9c68ad69bc198e..d6717a6bd22b42789da1473a407259d9054067b3 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -2726,8 +2726,7 @@ void RenderWidgetHostViewAura::ForwardKeyboardEvent(
edit_commands.push_back(EditCommand(it->GetCommandString(),
it->argument()));
}
- // TODO(alexmos): This needs to be refactored to work with subframe
- // RenderWidgetHosts for OOPIF. See https://crbug.com/549334.
+
target_host->Send(new InputMsg_SetEditCommandsForNextKeyEvent(
target_host->GetRoutingID(), edit_commands));
target_host->ForwardKeyboardEvent(event);
« no previous file with comments | « chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc ('k') | content/public/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698