/external/webkit/Source/WebKit/chromium/src/ |
D | DatabaseObserver.cpp | 52 bool DatabaseObserver::canEstablishDatabase(ScriptExecutionContext* scriptExecutionContext, const S… in canEstablishDatabase() argument 54 ASSERT(scriptExecutionContext->isContextThread()); in canEstablishDatabase() 55 ASSERT(scriptExecutionContext->isDocument() || scriptExecutionContext->isWorkerContext()); in canEstablishDatabase() 56 if (scriptExecutionContext->isDocument()) { in canEstablishDatabase() 57 Document* document = static_cast<Document*>(scriptExecutionContext); in canEstablishDatabase() 61 WorkerContext* workerContext = static_cast<WorkerContext*>(scriptExecutionContext); in canEstablishDatabase() 72 ASSERT(database->scriptExecutionContext()->isContextThread()); in databaseOpened() 78 ASSERT(database->scriptExecutionContext()->isContextThread()); in databaseModified() 84 ASSERT(database->scriptExecutionContext()->isContextThread()); in databaseClosed()
|
D | WorkerFileWriterCallbacksBridge.cpp | 131 … String& path, WorkerLoaderProxy* proxy, ScriptExecutionContext* scriptExecutionContext, AsyncFile… in WorkerFileWriterCallbacksBridge() argument 132 : WorkerContext::Observer(static_cast<WorkerContext*>(scriptExecutionContext)) in WorkerFileWriterCallbacksBridge() 134 , m_workerContext(scriptExecutionContext) in WorkerFileWriterCallbacksBridge() 141 …m_mode.append(String::number(static_cast<WorkerContext*>(scriptExecutionContext)->thread()->runLoo… in WorkerFileWriterCallbacksBridge() 182 …iterCallbacksBridge::runTaskOnMainThread(ScriptExecutionContext* scriptExecutionContext, PassRefPt… in runTaskOnMainThread() argument 186 taskToRun->performTask(scriptExecutionContext); in runTaskOnMainThread() 189 …erCallbacksBridge::runTaskOnWorkerThread(ScriptExecutionContext* scriptExecutionContext, PassRefPt… in runTaskOnWorkerThread() argument 193 taskToRun->performTask(scriptExecutionContext); in runTaskOnWorkerThread()
|
D | SharedWorkerRepository.cpp | 90 const ScriptExecutionContext* loadingContext() { return m_worker->scriptExecutionContext(); } in loadingContext() 137 …m_scriptLoader.loadAsynchronously(m_worker->scriptExecutionContext(), m_url, DenyCrossOriginReques… in load() 165 …InspectorInstrumentation::scriptImported(m_worker->scriptExecutionContext(), m_scriptLoader.identi… in notifyFinished() 167 …m_webWorker->startWorkerContext(m_url, m_name, m_worker->scriptExecutionContext()->userAgent(m_url… in notifyFinished() 203 ASSERT(worker->scriptExecutionContext()->isDocument()); in connect() 204 Document* document = static_cast<Document*>(worker->scriptExecutionContext()); in connect()
|
/external/webkit/Source/WebCore/fileapi/ |
D | FileReaderSync.cpp | 50 …uffer> FileReaderSync::readAsArrayBuffer(ScriptExecutionContext* scriptExecutionContext, Blob* blo… in readAsArrayBuffer() argument 56 startLoading(scriptExecutionContext, loader, blob, ec); in readAsArrayBuffer() 61 String FileReaderSync::readAsBinaryString(ScriptExecutionContext* scriptExecutionContext, Blob* blo… in readAsBinaryString() argument 67 startLoading(scriptExecutionContext, loader, blob, ec); in readAsBinaryString() 71 String FileReaderSync::readAsText(ScriptExecutionContext* scriptExecutionContext, Blob* blob, const… in readAsText() argument 78 startLoading(scriptExecutionContext, loader, blob, ec); in readAsText() 82 String FileReaderSync::readAsDataURL(ScriptExecutionContext* scriptExecutionContext, Blob* blob, Ex… in readAsDataURL() argument 89 startLoading(scriptExecutionContext, loader, blob, ec); in readAsDataURL() 93 void FileReaderSync::startLoading(ScriptExecutionContext* scriptExecutionContext, FileReaderLoader&… in startLoading() argument 95 loader.start(scriptExecutionContext, blob); in startLoading()
|
D | DOMFileSystem.h | 73 scheduleCallback(scriptExecutionContext(), callback, callbackArg); in scheduleCallback() 101 void DOMFileSystem::scheduleCallback(ScriptExecutionContext* scriptExecutionContext, PassRefPtr<CB>… in scheduleCallback() argument 103 ASSERT(scriptExecutionContext->isContextThread()); in scheduleCallback() 105 scriptExecutionContext->postTask(new DispatchCallbackTask<CB, CBArg>(callback, arg)); in scheduleCallback()
|
/external/webkit/Source/WebCore/websockets/ |
D | WebSocket.cpp | 120 …scriptExecutionContext()->addMessage(JSMessageSource, LogMessageType, ErrorMessageLevel, "Invalid … in connect() 127 …scriptExecutionContext()->addMessage(JSMessageSource, LogMessageType, ErrorMessageLevel, "Wrong ur… in connect() 133 …scriptExecutionContext()->addMessage(JSMessageSource, LogMessageType, ErrorMessageLevel, "URL has … in connect() 139 …scriptExecutionContext()->addMessage(JSMessageSource, LogMessageType, ErrorMessageLevel, "Wrong pr… in connect() 145 …scriptExecutionContext()->addMessage(JSMessageSource, LogMessageType, ErrorMessageLevel, makeStrin… in connect() 151 … m_channel = ThreadableWebSocketChannel::create(scriptExecutionContext(), this, m_url, m_protocol); in connect() 203 ScriptExecutionContext* WebSocket::scriptExecutionContext() const in scriptExecutionContext() function in WebCore::WebSocket 205 return ActiveDOMObject::scriptExecutionContext(); in scriptExecutionContext() 252 ASSERT(scriptExecutionContext()); in didConnect() 262 ASSERT(scriptExecutionContext()); in didReceiveMessage() [all …]
|
/external/webkit/Source/WebCore/bindings/js/ |
D | JSDOMGlobalObject.cpp | 94 JSDOMGlobalObject* toJSDOMGlobalObject(ScriptExecutionContext* scriptExecutionContext, JSC::ExecSta… in toJSDOMGlobalObject() argument 96 if (scriptExecutionContext->isDocument()) in toJSDOMGlobalObject() 97 return toJSDOMGlobalObject(static_cast<Document*>(scriptExecutionContext), exec); in toJSDOMGlobalObject() 100 if (scriptExecutionContext->isWorkerContext()) in toJSDOMGlobalObject() 101 … return static_cast<WorkerContext*>(scriptExecutionContext)->script()->workerContextWrapper(); in toJSDOMGlobalObject() 113 JSDOMGlobalObject* toJSDOMGlobalObject(ScriptExecutionContext* scriptExecutionContext, DOMWrapperWo… in toJSDOMGlobalObject() argument 115 if (scriptExecutionContext->isDocument()) in toJSDOMGlobalObject() 116 return toJSDOMGlobalObject(static_cast<Document*>(scriptExecutionContext), world); in toJSDOMGlobalObject() 119 if (scriptExecutionContext->isWorkerContext()) in toJSDOMGlobalObject() 120 … return static_cast<WorkerContext*>(scriptExecutionContext)->script()->workerContextWrapper(); in toJSDOMGlobalObject()
|
D | JSEventListener.cpp | 65 void JSEventListener::handleEvent(ScriptExecutionContext* scriptExecutionContext, Event* event) in handleEvent() argument 67 ASSERT(scriptExecutionContext); in handleEvent() 68 if (!scriptExecutionContext || scriptExecutionContext->isJSExecutionForbidden()) in handleEvent() 73 JSObject* jsFunction = this->jsFunction(scriptExecutionContext); in handleEvent() 77 …JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(scriptExecutionContext, m_isolatedWorld.get(… in handleEvent() 81 if (scriptExecutionContext->isDocument()) { in handleEvent() 121 retval = scriptExecutionContext->isDocument() in handleEvent() 126 retval = scriptExecutionContext->isDocument() in handleEvent() 135 if (scriptExecutionContext->isWorkerContext()) { in handleEvent() 138 static_cast<WorkerContext*>(scriptExecutionContext)->script()->forbidExecution(); in handleEvent()
|
D | JSErrorHandler.cpp | 53 void JSErrorHandler::handleEvent(ScriptExecutionContext* scriptExecutionContext, Event* event) in handleEvent() argument 56 return JSEventListener::handleEvent(scriptExecutionContext, event); in handleEvent() 58 ASSERT(scriptExecutionContext); in handleEvent() 59 if (!scriptExecutionContext) in handleEvent() 66 JSObject* jsFunction = this->jsFunction(scriptExecutionContext); in handleEvent() 70 JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(scriptExecutionContext, isolatedWorld()); in handleEvent()
|
D | JSAudioContextCustom.cpp | 48 ScriptExecutionContext* scriptExecutionContext = jsConstructor->scriptExecutionContext(); in constructJSAudioContext() local 49 if (!scriptExecutionContext) in constructJSAudioContext() 52 if (!scriptExecutionContext->isDocument()) in constructJSAudioContext() 55 Document* document = static_cast<Document*>(scriptExecutionContext); in constructJSAudioContext()
|
/external/webkit/Source/WebCore/notifications/ |
D | NotificationCenter.cpp | 49 if (!presenter() || !scriptExecutionContext()) in checkPermission() 51 return m_notificationPresenter->checkPermission(scriptExecutionContext()); in checkPermission() 56 if (!presenter() || !scriptExecutionContext()) in requestPermission() 58 m_notificationPresenter->requestPermission(scriptExecutionContext(), callback); in requestPermission() 68 m_notificationPresenter->cancelRequestsForPermission(scriptExecutionContext()); in disconnectFrame()
|
D | NotificationCenter.h | 61 …return Notification::create(scriptExecutionContext()->completeURL(URI), scriptExecutionContext(), … in createHTMLNotification() 70 …NotificationContents contents(iconURI.isEmpty() ? KURL() : scriptExecutionContext()->completeURL(i… in createNotification() 71 return Notification::create(contents, scriptExecutionContext(), ec, this); in createNotification()
|
/external/webkit/Source/WebCore/bindings/scripts/test/V8/ |
D | V8TestCallback.cpp | 62 v8::Handle<v8::Context> v8Context = toV8Context(scriptExecutionContext(), m_worldContext); in callbackWithNoParam() 72 return !invokeCallback(m_callback, 0, argv, callbackReturnValue, scriptExecutionContext()); in callbackWithNoParam() 82 v8::Handle<v8::Context> v8Context = toV8Context(scriptExecutionContext(), m_worldContext); in callbackWithClass1Param() 99 return !invokeCallback(m_callback, 1, argv, callbackReturnValue, scriptExecutionContext()); in callbackWithClass1Param() 109 v8::Handle<v8::Context> v8Context = toV8Context(scriptExecutionContext(), m_worldContext); in callbackWithClass2Param() 132 return !invokeCallback(m_callback, 2, argv, callbackReturnValue, scriptExecutionContext()); in callbackWithClass2Param() 142 v8::Handle<v8::Context> v8Context = toV8Context(scriptExecutionContext(), m_worldContext); in callbackWithStringList() 159 return !invokeCallback(m_callback, 1, argv, callbackReturnValue, scriptExecutionContext()); in callbackWithStringList()
|
/external/webkit/Source/WebCore/storage/ |
D | SQLTransactionSync.cpp | 64 ASSERT(m_database->scriptExecutionContext()->isContextThread()); in SQLTransactionSync() 69 ASSERT(m_database->scriptExecutionContext()->isContextThread()); in ~SQLTransactionSync() 76 ASSERT(m_database->scriptExecutionContext()->isContextThread()); in executeSQL() 91 if (!m_database->scriptExecutionContext()->allowDatabaseAccess()) in executeSQL() 128 ASSERT(m_database->scriptExecutionContext()->isContextThread()); in begin() 158 ASSERT(m_database->scriptExecutionContext()->isContextThread()); in execute() 170 ASSERT(m_database->scriptExecutionContext()->isContextThread()); in commit() 199 ASSERT(m_database->scriptExecutionContext()->isContextThread()); in rollback()
|
D | IDBRequest.cpp | 126 ASSERT(scriptExecutionContext()); in resetReadyState() 153 ASSERT(scriptExecutionContext()->isDocument()); in abort() 154 EventQueue* eventQueue = static_cast<Document*>(scriptExecutionContext())->eventQueue(); in abort() 200 RefPtr<IDBDatabase> idbDatabase = IDBDatabase::create(scriptExecutionContext(), backend); in onSuccess() 217 if (!scriptExecutionContext()) in onSuccess() 221 …RefPtr<IDBTransaction> frontend = IDBTransaction::create(scriptExecutionContext(), backend, m_sour… in onSuccess() 254 ScriptExecutionContext* IDBRequest::scriptExecutionContext() const in scriptExecutionContext() function in WebCore::IDBRequest 256 return ActiveDOMObject::scriptExecutionContext(); in scriptExecutionContext() 263 ASSERT(scriptExecutionContext()); in dispatchEvent() 312 if (!scriptExecutionContext()) in enqueueEvent() [all …]
|
D | IDBTransaction.cpp | 141 ScriptExecutionContext* IDBTransaction::scriptExecutionContext() const in scriptExecutionContext() function in WebCore::IDBTransaction 143 return ActiveDOMObject::scriptExecutionContext(); in scriptExecutionContext() 149 ASSERT(scriptExecutionContext()); in dispatchEvent() 186 if (!scriptExecutionContext()) in enqueueEvent() 189 ASSERT(scriptExecutionContext()->isDocument()); in enqueueEvent() 190 EventQueue* eventQueue = static_cast<Document*>(scriptExecutionContext())->eventQueue(); in enqueueEvent()
|
D | IDBDatabase.cpp | 148 ASSERT(scriptExecutionContext()->isDocument()); in close() 149 EventQueue* eventQueue = static_cast<Document*>(scriptExecutionContext())->eventQueue(); in close() 185 ASSERT(scriptExecutionContext()->isDocument()); in enqueueEvent() 186 EventQueue* eventQueue = static_cast<Document*>(scriptExecutionContext())->eventQueue(); in enqueueEvent() 210 ScriptExecutionContext* IDBDatabase::scriptExecutionContext() const in scriptExecutionContext() function in WebCore::IDBDatabase 212 return ActiveDOMObject::scriptExecutionContext(); in scriptExecutionContext()
|
/external/webkit/Source/WebCore/bindings/generic/ |
D | ActiveDOMCallback.cpp | 99 ScriptExecutionContext* scriptExecutionContext() in scriptExecutionContext() function in WebCore::ActiveDOMObjectCallbackImpl 102 return ActiveDOMObject::scriptExecutionContext(); in scriptExecutionContext() 116 ScriptExecutionContext* context = implOwnPtr->scriptExecutionContext(); in destroyOnContextThread() 137 ScriptExecutionContext* ActiveDOMCallback::scriptExecutionContext() const in scriptExecutionContext() function in WebCore::ActiveDOMCallback 139 return m_impl->scriptExecutionContext(); in scriptExecutionContext()
|
/external/webkit/Source/WebCore/xml/ |
D | XMLHttpRequest.cpp | 207 ASSERT(scriptExecutionContext()->isDocument()); in document() 208 return static_cast<Document*>(scriptExecutionContext()); in document() 214 if (scriptExecutionContext()->isWorkerContext()) in usesDashboardBackwardCompatibilityMode() 246 … if ((m_response.isHTTP() && !responseIsXML()) || scriptExecutionContext()->isWorkerContext()) { in responseXML() 352 if (!scriptExecutionContext()) in callReadyStateChangeListener() 355 …nCookie cookie = InspectorInstrumentation::willChangeXHRReadyState(scriptExecutionContext(), this); in callReadyStateChangeListener() 363 …strumentationCookie cookie = InspectorInstrumentation::willLoadXHR(scriptExecutionContext(), this); in callReadyStateChangeListener() 465 if (!scriptExecutionContext()) in initSend() 621 m_sameOriginRequest = scriptExecutionContext()->securityOrigin()->canRequest(m_url); in createRequest() 657 m_loader = ThreadableLoader::create(scriptExecutionContext(), this, request, options); in createRequest() [all …]
|
/external/webkit/Source/WebCore/workers/ |
D | WorkerScriptLoader.cpp | 54 void WorkerScriptLoader::loadSynchronously(ScriptExecutionContext* scriptExecutionContext, const KU… in loadSynchronously() argument 62 ASSERT(scriptExecutionContext->isWorkerContext()); in loadSynchronously() 69 …bleLoader::loadResourceSynchronously(static_cast<WorkerContext*>(scriptExecutionContext), *request… in loadSynchronously() 72 void WorkerScriptLoader::loadAsynchronously(ScriptExecutionContext* scriptExecutionContext, const K… in loadAsynchronously() argument 87 m_threadableLoader = ThreadableLoader::create(scriptExecutionContext, this, *request, options); in loadAsynchronously()
|
/external/webkit/Source/WebCore/storage/chromium/ |
D | DatabaseTrackerChromium.cpp | 59 bool DatabaseTracker::canEstablishDatabase(ScriptExecutionContext* scriptExecutionContext, const St… in canEstablishDatabase() argument 61 …return DatabaseObserver::canEstablishDatabase(scriptExecutionContext, name, displayName, estimated… in canEstablishDatabase() 76 ASSERT(database->scriptExecutionContext()->isContextThread()); in addOpenDatabase() 122 if (!database->scriptExecutionContext()->isContextThread()) { in removeOpenDatabase() 123 … database->scriptExecutionContext()->postTask(TrackerRemoveOpenDatabaseTask::create(database)); in removeOpenDatabase() 195 if ((*dbSetIt)->scriptExecutionContext() == context) in interruptAllDatabasesForContext()
|
D | SQLTransactionClientChromium.cpp | 65 if (!database->scriptExecutionContext()->isContextThread()) { in didCommitWriteTransaction() 66 database->scriptExecutionContext()->postTask(NotifyDatabaseChangedTask::create(database)); in didCommitWriteTransaction() 83 ASSERT(database->scriptExecutionContext()->isContextThread()); in didExceedQuota()
|
/external/webkit/Source/WebCore/page/ |
D | DOMTimer.cpp | 73 scriptExecutionContext()->addTimeout(m_timeoutId, this); in DOMTimer() 84 if (scriptExecutionContext()) in ~DOMTimer() 85 scriptExecutionContext()->removeTimeout(m_timeoutId); in ~DOMTimer() 115 ScriptExecutionContext* context = scriptExecutionContext(); in fired() 175 double newMinimumInterval = scriptExecutionContext()->minimumTimerInterval(); in adjustMinimumTimerInterval()
|
/external/webkit/Source/WebCore/html/ |
D | DOMURL.h | 42 …DOMURL> create(ScriptExecutionContext* scriptExecutionContext) { return adoptRef(new DOMURL(script… in create() argument 49 ScriptExecutionContext* scriptExecutionContext() const { return m_scriptExecutionContext; } in scriptExecutionContext() function
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
D | V8SQLTransactionCustom.cpp | 93 ScriptExecutionContext* scriptExecutionContext = getScriptExecutionContext(); in executeSqlCallback() local 94 if (!scriptExecutionContext) in executeSqlCallback() 101 callback = V8SQLStatementCallback::create(args[2], scriptExecutionContext); in executeSqlCallback() 108 errorCallback = V8SQLStatementErrorCallback::create(args[3], scriptExecutionContext); in executeSqlCallback()
|