HomeSort by relevance Sort by last modified time
    Searched full:npobject (Results 26 - 50 of 166) sorted by null

12 3 4 5 6 7

  /external/chromium_org/third_party/WebKit/Source/testing/plugin/
PluginTest.cpp 168 bool PluginTest::NPN_Invoke(NPObject *npobj, NPIdentifier methodName, const NPVariant *args, uint32_t argCount, NPVariant *result)
205 NPObject* PluginTest::NPN_CreateObject(NPClass* npClass)
210 NPObject* PluginTest::NPN_RetainObject(NPObject* npObject)
212 return browser->retainobject(npObject);
215 void PluginTest::NPN_ReleaseObject(NPObject* npObject)
217 browser->releaseobject(npObject);
220 bool PluginTest::NPN_GetProperty(NPObject* npObject, NPIdentifier propertyName, NPVariant* value
    [all...]
PluginObject.cpp 38 static void pluginLogWithWindowObject(NPObject* windowObject, NPP instance, const char* message)
46 NPObject* consoleObject = NPVARIANT_TO_OBJECT(consoleVariant);
70 NPObject* windowObject = 0;
90 static void pluginInvalidate(NPObject*);
91 static bool pluginHasProperty(NPObject*, NPIdentifier name);
92 static bool pluginHasMethod(NPObject*, NPIdentifier name);
93 static bool pluginGetProperty(NPObject*, NPIdentifier name, NPVariant*);
94 static bool pluginSetProperty(NPObject*, NPIdentifier name, const NPVariant*);
95 static bool pluginInvoke(NPObject*, NPIdentifier name, const NPVariant* args, uint32_t argCount, NPVariant* result);
96 static NPObject* pluginAllocate(NPP npp, NPClass*)
    [all...]
  /external/chromium_org/content/renderer/pepper/
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...]
plugin_object.cc 38 // NPObject implementation in terms of PPP_Class_Deprecated --------------------
40 NPObject* WrapperClass_Allocate(NPP npp, NPClass* unused) {
44 void WrapperClass_Deallocate(NPObject* np_object) {
52 void WrapperClass_Invalidate(NPObject* object) {
55 bool WrapperClass_HasMethod(NPObject* object, NPIdentifier method_name) {
69 bool WrapperClass_Invoke(NPObject* object, NPIdentifier method_name,
92 bool WrapperClass_InvokeDefault(NPObject* np_object, const NPVariant* argv,
113 bool WrapperClass_HasProperty(NPObject* object, NPIdentifier property_name) {
127 bool WrapperClass_GetProperty(NPObject* object, NPIdentifier property_name,
140 bool WrapperClass_SetProperty(NPObject* object, NPIdentifier property_name
    [all...]
message_channel.h 43 // MessageChannel instance. This way, we can use an NPObject to allow
45 // NPObject.
46 struct MessageChannelNPObject : public NPObject {
67 // Return the NPObject* to which we should forward any calls which aren't
71 NPObject* passthrough_object() {
74 void SetPassthroughObject(NPObject* passthrough);
76 NPObject* np_object() { return np_object_; }
110 NPObject* passthrough_object_;
112 // The NPObject we use to expose postMessage to JavaScript.
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 NPObject* object);
74 NPObject* object);
101 PPResultAndExceptionToNPResult(NPObject* object_var, NPVariant* np_result);
139 NPObject* object_var_; // Non-owning ref (see constructor).
171 // Converts an NPObject tp PP_Var, and scopes the ownership of the PP_Var. Thi
    [all...]
  /external/chromium_org/content/test/plugin/
plugin_delete_plugin_in_deallocate_test.cc 14 class DeletePluginInDeallocateTestNPObject : public NPObject {
17 : NPObject(), id_(NULL), host_functions_(NULL), deallocate_count_(0) {}
19 static NPObject* Allocate(NPP npp, NPClass* npclass) {
23 static void Deallocate(NPObject* npobject) {
25 reinterpret_cast<DeletePluginInDeallocateTestNPObject*>(npobject);
32 NPObject* window_obj = NULL;
90 // Create a custom NPObject and give our Id and the Netscape function table.
99 NPObject* window = NULL;
109 NPObject* func = NPVARIANT_TO_OBJECT(func_var)
    [all...]
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_deallocate_test.h 14 // NPObject's deallocation, and the page tears down the plugin, then that
26 NPObject* npobject_;
  /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*);
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>, DOMWindow*, 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.
  /external/chromium_org/content/child/npapi/
np_channel_base.h 28 struct hash<NPObject*> {
29 std::size_t operator()(NPObject* const& ptr) const {
46 inline size_t hash_value(NPObject* const& ptr) {
64 // npobject). These are also called by NPObjectProxy and NPObjectStub (which
65 // pass themselves for npobject). However the latter don't control the
66 // lifetime of this object because we don't want a leak of an NPObject to
68 void AddRoute(int route_id, IPC::Listener* listener, NPObjectBase* npobject);
71 void AddMappingForNPObjectProxy(int route_id, NPObject* object);
74 void AddMappingForNPObjectStub(int route_id, NPObject* object);
75 void RemoveMappingForNPObjectStub(int route_id, NPObject* object)
    [all...]
npobject_util.h 5 // Helper functions that are used by the NPObject proxy and stub.
44 // If the containing NPObject happens to be an NPObject, then a stub
47 // it contains an NPObject, since the stub will manage its lifetime).
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...]
  /external/chromium_org/content/test/data/npapi/
npobject_lifetime_test.html 14 NPObject Lifetime test<p>
16 Tests the case where a plugin holds on to an NPObject reference
18 the npobject is callable when the frame is destroyed.
execute_script_delete_in_npn_evaluate.html 21 NPObject Proxy Test<p>
execute_script_delete_in_paint.html 21 NPObject Proxy Test<p>
npobject_identity.html 19 NPObject Identity Test<p>
  /external/chromium_org/remoting/host/plugin/
host_plugin_utils.cc 37 NPObject* ObjectFromNPVariant(const NPVariant& variant) {
45 ScopedRefNPObject::ScopedRefNPObject(NPObject* object)
59 ScopedRefNPObject& ScopedRefNPObject::operator=(NPObject* object) {
  /external/chromium_org/third_party/WebKit/Source/testing/plugin/Tests/
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");
  /external/chromium_org/content/browser/renderer_host/java/
java_bridge_dispatcher_host.h 15 struct NPObject;
45 void AddNamedObject(const base::string16& name, NPObject* object);
60 void CreateNPVariantParam(NPObject* object, NPVariant_Param* param);
61 void CreateObjectStub(NPObject* object, int render_process_id, int route_id);
java_bridge_dispatcher_host_manager.h 18 struct NPObject;
35 // Each one holds a reference to the NPObject while the object is bound to
37 void AddNamedObject(const base::string16& name, NPObject* object);
63 typedef std::map<base::string16, NPObject*> ObjectMap;
  /external/chromium_org/content/renderer/browser_plugin/
browser_plugin_bindings.cc 42 BrowserPluginBindings* GetBindings(NPObject* object) {
91 NPObject* BrowserPluginBindingsAllocate(NPP npp, NPClass* the_class) {
95 void BrowserPluginBindingsDeallocate(NPObject* object) {
101 bool BrowserPluginBindingsHasMethod(NPObject* np_obj, NPIdentifier name) {
112 bool BrowserPluginBindingsInvoke(NPObject* np_obj, NPIdentifier name,
125 bool BrowserPluginBindingsInvokeDefault(NPObject* np_obj,
133 bool BrowserPluginBindingsHasProperty(NPObject* np_obj, NPIdentifier name) {
144 bool BrowserPluginBindingsGetProperty(NPObject* np_obj, NPIdentifier name,
161 bool BrowserPluginBindingsSetProperty(NPObject* np_obj, NPIdentifier name,
180 bool BrowserPluginBindingsEnumerate(NPObject *np_obj, NPIdentifier **value
    [all...]

Completed in 555 milliseconds

12 3 4 5 6 7