/external/chromium_org/content/shell/tools/plugin/ |
PluginObject.h | 42 NPObject header; 52 NPObject* testObject; 53 NPObject* rememberedObject;
|
PluginObject.cpp | 44 static void pluginLogWithWindowObject(NPObject* windowObject, 58 NPObject* consoleObject = NPVARIANT_TO_OBJECT(consoleVariant); 90 NPObject* windowObject = 0; 112 static void pluginInvalidate(NPObject*); 113 static bool pluginHasProperty(NPObject*, NPIdentifier name); 114 static bool pluginHasMethod(NPObject*, NPIdentifier name); 115 static bool pluginGetProperty(NPObject*, NPIdentifier name, NPVariant*); 116 static bool pluginSetProperty(NPObject*, NPIdentifier name, const NPVariant*); 117 static bool pluginInvoke(NPObject*, 122 static NPObject* pluginAllocate(NPP npp, NPClass*) [all...] |
PluginTest.cpp | 156 bool PluginTest::NPN_Invoke(NPObject* npobj, 190 NPObject* PluginTest::NPN_CreateObject(NPClass* npClass) { 194 NPObject* PluginTest::NPN_RetainObject(NPObject* npObject) { 195 return browser->retainobject(npObject); 198 void PluginTest::NPN_ReleaseObject(NPObject* npObject) { 199 browser->releaseobject(npObject); 202 bool PluginTest::NPN_GetProperty(NPObject* npObject [all...] |
/external/chromium_org/content/test/plugin/ |
plugin_npobject_lifetime_test.h | 14 // The NPObjectLifeTime class tests the case where a plugin has an NPObject 16 // page and whether refcounts on this npobject are valid when the source frame 31 NPObject* other_plugin_instance_object_; 52 static NPObject* plugin_instance_object_; 70 NPObject* plugin_instance_object_;
|
plugin_delete_plugin_in_stream_test.cc | 38 NPObject *window_obj = NULL;
|
/external/chromium_org/content/child/npapi/ |
npobject_proxy.cc | 21 NPObject object; 41 NPObjectProxy* NPObjectProxy::GetProxy(NPObject* object) { 53 NPObject* NPObjectProxy::GetUnderlyingNPObject() { 77 // same NPObject in the context of the outgoing NPObjectMsg_Release call. 86 NPObject* NPObjectProxy::Create(NPChannelBase* channel, 95 return reinterpret_cast<NPObject*>(obj); 106 NPObject* NPObjectProxy::NPAllocate(NPP, NPClass*) { 107 return reinterpret_cast<NPObject*>(new NPObjectWrapper); 110 void NPObjectProxy::NPDeallocate(NPObject* npObj) { 127 bool NPObjectProxy::NPHasMethod(NPObject *obj [all...] |
npobject_util.cc | 25 // NPObject. Plugins always ignore the functions in NPClass (except allocate 28 // When the renderer interacts with an NPObject from the plugin, it of course 31 NPObject *npobj, 36 static bool NPN_InvokePatch(NPP npp, NPObject *npobj, 46 NPObject *npobj, 55 NPObject *npobj, 61 NPObject *npobj, 68 NPObject *npobj, 75 NPObject *npobj, 81 NPObject *npobj [all...] |
webplugin_delegate.h | 19 struct NPObject; 79 // Gets the NPObject associated with the plugin for scripting. 80 virtual NPObject* GetPluginScriptableObject() = 0;
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
npruntime.cpp | 266 NPObject *_NPN_CreateObject(NPP npp, NPClass* npClass) 271 NPObject* npObject; 273 npObject = npClass->allocate(npp, npClass); 275 npObject = reinterpret_cast<NPObject*>(malloc(sizeof(NPObject))); 277 npObject->_class = npClass; 278 npObject->referenceCount = 1; 279 return npObject; [all...] |
NPV8Object.cpp | 70 static NPObject* allocV8NPObject(NPP, NPClass*) 72 return static_cast<NPObject*>(malloc(sizeof(V8NPObject))); 75 static void freeV8NPObject(NPObject* npObject) 77 V8NPObject* v8NpObject = reinterpret_cast<V8NPObject*>(npObject); 78 disposeUnderlyingV8Object(npObject, v8::Isolate::GetCurrent()); 89 static ScriptState* mainWorldScriptState(v8::Isolate* isolate, NPP npp, NPObject* npObject) 91 ASSERT(npObject->_class == &V8NPObjectClass); 92 V8NPObject* object = reinterpret_cast<V8NPObject*>(npObject); [all...] |
V8NPUtils.cpp | 46 void convertV8ObjectToNPVariant(v8::Local<v8::Value> object, NPObject* owner, NPVariant* result, v8::Isolate* isolate) 73 NPObject* npobject = npCreateV8ScriptObject(0, v8::Handle<v8::Object>::Cast(object), window, isolate); local 74 if (npobject) 75 _NPN_RegisterObject(npobject, owner); 76 OBJECT_TO_NPVARIANT(npobject, *result); 80 v8::Handle<v8::Value> convertNPVariantToV8Object(const NPVariant* variant, NPObject* owner, v8::Isolate* isolate) 100 NPObject* object = NPVARIANT_TO_OBJECT(*variant);
|
V8NPObject.cpp | 69 // Params: holder could be HTMLEmbedElement or NPObject 72 NPObject* npObject; 86 npObject = v8ObjectToNPObject(wrapper->newLocal(isolate)); 88 npObject = 0; 91 // The holder object is not a subtype of HTMLPlugInElement, it must be an NPObject which has three 94 V8ThrowException::throwReferenceError("NPMethod called on non-NPObject", info.GetIsolate()); 98 npObject = v8ObjectToNPObject(info.Holder()); 101 // Verify that our wrapper wasn't using a NPObject which has already been deleted. 102 if (!npObject || !_NPN_IsAlive(npObject)) [all...] |
/external/chromium_org/content/shell/tools/plugin/Tests/ |
LeakWindowScriptableObject.cpp | 24 NPObject* window;
|
InvokeDestroysPluginWithinNPP_New.cpp | 57 NPObject* windowObject = 0;
|
NPRuntimeCallsWithNullNPP.cpp | 46 NPObject* windowObject = 0;
|
PluginScriptableObjectOverridesAllProperties.cpp | 80 *(NPObject**)value = PluginObject::create(this);
|
SlowNPPNew.cpp | 79 *(NPObject**)value = PluginObject::create(this);
|
NPRuntimeRemoveProperty.cpp | 159 NPObject* m_testObject; 166 *(NPObject**)value = PluginObject::create(this);
|
NPPSetWindowCalledDuringDestruction.cpp | 74 *static_cast<NPObject**>(value) = ScriptObject::create(this);
|
/external/chromium_org/third_party/WebKit/Source/core/plugins/ |
PluginView.h | 35 struct NPObject;
|
/external/chromium_org/third_party/npapi/bindings/ |
npfunctions.h | 101 typedef NPObject* (*NPN_CreateObjectProcPtr)(NPP npp, NPClass *aClass); 102 typedef NPObject* (*NPN_RetainObjectProcPtr)(NPObject *obj); 103 typedef void (*NPN_ReleaseObjectProcPtr)(NPObject *obj); 104 typedef bool (*NPN_InvokeProcPtr)(NPP npp, NPObject* obj, NPIdentifier methodName, const NPVariant *args, uint32_t argCount, NPVariant *result); 105 typedef bool (*NPN_InvokeDefaultProcPtr)(NPP npp, NPObject* obj, const NPVariant *args, uint32_t argCount, NPVariant *result); 106 typedef bool (*NPN_EvaluateProcPtr)(NPP npp, NPObject *obj, NPString *script, NPVariant *result); 107 typedef bool (*NPN_GetPropertyProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName, NPVariant *result); 108 typedef bool (*NPN_SetPropertyProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName, const NPVariant *value); 109 typedef bool (*NPN_RemovePropertyProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLPlugInElement.h | 30 struct NPObject; 52 NPObject* getNPObject(); 135 NPObject* m_NPObject;
|
/external/chromium_org/content/plugin/ |
webplugin_proxy.h | 60 virtual NPObject* GetWindowScriptNPObject() OVERRIDE; 61 virtual NPObject* GetPluginElement() OVERRIDE; 191 NPObject* window_npobject_; 192 NPObject* plugin_element_;
|
/external/chromium_org/third_party/npapi/npspy/common/ |
npn_gate.cpp | 397 bool NPN_Enumerate(NPP id, NPObject* obj, NPIdentifier** identifier, uint32_t*val) 436 void NPN_SetException(NPObject*obj, const NPUTF8*message) 452 bool NPN_HasMethod(NPP id, NPObject* object, NPIdentifier identifier) 465 bool NPN_HasProperty(NPP id, NPObject* object, NPIdentifier identifier) 478 bool NPN_RemoveProperty(NPP id, NPObject* object, NPIdentifier identifier) 488 bool NPN_SetProperty(NPP id, NPObject* obj, NPIdentifier identifier, const NPVariant *variant) 498 bool NPN_GetProperty(NPP id, NPObject* obj, NPIdentifier identifier, NPVariant *variant) 508 bool NPN_Evaluate(NPP id, NPObject* obj, NPString* str, NPVariant* variant) 521 bool NPN_InvokeDefault(NPP id, NPObject* obj, const NPVariant* args, uint32_t count, NPVariant*result) 534 bool NPN_Invoke(NPP id, NPObject* obj, NPIdentifier identifier, const NPVariant *args, uint32_t count, NPVariant*result [all...] |
/external/chromium_org/third_party/WebKit/public/web/ |
WebPlugin.h | 43 struct NPObject; 71 virtual NPObject* scriptableObject() { return 0; } 75 // through plain v8 object instead of NPObject.
|