Home
last modified time | relevance | path

Searched refs:V8Proxy (Results 1 – 25 of 90) sorted by relevance

1234

/external/webkit/WebCore/bindings/v8/
DV8Proxy.cpp83 v8::Persistent<v8::Context> V8Proxy::m_utilityContext;
86 V8Extensions V8Proxy::m_extensions;
136 void V8Proxy::setSVGContext(void* object, SVGElement* context) in setSVGContext()
155 SVGElement* V8Proxy::svgContext(void* object) in svgContext()
180 void V8Proxy::reportUnsafeAccessTo(Frame* target, DelayReporting delay) in reportUnsafeAccessTo()
187 Frame* source = V8Proxy::retrieveFrameForEnteredContext(); in reportUnsafeAccessTo()
227 V8Proxy::V8Proxy(Frame* frame) in V8Proxy() function in WebCore::V8Proxy
236 V8Proxy::~V8Proxy() in ~V8Proxy()
242 v8::Handle<v8::Script> V8Proxy::compileScript(v8::Handle<v8::String> code, const String& fileName, … in compileScript()
251 v8::Handle<v8::Script> V8Proxy::compileScriptInternal(v8::Handle<v8::String> code, const String& fi… in compileScriptInternal()
[all …]
DScriptCachedFrameData.cpp40 ASSERT(V8Proxy::mainWorldContext(frame) == V8Proxy::context(frame)); in ScriptCachedFrameData()
41 m_context.set(V8Proxy::mainWorldContext(frame)); in ScriptCachedFrameData()
63 V8Proxy* proxy = V8Proxy::retrieve(frame); in restore()
DV8Proxy.h132 class V8Proxy {
149 explicit V8Proxy(Frame*);
151 ~V8Proxy();
233 static V8Proxy* retrieve();
235 static V8Proxy* retrieve(Frame*);
237 static V8Proxy* retrieve(ScriptExecutionContext*);
422 v8::Handle<v8::Value> V8Proxy::constructDOMObject(const v8::Arguments& args) in constructDOMObject()
425 … return throwError(V8Proxy::TypeError, "DOM object constructor cannot be called as a function."); in constructDOMObject()
450 …e v8::Handle<v8::Primitive> throwError(const char* message, V8Proxy::ErrorType type = V8Proxy::Typ…
452 V8Proxy::throwError(type, message);
[all …]
DScriptController.cpp81 return V8Proxy::retrieveFrameForEnteredContext(); in retrieveFrameForEnteredContext()
86 return V8Proxy::retrieveFrameForCurrentContext(); in retrieveFrameForCurrentContext()
110 , m_proxy(new V8Proxy(frame)) in ScriptController()
155 Frame* activeFrame = V8Proxy::retrieveFrameForEnteredContext(); in processingUserGesture()
160 V8Proxy* activeProxy = activeFrame->script()->proxy(); in processingUserGesture()
163 v8::Handle<v8::Context> v8Context = V8Proxy::mainWorldContext(activeFrame); in processingUserGesture()
229 v8::Handle<v8::Context> v8Context = V8Proxy::mainWorldContext(m_proxy->frame()); in evaluate()
264 v8::Handle<v8::Context> v8Context = V8Proxy::mainWorldContext(frame); in bindToWindowObject()
280 v8::Handle<v8::Context> v8Context = V8Proxy::mainWorldContext(m_proxy->frame()); in collectGarbage()
389 v8::Handle<v8::Context> v8Context = V8Proxy::mainWorldContext(frame); in createScriptObject()
[all …]
DV8Utilities.cpp99 Frame* frame = V8Proxy::retrieveFrameForEnteredContext(); in processingUserGesture()
105 Frame* callingFrame = V8Proxy::retrieveFrameForCallingContext(); in shouldAllowNavigation()
112 Frame* frame = V8Proxy::retrieveFrameForEnteredContext(); in completeURL()
120 Frame* callingFrame = V8Proxy::retrieveFrameForCallingContext(); in navigateIfAllowed()
139 frame = V8Proxy::retrieveFrame(scriptState->context()); in getScriptExecutionContext()
141 frame = V8Proxy::retrieveFrameForCurrentContext(); in getScriptExecutionContext()
DV8LazyEventListener.cpp68 if (V8Proxy* proxy = V8Proxy::retrieve(context)) in callListenerFunction()
86 V8Proxy* proxy = V8Proxy::retrieve(context); in prepareListenerObject()
117 …v8::Handle<v8::Script> script = V8Proxy::compileScript(codeExternalString, m_sourceURL, m_lineNumb… in prepareListenerObject()
DV8Helpers.cpp49 return V8Proxy::mainWorldContext(object->rootObject->frame()); in toV8Context()
52 V8Proxy* toV8Proxy(NPObject* npObject) in toV8Proxy()
56 return V8Proxy::retrieve(frame); in toV8Proxy()
/external/webkit/WebCore/bindings/v8/custom/
DV8WebGLRenderingContextCustom.cpp118 V8Proxy::setDOMException(SYNTAX_ERR); in bufferDataCallback()
126 V8Proxy::setDOMException(SYNTAX_ERR); in bufferDataCallback()
131 V8Proxy::setDOMException(SYNTAX_ERR); in bufferDataCallback()
143 V8Proxy::setDOMException(SYNTAX_ERR); in bufferDataCallback()
156 V8Proxy::setDOMException(SYNTAX_ERR); in bufferSubDataCallback()
164 V8Proxy::setDOMException(SYNTAX_ERR); in bufferSubDataCallback()
169 V8Proxy::setDOMException(SYNTAX_ERR); in bufferSubDataCallback()
173 V8Proxy::setDOMException(SYNTAX_ERR); in bufferSubDataCallback()
228 V8Proxy::setDOMException(SYNTAX_ERR); in getObjectParameter()
237 V8Proxy::setDOMException(SYNTAX_ERR); in getObjectParameter()
[all …]
DV8CanvasRenderingContext2DCustom.cpp127 V8Proxy::throwError(V8Proxy::SyntaxError, "setStrokeColor: Invalid number of arguments"); in setStrokeColorCallback()
157 V8Proxy::throwError(V8Proxy::SyntaxError, "setFillColor: Invalid number of arguments"); in setFillColorCallback()
172 V8Proxy::setDOMException(INDEX_SIZE_ERR); in strokeRectCallback()
206 V8Proxy::throwError(V8Proxy::SyntaxError, "setShadow: Invalid number of arguments"); in setShadowCallback()
230 V8Proxy::setDOMException(ec); in drawImageCallback()
240 V8Proxy::setDOMException(ec); in drawImageCallback()
245 return throwError("drawImage: Invalid number of arguments", V8Proxy::SyntaxError); in drawImageCallback()
261 V8Proxy::setDOMException(ec); in drawImageCallback()
271 V8Proxy::setDOMException(ec); in drawImageCallback()
276 return throwError("drawImage: Invalid number of arguments", V8Proxy::SyntaxError); in drawImageCallback()
[all …]
DV8SQLResultSetRowListCustom.cpp47 V8Proxy::throwError(V8Proxy::SyntaxError, "Item index is required."); in itemCallback()
52 V8Proxy::throwError(V8Proxy::TypeError, "Item index must be a number."); in itemCallback()
60 V8Proxy::throwError(V8Proxy::RangeError, "Item index is out of range."); in itemCallback()
DV8SQLTransactionCustom.cpp54 return throwError("SQL statement is required.", V8Proxy::SyntaxError); in executeSqlCallback()
95 return throwError("sqlArgs should be array or object!", V8Proxy::TypeError); in executeSqlCallback()
100 Frame* frame = V8Proxy::retrieveFrameForCurrentContext(); in executeSqlCallback()
105 return throwError("Statement callback must be of valid type.", V8Proxy::TypeError); in executeSqlCallback()
114 … return throwError("Statement error callback must be of valid type.", V8Proxy::TypeError); in executeSqlCallback()
122 V8Proxy::setDOMException(ec); in executeSqlCallback()
DV8CustomXPathNSResolver.h45 class V8Proxy; variable
52 …static PassRefPtr<V8CustomXPathNSResolver> create(V8Proxy* proxy, v8::Handle<v8::Object> resolver);
58 V8CustomXPathNSResolver(V8Proxy* proxy, v8::Handle<v8::Object> resolver);
60 V8Proxy* m_proxy;
DV8HTMLDocumentCustom.cpp132 Frame* frame = V8Proxy::retrieveFrameForCallingContext(); in writeCallback()
141 Frame* frame = V8Proxy::retrieveFrameForCallingContext(); in writelnCallback()
154 v8::Local<v8::Context> context = V8Proxy::context(frame); in openCallback()
171 V8Proxy* proxy = V8Proxy::retrieve(frame); in openCallback()
180 Frame* frame = V8Proxy::retrieveFrameForCallingContext(); in openCallback()
210 if (V8Proxy* proxy = V8Proxy::retrieve(impl->frame())) in toV8()
DV8DOMWindowCustom.cpp85 V8Proxy::setDOMException(INVALID_ACCESS_ERR); in WindowSetTimeoutImpl()
129 …ScheduledAction* action = new ScheduledAction(V8Proxy::context(imp->frame()), v8::Handle<v8::Funct… in WindowSetTimeoutImpl()
135 …id = DOMTimer::install(scriptContext, new ScheduledAction(V8Proxy::context(imp->frame()), function… in WindowSetTimeoutImpl()
153 V8Proxy::setDOMException(INVALID_CHARACTER_ERR); in convertBase64()
166 return throwError("Cannot decode base64", V8Proxy::GeneralError); in convertBase64()
182 v8::Local<v8::Context> context = V8Proxy::context(frame); in eventAccessorGetter()
203 v8::Local<v8::Context> context = V8Proxy::context(frame); in eventAccessorSetter()
288 V8Proxy* proxy = V8Proxy::retrieve(imp->frame()); in addEventListenerCallback()
320 V8Proxy* proxy = V8Proxy::retrieve(imp->frame()); in removeEventListenerCallback()
339 DOMWindow* source = V8Proxy::retrieveFrameForCallingContext()->domWindow(); in postMessageCallback()
[all …]
DV8CustomXPathNSResolver.cpp41 PassRefPtr<V8CustomXPathNSResolver> V8CustomXPathNSResolver::create(V8Proxy* proxy, v8::Handle<v8::… in create()
46 V8CustomXPathNSResolver::V8CustomXPathNSResolver(V8Proxy* proxy, v8::Handle<v8::Object> resolver) in V8CustomXPathNSResolver()
58 V8Proxy* proxy = m_proxy; in lookupNamespaceURI()
61 proxy = V8Proxy::retrieve(); in lookupNamespaceURI()
DV8DatabaseCustom.cpp50 return throwError("The old and new version strings are required.", V8Proxy::SyntaxError); in changeVersionCallback()
57 Frame* frame = V8Proxy::retrieveFrameForCurrentContext(); in changeVersionCallback()
93 return throwError("Transaction callback is required.", V8Proxy::SyntaxError); in createTransaction()
100 Frame* frame = V8Proxy::retrieveFrameForCurrentContext(); in createTransaction()
DV8EventSourceConstructor.cpp51 … return throwError("DOM object constructor cannot be called as a function.", V8Proxy::TypeError); in constructorCallback()
57 …return throwError("EventSource constructor's associated context is not available", V8Proxy::Refere… in constructorCallback()
59 return throwError("EventSource constructor wrong number of parameters", V8Proxy::TypeError); in constructorCallback()
DV8WebGLArrayCustom.h146 V8Proxy::setDOMException(SYNTAX_ERR); in getWebGLArrayElement()
152 V8Proxy::setDOMException(SYNTAX_ERR); in getWebGLArrayElement()
175 V8Proxy::setDOMException(INDEX_SIZE_ERR); in setWebGLArrayFromArray()
189 V8Proxy::setDOMException(SYNTAX_ERR); in setWebGLArray()
210 V8Proxy::setDOMException(ec); in setWebGLArray()
DV8ClipboardCustom.cpp76 return throwError("clearData: Invalid number of arguments", V8Proxy::SyntaxError); in clearDataCallback()
89 return throwError("getData: Invalid number of arguments", V8Proxy::SyntaxError); in getDataCallback()
105 return throwError("setData: Invalid number of arguments", V8Proxy::SyntaxError); in setDataCallback()
121 return throwError("setDragImage: Invalid number of arguments", V8Proxy::SyntaxError); in setDragImageCallback()
DV8WebSocketCustom.cpp86 return throwError("Not enough arguments", V8Proxy::SyntaxError); in constructorCallback()
93 return throwError("Empty URL", V8Proxy::SyntaxError); in constructorCallback()
98 …return throwError("WebSocket constructor's associated frame is not available", V8Proxy::ReferenceE… in constructorCallback()
135 return throwError("Not enough arguments", V8Proxy::SyntaxError); in sendCallback()
DV8HTMLAudioElementConstructor.cpp54 Frame* frame = V8Proxy::retrieveFrameForCurrentContext(); in v8HTMLAudioElementConstructorCallback()
56 … return throwError("Audio constructor associated frame is unavailable", V8Proxy::ReferenceError); in v8HTMLAudioElementConstructorCallback()
60 …return throwError("Audio constructor associated document is unavailable", V8Proxy::ReferenceError); in v8HTMLAudioElementConstructorCallback()
DV8DocumentCustom.cpp70 …SResolver> resolver = V8DOMWrapper::getXPathNSResolver(args[2], V8Proxy::retrieve(V8Proxy::retriev… in evaluateCallback()
155 if (V8Proxy* proxy = V8Proxy::retrieve(impl->frame())) in toV8()
DV8HTMLImageElementConstructor.cpp54 Frame* frame = V8Proxy::retrieveFrameForCurrentContext(); in v8HTMLImageElementConstructorCallback()
56 … return throwError("Image constructor associated frame is unavailable", V8Proxy::ReferenceError); in v8HTMLImageElementConstructorCallback()
60 …return throwError("Image constructor associated document is unavailable", V8Proxy::ReferenceError); in v8HTMLImageElementConstructorCallback()
/external/webkit/WebKit/chromium/src/
DWebScriptController.cpp46 V8Proxy::registerExtension(extension, WebString()); in registerExtension()
52 V8Proxy::registerExtension(extension, schemeRestriction); in registerExtension()
58 V8Proxy::registerExtension(extension, extensionGroup); in registerExtension()
69 WebCore::V8Proxy::processConsoleMessages(); in flushConsoleMessages()
/external/webkit/WebCore/bindings/v8/specialization/
DV8BindingState.cpp53 return V8Proxy::retrieveWindow(activeContext); in getActiveWindow()
58 V8Proxy::reportUnsafeAccessTo(target, V8Proxy::ReportNow); in immediatelyReportUnsafeAccessTo()

1234