Searched defs:globalObject (Results 1 - 25 of 160) sorted by relevance

1234567

/external/webkit/Source/JavaScriptCore/runtime/
H A DJSObjectWithGlobalObject.cpp33 JSObjectWithGlobalObject::JSObjectWithGlobalObject(JSGlobalObject* globalObject, Structure* structure) argument
34 : JSNonFinalObject(globalObject->globalData(), structure)
37 ASSERT(!globalObject || globalObject->isGlobalObject());
38 if (!globalObject)
41 putAnonymousValue(globalObject->globalData(), GlobalObjectSlot, globalObject);
44 JSObjectWithGlobalObject::JSObjectWithGlobalObject(JSGlobalData& globalData, JSGlobalObject* globalObject, Structure* structure) argument
48 ASSERT(!globalObject || globalObject
[all...]
H A DNativeErrorPrototype.cpp34 NativeErrorPrototype::NativeErrorPrototype(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, const UString& nameAndMessage, NativeErrorConstructor* constructor) argument
35 : JSObjectWithGlobalObject(globalObject, structure)
H A DBooleanPrototype.cpp40 BooleanPrototype::BooleanPrototype(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, Structure* functionStructure) argument
45 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().toString, booleanProtoFuncToString), DontEnum);
46 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().valueOf, booleanProtoFuncValueOf), DontEnum);
H A DErrorPrototype.cpp38 ErrorPrototype::ErrorPrototype(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, Structure* functionStructure) argument
44 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().toString, errorProtoFuncToString), DontEnum);
H A DJSObjectWithGlobalObject.h42 JSGlobalObject* globalObject() const function in class:JSC::JSObjectWithGlobalObject
/external/webkit/Source/WebCore/bindings/js/
H A DJSCDATASectionCustom.cpp35 JSValue toJSNewlyCreated(ExecState* exec, JSDOMGlobalObject* globalObject, CDATASection* section) argument
40 return CREATE_DOM_NODE_WRAPPER(exec, globalObject, CDATASection, section);
H A DJSCSSValueCustom.cpp47 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, CSSValue* value) argument
58 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, WebKitCSSTransformValue, value);
60 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSValueList, value);
63 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPaint, value);
65 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGColor, value);
68 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSPrimitiveValue, value);
70 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSValue, value);
H A DJSCanvasRenderingContextCustom.cpp40 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, CanvasRenderingContext* object) argument
47 return wrap<JSWebGLRenderingContext>(exec, globalObject, static_cast<WebGLRenderingContext*>(object));
50 return wrap<JSCanvasRenderingContext2D>(exec, globalObject, static_cast<CanvasRenderingContext2D*>(object));
H A DJSDOMWrapper.h31 explicit JSDOMWrapper(JSC::JSGlobalObject* globalObject, JSC::Structure* structure) argument
32 : JSObjectWithGlobalObject(globalObject, structure)
H A DJSEntryCustom.cpp47 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, Entry* entry) argument
53 return getDOMObjectWrapper<JSFileEntry>(exec, globalObject, static_cast<FileEntry*>(entry));
56 return getDOMObjectWrapper<JSDirectoryEntry>(exec, globalObject, static_cast<DirectoryEntry*>(entry));
H A DJSEntrySyncCustom.cpp47 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, EntrySync* entry) argument
53 return getDOMObjectWrapper<JSFileEntrySync>(exec, globalObject, static_cast<FileEntrySync*>(entry));
56 return getDOMObjectWrapper<JSDirectoryEntrySync>(exec, globalObject, static_cast<DirectoryEntrySync*>(entry));
H A DJSIDBAnyCustom.cpp54 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, IDBAny* idbAny) argument
65 return toJS(exec, globalObject, idbAny->idbCursor());
67 return toJS(exec, globalObject, idbAny->idbDatabase());
69 return toJS(exec, globalObject, idbAny->idbFactory());
71 return toJS(exec, globalObject, idbAny->idbIndex());
73 return toJS(exec, globalObject, idbAny->idbKey());
75 return toJS(exec, globalObject, idbAny->idbObjectStore());
77 return toJS(exec, globalObject, idbAny->idbTransaction());
79 return idbAny->serializedScriptValue()->deserialize(exec, globalObject);
H A DJSSVGPathSegCustom.cpp61 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, SVGPathSeg* object) argument
71 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegClosePath, object);
73 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegMovetoAbs, object);
75 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegMovetoRel, object);
77 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegLinetoAbs, object);
79 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegLinetoRel, object);
81 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegCurvetoCubicAbs, object);
83 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegCurvetoCubicRel, object);
85 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegCurvetoQuadraticAbs, object);
87 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegCurvetoQuadraticRe
[all...]
H A DJSTextCustom.cpp35 JSValue toJSNewlyCreated(ExecState* exec, JSDOMGlobalObject* globalObject, Text* text) argument
40 return CREATE_DOM_NODE_WRAPPER(exec, globalObject, Text, text);
H A DJSTouchCustom.cpp37 JSValue toJSNewlyCreated(ExecState* exec, JSDOMGlobalObject* globalObject, Touch* touch) argument
42 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, Touch, touch);
H A DJSTouchListCustom.cpp37 JSValue toJSNewlyCreated(ExecState* exec, JSDOMGlobalObject* globalObject, TouchList* touchList) argument
42 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, TouchList, touchList);
H A DJSCSSRuleCustom.cpp61 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, CSSRule* rule) argument
72 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSStyleRule, rule);
75 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSMediaRule, rule);
78 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSFontFaceRule, rule);
81 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSPageRule, rule);
84 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSImportRule, rule);
87 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSCharsetRule, rule);
90 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, WebKitCSSKeyframeRule, rule);
93 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, WebKitCSSKeyframesRule, rule);
96 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSRul
[all...]
H A DJSCustomApplicationInstalledCallback.h39 static PassRefPtr<JSCustomApplicationInstalledCallback> create(JSC::JSObject* callback, JSDOMGlobalObject* globalObject) argument
41 return adoptRef(new JSCustomApplicationInstalledCallback(callback, globalObject));
47 JSCustomApplicationInstalledCallback(JSC::JSObject* callback, JSDOMGlobalObject* globalObject);
H A DJSCustomPositionCallback.h40 static PassRefPtr<JSCustomPositionCallback> create(JSC::JSObject* callback, JSDOMGlobalObject* globalObject) argument
42 return adoptRef(new JSCustomPositionCallback(callback, globalObject));
H A DJSCustomPositionErrorCallback.h39 static PassRefPtr<JSCustomPositionErrorCallback> create(JSC::JSObject* callback, JSDOMGlobalObject* globalObject) argument
41 return adoptRef(new JSCustomPositionErrorCallback(callback, globalObject));
45 JSCustomPositionErrorCallback(JSC::JSObject* callback, JSDOMGlobalObject* globalObject);
H A DJSEventCustom.cpp114 return impl()->isClipboardEvent() ? toJS(exec, globalObject(), impl()->clipboardData()) : jsUndefined();
117 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, Event* event) argument
130 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, KeyboardEvent, event);
132 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, TextEvent, event);
134 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, MouseEvent, event);
136 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, WheelEvent, event);
139 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGZoomEvent, event);
142 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CompositionEvent, event);
145 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, TouchEvent, event);
148 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, UIEven
[all...]
H A DJSImageDataCustom.cpp39 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, ImageData* imageData) argument
48 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, ImageData, imageData);
H A DJSCustomApplicationInstalledCallback.cpp38 JSCustomApplicationInstalledCallback::JSCustomApplicationInstalledCallback(JSObject* callback, JSDOMGlobalObject* globalObject) argument
39 : m_data(callback, globalObject)
48 ExecState* exec = m_data.globalObject()->globalExec();
/external/webkit/Source/WebCore/bindings/scripts/test/JS/
H A DJSTestCallback.h35 static PassRefPtr<JSTestCallback> create(JSC::JSObject* callback, JSDOMGlobalObject* globalObject) argument
37 return adoptRef(new JSTestCallback(callback, globalObject));
/external/webkit/Source/JavaScriptGlue/
H A Dtestjsglue.cpp47 JSObjectRef globalObject = JSRunCopyGlobalObject(jsRun); local
49 JSObjectRef getX = JSObjectCopyProperty(globalObject, CFSTR("getX"));
50 JSObjectRef jsResult = JSObjectCallFunction(getX, globalObject, 0);

Completed in 223 milliseconds

1234567