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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.cc

Issue 2884243003: Add a mojo channel for frame messages. (Closed)
Patch Set: Fix presubmit warning I ignored Created 3 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/browser/android/ime_adapter_android.cc ('k') | content/browser/frame_host/input/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_plugin/browser_plugin_guest.cc
diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc
index 1f985ec5c83d928e1cb8d222785c2a12664a67e8..d2ba7285f9fef018ca93c271d64997aa84c1f3cb 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.cc
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc
@@ -898,8 +898,8 @@ void BrowserPluginGuest::OnExecuteEditCommand(int browser_plugin_instance_id,
if (!focused_frame)
return;
- focused_frame->Send(new InputMsg_ExecuteNoValueEditCommand(
- focused_frame->GetRoutingID(), name));
+ focused_frame->GetFrameInputHandler()->ExecuteEditCommand(name,
+ base::nullopt);
}
void BrowserPluginGuest::OnImeSetComposition(
@@ -934,7 +934,7 @@ void BrowserPluginGuest::OnExtendSelectionAndDelete(
RenderFrameHostImpl* rfh = static_cast<RenderFrameHostImpl*>(
web_contents()->GetFocusedFrame());
if (rfh)
- rfh->ExtendSelectionAndDelete(before, after);
+ rfh->GetFrameInputHandler()->ExtendSelectionAndDelete(before, after);
}
void BrowserPluginGuest::OnLockMouse(bool user_gesture,
« no previous file with comments | « content/browser/android/ime_adapter_android.cc ('k') | content/browser/frame_host/input/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698