doc 484 Source/bindings/v8/ScriptController.cpp void ScriptController::namedItemAdded(HTMLDocument* doc, const AtomicString& name) doc 486 Source/bindings/v8/ScriptController.cpp windowShell(DOMWrapperWorld::mainWorld())->namedItemAdded(doc, name); doc 489 Source/bindings/v8/ScriptController.cpp void ScriptController::namedItemRemoved(HTMLDocument* doc, const AtomicString& name) doc 491 Source/bindings/v8/ScriptController.cpp windowShell(DOMWrapperWorld::mainWorld())->namedItemRemoved(doc, name); doc 418 Source/bindings/v8/custom/V8WindowCustom.cpp Document* doc = frame->document(); doc 420 Source/bindings/v8/custom/V8WindowCustom.cpp if (doc && doc->isHTMLDocument()) { doc 421 Source/bindings/v8/custom/V8WindowCustom.cpp if (toHTMLDocument(doc)->hasNamedItem(propName) || doc->hasElementWithId(propName.impl())) { doc 422 Source/bindings/v8/custom/V8WindowCustom.cpp RefPtr<HTMLCollection> items = doc->windowNamedItems(propName); doc 160 Source/core/accessibility/AXObject.cpp Document* doc = document(); doc 161 Source/core/accessibility/AXObject.cpp if (doc) doc 162 Source/core/accessibility/AXObject.cpp return doc->axObjectCache(); doc 572 Source/core/accessibility/AXObject.cpp Document* doc = document(); doc 573 Source/core/accessibility/AXObject.cpp if (!doc) doc 576 Source/core/accessibility/AXObject.cpp Page* page = doc->page(); doc 614 Source/core/accessibility/AXObject.cpp Document* doc = document(); doc 615 Source/core/accessibility/AXObject.cpp if (doc) doc 616 Source/core/accessibility/AXObject.cpp return doc->contentLanguage(); doc 1655 Source/core/accessibility/AXRenderObject.cpp Document& doc = renderer()->document(); doc 1656 Source/core/accessibility/AXRenderObject.cpp if (!doc.frame()->selection().isFocusedAndActive() || doc.focusedElement() != element) doc 1661 Source/core/accessibility/AXRenderObject.cpp doc.axObjectCache()->postNotification(m_renderer, AXObjectCache::AXActiveDescendantChanged, true); doc 2067 Source/core/accessibility/AXRenderObject.cpp Document* doc = frameView->frame().document(); doc 2068 Source/core/accessibility/AXRenderObject.cpp if (!doc || !doc->isSVGDocument()) doc 2071 Source/core/accessibility/AXRenderObject.cpp SVGSVGElement* rootElement = toSVGDocument(doc)->rootElement(); doc 2078 Source/core/accessibility/AXRenderObject.cpp AXObject* rootSVGObject = doc->axObjectCache()->getOrCreate(rendererRoot); doc 170 Source/core/accessibility/AXScrollView.cpp Document* doc = toFrameView(m_scrollView)->frame().document(); doc 171 Source/core/accessibility/AXScrollView.cpp if (!doc || !doc->renderer()) doc 174 Source/core/accessibility/AXScrollView.cpp return axObjectCache()->getOrCreate(doc); doc 209 Source/core/dom/DOMImplementation.cpp RefPtr<XMLDocument> doc; doc 214 Source/core/dom/DOMImplementation.cpp doc = SVGDocument::create(init); doc 216 Source/core/dom/DOMImplementation.cpp doc = XMLDocument::createXHTML(init.withRegistrationContext(m_document.registrationContext())); doc 218 Source/core/dom/DOMImplementation.cpp doc = XMLDocument::create(init); doc 221 Source/core/dom/DOMImplementation.cpp doc->setSecurityOrigin(m_document.securityOrigin()->isolatedCopy()); doc 222 Source/core/dom/DOMImplementation.cpp doc->setContextFeatures(m_document.contextFeatures()); doc 226 Source/core/dom/DOMImplementation.cpp documentElement = doc->createElementNS(namespaceURI, qualifiedName, exceptionState); doc 232 Source/core/dom/DOMImplementation.cpp doc->appendChild(doctype); doc 234 Source/core/dom/DOMImplementation.cpp doc->appendChild(documentElement.release()); doc 236 Source/core/dom/DOMImplementation.cpp return doc.release(); doc 4341 Source/core/dom/Document.cpp Document* doc = const_cast<Document*>(this); doc 4343 Source/core/dom/Document.cpp while ((element = doc->ownerElement())) doc 4344 Source/core/dom/Document.cpp doc = &element->document(); doc 4346 Source/core/dom/Document.cpp ASSERT(doc); doc 4347 Source/core/dom/Document.cpp return *doc; doc 5121 Source/core/dom/Document.cpp Node* eventTargetNodeForDocument(Document* doc) doc 5123 Source/core/dom/Document.cpp if (!doc) doc 5125 Source/core/dom/Document.cpp Node* node = doc->focusedElement(); doc 5126 Source/core/dom/Document.cpp if (!node && doc->isPluginDocument()) { doc 5127 Source/core/dom/Document.cpp PluginDocument* pluginDocument = toPluginDocument(doc); doc 5130 Source/core/dom/Document.cpp if (!node && doc->isHTMLDocument()) doc 5131 Source/core/dom/Document.cpp node = doc->body(); doc 5133 Source/core/dom/Document.cpp node = doc->documentElement(); doc 833 Source/core/dom/Document.h void setTransformSourceDocument(Document* doc) { m_transformSourceDocument = doc; } doc 2125 Source/core/dom/Element.cpp Document& doc = document(); doc 2126 Source/core/dom/Element.cpp if (doc.focusedElement() == this) doc 2132 Source/core/dom/Element.cpp if (doc.haveStylesheetsLoaded()) { doc 2133 Source/core/dom/Element.cpp doc.updateLayoutIgnorePendingStylesheets(); doc 2142 Source/core/dom/Element.cpp if (Page* page = doc.page()) { doc 2147 Source/core/dom/Element.cpp if (!page->focusController().setFocusedElement(this, doc.frame(), type)) doc 2152 Source/core/dom/Element.cpp doc.updateLayoutIgnorePendingStylesheets(); doc 2186 Source/core/dom/Element.cpp Document& doc = document(); doc 2187 Source/core/dom/Element.cpp if (doc.page()) doc 2188 Source/core/dom/Element.cpp doc.page()->focusController().setFocusedElement(0, doc.frame()); doc 2190 Source/core/dom/Element.cpp doc.setFocusedElement(nullptr); doc 561 Source/core/dom/FullscreenElementStack.cpp void FullscreenElementStack::addDocumentToFullScreenChangeEventQueue(Document* doc) doc 563 Source/core/dom/FullscreenElementStack.cpp ASSERT(doc); doc 566 Source/core/dom/FullscreenElementStack.cpp if (FullscreenElementStack* fullscreen = fromIfExists(*doc)) { doc 573 Source/core/dom/FullscreenElementStack.cpp target = doc; doc 991 Source/core/dom/Node.cpp Document& doc = document(); doc 994 Source/core/dom/Node.cpp doc.hoveredNodeDetached(this); doc 996 Source/core/dom/Node.cpp doc.activeChainNodeDetached(this); doc 997 Source/core/dom/Node.cpp doc.userActionElements().didDetach(this); doc 1232 Source/core/dom/Node.cpp Document* doc = &document(); doc 1233 Source/core/dom/Node.cpp return doc == this ? 0 : doc; doc 529 Source/core/editing/TextCheckingHelper.cpp Document& doc = m_range->ownerDocument(); doc 530 Source/core/editing/TextCheckingHelper.cpp return WebCore::unifiedTextCheckerEnabled(doc.frame()); doc 1341 Source/core/editing/VisibleUnits.cpp Element* doc = node->document().documentElement(); doc 1342 Source/core/editing/VisibleUnits.cpp return VisiblePosition(lastPositionInNode(doc), DOWNSTREAM); doc 211 Source/core/frame/Frame.cpp if (Document* doc = document()) doc 212 Source/core/frame/Frame.cpp doc->topDocument().clearAXObjectCache(); doc 435 Source/core/frame/FrameView.cpp Document* doc = m_frame->document(); doc 438 Source/core/frame/FrameView.cpp Element* body = doc ? doc->body() : 0; doc 445 Source/core/frame/FrameView.cpp Element* docElement = doc ? doc->documentElement() : 0; doc 2550 Source/core/frame/FrameView.cpp Document* doc = m_frame->document(); doc 2552 Source/core/frame/FrameView.cpp if (doc && !cornerRect.isEmpty()) { doc 2554 Source/core/frame/FrameView.cpp if (Element* body = doc->body()) { doc 2561 Source/core/frame/FrameView.cpp if (Element* docElement = doc->documentElement()) { doc 2576 Source/core/frame/FrameView.cpp m_scrollCorner = RenderScrollbarPart::createAnonymous(doc); doc 126 Source/core/frame/LocalFrame.cpp Document* doc = document(); doc 127 Source/core/frame/LocalFrame.cpp if (!doc) doc 129 Source/core/frame/LocalFrame.cpp HTMLFrameOwnerElement* owner = doc->ownerElement(); doc 37 Source/core/html/HTMLFormControlElementWithState.cpp HTMLFormControlElementWithState::HTMLFormControlElementWithState(const QualifiedName& tagName, Document& doc, HTMLFormElement* f) doc 38 Source/core/html/HTMLFormControlElementWithState.cpp : HTMLFormControlElement(tagName, doc, f) doc 175 Source/core/html/HTMLFrameOwnerElement.cpp Document* doc = contentDocument(); doc 176 Source/core/html/HTMLFrameOwnerElement.cpp if (doc && doc->isSVGDocument()) doc 177 Source/core/html/HTMLFrameOwnerElement.cpp return toSVGDocument(doc); doc 58 Source/core/html/HTMLPlugInElement.cpp HTMLPlugInElement::HTMLPlugInElement(const QualifiedName& tagName, Document& doc, bool createdByParser, PreferPlugInsForImagesOption preferPlugInsForImagesOption) doc 59 Source/core/html/HTMLPlugInElement.cpp : HTMLFrameOwnerElement(tagName, doc) doc 53 Source/core/html/HTMLTextFormControlElement.cpp HTMLTextFormControlElement::HTMLTextFormControlElement(const QualifiedName& tagName, Document& doc, HTMLFormElement* form) doc 54 Source/core/html/HTMLTextFormControlElement.cpp : HTMLFormControlElementWithState(tagName, doc, form) doc 1075 Source/core/inspector/InspectorCSSAgent.cpp Document* doc = styleSheet->ownerDocument(); doc 1076 Source/core/inspector/InspectorCSSAgent.cpp if (doc) doc 1077 Source/core/inspector/InspectorCSSAgent.cpp sourceURL = doc->url(); doc 305 Source/core/inspector/InspectorDOMAgent.cpp void InspectorDOMAgent::setDocument(Document* doc) doc 307 Source/core/inspector/InspectorDOMAgent.cpp if (doc == m_document.get()) doc 312 Source/core/inspector/InspectorDOMAgent.cpp m_document = doc; doc 318 Source/core/inspector/InspectorDOMAgent.cpp if (!doc || !doc->parsing()) doc 1539 Source/core/inspector/InspectorDOMAgent.cpp if (Document* doc = frameOwner->contentDocument()) doc 1540 Source/core/inspector/InspectorDOMAgent.cpp value->setContentDocument(buildObjectForNode(doc, 0, nodesMap)); doc 185 Source/core/loader/DocumentLoader.cpp Document* doc = m_frame->document(); doc 187 Source/core/loader/DocumentLoader.cpp if (loading || doc->parsing()) doc 166 Source/core/loader/FrameLoader.cpp if (Document* doc = m_frame->document()) { doc 169 Source/core/loader/FrameLoader.cpp doc->setReadyState(Document::Complete); doc 197 Source/core/loader/HistoryItem.cpp bool HistoryItem::isCurrentDocument(Document* doc) const doc 200 Source/core/loader/HistoryItem.cpp return equalIgnoringFragmentIdentifier(url(), doc->url()); doc 420 Source/core/page/DragController.cpp Document* doc = m_page->mainFrame()->documentAtPoint(dragData->clientPosition()); doc 422 Source/core/page/DragController.cpp if (doc && (m_didInitiateDrag || doc->isPluginDocument() || doc->rendererIsEditable())) doc 2144 Source/core/page/EventHandler.cpp Document* doc = m_frame->document(); doc 2146 Source/core/page/EventHandler.cpp if (!doc->renderer()) doc 2162 Source/core/page/EventHandler.cpp doc->renderView()->hitTest(request, result); doc 2780 Source/core/page/EventHandler.cpp Document* doc = m_frame->document(); doc 2790 Source/core/page/EventHandler.cpp MouseEventWithHitTestResults mev = doc->prepareMouseEvent(request, viewportPos, event); doc 2817 Source/core/page/EventHandler.cpp Document* doc = m_frame->document(); doc 2818 Source/core/page/EventHandler.cpp if (!doc) doc 2833 Source/core/page/EventHandler.cpp Element* focusedElement = doc->focusedElement(); doc 2864 Source/core/page/EventHandler.cpp Node* targetNode = doc->focusedElement(); doc 2866 Source/core/page/EventHandler.cpp targetNode = doc; doc 2871 Source/core/page/EventHandler.cpp doc->updateHoverActiveState(HitTestRequest::Active | HitTestRequest::ConfusingAndOftenMisusedDisallowShadowContent, result.innerElement()); doc 3687 Source/core/page/EventHandler.cpp Document& doc = node->document(); doc 3690 Source/core/page/EventHandler.cpp m_originatingTouchPointDocument = &doc; doc 3693 Source/core/page/EventHandler.cpp if (!doc.hasTouchEventHandlers()) doc 3712 Source/core/page/EventHandler.cpp Document& doc = touchTarget->toNode()->document(); doc 3713 Source/core/page/EventHandler.cpp if (!doc.hasTouchEventHandlers()) doc 3715 Source/core/page/EventHandler.cpp LocalFrame* targetFrame = doc.frame(); doc 351 Source/core/rendering/RenderMenuList.cpp Document& doc = toElement(node())->document(); doc 352 Source/core/rendering/RenderMenuList.cpp if (&doc != doc.frame()->document()) doc 673 Source/core/rendering/RenderTreeAsText.cpp Document* doc = toDocument(n); doc 674 Source/core/rendering/RenderTreeAsText.cpp LocalFrame* frame = doc->frame(); doc 69 Source/core/rendering/style/ContentData.cpp RenderObject* ImageContentData::createRenderer(Document& doc, RenderStyle* pseudoStyle) const doc 71 Source/core/rendering/style/ContentData.cpp RenderImage* image = RenderImage::createAnonymous(&doc); doc 80 Source/core/rendering/style/ContentData.cpp RenderObject* TextContentData::createRenderer(Document& doc, RenderStyle* pseudoStyle) const doc 82 Source/core/rendering/style/ContentData.cpp RenderObject* renderer = new RenderTextFragment(&doc, m_text.impl()); doc 87 Source/core/rendering/style/ContentData.cpp RenderObject* CounterContentData::createRenderer(Document& doc, RenderStyle* pseudoStyle) const doc 89 Source/core/rendering/style/ContentData.cpp RenderObject* renderer = new RenderCounter(&doc, *m_counter); doc 94 Source/core/rendering/style/ContentData.cpp RenderObject* QuoteContentData::createRenderer(Document& doc, RenderStyle* pseudoStyle) const doc 96 Source/core/rendering/style/ContentData.cpp RenderObject* renderer = new RenderQuote(&doc, m_quote); doc 65 Source/core/svg/SVGSVGElement.cpp inline SVGSVGElement::SVGSVGElement(Document& doc) doc 66 Source/core/svg/SVGSVGElement.cpp : SVGGraphicsElement(SVGNames::svgTag, doc) doc 86 Source/core/svg/SVGSVGElement.cpp UseCounter::count(doc, UseCounter::SVGSVGElement); doc 31 Source/core/svg/SVGTextElement.cpp inline SVGTextElement::SVGTextElement(Document& doc) doc 32 Source/core/svg/SVGTextElement.cpp : SVGTextPositioningElement(SVGNames::textTag, doc) doc 169 Source/core/svg/animation/SVGSMILElement.cpp SVGSMILElement::SVGSMILElement(const QualifiedName& tagName, Document& doc) doc 170 Source/core/svg/animation/SVGSMILElement.cpp : SVGElement(tagName, doc) doc 41 Source/core/xml/DOMParser.cpp RefPtr<Document> doc = DOMImplementation::createDocument(contentType, 0, KURL(), false); doc 42 Source/core/xml/DOMParser.cpp doc->setContent(str); doc 43 Source/core/xml/DOMParser.cpp return doc.release(); doc 86 Source/core/xml/XMLErrors.cpp static inline PassRefPtr<Element> createXHTMLParserErrorHeader(Document* doc, const String& errorMessages) doc 88 Source/core/xml/XMLErrors.cpp RefPtr<Element> reportElement = doc->createElement(QualifiedName(nullAtom, "parsererror", xhtmlNamespaceURI), true); doc 94 Source/core/xml/XMLErrors.cpp RefPtr<Element> h3 = doc->createElement(h3Tag, true); doc 96 Source/core/xml/XMLErrors.cpp h3->parserAppendChild(doc->createTextNode("This page contains the following errors:")); doc 98 Source/core/xml/XMLErrors.cpp RefPtr<Element> fixed = doc->createElement(divTag, true); doc 104 Source/core/xml/XMLErrors.cpp fixed->parserAppendChild(doc->createTextNode(errorMessages)); doc 106 Source/core/xml/XMLErrors.cpp h3 = doc->createElement(h3Tag, true); doc 108 Source/core/xml/XMLErrors.cpp h3->parserAppendChild(doc->createTextNode("Below is a rendering of the page up to the first error.")); doc 100 Source/core/xml/XSLTProcessorLibxslt.cpp xmlChar* base = xmlNodeGetBase(context->document->doc, context->node); doc 121 Source/core/xml/XSLTProcessorLibxslt.cpp xmlDocPtr doc = data ? xmlReadMemory(data->data(), data->size(), (const char*)uri, 0, options) : 0; doc 126 Source/core/xml/XSLTProcessorLibxslt.cpp return doc; doc 129 Source/core/xml/XSLTProcessorLibxslt.cpp return globalProcessor->xslStylesheet()->locateStylesheetSubResource(((xsltStylesheetPtr)ctxt)->doc, uri); doc 1439 Source/core/xml/parser/XMLDocumentParser.cpp xmlDocPtr doc = xmlDocPtrForString(document()->fetcher(), m_originalSourceForTransform.toString(), document()->url().string()); doc 1440 Source/core/xml/parser/XMLDocumentParser.cpp document()->setTransformSource(adoptPtr(new TransformSource(doc))); doc 66 Source/web/FullscreenController.cpp Document& doc = m_provisionalFullScreenElement->document(); doc 67 Source/web/FullscreenController.cpp if (doc.frame()) { doc 68 Source/web/FullscreenController.cpp FullscreenElementStack::from(doc).webkitWillEnterFullScreenForElement(m_provisionalFullScreenElement.get()); doc 69 Source/web/FullscreenController.cpp m_fullScreenFrame = doc.frame(); doc 79 Source/web/FullscreenController.cpp if (Document* doc = m_fullScreenFrame->document()) { doc 80 Source/web/FullscreenController.cpp if (FullscreenElementStack::isFullScreen(*doc)) { doc 87 Source/web/FullscreenController.cpp FullscreenElementStack::from(*doc).webkitDidEnterFullScreenForElement(0); doc 89 Source/web/FullscreenController.cpp Element* element = FullscreenElementStack::currentFullScreenElementFrom(*doc); doc 103 Source/web/FullscreenController.cpp if (Document* doc = m_fullScreenFrame->document()) { doc 104 Source/web/FullscreenController.cpp FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(*doc); doc 107 Source/web/FullscreenController.cpp if (fullscreen->isFullScreen(*doc)) { doc 125 Source/web/FullscreenController.cpp if (Document* doc = m_fullScreenFrame->document()) { doc 126 Source/web/FullscreenController.cpp if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(*doc)) { doc 50 Source/web/WebPluginDocument.cpp PluginDocument* doc = unwrap<PluginDocument>(); doc 51 Source/web/WebPluginDocument.cpp WebPluginContainerImpl* container = toWebPluginContainerImpl(doc->pluginWidget()); doc 446 Source/web/tests/WebFrameTest.cpp doc().watchCSSSelectors(WebVector<WebString>(selectors)); doc 453 Source/web/tests/WebFrameTest.cpp doc().watchCSSSelectors(WebVector<WebString>()); doc 465 Source/web/tests/WebFrameTest.cpp doc().watchCSSSelectors(WebVector<WebString>(selectors)); doc 506 Source/web/tests/WebFrameTest.cpp doc().watchCSSSelectors(WebVector<WebString>(selectors)); doc 524 Source/web/tests/WebFrameTest.cpp doc().watchCSSSelectors(WebVector<WebString>(selectors)); doc 572 Source/web/tests/WebFrameTest.cpp doc().watchCSSSelectors(WebVector<WebString>(selectors)); doc 596 Source/web/tests/WebFrameTest.cpp doc().watchCSSSelectors(WebVector<WebString>(selectors)); doc 613 Source/web/tests/WebFrameTest.cpp doc().watchCSSSelectors(WebVector<WebString>(selectors));