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

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

Issue 19828007: Hide knowledge of webkit::ppapi::Plugin from chrome. This is part of moving ppapi implementation fr… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: nits 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/pepper_plugin_delegate_impl.cc ('k') | ppapi/api/private/ppb_instance_private.idl » ('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 213146)
+++ content/renderer/pepper/renderer_ppapi_host_impl.cc (working copy)
@@ -34,36 +34,8 @@
using webkit::ppapi::PluginModule;
namespace content {
-
// static
CONTENT_EXPORT RendererPpapiHost*
-RendererPpapiHost::CreateExternalPluginModule(
- scoped_refptr<PluginModule> plugin_module,
- PluginInstance* plugin_instance,
- const base::FilePath& file_path,
- ppapi::PpapiPermissions permissions,
- const IPC::ChannelHandle& channel_handle,
- base::ProcessId plugin_pid,
- int plugin_child_id) {
- RendererPpapiHost* renderer_ppapi_host = NULL;
- // Since we're the embedder, we can make assumptions about the delegate on
- // the instance.
- PepperPluginDelegateImpl* pepper_plugin_delegate =
- static_cast<PepperPluginDelegateImpl*>(plugin_instance->delegate());
- if (pepper_plugin_delegate) {
- renderer_ppapi_host = pepper_plugin_delegate->CreateExternalPluginModule(
- plugin_module,
- file_path,
- permissions,
- channel_handle,
- plugin_pid,
- plugin_child_id);
- }
- return renderer_ppapi_host;
-}
-
-// static
-CONTENT_EXPORT RendererPpapiHost*
RendererPpapiHost::GetForPPInstance(PP_Instance instance) {
return RendererPpapiHostImpl::GetForPPInstance(instance);
}
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.cc ('k') | ppapi/api/private/ppb_instance_private.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698