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

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

Issue 19744007: Create a public API around webkit::ppapi::PluginInstance and use it in chrome. After this, webkit/p… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments and undo checkdeps change 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
Index: content/renderer/pepper/renderer_ppapi_host_impl.h
===================================================================
--- content/renderer/pepper/renderer_ppapi_host_impl.h (revision 213462)
+++ content/renderer/pepper/renderer_ppapi_host_impl.h (working copy)
@@ -31,7 +31,7 @@
namespace webkit {
namespace ppapi {
-class PluginInstance;
+class PluginInstanceImpl;
class PluginModule;
}
}
@@ -81,10 +81,13 @@
// happen automatically.
scoped_ptr< ::ppapi::thunk::ResourceCreationAPI>
CreateInProcessResourceCreationAPI(
- webkit::ppapi::PluginInstance* instance);
+ webkit::ppapi::PluginInstanceImpl* instance);
PepperBrowserConnection* GetBrowserConnection(PP_Instance instance) const;
+ webkit::ppapi::PluginInstanceImpl* GetPluginInstanceImpl(
+ PP_Instance instance) const;
+
// RendererPpapiHost implementation.
virtual ppapi::host::PpapiHost* GetPpapiHost() OVERRIDE;
virtual bool IsValidInstance(PP_Instance instance) const OVERRIDE;
@@ -122,7 +125,7 @@
//
// We use this to security check the PP_Instance values sent from a plugin to
// make sure it's not trying to spoof another instance.
- webkit::ppapi::PluginInstance* GetAndValidateInstance(
+ webkit::ppapi::PluginInstanceImpl* GetAndValidateInstance(
PP_Instance instance) const;
webkit::ppapi::PluginModule* module_; // Non-owning pointer.
« no previous file with comments | « content/renderer/pepper/pepper_video_capture_host.cc ('k') | content/renderer/pepper/renderer_ppapi_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698