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

Unified Diff: webkit/plugins/ppapi/plugin_object.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: 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: webkit/plugins/ppapi/plugin_object.h
===================================================================
--- webkit/plugins/ppapi/plugin_object.h (revision 213350)
+++ webkit/plugins/ppapi/plugin_object.h (working copy)
@@ -17,7 +17,7 @@
namespace webkit {
namespace ppapi {
-class PluginInstance;
+class PluginInstanceImpl;
// A PluginObject is a JS-accessible object implemented by the plugin.
//
@@ -29,11 +29,11 @@
// Allocates a new PluginObject and returns it as a PP_Var with a
// refcount of 1.
- static PP_Var Create(PluginInstance* instance,
+ static PP_Var Create(PluginInstanceImpl* instance,
const PPP_Class_Deprecated* ppp_class,
void* ppp_class_data);
- PluginInstance* instance() const { return instance_; }
+ PluginInstanceImpl* instance() const { return instance_; }
const PPP_Class_Deprecated* ppp_class() { return ppp_class_; }
void* ppp_class_data() { return ppp_class_data_; };
@@ -68,12 +68,12 @@
//
// The NPObjectWrapper (an NPObject) should already have the reference
// incremented on it, and this class will take ownership of that reference.
- PluginObject(PluginInstance* instance,
+ PluginObject(PluginInstanceImpl* instance,
NPObjectWrapper* object_wrapper,
const PPP_Class_Deprecated* ppp_class,
void* ppp_class_data);
- PluginInstance* instance_;
+ PluginInstanceImpl* instance_;
// Holds a pointer to the NPObject wrapper backing the var. This class
// derives from NPObject and we hold a reference to it, so it must be

Powered by Google App Engine
This is Rietveld 408576698