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

Unified Diff: content/renderer/pepper/host_dispatcher_wrapper.cc

Issue 105553005: Make PepperWebPlugin not use RenderViews. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 7 years 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/public/browser/render_frame_host.h ('k') | content/renderer/pepper/pepper_browser_connection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/host_dispatcher_wrapper.cc
===================================================================
--- content/renderer/pepper/host_dispatcher_wrapper.cc (revision 242033)
+++ content/renderer/pepper/host_dispatcher_wrapper.cc (working copy)
@@ -11,7 +11,7 @@
#include "content/renderer/pepper/plugin_module.h"
#include "content/renderer/pepper/renderer_ppapi_host_impl.h"
#include "content/renderer/pepper/renderer_restrict_dispatch_group.h"
-#include "content/renderer/render_view_impl.h"
+#include "content/renderer/render_frame_impl.h"
namespace content {
@@ -76,14 +76,14 @@
// always give us an instance we can find in the map otherwise, but that
// isn't true for browser tag support.
if (host) {
- RenderView* render_view = host->GetRenderViewForInstance(instance);
+ RenderFrame* render_frame = host->GetRenderFrameForInstance(instance);
PepperPluginInstance* plugin_instance = host->GetPluginInstance(instance);
- render_view->Send(new ViewHostMsg_DidCreateOutOfProcessPepperInstance(
+ render_frame->Send(new ViewHostMsg_DidCreateOutOfProcessPepperInstance(
plugin_child_id_,
instance,
PepperRendererInstanceData(
0, // The render process id will be supplied in the browser.
- render_view->GetRoutingID(),
+ render_frame->GetRoutingID(),
host->GetDocumentURL(instance),
plugin_instance->GetPluginURL()),
is_external_));
@@ -97,8 +97,8 @@
RendererPpapiHostImpl::GetForPPInstance(instance);
// TODO(brettw) remove null check as described in AddInstance.
if (host) {
- RenderView* render_view = host->GetRenderViewForInstance(instance);
- render_view->Send(new ViewHostMsg_DidDeleteOutOfProcessPepperInstance(
+ RenderFrame* render_frame = host->GetRenderFrameForInstance(instance);
+ render_frame->Send(new ViewHostMsg_DidDeleteOutOfProcessPepperInstance(
plugin_child_id_,
instance,
is_external_));
« no previous file with comments | « content/public/browser/render_frame_host.h ('k') | content/renderer/pepper/pepper_browser_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698