/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | MediaQueryMatcher.cpp | 53 : m_document(document) in MediaQueryMatcher() 56 ASSERT(m_document); in MediaQueryMatcher() 64 m_document = nullptr; in DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED() 69 if (!m_document || !m_document->frame() || !m_document->frame()->view()) in mediaType() 72 return m_document->frame()->view()->mediaType(); in mediaType() 77 if (!m_document || !m_document->frame()) in prepareEvaluator() 80 return adoptPtr(new MediaQueryEvaluator(mediaType(), m_document->frame())); in prepareEvaluator() 94 if (!m_document) in matchMedia() 99 reportMediaQueryWarningIfNeeded(m_document, media.get()); in matchMedia() 105 if (!m_document) in addListener() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
D | XMLErrors.cpp | 46 : 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 …]
|
D | XMLTreeViewer.cpp | 45 : m_document(document) in XMLTreeViewer() 51 m_document->setIsViewSource(true); in transformDocumentToTreeView() 53 …m_document->frame()->script().executeScriptInMainWorld(scriptString, ScriptController::ExecuteScri… in transformDocumentToTreeView() 55 …m_document->frame()->script().executeScriptInMainWorld("prepareWebKitXMLViewer('" + noStyleMessage… in transformDocumentToTreeView() 58 …m_document->getElementById("xml-viewer-style")->appendChild(m_document->createTextNode(cssString),… in transformDocumentToTreeView()
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
D | DocumentWriter.cpp | 53 : 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 RefPtr<LocalFrame> protector(m_document->frame()); in end() [all …]
|
D | TextTrackLoader.cpp | 43 , m_document(document) in TextTrackLoader() 80 m_cueParser = VTTParser::create(this, m_document); in dataReceived() 88 m_document.addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, consoleMessage); in corsPolicyPreventedLoad() 111 …FetchRequest cueRequest(ResourceRequest(m_document.completeURL(url)), FetchInitiatorTypeNames::tex… in load() 114 cueRequest.setCrossOriginAccessControl(m_document.securityOrigin(), crossOriginMode); in load() 115 } else if (!m_document.securityOrigin()->canRequest(url)) { in load() 117 corsPolicyPreventedLoad(m_document.securityOrigin(), url); in load() 121 ResourceFetcher* fetcher = m_document.fetcher(); in load()
|
D | DocumentThreadableLoader.cpp | 73 , m_document(document) in DocumentThreadableLoader() 203 …rInstrumentation::didReceiveCORSRedirectResponse(m_document.frame(), resource->identifier(), m_doc… in redirectReceived() 284 DocumentLoader* loader = m_document.frame()->loader().documentLoader(); in handlePreflightResponse() 285 …eiveResponse", "data", InspectorReceiveResponseEvent::data(identifier, m_document.frame(), respons… in handlePreflightResponse() 287 …InspectorInstrumentation::didReceiveResourceResponse(m_document.frame(), identifier, loader, respo… in handlePreflightResponse() 428 setResource(m_document.fetcher()->fetchMedia(newRequest)); in loadRequest() 430 setResource(m_document.fetcher()->fetchRawResource(newRequest)); in loadRequest() 433 …InspectorInstrumentation::documentThreadableLoaderStartedLoadingForClient(&m_document, identifier,… in loadRequest() 439 ResourcePtr<Resource> resource = m_document.fetcher()->fetchSynchronously(fetchRequest); in loadRequest() 444 …InspectorInstrumentation::documentThreadableLoaderStartedLoadingForClient(&m_document, identifier,… in loadRequest() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/html/imports/ |
D | HTMLImportTreeRoot.cpp | 22 , 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()
|
D | HTMLImportLoader.cpp | 69 if (m_document) { in clear() 70 m_document->setImportsController(0); in clear() 71 m_document->cancelParsing(); in clear() 72 m_document.clear(); in clear() 116 m_document = HTMLDocument::create(init); in startWritingAndParsing() 117 m_writer = DocumentWriter::create(m_document.get(), response.mimeType(), "UTF-8"); in startWritingAndParsing() 169 return m_document && m_document->styleEngine()->hasPendingSheets(); in hasPendingResources() 179 ASSERT(!m_document || !m_document->parsing()); in didFinishLoading() 224 visitor->trace(m_document); in trace()
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | ScriptedAnimationController.cpp | 46 : m_document(document) in ScriptedAnimationController() 58 visitor->trace(m_document); in trace() 87 …s.timeline"), "RequestAnimationFrame", "data", InspectorAnimationFrameEvent::data(m_document, id)); in registerCallback() 90 InspectorInstrumentation::didRequestAnimationFrame(m_document, id); in registerCallback() 99 …ls.timeline"), "CancelAnimationFrame", "data", InspectorAnimationFrameEvent::data(m_document, id)); in cancelCallback() 102 InspectorInstrumentation::didCancelAnimationFrame(m_document, id); in cancelCallback() 109 …ls.timeline"), "CancelAnimationFrame", "data", InspectorAnimationFrameEvent::data(m_document, id)); in cancelCallback() 112 InspectorInstrumentation::didCancelAnimationFrame(m_document, id); in cancelCallback() 143 if (!m_document) in executeCallbacks() 146 …double highResNowMs = 1000.0 * m_document->loader()->timing()->monotonicTimeToZeroBasedDocumentTim… in executeCallbacks() [all …]
|
D | StyleEngine.cpp | 55 : m_document(&document) in StyleEngine() 112 return m_document; in master() 148 if (treeScope == m_document) in ensureStyleSheetCollectionFor() 159 if (treeScope == m_document) in styleSheetCollectionFor() 170 if (treeScope == m_document) in styleSheetsForStyleSheetList() 220 … RefPtrWillBeRawPtr<CSSStyleSheet> groupSheet = CSSStyleSheet::createInline(m_document, KURL()); in updateInjectedStyleSheetCache() 237 m_authorStyleSheets.append(CSSStyleSheet::create(authorSheet, m_document)); in addAuthorSheet() 251 …LStyleElement(*styleSheetCandidateNode) ? &styleSheetCandidateNode->treeScope() : m_document.get(); in removePendingSheet() 275 TreeScope& treeScope = isHTMLStyleElement(*node) ? node->treeScope() : *m_document; in modifiedStyleSheet() 276 ASSERT(isHTMLStyleElement(node) || treeScope == m_document); in modifiedStyleSheet() [all …]
|
D | IncrementLoadEventDelayCount.cpp | 13 : m_document(&document) in IncrementLoadEventDelayCount() 20 m_document->decrementLoadEventDelayCount(); in ~IncrementLoadEventDelayCount() 26 m_document->decrementLoadEventDelayCount(); in documentChanged() 27 m_document = &newDocument; in documentChanged()
|
D | ScriptRunner.cpp | 39 : m_document(document) in ScriptRunner() 58 m_document->incrementLoadEventDelayCount(); in queueScriptForExecution() 103 m_document->decrementLoadEventDelayCount(); in notifyScriptLoadError() 116 RefPtrWillBeRawPtr<Document> protect(m_document.get()); in timerFired() 132 m_document->decrementLoadEventDelayCount(); in timerFired() 138 visitor->trace(m_document); in trace()
|
D | DocumentParser.cpp | 38 , m_document(document) in DocumentParser() 49 ASSERT(!m_document); in ~DocumentParser() 55 visitor->trace(m_document); in trace() 87 m_document = nullptr; in detach()
|
D | VisitedLinkState.cpp | 58 : m_document(document) in VisitedLinkState() 66 …for (Element* element = ElementTraversal::firstWithin(m_document); element; element = ElementTrave… in invalidateStyleForAllLinks() 76 …for (Element* element = ElementTraversal::firstWithin(m_document); element; element = ElementTrave… in invalidateStyleForLink() 85 ASSERT(m_document.isActive()); in determineLinkStateSlowCase() 86 ASSERT(m_document == element.document()); in determineLinkStateSlowCase()
|
D | DOMImplementation.h | 51 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/html/parser/ |
D | XSSAuditorDelegate.cpp | 69 : m_document(document) in XSSAuditorDelegate() 73 ASSERT(m_document); in XSSAuditorDelegate() 80 FrameLoader& frameLoader = m_document->frame()->loader(); in generateViolationReport() 101 m_document->addConsoleMessage(JSMessageSource, ErrorMessageLevel, xssInfo.buildConsoleError()); in didBlockScript() 104 RefPtr<LocalFrame> protect(m_document->frame()); in didBlockScript() 105 FrameLoader& frameLoader = m_document->frame()->loader(); in didBlockScript() 112 frameLoader.client()->didDetectXSS(m_document->url(), xssInfo.m_didBlockEntirePage); in didBlockScript() 115 …PingLoader::sendViolationReport(m_document->frame(), m_reportURL, generateViolationReport(xssInfo)… in didBlockScript() 119 …m_document->frame()->navigationScheduler().scheduleLocationChange(m_document, SecurityOrigin::urlW… in didBlockScript()
|
D | HTMLScriptRunner.cpp | 47 : m_document(document) in HTMLScriptRunner() 65 ASSERT(!m_document); in ~HTMLScriptRunner() 71 if (!m_document) in detach() 82 m_document = nullptr; in detach() 113 …rceCode(script.element()->textContent(), documentURLForScriptExecution(m_document), script.startin… in sourceFromPendingScript() 118 m_hasScriptsWaitingForResources = !m_document->isScriptExecutionReady(); in isPendingScriptReady() 128 ASSERT(m_document); in executeParsingBlockingScript() 130 ASSERT(m_document->isScriptExecutionReady()); in executeParsingBlockingScript() 149 m_hasScriptsWaitingForResources = !m_document->isScriptExecutionReady(); in executePendingScriptAndDispatchEvent() 160 IgnoreDestructiveWriteCountIncrementer ignoreDestructiveWriteCountIncrementer(m_document); in executePendingScriptAndDispatchEvent() [all …]
|
D | HTMLParserScheduler.cpp | 45 : 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()
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
D | AnimationTimeline.cpp | 54 : m_document(document) in AnimationTimeline() 74 …RefPtrWillBeRawPtr<AnimationPlayer> player = AnimationPlayer::create(m_document->contextDocument()… in createAnimationPlayer() 83 if (!m_document) in play() 86 m_document->compositorPendingAnimations().add(player); in play() 136 if (m_timeline->m_document && m_timeline->m_document->view()) in serviceOnNextFrame() 137 m_timeline->m_document->view()->scheduleAnimation(); in serviceOnNextFrame() 153 if (!m_document) { in currentTimeInternal() 157 double result = m_document->animationClock().currentTime() - zeroTime(); in currentTimeInternal() 199 if (m_document && m_document->page() && !m_document->page()->animator().isServicingAnimations()) in setOutdatedAnimationPlayer() 220 m_document = nullptr; in detachFromDocument() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | EditCommand.cpp | 38 : 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()
|
/external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
D | MainThreadWebSocketChannel.cpp | 65 : m_document(document) in MainThreadWebSocketChannel() 84 if (m_document->page()) in MainThreadWebSocketChannel() 98 …if (m_document->frame() && !m_document->frame()->loader().mixedContentChecker()->canConnectInsecur… in connect() 100 if (MixedContentChecker::isMixedContent(m_document->securityOrigin(), url)) { in connect() 102 m_document->addConsoleMessage(JSMessageSource, WarningMessageLevel, message); in connect() 105 m_handshake = adoptPtr(new WebSocketHandshake(url, protocol, m_document)); in connect() 110 …line"), "WebSocketCreate", "data", InspectorWebSocketCreateEvent::data(m_document, m_identifier, u… in connect() 113 InspectorInstrumentation::didCreateWebSocket(m_document, m_identifier, url, protocol); in connect() 119 if (m_document->frame()) { in connect() 120 m_document->frame()->loader().client()->dispatchWillOpenSocketStream(m_handle.get()); in connect() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
D | DocumentResourceReference.h | 36 …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/css/resolver/ |
D | ViewportStyleResolver.cpp | 48 : m_document(document) in ViewportStyleResolver() 51 ASSERT(m_document); in ViewportStyleResolver() 87 if (!m_document) in resolve() 91 … m_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()
|
D | FontBuilder.cpp | 64 : m_document(0) in FontBuilder() 74 m_document = &document; in initForStyleResolve() 96 ASSERT(m_document && m_document->settings()); in setInitial() 97 if (!m_document || !m_document->settings()) in setInitial() 103 setFontFamilyToStandard(scope.fontDescription(), m_document); in setInitial() 105 …setSize(scope.fontDescription(), effectiveZoom, FontSize::fontSizeForKeyword(m_document, CSSValueM… in setInitial() 132 const Settings* settings = m_document->settings(); in fromSystemFont() 146 setFontFamilyToStandard(scope.fontDescription(), m_document); in setFontFamilyInitial() 178 Settings* settings = m_document->settings(); in setFontFamilyValue() 236 …scope.fontDescription().setSpecifiedSize(FontSize::fontSizeForKeyword(m_document, CSSValueXxSmall … in setFontFamilyValue() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
D | DeviceSingleWindowEventController.cpp | 18 , m_document(document) in DeviceSingleWindowEventController() 33 …if (!m_document.domWindow() || m_document.activeDOMObjectsAreSuspended() || m_document.activeDOMOb… in dispatchDeviceEvent() 37 m_document.domWindow()->dispatchEvent(event); in dispatchDeviceEvent()
|