Home
last modified time | relevance | path

Searched refs:contextDocument (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/dom/
DScriptLoader.cpp207 Document* contextDocument = elementDocument.contextDocument().get(); in prepareScript() local
209 if (!contextDocument || !contextDocument->allowExecutingScripts(m_element)) in prepareScript()
235contextDocument->scriptRunner()->queueScriptForExecution(this, m_resource, ScriptRunner::IN_ORDER_… in prepareScript()
238contextDocument->scriptRunner()->queueScriptForExecution(this, m_resource, ScriptRunner::ASYNC_EXE… in prepareScript()
306 RefPtr<Document> contextDocument = elementDocument->contextDocument().get(); in executeScript() local
307 if (!contextDocument) in executeScript()
310 Frame* frame = contextDocument->frame(); in executeScript()
318contextDocument->addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, "Refused to execute s… in executeScript()
323 …ncrementer ignoreDesctructiveWriteCountIncrementer(m_isExternalScript ? contextDocument.get() : 0); in executeScript()
326 contextDocument->pushCurrentScript(toHTMLScriptElement(m_element)); in executeScript()
[all …]
DDocumentInit.cpp64 DocumentInit::DocumentInit(const KURL& url, Frame* frame, WeakPtr<Document> contextDocument, HTMLIm… in DocumentInit() argument
69 , m_contextDocument(contextDocument) in DocumentInit()
160 WeakPtr<Document> DocumentInit::contextDocument() const in contextDocument() function in WebCore::DocumentInit
165 DocumentInit DocumentInit::fromContext(WeakPtr<Document> contextDocument, const KURL& url) in fromContext() argument
167 return DocumentInit(url, 0, contextDocument, 0); in fromContext()
DDocumentInit.h71 WeakPtr<Document> contextDocument() const;
73 static DocumentInit fromContext(WeakPtr<Document> contextDocument, const KURL& = KURL());
DDOMImplementation.cpp200 DocumentInit init = DocumentInit::fromContext(m_document.contextDocument()); in createDocument()
310 DocumentInit init = DocumentInit::fromContext(m_document.contextDocument()) in createHTMLDocument()
DDocument.cpp429 , m_contextDocument(initializer.contextDocument()) in Document()
4162 WeakPtr<Document> Document::contextDocument() in contextDocument() function in WebCore::Document
4393 initSecurityContext(DocumentInit(m_url, m_frame, contextDocument(), m_import)); in initSecurityContext()
4508 if (!contextDocument().get()->frame()->script().canExecuteScripts(AboutToExecuteScript)) in allowExecutingScripts()
5154 DocumentInit init = DocumentInit::fromContext(contextDocument(), blankURL()); in ensureTemplateDocument()
DDocument.h796 WeakPtr<Document> contextDocument();
DNode.cpp2112 return document().contextDocument().get(); in executionContext()
/external/chromium_org/third_party/WebKit/Source/core/testing/
DInternals.cpp221 Document* Internals::contextDocument() const in contextDocument() function in WebCore::Internals
228 if (!contextDocument()) in frame()
230 return contextDocument()->frame(); in frame()
235 Document* document = contextDocument(); in settings()
283 Document* document = contextDocument(); in updateStyleAndReturnAffectedElementCount()
296 Document* document = contextDocument(); in isPreloaded()
302 if (!contextDocument()) in isLoadingFromMemoryCache()
304 Resource* resource = memoryCache()->resourceForURL(contextDocument()->completeURL(url)); in isLoadingFromMemoryCache()
315 Document* document = contextDocument(); in setStyleResolverStatsEnabled()
324 Document* document = contextDocument(); in styleResolverStatsReport()
[all …]
DInternals.h312 Document* contextDocument() const;
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLImportLoader.cpp101 …DocumentInit init = DocumentInit(response.url(), 0, m_import->master()->contextDocument(), m_impor… in startWritingAndParsing()
/external/chromium_org/third_party/WebKit/Source/core/xml/
DXMLHttpRequest.cpp254 DocumentInit init = DocumentInit::fromContext(document()->contextDocument(), m_url); in responseXML()