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

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

Issue 20987009: Rename PepperPluginDelegateImpl to PepperHelperImpl after getting rid of the PluginDelegate interfa… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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/pepper/ppb_video_decoder_impl.cc ('k') | content/renderer/pepper/resource_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/renderer_ppapi_host_impl.cc
===================================================================
--- content/renderer/pepper/renderer_ppapi_host_impl.cc (revision 214411)
+++ content/renderer/pepper/renderer_ppapi_host_impl.cc (working copy)
@@ -12,9 +12,9 @@
#include "content/renderer/pepper/host_globals.h"
#include "content/renderer/pepper/pepper_browser_connection.h"
#include "content/renderer/pepper/pepper_graphics_2d_host.h"
+#include "content/renderer/pepper/pepper_helper_impl.h"
#include "content/renderer/pepper/pepper_in_process_resource_creation.h"
#include "content/renderer/pepper/pepper_in_process_router.h"
-#include "content/renderer/pepper/pepper_plugin_delegate_impl.h"
#include "content/renderer/pepper/pepper_plugin_instance_impl.h"
#include "content/renderer/pepper/plugin_module.h"
#include "content/renderer/render_view_impl.h"
@@ -128,13 +128,13 @@
if (!instance_object)
return NULL;
- // Since we're the embedder, we can make assumptions about the delegate on
+ // Since we're the embedder, we can make assumptions about the helper on
// the instance.
- PepperPluginDelegateImpl* delegate = instance_object->delegate();
- if (!delegate)
+ PepperHelperImpl* helper = instance_object->helper();
+ if (!helper)
return NULL;
- return delegate->pepper_browser_connection();
+ return helper->pepper_browser_connection();
}
PepperPluginInstanceImpl* RendererPpapiHostImpl::GetPluginInstanceImpl(
@@ -152,9 +152,9 @@
if (!instance_object)
return NULL;
- // Since we're the embedder, we can make assumptions about the delegate on
+ // Since we're the embedder, we can make assumptions about the helper on
// the instance and get back to our RenderView.
- return instance_object->delegate()->render_view();
+ return instance_object->helper()->render_view();
}
bool RendererPpapiHostImpl::IsValidInstance(PP_Instance instance) const {
« no previous file with comments | « content/renderer/pepper/ppb_video_decoder_impl.cc ('k') | content/renderer/pepper/resource_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698