diff options
author | fsamuel <fsamuel@chromium.org> | 2015-02-24 17:25:44 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-25 01:27:00 +0000 |
commit | 2e9413d8e27666cdd7961b5d17e7cb270bc48fc1 (patch) | |
tree | 32a85a2e106378f951d0efa42dcb6f2b528a3a72 /content/renderer/browser_plugin/browser_plugin_manager.cc | |
parent | 08b8639e0a7c0db180bf6ff8e2a4c54b103df3ef (diff) | |
download | chromium_src-2e9413d8e27666cdd7961b5d17e7cb270bc48fc1.zip chromium_src-2e9413d8e27666cdd7961b5d17e7cb270bc48fc1.tar.gz chromium_src-2e9413d8e27666cdd7961b5d17e7cb270bc48fc1.tar.bz2 |
Decouple BrowserPlugin from RenderView
With the move to out-of-process iframes, RenderFrames and away from RenderViews, this CL removes routing via RenderView Routing ID from BrowserPlugin.
Aside from BrowserPluginHostMsg_Attach, which creates a new BrowserPluginEmbedder in the associated WebContents on first call, all other IPCs are now CONTROL because they do not rely on routing IDs.
BUG=436339, 330264
TBR=kenrb@chromium.org for mechanical change to make all BrowserPluginHostMsg IPCs except ATTACH CONTROL instead of ROUTED.
Review URL: https://codereview.chromium.org/929243003
Cr-Commit-Position: refs/heads/master@{#317940}
Diffstat (limited to 'content/renderer/browser_plugin/browser_plugin_manager.cc')
-rw-r--r-- | content/renderer/browser_plugin/browser_plugin_manager.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/content/renderer/browser_plugin/browser_plugin_manager.cc b/content/renderer/browser_plugin/browser_plugin_manager.cc index c0ae82d..a486186 100644 --- a/content/renderer/browser_plugin/browser_plugin_manager.cc +++ b/content/renderer/browser_plugin/browser_plugin_manager.cc @@ -74,11 +74,11 @@ BrowserPlugin* BrowserPluginManager::CreateBrowserPlugin( } void BrowserPluginManager::DidCommitCompositorFrame( - int render_view_routing_id) { + int render_frame_routing_id) { IDMap<BrowserPlugin>::iterator iter(&instances_); while (!iter.IsAtEnd()) { - if (iter.GetCurrentValue()->render_view_routing_id() == - render_view_routing_id) { + if (iter.GetCurrentValue()->render_frame_routing_id() == + render_frame_routing_id) { iter.GetCurrentValue()->DidCommitCompositorFrame(); } iter.Advance(); @@ -128,7 +128,7 @@ void BrowserPluginManager::OnCompositorFrameSwappedPluginUnavailable( params.producing_route_id = get<1>(param).producing_route_id; params.output_surface_id = get<1>(param).output_surface_id; Send(new BrowserPluginHostMsg_CompositorFrameSwappedACK( - message.routing_id(), get<0>(param), params)); + get<0>(param), params)); } } // namespace content |