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

Unified Diff: chrome/plugin/npobject_proxy.h

Issue 113823: Added support for constructor calls in the NPAPI (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | « chrome/common/plugin_messages_internal.h ('k') | chrome/plugin/npobject_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/plugin/npobject_proxy.h
===================================================================
--- chrome/plugin/npobject_proxy.h (revision 16974)
+++ chrome/plugin/npobject_proxy.h (working copy)
@@ -47,7 +47,7 @@
// process).
intptr_t npobject_ptr() { return npobject_ptr_; }
- // The next 8 functions are called on NPObjects from the plugin and browser.
+ // The next 9 functions are called on NPObjects from the plugin and browser.
static bool NPHasMethod(NPObject *obj,
NPIdentifier name);
static bool NPInvoke(NPObject *obj,
@@ -72,6 +72,10 @@
static bool NPNEnumerate(NPObject *obj,
NPIdentifier **value,
uint32_t *count);
+ static bool NPNConstruct(NPObject *npobj,
+ const NPVariant *args,
+ uint32_t arg_count,
+ NPVariant *result);
// The next two functions are only called on NPObjects from the browser.
static bool NPNEvaluate(NPP npp,
« no previous file with comments | « chrome/common/plugin_messages_internal.h ('k') | chrome/plugin/npobject_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698