/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | MediaQueryMatcher.cpp | 53 : m_document(document) in MediaQueryMatcher() 56 ASSERT(m_document); in MediaQueryMatcher() 66 m_document = 0; in documentDestroyed() 71 if (!m_document || !m_document->frame() || !m_document->frame()->view()) in mediaType() 74 return m_document->frame()->view()->mediaType(); in mediaType() 79 if (!m_document || !m_document->frame()) in prepareEvaluator() 82 Element* documentElement = m_document->documentElement(); in prepareEvaluator() 86 StyleResolver& styleResolver = m_document->ensureStyleResolver(); in prepareEvaluator() 89 return adoptPtr(new MediaQueryEvaluator(mediaType(), m_document->frame(), rootStyle.get())); in prepareEvaluator() 103 if (!m_document) in matchMedia() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | StyleEngine.cpp | 57 : m_document(document) in StyleEngine() 97 return &m_document; in master() 98 HTMLImport* import = m_document.import(); in master() 133 if (treeScope == m_document) in ensureStyleSheetCollectionFor() 144 if (treeScope == m_document) in styleSheetCollectionFor() 155 if (treeScope == m_document) in styleSheetsForStyleSheetList() 207 Page* owningPage = m_document.page(); in updateInjectedStyleSheetCache() 215 if (sheet->injectedFrames() == InjectStyleInTopFrameOnly && m_document.ownerElement()) in updateInjectedStyleSheetCache() 217 if (!URLPatternMatcher::matchesPatterns(m_document.url(), sheet->whitelist())) in updateInjectedStyleSheetCache() 219 …SSStyleSheet> groupSheet = CSSStyleSheet::createInline(const_cast<Document*>(&m_document), KURL()); in updateInjectedStyleSheetCache() [all …]
|
D | ScriptedAnimationController.cpp | 45 : m_document(document) in ScriptedAnimationController() 77 InspectorInstrumentation::didRequestAnimationFrame(m_document, id); in registerCallback() 86 InspectorInstrumentation::didCancelAnimationFrame(m_document, id); in cancelCallback() 93 InspectorInstrumentation::didCancelAnimationFrame(m_document, id); in cancelCallback() 122 if (!m_document) in executeCallbacks() 125 …double highResNowMs = 1000.0 * m_document->loader()->timing()->monotonicTimeToZeroBasedDocumentTim… in executeCallbacks() 126 …double legacyHighResNowMs = 1000.0 * m_document->loader()->timing()->monotonicTimeToPseudoWallTime… in executeCallbacks() 136 …tationCookie cookie = InspectorInstrumentation::willFireAnimationFrame(m_document, callback->m_id); in executeCallbacks() 179 if (!m_document) in scheduleAnimationIfNeeded() 188 if (FrameView* frameView = m_document->view()) in scheduleAnimationIfNeeded()
|
D | ScriptRunner.cpp | 38 : m_document(document) in ScriptRunner() 47 m_document->decrementLoadEventDelayCount(); in ~ScriptRunner() 49 m_document->decrementLoadEventDelayCount(); in ~ScriptRunner() 51 m_document->decrementLoadEventDelayCount(); in ~ScriptRunner() 63 m_document->incrementLoadEventDelayCount(); in queueScriptForExecution() 108 m_document->decrementLoadEventDelayCount(); in notifyScriptLoadError() 121 RefPtr<Document> protect(m_document); in timerFired() 137 m_document->decrementLoadEventDelayCount(); in timerFired()
|
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.cpp | 165 : m_document(document) in DOMImplementation() 188 return DocumentType::create(&m_document, qualifiedName, publicId, systemId); in createDocumentType() 200 DocumentInit init = DocumentInit::fromContext(m_document.contextDocument()); in createDocument() 204 doc = Document::createXHTML(init.withRegistrationContext(m_document.registrationContext())); in createDocument() 209 doc->setSecurityOrigin(m_document.securityOrigin()->isolatedCopy()); in createDocument() 210 doc->setContextFeatures(m_document.contextFeatures()); in createDocument() 310 DocumentInit init = DocumentInit::fromContext(m_document.contextDocument()) in createHTMLDocument() 311 .withRegistrationContext(m_document.registrationContext()); in createHTMLDocument() 317 d->setSecurityOrigin(m_document.securityOrigin()->isolatedCopy()); in createHTMLDocument() 318 d->setContextFeatures(m_document.contextFeatures()); in createHTMLDocument()
|
D | DOMImplementation.h | 47 void ref() { m_document.ref(); } in ref() 48 void deref() { m_document.deref(); } in deref() 49 Document* document() { return &m_document; } in document() 74 Document& m_document; variable
|
D | DocumentParser.cpp | 37 , m_document(document) in DocumentParser() 47 ASSERT(!m_document); in ~DocumentParser() 79 m_document = 0; in detach()
|
/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 m_document->setCompatibilityMode(Document::NoQuirksMode); in appendReplacingData() 76 if (DocumentParser* parser = m_document->parser()) { in appendReplacingData() 89 OwnPtr<TextResourceDecoder> decoder = m_decoderBuilder.buildFor(m_document); in addData() 99 ASSERT(m_document); in end() 104 RefPtr<Frame> protector(m_document->frame()); in end() 110 OwnPtr<TextResourceDecoder> decoder = m_decoderBuilder.buildFor(m_document); 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() 97 && !m_document.securityOrigin()->canRequest(resource->response().url()) in notifyFinished() 98 && !resource->passesAccessControlCheck(m_document.securityOrigin())) { in notifyFinished() 119 …FetchRequest cueRequest(ResourceRequest(m_document.completeURL(url)), FetchInitiatorTypeNames::tex… in load() 124 …updateRequestForAccessControl(cueRequest.mutableResourceRequest(), m_document.securityOrigin(), al… in load() 127 if (!m_document.securityOrigin()->canRequest(url)) { in load() 133 ResourceFetcher* fetcher = m_document.fetcher(); in load()
|
D | DocumentThreadableLoader.cpp | 72 , m_document(document) in DocumentThreadableLoader() 196 …rInstrumentation::didReceiveCORSRedirectResponse(m_document->frame(), resource->identifier(), m_do… in redirectReceived() 272 DocumentLoader* loader = m_document->frame()->loader().documentLoader(); in didReceiveResponse() 273 …InspectorInstrumentation::didReceiveResourceResponse(m_document->frame(), identifier, loader, resp… in didReceiveResponse() 318 InspectorInstrumentation::didReceiveData(m_document->frame(), identifier, 0, 0, dataLength); in didReceiveData() 341 …InspectorInstrumentation::didFinishLoading(m_document->frame(), identifier, m_document->frame()->l… in didFinishLoading() 352 …InspectorInstrumentation::didFailLoading(m_document->frame(), identifier, m_document->frame()->loa… in didFail() 386 …InspectorInstrumentation::didFailLoading(m_document->frame(), identifier, m_document->frame()->loa… in preflightFailure() 415 setResource(m_document->fetcher()->fetchRawResource(newRequest)); in loadRequest() 418 …InspectorInstrumentation::documentThreadableLoaderStartedLoadingForClient(m_document, identifier, … in loadRequest() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
D | XMLErrors.cpp | 46 : m_document(document) in XMLErrors() 120 RefPtr<Element> documentElement = m_document->documentElement(); in insertErrorMessageBlock() 122 RefPtr<Element> rootElement = m_document->createElement(htmlTag, true); in insertErrorMessageBlock() 123 RefPtr<Element> body = m_document->createElement(bodyTag, true); in insertErrorMessageBlock() 125 m_document->parserAppendChild(rootElement); in insertErrorMessageBlock() 128 RefPtr<Element> rootElement = m_document->createElement(htmlTag, true); in insertErrorMessageBlock() 129 RefPtr<Element> body = m_document->createElement(bodyTag, true); in insertErrorMessageBlock() 132 m_document->parserRemoveChild(*documentElement); in insertErrorMessageBlock() 135 m_document->parserAppendChild(rootElement); in insertErrorMessageBlock() 141 RefPtr<Element> reportElement = createXHTMLParserErrorHeader(m_document, errorMessages); in insertErrorMessageBlock() [all …]
|
D | XMLTreeViewer.cpp | 47 : m_document(document) in XMLTreeViewer() 53 m_document->setIsViewSource(true); in transformDocumentToTreeView() 55 …m_document->frame()->script().executeScriptInMainWorld(scriptString, ScriptController::ExecuteScri… in transformDocumentToTreeView() 57 …m_document->frame()->script().executeScriptInMainWorld("prepareWebKitXMLViewer('" + noStyleMessage… in transformDocumentToTreeView() 60 RefPtr<Text> text = m_document->createTextNode(cssString); in transformDocumentToTreeView() 61 m_document->getElementById("xml-viewer-style")->appendChild(text, IGNORE_EXCEPTION); in transformDocumentToTreeView()
|
/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<Frame> 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() 70 m_document = 0; in detach() 95 …rceCode(script.element()->textContent(), documentURLForScriptExecution(m_document), script.startin… in sourceFromPendingScript() 100 m_hasScriptsWaitingForResources = !m_document->haveStylesheetsAndImportsLoaded(); in isPendingScriptReady() 110 ASSERT(m_document); in executeParsingBlockingScript() 112 ASSERT(m_document->haveStylesheetsAndImportsLoaded()); in executeParsingBlockingScript() 135 IgnoreDestructiveWriteCountIncrementer ignoreDestructiveWriteCountIncrementer(m_document); in executePendingScriptAndDispatchEvent() 205 ASSERT(m_document); in executeScriptsWaitingForResources() 210 ASSERT(m_document->haveStylesheetsAndImportsLoaded()); in executeScriptsWaitingForResources() 227 if (!m_document) in executeScriptsWaitingForParsing() [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()
|
D | HTMLResourcePreloader.cpp | 85 … Document* executingDocument = m_document->import() ? m_document->import()->master() : m_document; in preload() 86 Document* loadingDocument = m_document; in preload() 94 FetchRequest request = preload->resourceRequest(m_document); in preload()
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
D | ViewportStyleResolver.cpp | 44 : m_document(document), in ViewportStyleResolver() 47 ASSERT(m_document); in ViewportStyleResolver() 87 m_document = 0; in clearDocument() 92 if (!m_document) in resolve() 95 if (!m_propertySet || (!m_hasAuthorStyle && m_document->hasLegacyViewportTag())) { in resolve() 98 m_document->setViewportDescription(ViewportDescription()); in resolve() 114 m_document->setViewportDescription(description); in resolve() 140 …return primitiveValue->getFloatValue() * m_document->renderStyle()->fontDescription().computedSize… in viewportArgumentValue() 187 …iveValue->computeLength<Length>(CSSToLengthConversionData(m_document->renderStyle(), m_document->r… in viewportLengthValue()
|
D | FontBuilder.cpp | 63 : m_document(0) in FontBuilder() 75 m_document = &document; in initForStyleResolve() 83 ASSERT(m_document && m_document->settings()); in setInitial() 84 if (!m_document || !m_document->settings()) in setInitial() 91 scope.fontDescription().setUsePrinterFont(m_document->printing()); in setInitial() 92 …const AtomicString& standardFontFamily = m_document->settings()->genericFontFamilySettings().stand… in setInitial() 98 …setSize(scope.fontDescription(), effectiveZoom, FontSize::fontSizeForKeyword(m_document, CSSValueM… in setInitial() 125 const Settings* settings = m_document->settings(); in fromSystemFont() 129 fontDescription.setUsePrinterFont(m_document->printing()); in fromSystemFont() 144 …setSize(scope.fontDescription(), effectiveZoom, FontSize::fontSizeForKeyword(m_document, CSSValueX… in setFontFamilyInitial() [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/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()
|
/external/chromium_org/third_party/WebKit/Source/modules/device_orientation/ |
D | DeviceSensorEventController.cpp | 39 , m_document(document) in DeviceSensorEventController() 62 if (m_document && m_document->domWindow() in dispatchDeviceEvent() 63 && !m_document->activeDOMObjectsAreSuspended() in dispatchDeviceEvent() 64 && !m_document->activeDOMObjectsAreStopped()) in dispatchDeviceEvent() 65 m_document->domWindow()->dispatchEvent(event); in dispatchDeviceEvent()
|
/external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
D | MainThreadWebSocketChannel.cpp | 64 : m_document(document) in MainThreadWebSocketChannel() 83 if (m_document->page()) in MainThreadWebSocketChannel() 96 m_handshake = adoptPtr(new WebSocketHandshake(url, protocol, m_document)); in connect() 101 InspectorInstrumentation::didCreateWebSocket(m_document, m_identifier, url, protocol); in connect() 194 if (m_document) { in fail() 195 InspectorInstrumentation::didReceiveWebSocketFrameError(m_document, m_identifier, reason); in fail() 197 m_document->addConsoleMessage(JSMessageSource, level, message, sourceURL, lineNumber); in fail() 221 if (m_identifier && m_document) in disconnect() 222 InspectorInstrumentation::didCloseWebSocket(m_document, m_identifier); in disconnect() 226 m_document = 0; in disconnect() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | FastTextAutosizer.cpp | 43 : m_document(document) in FastTextAutosizer() 49 if (!m_document->settings() in record() 50 || !m_document->settings()->textAutosizingEnabled() in record() 51 || m_document->printing() in record() 52 || !m_document->page()) in record()
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
D | DocumentTimeline.cpp | 53 , m_document(document) in DocumentTimeline() 69 if (m_document->view()) in createPlayer() 133 if (m_timeline->m_document->view()) in serviceOnNextFrame() 134 m_timeline->m_document->view()->scheduleAnimation(); in serviceOnNextFrame() 139 return m_document->animationClock().currentTime() - m_zeroTime; in currentTime()
|