Home
last modified time | relevance | path

Searched refs:rootObject (Results 1 – 25 of 96) sorted by relevance

1234

/external/webkit/Source/WebCore/bridge/
DNP_jsobject.cpp56 NPObject* get(RootObject* rootObject, JSObject* jsObject) in get() argument
58 return m_map.get(rootObject).get(jsObject); in get()
61 void add(RootObject* rootObject, JSObject* jsObject, NPObject* npObject) in add() argument
63 HashMap<RootObject*, JSToNPObjectMap>::iterator iter = m_map.find(rootObject); in add()
65 rootObject->addInvalidationCallback(&m_invalidationCallback); in add()
66 iter = m_map.add(rootObject, JSToNPObjectMap()).first; in add()
73 void remove(RootObject* rootObject) in remove() argument
75 HashMap<RootObject*, JSToNPObjectMap>::iterator iter = m_map.find(rootObject); in remove()
80 void remove(RootObject* rootObject, JSObject* jsObject) in remove() argument
82 HashMap<RootObject*, JSToNPObjectMap>::iterator iter = m_map.find(rootObject); in remove()
[all …]
DNP_jsobject.h47 JSC::Bindings::RootObject* rootObject; member
50 …_NPN_CreateScriptObject(NPP npp, JSC::JSObject*, PassRefPtr<JSC::Bindings::RootObject> rootObject);
/external/webkit/Source/WebCore/bindings/objc/
DWebScriptObjectPrivate.h49 …Object:(JSC::Bindings::RootObject*)originRootObject rootObject:(JSC::Bindings::RootObject*)rootObj…
50 …Object:(JSC::Bindings::RootObject*)originRootObject rootObject:(JSC::Bindings::RootObject*)rootObj…
52 …r<JSC::Bindings::RootObject>)originRootObject rootObject:(PassRefPtr<JSC::Bindings::RootObject>)ro…
53 …r<JSC::Bindings::RootObject>)originRootObject rootObject:(PassRefPtr<JSC::Bindings::RootObject>)ro…
54 …ings::RootObject>)originRootObject andRootObject:(PassRefPtr<JSC::Bindings::RootObject>)rootObject;
76 JSC::Bindings::RootObject* rootObject; variable
DWebScriptObject.mm92 …return [[[WebScriptObject alloc] _initWithJSObject:object originRootObject:origin rootObject:root]…
120 …bjectRef)jsObject originRootObject:(RootObject*)originRootObject rootObject:(RootObject*)rootObject
122 if (id domWrapper = createDOMWrapper(toJS(jsObject), originRootObject, rootObject))
125 return WebCore::createJSWrapper(toJS(jsObject), originRootObject, rootObject);
142 …inRootObject:(PassRefPtr<RootObject>)originRootObject rootObject:(PassRefPtr<RootObject>)rootObject
146 ASSERT(!_private->rootObject);
151 _private->rootObject = rootObject.releaseRef();
156 if (_private->rootObject)
157 _private->rootObject->gcProtect(imp);
160 …ootObject:(PassRefPtr<RootObject>)originRootObject andRootObject:(PassRefPtr<RootObject>)rootObject
[all …]
DDOMInternal.mm122 JSC::Bindings::RootObject* rootObject = frame->script()->bindingRootObject();
124 [self _setImp:scriptImp originRootObject:rootObject rootObject:rootObject];
/external/webkit/Source/WebCore/bridge/jni/
Djni_jsobject.mm272 RootObject* JavaJSObject::rootObject() const function
281 RootObject* rootObject = this->rootObject();
282 if (!rootObject)
286 ExecState* exec = rootObject->globalObject()->globalExec();
299 rootObject->globalObject()->globalData().timeoutChecker.start();
301 rootObject->globalObject()->globalData().timeoutChecker.stop();
314 RootObject* rootObject = this->rootObject();
315 if (!rootObject)
318 rootObject->globalObject()->globalData().timeoutChecker.start();
319 …Completion completion = JSC::evaluate(rootObject->globalObject()->globalExec(), rootObject->global…
[all …]
/external/webkit/Source/WebCore/bridge/jni/jsc/
DJavaFieldJSC.cpp80 RootObject* rootObject = instance->rootObject(); in dispatchValueFromInstance() local
81 if (rootObject && rootObject->nativeHandle()) { in dispatchValueFromInstance()
86 …dispatchJNICall(exec, rootObject->nativeHandle(), fieldJInstance, false, returnType, mid, args, re… in dispatchValueFromInstance()
113 … jsresult = JavaArray::convertJObjectToArray(exec, anObject, arrayType, instance->rootObject()); in valueFromInstance()
115 … jsresult = JavaInstance::create(anObject, instance->rootObject())->createRuntimeObject(exec); in valueFromInstance()
165 RootObject* rootObject = instance->rootObject(); in dispatchSetValueToInstance() local
166 if (rootObject && rootObject->nativeHandle()) { in dispatchSetValueToInstance()
173 …dispatchJNICall(exec, rootObject->nativeHandle(), fieldJInstance, false, JavaTypeVoid, mid, args, … in dispatchSetValueToInstance()
184 jvalue javaValue = convertValueToJValue(exec, i->rootObject(), aValue, m_type, typeClassName()); in setValueToInstance()
DJavaInstanceJSC.cpp52 JavaInstance::JavaInstance(jobject instance, PassRefPtr<RootObject> rootObject) in JavaInstance() argument
53 : Instance(rootObject) in JavaInstance()
189 RootObject* rootObject = this->rootObject(); in invokeMethod() local
190 if (!rootObject) in invokeMethod()
194 if (rootObject->nativeHandle()) { in invokeMethod()
199 …handled = dispatchJNICall(exec, rootObject->nativeHandle(), obj, jMethod->isStatic(), jMethod->ret… in invokeMethod()
226 … resultValue = JavaArray::convertJObjectToArray(exec, result.l, arrayType, rootObject); in invokeMethod()
241 … return JavaInstance::create(result.l, rootObject)->createRuntimeObject(exec); in invokeMethod()
300 resultValue = JavaArray::convertJObjectToArray(exec, result.l, arrayType, rootObject); in invokeMethod()
DJavaArrayJSC.cpp45 …jectToArray(ExecState* exec, jobject anObject, const char* type, PassRefPtr<RootObject> rootObject) in convertJObjectToArray() argument
50 return new (exec) RuntimeArray(exec, new JavaArray(anObject, type, rootObject)); in convertJObjectToArray()
53 JavaArray::JavaArray(jobject array, const char* type, PassRefPtr<RootObject> rootObject) in JavaArray() argument
54 : Array(rootObject) in JavaArray()
68 RootObject* JavaArray::rootObject() const in rootObject() function in JavaArray
166 return JavaArray::convertJObjectToArray(exec, anObject, m_type + 1, rootObject()); in valueAt()
168 return JavaInstance::create(anObject, rootObject())->createRuntimeObject(exec); in valueAt()
DJavaInstanceJSC.h44 static PassRefPtr<JavaInstance> create(jobject instance, PassRefPtr<RootObject> rootObject) in create() argument
46 return adoptRef(new JavaInstance(instance, rootObject)); in create()
/external/webkit/Source/WebCore/bridge/c/
Dc_utility.cpp98 RootObject* rootObject = findRootObject(exec->dynamicGlobalObject()); in convertValueToNPVariant() local
99 if (!rootObject) in convertValueToNPVariant()
100 rootObject = findRootObject(exec->lexicalGlobalObject()); in convertValueToNPVariant()
104 RootObject* rootObject = findRootObject(globalObject); in convertValueToNPVariant()
106 if (rootObject) { in convertValueToNPVariant()
107 NPObject* npObject = _NPN_CreateScriptObject(0, object, rootObject); in convertValueToNPVariant()
114 JSValue convertNPVariantToValue(ExecState* exec, const NPVariant* variant, RootObject* rootObject) in convertNPVariantToValue() argument
140 return CInstance::create(obj, rootObject)->createRuntimeObject(exec); in convertNPVariantToValue()
Dc_instance.h47 static PassRefPtr<CInstance> create(NPObject* object, PassRefPtr<RootObject> rootObject) in create() argument
49 return adoptRef(new CInstance(object, rootObject)); in create()
/external/webkit/Source/WebCore/bridge/jsc/
DBridgeJSC.cpp45 Array::Array(PassRefPtr<RootObject> rootObject) in Array() argument
46 : m_rootObject(rootObject) in Array()
55 Instance::Instance(PassRefPtr<RootObject> rootObject) in Instance() argument
56 : m_rootObject(rootObject) in Instance()
117 RootObject* Instance::rootObject() const in rootObject() function in JSC::Bindings::Instance
DBridgeJSC.h74 typedef void (*KJSDidExecuteFunctionPtr)(ExecState*, JSObject* rootObject);
111 RootObject* rootObject() const;
/external/webkit/Source/WebCore/bridge/objc/
DWebScriptObject.h37 …Object:(JSC::Bindings::RootObject*)originRootObject rootObject:(JSC::Bindings::RootObject*)rootObj…
38 …r<JSC::Bindings::RootObject>)originRootObject rootObject:(PassRefPtr<JSC::Bindings::RootObject>)ro…
Dobjc_runtime.mm104 … result = convertObjcValueToValue(exec, &objcValue, ObjcObjectType, instance->rootObject());
118 RefPtr<RootObject> rootObject = findRootObject(exec->dynamicGlobalObject());
119 if (!rootObject)
121 …tClass() _convertValueToObjcValue:value originRootObject:rootObject.get() rootObject:rootObject.ge…
142 ObjcArray::ObjcArray(ObjectStructPtr a, PassRefPtr<RootObject> rootObject)
143 : Array(rootObject)
Dobjc_utility.mm151 RootObject* rootObject = findRootObject(globalObject);
152 result.objectValue = rootObject
153 …jectClass() _convertValueToObjcValue:value originRootObject:originRootObject rootObject:rootObject]
229 … convertObjcValueToValue(ExecState* exec, void* buffer, ObjcValueType type, RootObject* rootObject)
247 return new (exec) RuntimeArray(exec, new ObjcArray(obj, rootObject));
256 return ObjcInstance::create(obj, rootObject)->createRuntimeObject(exec);
/external/webkit/Source/WebCore/bindings/js/
DScriptControllerMac.mm59 …Bindings::Instance>)createPluginBindingsInstance:(PassRefPtr<JSC::Bindings::RootObject>)rootObject;
72 RefPtr<RootObject> rootObject = createRootObject(widgetView);
75 return [widgetView createPluginBindingsInstance:rootObject.release()];
81 return JSC::Bindings::ObjcInstance::create(objectForWebScript, rootObject.release());
91 … RefPtr<Instance> instance = JSC::Bindings::CInstance::create(npObject, rootObject.release());
102 return JSC::Bindings::JavaInstance::create(applet, rootObject.release());
116 …t scriptObjectForJSObject:toRef(windowShell(pluginWorld())) originRootObject:root rootObject:root];
143 static void updateStyleIfNeededForBindings(JSC::ExecState*, JSC::JSObject* rootObject)
148 if (!rootObject)
151 JSDOMWindow* window = static_cast<JSDOMWindow*>(rootObject);
DJSPluginElementFunctions.cpp53 if (!instance || !instance->rootObject()) in pluginInstance()
97 if (!instance || !instance->rootObject()) in pluginScriptObject()
/external/webkit/Source/WebCore/bridge/qt/
Dqt_instance.cpp79 QtInstance::QtInstance(QObject* o, PassRefPtr<RootObject> rootObject, QScriptEngine::ValueOwnership… in QtInstance() argument
80 : Instance(rootObject) in QtInstance()
117 PassRefPtr<QtInstance> QtInstance::getQtInstance(QObject* o, PassRefPtr<RootObject> rootObject, QSc… in getQtInstance() argument
122 if (instance->rootObject() == rootObject) { in getQtInstance()
133 RefPtr<QtInstance> ret = QtInstance::create(o, rootObject, ownership); in getQtInstance()
359 return convertQVariantToValue(exec, inst->rootObject(), val); in valueFromInstance()
Dqt_instance.h75 …static PassRefPtr<QtInstance> create(QObject *instance, PassRefPtr<RootObject> rootObject, QScript… in create() argument
77 return adoptRef(new QtInstance(instance, rootObject, ownership)); in create()
/external/webkit/Source/WebCore/bindings/v8/
DV8Helpers.cpp43 return V8Proxy::mainWorldContext(object->rootObject->frame()); in toV8Context()
49 Frame* frame = object->rootObject->frame(); in toV8Proxy()
/external/webkit/Source/WebKit/chromium/src/
DWebAccessibilityCacheImpl.cpp102 RefPtr<AccessibilityObject> rootObject = toAccessibilityObject(root); in initialize() local
105 m_objectMap.set(m_nextNewId, WeakHandle::create(rootObject.get())); in initialize()
106 m_idMap.set(rootObject.get(), m_nextNewId++); in initialize()
/external/webkit/Source/WebKit/mac/Plugins/Hosted/
DProxyInstance.h43 …static PassRefPtr<ProxyInstance> create(PassRefPtr<JSC::Bindings::RootObject> rootObject, Netscape… in create() argument
45 return adoptRef(new ProxyInstance(rootObject, instanceProxy, objectID)); in create()
/external/webkit/Source/WebKit/win/
DAccessibleDocument.cpp37 : AccessibleBase(doc->axObjectCache()->rootObject()) in AccessibleDocument()

1234