/external/chromium_org/third_party/WebKit/Source/web/ |
D | WebBindings.cpp | 56 bool WebBindings::construct(NPP npp, NPObject* object, const NPVariant* args, uint32_t argCount, NP… in construct() argument 58 return _NPN_Construct(npp, object, args, argCount, result); in construct() 61 NPObject* WebBindings::createObject(NPP npp, NPClass* npClass) in createObject() argument 63 return _NPN_CreateObject(npp, npClass); in createObject() 66 bool WebBindings::enumerate(NPP npp, NPObject* object, NPIdentifier** identifier, uint32_t* identif… in enumerate() argument 68 return _NPN_Enumerate(npp, object, identifier, identifierCount); in enumerate() 71 bool WebBindings::evaluate(NPP npp, NPObject* object, NPString* script, NPVariant* result) in evaluate() argument 73 return _NPN_Evaluate(npp, object, script, result); in evaluate() 76 bool WebBindings::evaluateHelper(NPP npp, bool popupsAllowed, NPObject* object, NPString* script, N… in evaluateHelper() argument 78 return _NPN_EvaluateHelper(npp, popupsAllowed, object, script, result); in evaluateHelper() [all …]
|
/external/chromium_org/content/shell/tools/plugin/ |
D | PluginObject.cpp | 122 static NPObject* pluginAllocate(NPP npp, NPClass*); 265 browser->getvalue(plugin->npp, NPNVWindowNPObject, &windowScriptObject); in callDeletePlugin() 270 if (browser->invoke(plugin->npp, in callDeletePlugin() 427 browser->setvalue(plugin->npp, in pluginSetProperty() 442 if (browser->getvalue(obj->npp, NPNVPluginElementNPObject, &elementObject) == in testDOMAccess() 448 obj->npp, elementObject, styleIdentifier, &styleVariant) && in testDOMAccess() 454 browser->setproperty(obj->npp, in testDOMAccess() 537 browser->getvalue(obj->npp, NPNVWindowNPObject, &windowScriptObject); in testPassTestObject() 545 browser->invoke(obj->npp, in testPassTestObject() 565 browser->getvalue(obj->npp, NPNVWindowNPObject, &windowScriptObject); in testCallback() [all …]
|
D | PluginObject.h | 46 NPP npp; member 89 extern void testNPRuntime(NPP npp); 94 extern bool testDocumentOpen(NPP npp); 95 extern bool testWindowOpen(NPP npp);
|
D | PluginTest.cpp | 44 PluginTest* PluginTest::create(NPP npp, const string& identifier) { in create() argument 46 return new PluginTest(npp, identifier); in create() 50 return createTestFunction(npp, identifier); in create() 55 PluginTest::PluginTest(NPP npp, const string& identifier) in PluginTest() argument 56 : m_npp(npp), m_identifier(identifier) { in PluginTest()
|
/external/chromium_org/third_party/npapi/bindings/ |
D | npfunctions.h | 101 typedef NPObject* (*NPN_CreateObjectProcPtr)(NPP npp, NPClass *aClass); 104 typedef bool (*NPN_InvokeProcPtr)(NPP npp, NPObject* obj, NPIdentifier methodName, const NP… 105 typedef bool (*NPN_InvokeDefaultProcPtr)(NPP npp, NPObject* obj, const NPVariant *args, uin… 106 typedef bool (*NPN_EvaluateProcPtr)(NPP npp, NPObject *obj, NPString *script, NPVariant *re… 107 typedef bool (*NPN_GetPropertyProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName, N… 108 typedef bool (*NPN_SetPropertyProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName, c… 109 typedef bool (*NPN_RemovePropertyProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName… 110 typedef bool (*NPN_HasPropertyProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName); 111 typedef bool (*NPN_HasMethodProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName); 114 typedef void (*NPN_PushPopupsEnabledStateProcPtr)(NPP npp, NPBool enabled); [all …]
|
D | npruntime.h | 251 typedef NPObject *(*NPAllocateFunctionPtr)(NPP npp, NPClass *aClass); 341 NPObject *NPN_CreateObject(NPP npp, NPClass *aClass); 367 bool NPN_Invoke(NPP npp, NPObject *npobj, NPIdentifier methodName, 369 bool NPN_InvokeDefault(NPP npp, NPObject *npobj, const NPVariant *args, 371 bool NPN_Evaluate(NPP npp, NPObject *npobj, NPString *script, 373 bool NPN_GetProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName, 375 bool NPN_SetProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName, 377 bool NPN_RemoveProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName); 378 bool NPN_HasProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName); 379 bool NPN_HasMethod(NPP npp, NPObject *npobj, NPIdentifier methodName); [all …]
|
/external/chromium_org/third_party/npapi/npspy/extern/plugin/ |
D | npruntime.h | 277 typedef NPObject *(*NPAllocateFunctionPtr)(NPP npp, NPClass *aClass); 357 NPObject *NPN_CreateObject(NPP npp, NPClass *aClass); 383 bool NPN_Invoke(NPP npp, NPObject *npobj, NPIdentifier methodName, 385 bool NPN_InvokeDefault(NPP npp, NPObject *npobj, const NPVariant *args, 387 bool NPN_Evaluate(NPP npp, NPObject *npobj, NPString *script, 389 bool NPN_GetProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName, 391 bool NPN_SetProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName, 393 bool NPN_RemoveProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName); 394 bool NPN_HasProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName); 395 bool NPN_HasMethod(NPP npp, NPObject *npobj, NPIdentifier methodName); [all …]
|
D | npupp.h | 237 #define CallNPN_NewStreamProc(FUNC, npp, type, window, stream) \ argument 238 (*(FUNC))((npp), (type), (window), (stream)) 244 #define CallNPN_WriteProc(FUNC, npp, stream, len, buffer) \ argument 245 (*(FUNC))((npp), (stream), (len), (buffer)) 251 #define CallNPN_DestroyStreamProc(FUNC, npp, stream, reason) \ argument 252 (*(FUNC))((npp), (stream), (reason)) 258 #define CallNPN_StatusProc(FUNC, npp, msg) \ argument 259 (*(FUNC))((npp), (msg)) 376 typedef NPObject* (* NP_LOADDS NPN_CreateObjectUPP)(NPP npp, NPClass *aClass); 397 typedef bool (* NP_LOADDS NPN_InvokeUPP)(NPP npp, NPObject* obj, NPIdentifier methodName, const NPV… [all …]
|
/external/chromium_org/content/child/npapi/ |
D | npobject_util.cc | 30 static bool NPN_HasMethodPatch(NPP npp, in NPN_HasMethodPatch() argument 36 static bool NPN_InvokePatch(NPP npp, NPObject *npobj, in NPN_InvokePatch() argument 41 return NPObjectProxy::NPInvokePrivate(npp, npobj, false, methodName, args, in NPN_InvokePatch() 45 static bool NPN_InvokeDefaultPatch(NPP npp, in NPN_InvokeDefaultPatch() argument 50 return NPObjectProxy::NPInvokePrivate(npp, npobj, true, 0, args, argCount, in NPN_InvokeDefaultPatch() 54 static bool NPN_HasPropertyPatch(NPP npp, in NPN_HasPropertyPatch() argument 60 static bool NPN_GetPropertyPatch(NPP npp, in NPN_GetPropertyPatch() argument 67 static bool NPN_SetPropertyPatch(NPP npp, in NPN_SetPropertyPatch() argument 74 static bool NPN_RemovePropertyPatch(NPP npp, in NPN_RemovePropertyPatch() argument 80 static bool NPN_EvaluatePatch(NPP npp, in NPN_EvaluatePatch() argument [all …]
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
D | NPV8Object.cpp | 89 static ScriptState* mainWorldScriptState(v8::Isolate* isolate, NPP npp, NPObject* npObject) in mainWorldScriptState() argument 137 NPObject* npCreateV8ScriptObject(NPP npp, v8::Handle<v8::Object> object, LocalDOMWindow* root, v8::… in npCreateV8ScriptObject() argument 167 … V8NPObject* v8npObject = reinterpret_cast<V8NPObject*>(_NPN_CreateObject(npp, &V8NPObjectClass)); in npCreateV8ScriptObject() 227 bool _NPN_Invoke(NPP npp, NPObject* npObject, NPIdentifier methodName, const NPVariant* arguments, … in _NPN_Invoke() argument 254 …return _NPN_Evaluate(npp, npObject, const_cast<NPString*>(&arguments[0].value.stringValue), result… in _NPN_Invoke() 258 ScriptState* scriptState = mainWorldScriptState(isolate, npp, npObject); in _NPN_Invoke() 294 bool _NPN_InvokeDefault(NPP npp, NPObject* npObject, const NPVariant* arguments, uint32_t argumentC… in _NPN_InvokeDefault() argument 314 ScriptState* scriptState = mainWorldScriptState(isolate, npp, npObject); in _NPN_InvokeDefault() 344 bool _NPN_Evaluate(NPP npp, NPObject* npObject, NPString* npScript, NPVariant* result) in _NPN_Evaluate() argument 348 return _NPN_EvaluateHelper(npp, popupsAllowed, npObject, npScript, result); in _NPN_Evaluate() [all …]
|
/external/chromium_org/content/shell/tools/plugin/Tests/ |
D | DocumentOpenInDestroyStream.cpp | 34 extern bool testDocumentOpen(NPP npp); 40 DocumentOpenInDestroyStream(NPP npp, const string& identifier) in DocumentOpenInDestroyStream() argument 41 : PluginTest(npp, identifier) in DocumentOpenInDestroyStream()
|
D | NPPNewFails.cpp | 38 NPPNewFails(NPP npp, const string& identifier) in NPPNewFails() argument 39 : PluginTest(npp, identifier) in NPPNewFails()
|
D | GetURLWithJavaScriptURLDestroyingPlugin.cpp | 38 GetURLWithJavaScriptURLDestroyingPlugin(NPP npp, const string& identifier) in GetURLWithJavaScriptURLDestroyingPlugin() argument 39 : PluginTest(npp, identifier) in GetURLWithJavaScriptURLDestroyingPlugin()
|
D | GetUserAgentWithNullNPPFromNPPNew.cpp | 40 GetUserAgentWithNullNPPFromNPPNew(NPP npp, const string& identifier) in GetUserAgentWithNullNPPFromNPPNew() argument 41 : PluginTest(npp, identifier) in GetUserAgentWithNullNPPFromNPPNew()
|
D | EvaluateJSAfterRemovingPluginElement.cpp | 50 EvaluateJSAfterRemovingPluginElement::EvaluateJSAfterRemovingPluginElement(NPP npp, const string& i… in EvaluateJSAfterRemovingPluginElement() argument 51 : PluginTest(npp, identifier) in EvaluateJSAfterRemovingPluginElement()
|
D | FormValue.cpp | 12 FormValue(NPP npp, const std::string& identifier) in FormValue() argument 13 : PluginTest(npp, identifier) in FormValue()
|
D | EvaluateJSWithinNPP_New.cpp | 47 EvaluteJSWithinNPP_New::EvaluteJSWithinNPP_New(NPP npp, const string& identifier) in EvaluteJSWithinNPP_New() argument 48 : PluginTest(npp, identifier) in EvaluteJSWithinNPP_New()
|
D | NullNPPGetValuePointer.cpp | 51 NullNPPGetValuePointer::NullNPPGetValuePointer(NPP npp, const string& identifier) in NullNPPGetValuePointer() argument 52 : PluginTest(npp, identifier) in NullNPPGetValuePointer()
|
D | GetURLNotifyWithURLThatFailsToLoad.cpp | 42 GetURLNotifyWithURLThatFailsToLoad(NPP npp, const string& identifier) in GetURLNotifyWithURLThatFailsToLoad() argument 43 : PluginTest(npp, identifier) in GetURLNotifyWithURLThatFailsToLoad()
|
D | PassDifferentNPPStruct.cpp | 41 PassDifferentNPPStruct(NPP npp, const string& identifier) in PassDifferentNPPStruct() argument 42 : PluginTest(npp, identifier) in PassDifferentNPPStruct()
|
D | LeakWindowScriptableObject.cpp | 11 LeakWindowScriptableObject(NPP npp, const string& identifier) in LeakWindowScriptableObject() argument 12 : PluginTest(npp, identifier) in LeakWindowScriptableObject()
|
D | PluginScriptableNPObjectInvokeDefault.cpp | 37 PluginScriptableNPObjectInvokeDefault(NPP npp, const string& identifier) in PluginScriptableNPObjectInvokeDefault() argument 38 : PluginTest(npp, identifier) in PluginScriptableNPObjectInvokeDefault()
|
D | InvokeDestroysPluginWithinNPP_New.cpp | 47 InvokeDestroysPluginWithinNPP_New::InvokeDestroysPluginWithinNPP_New(NPP npp, const string& identif… in InvokeDestroysPluginWithinNPP_New() argument 48 : PluginTest(npp, identifier) in InvokeDestroysPluginWithinNPP_New()
|
D | LogNPPSetWindow.cpp | 44 LogNPPSetWindow::LogNPPSetWindow(NPP npp, const string& identifier) in LogNPPSetWindow() argument 45 : PluginTest(npp, identifier) in LogNPPSetWindow()
|
D | PluginScriptableObjectOverridesAllProperties.cpp | 39 PluginScriptableObjectOverridesAllProperties(NPP npp, const string& identifier) in PluginScriptableObjectOverridesAllProperties() argument 40 : PluginTest(npp, identifier) in PluginScriptableObjectOverridesAllProperties()
|