/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/ |
NPRuntimeObjectFromDestroyedPlugin.cpp | 54 NPObject* testObject = TestObject::create(pluginTest()); 65 *(NPObject**)value = ScriptableObject::create(this);
|
PluginScriptableNPObjectInvokeDefault.cpp | 55 NPObject* object; 56 if (identifier() == "plugin-scriptable-npobject-invoke-default") 61 *(NPObject**)value = object; 67 static PluginTest::Register<PluginScriptableNPObjectInvokeDefault> pluginScriptableNPObjectInvokeDefault("plugin-scriptable-npobject-invoke-default"); 68 static PluginTest::Register<PluginScriptableNPObjectInvokeDefault> pluginScriptableNPObjectNoInvokeDefault("plugin-scriptable-npobject-no-invoke-default");
|
NPDeallocateCalledBeforeNPShutdown.cpp | 63 NPObject* testObject = TestObject::create(pluginTest()); 81 *(NPObject**)value = ScriptableObject::create(this);
|
/external/webkit/Source/WebCore/platform/qt/ |
PlatformBridgeQt.cpp | 39 NPObject* PlatformBridge::pluginScriptableObject(Widget* widget) 48 return pluginView->npObject();
|
/external/webkit/Source/WebKit2/Shared/Plugins/ |
NPObjectMessageReceiver.h | 47 static PassOwnPtr<NPObjectMessageReceiver> create(NPRemoteObjectMap*, Plugin*, uint64_t npObjectID, NPObject*); 53 NPObject* npObject() const { return m_npObject; } 56 NPObjectMessageReceiver(NPRemoteObjectMap*, Plugin*, uint64_t npObjectID, NPObject*); 73 NPObject* m_npObject;
|
NPRemoteObjectMap.h | 50 NPObject* createNPObjectProxy(uint64_t remoteObjectID, Plugin*); 51 void npObjectProxyDestroyed(NPObject*); 53 // Expose the given NPObject as a remote object. Returns the objectID. 54 uint64_t registerNPObject(NPObject*, Plugin*);
|
NPObjectProxy.cpp | 65 bool NPObjectProxy::isNPObjectProxy(NPObject* npObject) 67 return npObject->_class == npClass(); 287 NPObject* NPObjectProxy::NP_Allocate(NPP npp, NPClass*) 294 void NPObjectProxy::NP_Deallocate(NPObject* npObject) 296 NPObjectProxy* npObjectProxy = toNPObjectProxy(npObject); 300 bool NPObjectProxy::NP_HasMethod(NPObject* npObject, NPIdentifier methodName) 302 return toNPObjectProxy(npObject)->hasMethod(methodName) [all...] |
/external/webkit/Source/WebKit2/WebProcess/Plugins/ |
PluginController.h | 31 struct NPObject; 66 // Get the NPObject that corresponds to the window JavaScript object. Returns a retained object. 67 virtual NPObject* windowScriptNPObject() = 0; 69 // Get the NPObject that corresponds to the plug-in's element. Returns a retained object. 70 virtual NPObject* pluginElementNPObject() = 0; 72 // Evaluates the given script string in the context of the given NPObject. 73 virtual bool evaluate(NPObject*, const String& scriptString, NPVariant* result, bool allowPopups) = 0;
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
CppBoundClass.cpp | 35 // - Something calls our NPObject with a function like "Invoke". 91 // Our special NPObject type. We extend an NPObject with a pointer to a 92 // CppBoundClass, which is just a C++ interface that we forward all NPObject 95 NPObject parent; // This must be the first field in the struct. 100 // with NPObject/NPClass. 107 // Allocate a new NPObject with the specified class. 108 static NPObject* allocate(NPP, NPClass*); 111 static void deallocate(NPObject*); 113 // Returns true if the C++ class associated with this NPObject exposes th [all...] |
PlainTextController.cpp | 62 NPObject* npobject = NPVARIANT_TO_OBJECT(arguments[0]); 63 if (!npobject) 66 if (!WebBindings::getRange(npobject, &range))
|
/frameworks/base/tests/BrowserTestPlugin/jni/ |
PluginObject.h | 77 NPObject header;
|
/external/webkit/Source/WebCore/bridge/jni/v8/ |
JavaNPObjectV8.cpp | 44 static NPObject* AllocJavaNPObject(NPP, NPClass*) 50 return reinterpret_cast<NPObject*>(obj); 53 static void FreeJavaNPObject(NPObject* npobj) 76 NPObject* JavaInstanceToNPObject(JavaInstance* instance) 80 return reinterpret_cast<NPObject*>(object); 84 JavaInstance* ExtractJavaInstance(NPObject* obj) 91 bool JavaNPObjectHasMethod(NPObject* obj, NPIdentifier identifier) 110 bool JavaNPObjectInvoke(NPObject* obj, NPIdentifier identifier, const NPVariant* args, uint32_t argCount, NPVariant* result) 164 bool JavaNPObjectHasProperty(NPObject* obj, NPIdentifier identifier) 179 bool JavaNPObjectGetProperty(NPObject* obj, NPIdentifier identifier, NPVariant* result [all...] |
/external/webkit/Source/WebCore/bindings/v8/ |
ScriptController.h | 54 struct NPObject; 114 void bindToWindowObject(Frame*, const String& key, NPObject*); 176 NPObject* createScriptObjectForPluginElement(HTMLPlugInElement*); 177 NPObject* windowScriptNPObject(); 202 typedef HashMap<Widget*, NPObject*> PluginObjectMap; 210 // The frame keeps a NPObject reference for each item on the list. 213 NPObject* m_windowScriptNPObject;
|
npruntime.cpp | 263 NPObject *_NPN_CreateObject(NPP npp, NPClass* npClass) 268 NPObject* npObject; 270 npObject = npClass->allocate(npp, npClass); 272 npObject = reinterpret_cast<NPObject*>(malloc(sizeof(NPObject))); 274 npObject->_class = npClass; 275 npObject->referenceCount = 1; 276 return npObject; [all...] |
V8NPObject.h | 59 // Get a wrapper for a NPObject. 62 v8::Local<v8::Object> createV8ObjectForNPObject(NPObject*, NPObject* root); 66 // function, the persistent handle to the wrapper will be gone, and the wrapped NPObject will be removed so that it 68 void forgetV8ObjectForNPObject(NPObject*);
|
NPV8Object.cpp | 66 static NPObject* allocV8NPObject(NPP, NPClass*) 68 return static_cast<NPObject*>(malloc(sizeof(V8NPObject))); 71 static void freeV8NPObject(NPObject* npObject) 73 V8NPObject* v8NpObject = reinterpret_cast<V8NPObject*>(npObject); 81 static PassOwnArrayPtr<v8::Handle<v8::Value> > createValueListFromVariantArgs(const NPVariant* arguments, uint32_t argumentCount, NPObject* owner) 103 NPObject* v8ObjectToNPObject(v8::Handle<v8::Object> object) 105 return reinterpret_cast<NPObject*>(object->GetPointerFromInternalField(v8DOMWrapperObjectIndex)); 116 NPObject* npCreateV8ScriptObject(NPP npp, v8::Handle<v8::Object> object, DOMWindow* root) 123 NPObject* returnValue = v8ObjectToNPObject(object) [all...] |
/external/chromium/webkit/glue/ |
cpp_bound_class.cc | 8 // - Something calls our NPObject with a function like "Invoke". 65 // Our special NPObject type. We extend an NPObject with a pointer to a 66 // CppBoundClass, which is just a C++ interface that we forward all NPObject 69 NPObject parent; // This must be the first field in the struct. 74 // with NPObject/NPClass. 81 // Allocate a new NPObject with the specified class. 82 static NPObject* allocate(NPP npp, NPClass* aClass); 85 static void deallocate(NPObject* obj); 87 // Returns true if the C++ class associated with this NPObject exposes th [all...] |
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/ |
JSNPObject.h | 32 struct NPObject; 38 // JSNPObject is a JSObject that wraps an NPObject. 42 JSNPObject(JSC::JSGlobalObject*, NPRuntimeObjectMap* objectMap, NPObject* npObject); 53 NPObject* npObject() const { return m_npObject; } 77 NPObject* m_npObject;
|
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/ |
PluginObject.h | 48 NPObject header; 59 NPObject* testObject; 60 NPObject* rememberedObject;
|
PluginTest.h | 74 NPObject* NPN_CreateObject(NPClass*); 75 bool NPN_RemoveProperty(NPObject*, NPIdentifier propertyName); 112 // NPObject helper template. 113 template<typename T> struct Object : NPObject { 115 static NPObject* create(PluginTest* pluginTest) 167 static NPObject* NP_Allocate(NPP npp, NPClass* aClass) 172 static void NP_Deallocate(NPObject* npObject) 174 delete static_cast<T*>(npObject); 177 static bool NP_HasMethod(NPObject* npObject, NPIdentifier methodName [all...] |
PluginObject.cpp | 39 static void pluginLogWithWindowObject(NPObject* windowObject, NPP instance, const char* message) 47 NPObject* consoleObject = NPVARIANT_TO_OBJECT(consoleVariant); 65 static void pluginLogWithWindowObjectVariableArgs(NPObject* windowObject, NPP instance, const char* format, ...) 81 NPObject* windowObject = 0; 101 static void pluginInvalidate(NPObject*); 102 static bool pluginHasProperty(NPObject*, NPIdentifier name); 103 static bool pluginHasMethod(NPObject*, NPIdentifier name); 104 static bool pluginGetProperty(NPObject*, NPIdentifier name, NPVariant*); 105 static bool pluginSetProperty(NPObject*, NPIdentifier name, const NPVariant*); 106 static bool pluginInvoke(NPObject*, NPIdentifier name, const NPVariant* args, uint32_t argCount, NPVariant* result) [all...] |
/external/webkit/Source/WebCore/bridge/ |
NP_jsobject.cpp | 56 NPObject* get(RootObject* rootObject, JSObject* jsObject) 61 void add(RootObject* rootObject, JSObject* jsObject, NPObject* npObject) 70 iter->second.add(jsObject, npObject); 96 typedef HashMap<JSObject*, NPObject*> JSToNPObjectMap; 118 static NPObject* jsAllocate(NPP, NPClass*) 120 return static_cast<NPObject*>(malloc(sizeof(JavaScriptObject))); 123 static void jsDeallocate(NPObject* npObj) 144 NPObject* _NPN_CreateScriptObject(NPP npp, JSObject* imp, PassRefPtr<RootObject> rootObject) 146 if (NPObject* object = objectMap().get(rootObject.get(), imp) [all...] |
/external/webkit/Source/WebCore/plugins/ |
npfunctions.h | 87 typedef NPObject* (*NPN_CreateObjectProcPtr) (NPP, NPClass *aClass); 88 typedef NPObject* (*NPN_RetainObjectProcPtr) (NPObject *obj); 89 typedef void (*NPN_ReleaseObjectProcPtr) (NPObject *obj); 90 typedef bool (*NPN_InvokeProcPtr) (NPP npp, NPObject *obj, NPIdentifier methodName, const NPVariant *args, unsigned argCount, NPVariant *result); 91 typedef bool (*NPN_InvokeDefaultProcPtr) (NPP npp, NPObject *obj, const NPVariant *args, unsigned argCount, NPVariant *result); 92 typedef bool (*NPN_EvaluateProcPtr) (NPP npp, NPObject *obj, NPString *script, NPVariant *result); 93 typedef bool (*NPN_GetPropertyProcPtr) (NPP npp, NPObject *obj, NPIdentifier propertyName, NPVariant *result); 94 typedef bool (*NPN_SetPropertyProcPtr) (NPP npp, NPObject *obj, NPIdentifier propertyName, const NPVariant *value); 95 typedef bool (*NPN_HasPropertyProcPtr) (NPP, NPObject *npobj, NPIdentifier propertyName) [all...] |
/external/webkit/Source/WebCore/bridge/c/ |
c_runtime.cpp | 45 NPObject* obj = instance->getObject(); 68 NPObject* obj = instance->getObject();
|
/external/webkit/Source/WebCore/platform/android/ |
PlatformBridge.h | 81 class NPObject; 111 static NPObject* pluginScriptableObject(Widget*);
|