Home
last modified time | relevance | path

Searched refs:m_document (Results 1 – 25 of 114) sorted by relevance

12345

/external/chromium_org/third_party/WebKit/Source/core/css/
DMediaQueryMatcher.cpp42 : m_document(&document) in MediaQueryMatcher()
44 ASSERT(m_document); in MediaQueryMatcher()
51 m_document = nullptr; in DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED()
57 if (!m_document || !m_document->frame()) in createEvaluator()
60 return adoptPtr(new MediaQueryEvaluator(m_document->frame())); in createEvaluator()
65 ASSERT(!m_document || m_document->frame() || !m_evaluator); in evaluate()
82 if (!m_document) in matchMedia()
87 reportMediaQueryWarningIfNeeded(m_document, media.get()); in matchMedia()
88 return MediaQueryList::create(m_document, this, media); in matchMedia()
93 if (!m_document) in addMediaQueryList()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/xml/parser/
DXMLErrors.cpp46 : m_document(document) in XMLErrors()
54 visitor->trace(m_document); in trace()
125 RefPtrWillBeRawPtr<Element> documentElement = m_document->documentElement(); in insertErrorMessageBlock()
127 RefPtrWillBeRawPtr<Element> rootElement = m_document->createElement(htmlTag, true); in insertErrorMessageBlock()
128 RefPtrWillBeRawPtr<Element> body = m_document->createElement(bodyTag, true); in insertErrorMessageBlock()
130 m_document->parserAppendChild(rootElement); in insertErrorMessageBlock()
133 RefPtrWillBeRawPtr<Element> rootElement = m_document->createElement(htmlTag, true); in insertErrorMessageBlock()
134 RefPtrWillBeRawPtr<Element> head = m_document->createElement(headTag, true); in insertErrorMessageBlock()
135 RefPtrWillBeRawPtr<Element> style = m_document->createElement(styleTag, true); in insertErrorMessageBlock()
137 …style->parserAppendChild(m_document->createTextNode("html, body { height: 100% } parsererror + svg… in insertErrorMessageBlock()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLScriptRunner.cpp48 : m_document(document) in HTMLScriptRunner()
67 ASSERT(!m_document); in ~HTMLScriptRunner()
73 if (!m_document) in detach()
82 m_document = nullptr; in detach()
107 m_hasScriptsWaitingForResources = !m_document->isScriptExecutionReady(); in isPendingScriptReady()
115 ASSERT(m_document); in executeParsingBlockingScript()
117 ASSERT(m_document->isScriptExecutionReady()); in executeParsingBlockingScript()
128 …ScriptSourceCode sourceCode = pendingScript.getSource(documentURLForScriptExecution(m_document), e… in executePendingScriptAndDispatchEvent()
136 m_hasScriptsWaitingForResources = !m_document->isScriptExecutionReady(); in executePendingScriptAndDispatchEvent()
148 IgnoreDestructiveWriteCountIncrementer ignoreDestructiveWriteCountIncrementer(m_document); in executePendingScriptAndDispatchEvent()
[all …]
DXSSAuditorDelegate.cpp70 : m_document(document) in XSSAuditorDelegate()
74 ASSERT(m_document); in XSSAuditorDelegate()
79 visitor->trace(m_document); in trace()
86 FrameLoader& frameLoader = m_document->frame()->loader(); in generateViolationReport()
107m_document->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, xssInfo.b… in didBlockScript()
110 RefPtrWillBeRawPtr<LocalFrame> protect(m_document->frame()); in didBlockScript()
111 FrameLoader& frameLoader = m_document->frame()->loader(); in didBlockScript()
118 frameLoader.client()->didDetectXSS(m_document->url(), xssInfo.m_didBlockEntirePage); in didBlockScript()
121 …PingLoader::sendViolationReport(m_document->frame(), m_reportURL, generateViolationReport(xssInfo)… in didBlockScript()
125 m_document->frame()->navigationScheduler().schedulePageBlock(m_document, Referrer()); in didBlockScript()
DHTMLParserScheduler.cpp45 : m_document(document) in ActiveParserSession()
47 if (!m_document) in ActiveParserSession()
49 m_document->incrementActiveParserCount(); in ActiveParserSession()
54 if (!m_document) in ~ActiveParserSession()
56 m_document->decrementActiveParserCount(); in ~ActiveParserSession()
DHTMLResourcePreloader.cpp65 : m_document(document) in HTMLResourcePreloader()
76 visitor->trace(m_document); in trace()
90 FetchRequest request = preload->resourceRequest(m_document); in preload()
93 m_document->fetcher()->preload(preload->resourceType(), request, preload->charset()); in preload()
/external/chromium_org/third_party/WebKit/Source/core/loader/
DDocumentWriter.cpp53 : m_document(document) in DocumentWriter()
58 , m_parser(m_document->implicitOpen()) in DocumentWriter()
60 if (m_document->frame()) { in DocumentWriter()
61 if (FrameView* view = m_document->frame()->view()) in DocumentWriter()
72 visitor->trace(m_document); in trace()
78 m_document->setCompatibilityMode(Document::NoQuirksMode); in appendReplacingData()
82 if (DocumentParser* parser = m_document->parser()) { in appendReplacingData()
94 OwnPtr<TextResourceDecoder> decoder = m_decoderBuilder.buildFor(m_document); in addData()
104 ASSERT(m_document); in end()
109 RefPtrWillBeRawPtr<LocalFrame> protect(m_document->frame()); in end()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/html/imports/
DHTMLImportTreeRoot.cpp22 , m_document(document) in HTMLImportTreeRoot()
34 m_document = nullptr; in ~HTMLImportTreeRoot()
40 return m_document; in document()
45 return !m_document->parsing() && m_document->styleEngine()->haveStylesheetsLoaded(); in isDone()
59 if (LocalFrame* frame = m_document->frame()) in stateDidChange()
66 ASSERT(m_document); in scheduleRecalcState()
67 if (m_recalcTimer.isActive() || !m_document->isActive()) in scheduleRecalcState()
70 if (m_recalcTimer.isActive() || !m_document) in scheduleRecalcState()
95 ASSERT(m_document); in recalcTimerFired()
105 visitor->trace(m_document); in trace()
DHTMLImportLoader.cpp70 if (m_document) { in clear()
71 m_document->setImportsController(0); in clear()
72 m_document->cancelParsing(); in clear()
73 m_document.clear(); in clear()
117 m_document = HTMLDocument::create(init); in startWritingAndParsing()
118 m_writer = DocumentWriter::create(m_document.get(), response.mimeType(), "UTF-8"); in startWritingAndParsing()
120 DocumentParser* parser = m_document->parser(); in startWritingAndParsing()
165 DocumentParser* parser = m_document->parser(); in notifyParserStopped()
178 return m_document && m_document->styleEngine()->hasPendingSheets(); in hasPendingResources()
188 ASSERT(!m_document || !m_document->parsing()); in didFinishLoading()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/animation/
DAnimationTimeline.cpp64 : m_document(document) in AnimationTimeline()
85 …RefPtrWillBeRawPtr<AnimationPlayer> player = AnimationPlayer::create(m_document->contextDocument()… in createAnimationPlayer()
94 if (!m_document) in play()
160 if (m_timeline->m_document && m_timeline->m_document->view()) in serviceOnNextFrame()
161 m_timeline->m_document->view()->scheduleAnimation(); in serviceOnNextFrame()
172 if (!m_zeroTime && m_document && m_document->loader()) { in zeroTime()
173 m_zeroTime = m_document->loader()->timing()->referenceMonotonicTime(); in zeroTime()
185 if (!m_document) { in currentTimeInternal()
189 double result = m_document->animationClock().currentTime() - zeroTime(); in currentTimeInternal()
231 if (m_document && m_document->page() && !m_document->page()->animator().isServicingAnimations()) in setOutdatedAnimationPlayer()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/dom/
DScriptedAnimationController.cpp48 : m_document(document) in ScriptedAnimationController()
63 visitor->trace(m_document); in trace()
92 …s.timeline"), "RequestAnimationFrame", "data", InspectorAnimationFrameEvent::data(m_document, id)); in registerCallback()
95 InspectorInstrumentation::didRequestAnimationFrame(m_document, id); in registerCallback()
104 …ls.timeline"), "CancelAnimationFrame", "data", InspectorAnimationFrameEvent::data(m_document, id)); in cancelCallback()
107 InspectorInstrumentation::didCancelAnimationFrame(m_document, id); in cancelCallback()
114 …ls.timeline"), "CancelAnimationFrame", "data", InspectorAnimationFrameEvent::data(m_document, id)); in cancelCallback()
117 InspectorInstrumentation::didCancelAnimationFrame(m_document, id); in cancelCallback()
148 if (!m_document) in executeCallbacks()
151 …double highResNowMs = 1000.0 * m_document->loader()->timing()->monotonicTimeToZeroBasedDocumentTim… in executeCallbacks()
[all …]
DStyleEngine.cpp55 : m_document(&document) in StyleEngine()
111 return m_document; in master()
147 if (treeScope == m_document) in ensureStyleSheetCollectionFor()
158 if (treeScope == m_document) in styleSheetCollectionFor()
169 if (treeScope == m_document) in styleSheetsForStyleSheetList()
219 … RefPtrWillBeRawPtr<CSSStyleSheet> groupSheet = CSSStyleSheet::createInline(m_document, KURL()); in updateInjectedStyleSheetCache()
242 m_authorStyleSheets.append(CSSStyleSheet::create(authorSheet, m_document)); in addAuthorSheet()
256 …LStyleElement(*styleSheetCandidateNode) ? &styleSheetCandidateNode->treeScope() : m_document.get(); in removePendingSheet()
280 TreeScope& treeScope = isHTMLStyleElement(*node) ? node->treeScope() : *m_document; in modifiedStyleSheet()
281 ASSERT(isHTMLStyleElement(node) || treeScope == m_document); in modifiedStyleSheet()
[all …]
DScriptRunner.cpp39 : m_document(document) in ScriptRunner()
51 m_document->incrementLoadEventDelayCount(); in addPendingAsyncScript()
70 m_document->incrementLoadEventDelayCount(); in queueScriptForExecution()
108 m_document->decrementLoadEventDelayCount(); in notifyScriptLoadError()
121 m_document->decrementLoadEventDelayCount(); in movePendingAsyncScript()
129 RefPtrWillBeRawPtr<Document> protect(m_document.get()); in timerFired()
145 m_document->decrementLoadEventDelayCount(); in timerFired()
152 visitor->trace(m_document); in trace()
DIncrementLoadEventDelayCount.cpp18 : m_document(&document) in IncrementLoadEventDelayCount()
25 m_document->decrementLoadEventDelayCount(); in ~IncrementLoadEventDelayCount()
31 m_document->decrementLoadEventDelayCount(); in documentChanged()
32 m_document = &newDocument; in documentChanged()
DDocumentParser.cpp39 , m_document(document) in DocumentParser()
50 ASSERT(!m_document); in ~DocumentParser()
56 visitor->trace(m_document); in trace()
98 m_document = nullptr; in detach()
DDOMImplementation.h51 void ref() { m_document->ref(); } in ref()
52 void deref() { m_document->deref(); } in deref()
54 Document& document() const { return *m_document; } in document()
78 RawPtrWillBeMember<Document> m_document; variable
/external/chromium_org/third_party/WebKit/Source/core/editing/
DEditCommand.cpp38 : m_document(&document) in EditCommand()
41 ASSERT(m_document); in EditCommand()
42 ASSERT(m_document->frame()); in EditCommand()
43 setStartingSelection(m_document->frame()->selection().selection()); in EditCommand()
48 : m_document(document) in EditCommand()
51 ASSERT(m_document); in EditCommand()
52 ASSERT(m_document->frame()); in EditCommand()
125 visitor->trace(m_document); in trace()
DFrameSelectionTest.cpp40 RawPtr<HTMLDocument> m_document; member in __anoncca6e93d0111::FrameSelectionTest
47 m_document = toHTMLDocument(&m_dummyPageHolder->document()); in SetUp()
48 ASSERT(m_document); in SetUp()
49 m_textNode = m_document->createTextNode("Hello, World!"); in SetUp()
50 m_document->body()->appendChild(m_textNode.get()); in SetUp()
55 return *m_document; in document()
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
DMainThreadWebSocketChannel.cpp64 : m_document(document) in MainThreadWebSocketChannel()
83 if (m_document->page()) in MainThreadWebSocketChannel()
97 …if (m_document->frame() && !m_document->frame()->loader().mixedContentChecker()->canConnectInsecur… in connect()
99 if (MixedContentChecker::isMixedContent(m_document->securityOrigin(), url)) { in connect()
101m_document->addConsoleMessage(ConsoleMessage::create(JSMessageSource, WarningMessageLevel, message… in connect()
104 m_handshake = new WebSocketHandshake(url, protocol, m_document); in connect()
109 …line"), "WebSocketCreate", "data", InspectorWebSocketCreateEvent::data(m_document, m_identifier, u… in connect()
112 InspectorInstrumentation::didCreateWebSocket(m_document, m_identifier, url, protocol); in connect()
118 if (m_document->frame()) { in connect()
119 m_document->frame()->loader().client()->dispatchWillOpenSocketStream(m_handle.get()); in connect()
[all …]
DWebSocketHandshake.cpp127 , m_document(document) in WebSocketHandshake()
171 return m_document->securityOrigin()->toString(); in clientOrigin()
189 ASSERT(m_document); in clientHandshakeMessage()
219 fields.append("User-Agent: " + m_document->userAgent(m_document->url())); in clientHandshakeMessage()
237 ASSERT(m_document); in clientHandshakeRequest()
252 String cookie = cookieRequestHeaderFieldValue(m_document, url); in clientHandshakeRequest()
266 request->addHeaderField("User-Agent", AtomicString(m_document->userAgent(m_document->url()))); in clientHandshakeRequest()
279 m_document = nullptr; in clearDocument()
553 visitor->trace(m_document); in trace()
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DViewportStyleResolver.cpp48 : m_document(document) in ViewportStyleResolver()
51 ASSERT(m_document); in ViewportStyleResolver()
87 if (!m_document) in resolve()
91m_document->setViewportDescription(ViewportDescription(ViewportDescription::UserAgentStyleSheet)); in resolve()
107 m_document->setViewportDescription(description); in resolve()
133 …return primitiveValue->getFloatValue() * m_document->renderStyle()->fontDescription().computedSize… in viewportArgumentValue()
182 RenderStyle* documentStyle = m_document->renderStyle(); in viewportLengthValue()
188 FrameView* view = m_document->view(); in viewportLengthValue()
194 m_document->setHasViewportUnits(); in viewportLengthValue()
203 visitor->trace(m_document); in trace()
DFontBuilder.cpp64 : m_document(nullptr) in FontBuilder()
73 m_document = &document; in initForStyleResolve()
95 ASSERT(m_document && m_document->settings()); in setInitial()
96 if (!m_document || !m_document->settings()) in setInitial()
102 setFontFamilyToStandard(scope.fontDescription(), m_document); in setInitial()
130 const Settings* settings = m_document->settings(); in fromSystemFont()
144 setFontFamilyToStandard(scope.fontDescription(), m_document); in setFontFamilyInitial()
176 Settings* settings = m_document->settings(); in setFontFamilyValue()
320 …specifiedSize = FontSize::fontSizeForKeyword(m_document, size.keyword, fontDescription.fixedPitchF… in setSize()
338 if (LocalFrame* frame = m_document->frame()) in getComputedSizeFromSpecifiedSize()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/fetch/
DDocumentResourceReference.h36 …DocumentResourceReference(DocumentResource* document) : m_document(document) { m_document->addClie… in DocumentResourceReference()
37 virtual ~DocumentResourceReference() { m_document->removeClient(this); } in ~DocumentResourceReference()
38 DocumentResource* document() { return m_document.get(); } in document()
40 ResourcePtr<DocumentResource> m_document;
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLFormControlElementTest.cpp22 HTMLDocument& document() const { return *m_document; } in document()
26 RefPtrWillBePersistent<HTMLDocument> m_document; member in blink::HTMLFormControlElementTest
35 m_document = toHTMLDocument(&m_dummyPageHolder->document()); in SetUp()
36 m_document->setMimeType("text/html"); in SetUp()
37 m_document->setCharset("utf-8"); in SetUp()
DHTMLSelectElementTest.cpp20 HTMLDocument& document() const { return *m_document; } in document()
24 RefPtrWillBePersistent<HTMLDocument> m_document; member in blink::HTMLSelectElementTest
33 m_document = toHTMLDocument(&m_dummyPageHolder->document()); in SetUp()
34 m_document->setMimeType("text/html"); in SetUp()
35 m_document->setCharset("utf-8"); in SetUp()

12345