HomeSort by relevance Sort by last modified time
    Searched refs:NPObject (Results 1 - 25 of 113) sorted by null

1 2 3 4 5

  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
npruntime_priv.h 40 void _NPN_DeallocateObject(NPObject*);
58 // We generally associate NPObjects with an owner. The owner of an NPObject
59 // is an NPObject which, when destroyed, also destroys all objects it owns.
74 // Register an NPObject with the runtime. If the owner is NULL, the
77 void _NPN_RegisterObject(NPObject*, NPObject* owner);
79 // Unregister an NPObject with the runtime. If obj is an owning
81 void _NPN_UnregisterObject(NPObject*);
85 bool _NPN_IsAlive(NPObject*);
npruntime_impl.h 50 NPObject *_NPN_CreateObject(NPP, NPClass*);
51 NPObject* _NPN_RetainObject(NPObject*);
52 void _NPN_ReleaseObject(NPObject*);
53 bool _NPN_Invoke(NPP, NPObject*, NPIdentifier methodName, const NPVariant* arguments, uint32_t argumentCount, NPVariant* result);
54 bool _NPN_InvokeDefault(NPP, NPObject*, const NPVariant* arguments, uint32_t argumentCount, NPVariant* result);
55 bool _NPN_Evaluate(NPP, NPObject*, NPString* npScript, NPVariant* result);
56 bool _NPN_EvaluateHelper(NPP, bool popupsAllowed, NPObject*, NPString* npScript, NPVariant* result);
57 bool _NPN_GetProperty(NPP, NPObject*, NPIdentifier propertyName, NPVariant* result);
58 bool _NPN_SetProperty(NPP, NPObject*, NPIdentifier propertyName, const NPVariant* value)
    [all...]
NPV8Object.h 48 // A V8NPObject is a NPObject which carries additional V8-specific information.
54 NPObject object;
67 NPObject* npCreateV8ScriptObject(NPP, v8::Handle<v8::Object>, LocalDOMWindow*, v8::Isolate*);
69 NPObject* v8ObjectToNPObject(v8::Handle<v8::Object>);
71 V8NPObject* npObjectToV8NPObject(NPObject*);
73 void disposeUnderlyingV8Object(NPObject*, v8::Isolate*);
V8NPUtils.h 39 void convertV8ObjectToNPVariant(v8::Local<v8::Value>, NPObject*, NPVariant*, v8::Isolate*);
41 // Convert a NPVariant (string, bool, object, etc) back to a V8 Value. The owner object is the NPObject which relates to the
42 // object, if the object is an Object. The created NPObject will be tied to the lifetime of the owner.
43 v8::Handle<v8::Value> convertNPVariantToV8Object(const NPVariant*, NPObject*, v8::Isolate*);
49 // operating on a NPObject.
V8NPObject.h 36 struct NPObject;
55 // Get a wrapper for a NPObject.
58 v8::Local<v8::Object> createV8ObjectForNPObject(NPObject*, NPObject* root, v8::Isolate*);
62 // function, the persistent handle to the wrapper will be gone, and the wrapped NPObject will be removed so that it
64 void forgetV8ObjectForNPObject(NPObject*);
  /external/chromium_org/content/child/npapi/
npobject_base.h 14 struct NPObject;
22 // Returns the underlying NPObject handled by this NPObjectBase instance.
23 virtual NPObject* GetUnderlyingNPObject() = 0;
npobject_proxy.h 5 // A proxy for NPObject that sends all calls to the object to an NPObjectStub
19 struct NPObject;
26 // as a plugin can get an NPObject for the window, and a page can get an
27 // NPObject for the plugin. In the process that interacts with the NPobject we
30 // side translates the IPC messages into calls to the actual NPObject, and
38 static NPObject* Create(NPChannelBase* channel,
50 static bool NPHasMethod(NPObject *obj,
52 static bool NPInvoke(NPObject *obj,
57 static bool NPInvokeDefault(NPObject *npobj
    [all...]
npobject_stub.h 6 // NPObject.
20 struct NPObject;
27 // This wraps an NPObject and converts IPC messages from NPObjectProxy to calls
35 NPObjectStub(NPObject* npobject,
42 // Schedules tear-down of this stub. The underlying NPObject reference is
53 virtual NPObject* GetUnderlyingNPObject() OVERRIDE;
88 NPObject* npobject_;
  /external/chromium_org/content/renderer/pepper/
npobject_var.h 15 typedef struct NPObject NPObject;
25 // reference. If two different modules reference the same NPObject (like the
33 // guarantees that we maintain the 1:1 mapping between NPObject and
35 NPObjectVar(PP_Instance instance, NPObject* np_object);
41 // Returns the underlying NPObject corresponding to this NPObjectVar.
43 NPObject* np_object() const { return np_object_; }
64 NPObject* np_object_;
plugin_object.h 14 typedef struct NPObject NPObject;
42 NPObject* GetNPObject() const;
48 static bool IsInstanceOf(NPObject* np_object,
52 // Converts the given NPObject to the corresponding ObjectVar.
54 // The given NPObject must be one corresponding to a PluginObject or this
58 static PluginObject* FromNPObject(NPObject* object);
60 // Allocates a plugin wrapper object and returns it as an NPObject. This is
62 static NPObject* AllocateObjectWrapper();
68 // will set up the correct NPObject
    [all...]
npapi_glue.h 14 struct NPObject;
53 // NPObject for use byt he given module. Calling this function multiple times
54 // given the same module + NPObject results in the same PP_Var, assuming that
59 // the same NPObject, and we want to keep their refs separate.
61 // If no ObjectVar currently exists corresponding to the NPObject, one is
68 NPObjectToPPVar(PepperPluginInstanceImpl* instance, NPObject* object);
74 NPObject* object);
101 PPResultAndExceptionToNPResult(NPObject* object_var, NPVariant* np_result);
137 NPObject* object_var_; // Non-owning ref (see constructor).
169 // Converts an NPObject tp PP_Var, and scopes the ownership of the PP_Var. Thi
    [all...]
message_channel.h 43 // MessageChannel instance. This way, we can use an NPObject to allow
45 // NPObject.
46 struct MessageChannelNPObject : public NPObject {
68 // Return the NPObject* to which we should forward any calls which aren't
72 NPObject* passthrough_object() { return passthrough_object_; }
73 void SetPassthroughObject(NPObject* passthrough);
75 NPObject* np_object() { return np_object_; }
105 NPObject* passthrough_object_;
107 // The NPObject we use to expose postMessage to JavaScript.
host_var_tracker.h 22 typedef struct NPObject NPObject;
32 // Adds NPObject var tracking to the standard PPAPI VarTracker for use in the
40 // NPObject and get the NPObjectVar corresponding to it. This Add/Remove
46 // Looks up a previously registered NPObjectVar for the given NPObject and
48 // given NPObject for the given instance. See AddNPObjectVar above.
50 NPObject* np_object);
85 typedef std::map<NPObject*, ppapi::NPObjectVar*> NPObjectToNPObjectVarMap;
88 // then by the NPObject*. This allows us to look up an NPObjectVar given
92 // NPObjectToNPObjectVarMap lazily when the first NPObject var is created
    [all...]
  /external/chromium_org/third_party/WebKit/public/web/
WebBindings.h 61 BLINK_EXPORT static bool construct(NPP, NPObject*, const NPVariant* args, uint32_t argCount, NPVariant* result);
64 BLINK_EXPORT static NPObject* createObject(NPP, NPClass*);
67 BLINK_EXPORT static bool enumerate(NPP, NPObject*, NPIdentifier**, uint32_t* identifierCount);
70 BLINK_EXPORT static bool evaluate(NPP, NPObject*, NPString* script, NPVariant* result);
73 BLINK_EXPORT static bool evaluateHelper(NPP, bool popupsAllowed, NPObject*, NPString* script, NPVariant* result);
79 BLINK_EXPORT static bool getProperty(NPP, NPObject*, NPIdentifier property, NPVariant *result);
88 BLINK_EXPORT static bool hasMethod(NPP, NPObject*, NPIdentifier method);
91 BLINK_EXPORT static bool hasProperty(NPP, NPObject*, NPIdentifier property);
103 BLINK_EXPORT static bool invoke(NPP, NPObject*, NPIdentifier method, const NPVariant* args, uint32_t argCount, NPVariant* result);
106 BLINK_EXPORT static bool invokeDefault(NPP, NPObject*, const NPVariant* args, uint32_t argCount, NPVariant* result)
    [all...]
  /external/chromium_org/third_party/npapi/bindings/
npruntime.h 82 always wrapped in an NPObject. The 'interface' of an NPObject is
85 typedef struct NPObject NPObject;
111 NPObject *objectValue;
245 NPObject behavior is implemented using the following set of
251 typedef NPObject *(*NPAllocateFunctionPtr)(NPP npp, NPClass *aClass);
252 typedef void (*NPDeallocateFunctionPtr)(NPObject *npobj);
253 typedef void (*NPInvalidateFunctionPtr)(NPObject *npobj);
254 typedef bool (*NPHasMethodFunctionPtr)(NPObject *npobj, NPIdentifier name)
    [all...]
  /external/chromium_org/content/shell/tools/plugin/
TestObject.cpp 37 static bool testEnumerate(NPObject* npobj,
40 static bool testHasMethod(NPObject*, NPIdentifier name);
41 static bool testInvoke(NPObject*,
46 static bool testHasProperty(NPObject*, NPIdentifier name);
47 static bool testGetProperty(NPObject*, NPIdentifier name, NPVariant*);
48 static NPObject* testAllocate(NPP npp, NPClass* theClass);
49 static void testDeallocate(NPObject* obj);
50 static bool testConstruct(NPObject* obj,
65 NPObject header;
66 NPObject* testObject
    [all...]
PluginTest.h 107 bool NPN_Invoke(NPObject*,
121 NPObject* NPN_CreateObject(NPClass*);
122 NPObject* NPN_RetainObject(NPObject*);
123 void NPN_ReleaseObject(NPObject*);
124 bool NPN_GetProperty(NPObject*, NPIdentifier propertyName, NPVariant* value);
125 bool NPN_RemoveProperty(NPObject*, NPIdentifier propertyName);
172 // NPObject helper template.
174 struct Object : NPObject {
176 static NPObject* create(PluginTest* pluginTest)
    [all...]
  /external/chromium_org/third_party/npapi/npspy/extern/plugin/
npruntime.h 45 * pointers instead of NPObject pointers.
110 always wrapped in an NPObject. The 'interface' of an NPObject is
113 typedef struct NPObject NPObject;
139 NPObject *objectValue;
271 NPObject behavior is implemented using the following set of
277 typedef NPObject *(*NPAllocateFunctionPtr)(NPP npp, NPClass *aClass);
278 typedef void (*NPDeallocateFunctionPtr)(NPObject *npobj);
279 typedef void (*NPInvalidateFunctionPtr)(NPObject *npobj)
    [all...]
  /external/chromium_org/content/test/plugin/
plugin_npobject_identity_test.cc 12 class NPThingy : public NPObject {
14 NPThingy() : NPObject() {}
16 static NPObject* Allocate(NPP npp, NPClass* npclass) {
20 static void Deallocate(NPObject* npobject) {
21 delete static_cast<NPThingy*>(npobject);
62 NPObject* window;
66 NPObject* func = NPVARIANT_TO_OBJECT(func_var);
68 // Create a custom NPObject and pass it in both arguments to areTheseTheSame.
69 NPObject* thingy = HostFunctions()->createobject(id(), GetNPThingyClass())
    [all...]
plugin_delete_plugin_in_deallocate_test.h 14 // NPObject's deallocation, and the page tears down the plugin, then that
26 NPObject* npobject_;
  /external/chromium_org/content/browser/android/java/
java_bridge_dispatcher_host.h 15 struct NPObject;
45 void AddNamedObject(const base::string16& name, NPObject* object);
59 void CreateNPVariantParam(NPObject* object, NPVariant_Param* param);
60 void CreateObjectStub(NPObject* object, int render_process_id, int route_id);
  /external/chromium_org/content/renderer/browser_plugin/
browser_plugin_bindings.h 22 // BrowserPluginBindings instance. This way, we can use an NPObject to allow
24 // from NPObject.
25 struct BrowserPluginNPObject : public NPObject {
35 NPObject* np_object() const { return np_object_; }
47 bool SetProperty(NPObject* np_obj,
51 bool RemoveProperty(NPObject *np_obj, NPIdentifier name);
54 // The NPObject we use to expose postMessage to JavaScript.
  /external/chromium_org/third_party/WebKit/Source/core/plugins/
PluginView.h 33 struct NPObject;
48 virtual NPObject* scriptableObject() { return 0; }
  /external/chromium_org/third_party/WebKit/Source/web/
WebBindings.cpp 58 bool WebBindings::construct(NPP npp, NPObject* object, const NPVariant* args, uint32_t argCount, NPVariant* result)
63 NPObject* WebBindings::createObject(NPP npp, NPClass* npClass)
68 bool WebBindings::enumerate(NPP npp, NPObject* object, NPIdentifier** identifier, uint32_t* identifierCount)
73 bool WebBindings::evaluate(NPP npp, NPObject* object, NPString* script, NPVariant* result)
78 bool WebBindings::evaluateHelper(NPP npp, bool popupsAllowed, NPObject* object, NPString* script, NPVariant* result)
88 bool WebBindings::getProperty(NPP npp, NPObject* object, NPIdentifier property, NPVariant* result)
103 bool WebBindings::hasMethod(NPP npp, NPObject* object, NPIdentifier method)
108 bool WebBindings::hasProperty(NPP npp, NPObject* object, NPIdentifier property)
128 bool WebBindings::invoke(NPP npp, NPObject* object, NPIdentifier method, const NPVariant* args, uint32_t argCount, NPVariant* result)
133 bool WebBindings::invokeDefault(NPP npp, NPObject* object, const NPVariant* args, uint32_t argCount, NPVariant* result
    [all...]
  /external/chromium_org/content/shell/tools/plugin/Tests/
PluginScriptableNPObjectInvokeDefault.cpp 59 NPObject* object;
60 if (identifier() == "plugin-scriptable-npobject-invoke-default")
65 *(NPObject**)value = object;
71 static PluginTest::Register<PluginScriptableNPObjectInvokeDefault> pluginScriptableNPObjectInvokeDefault("plugin-scriptable-npobject-invoke-default");
72 static PluginTest::Register<PluginScriptableNPObjectInvokeDefault> pluginScriptableNPObjectNoInvokeDefault("plugin-scriptable-npobject-no-invoke-default");

Completed in 527 milliseconds

1 2 3 4 5