diff options
Diffstat (limited to 'content/child/npapi/plugin_instance.h')
-rw-r--r-- | content/child/npapi/plugin_instance.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/content/child/npapi/plugin_instance.h b/content/child/npapi/plugin_instance.h index 8eeaa3e..75a1e99 100644 --- a/content/child/npapi/plugin_instance.h +++ b/content/child/npapi/plugin_instance.h @@ -76,6 +76,12 @@ class PluginInstance : public base::RefCountedThreadSafe<PluginInstance> { // NPAPI's instance identifier for this instance NPP npp() { return npp_; } + // Get/Set for the instance's window handle. + gfx::PluginWindowHandle window_handle() const { return window_handle_; } + void set_window_handle(gfx::PluginWindowHandle value) { + window_handle_ = value; + } + // Get/Set whether this instance is transparent. This only applies to // windowless plugins. Transparent plugins require that webkit paint the // background. @@ -221,6 +227,7 @@ class PluginInstance : public base::RefCountedThreadSafe<PluginInstance> { NPP npp_; scoped_refptr<PluginHost> host_; NPPluginFuncs* npp_functions_; + gfx::PluginWindowHandle window_handle_; bool transparent_; WebPlugin* webplugin_; std::string mime_type_; |