document 43 Source/bindings/templates/attributes.cpp if (!impl->document()) document 242 Source/bindings/templates/attributes.cpp if (!impl->document()) document 968 Source/bindings/templates/interface.cpp {# Needed for legacy support of document.all #} document 1146 Source/bindings/templates/interface.cpp if ({{attribute.per_context_enabled_function}}(impl->document())) { document 30 Source/bindings/templates/methods.cpp if (!window->document()) document 395 Source/bindings/templates/methods.cpp Document& document = *toDocument(currentExecutionContext(isolate)); document 428 Source/bindings/templates/methods.cpp Document* document = currentDOMWindow(info.GetIsolate())->document(); document 429 Source/bindings/templates/methods.cpp ASSERT(document); document 433 Source/bindings/templates/methods.cpp toV8(document, info.Holder(), info.GetIsolate()); document 1345 Source/bindings/tests/results/V8TestInterface.cpp if (ContextFeatures::implementsContextNameEnabled(impl->document())) { document 1350 Source/bindings/tests/results/V8TestInterface.cpp if (ContextFeatures::partialContextNameEnabled(impl->document())) { document 1355 Source/bindings/tests/results/V8TestInterface.cpp if (ContextFeatures::partialContextNameEnabled(impl->document())) { document 54 Source/bindings/tests/results/V8TestInterfaceConstructor.cpp Document& document = *toDocument(currentExecutionContext(isolate)); document 55 Source/bindings/tests/results/V8TestInterfaceConstructor.cpp RefPtr<TestInterfaceConstructor> impl = TestInterfaceConstructor::create(context, document, exceptionState); document 87 Source/bindings/tests/results/V8TestInterfaceConstructor.cpp Document& document = *toDocument(currentExecutionContext(isolate)); document 88 Source/bindings/tests/results/V8TestInterfaceConstructor.cpp RefPtr<TestInterfaceConstructor> impl = TestInterfaceConstructor::create(context, document, doubleArg, stringArg, testInterfaceEmptyArg, dictionaryArg, sequenceStringArg, sequenceDictionaryArg, optionalDictionaryArg, optionalTestInterfaceEmptyArg, exceptionState); document 62 Source/bindings/tests/results/V8TestInterfaceEventTarget.cpp Document* document = currentDOMWindow(info.GetIsolate())->document(); document 63 Source/bindings/tests/results/V8TestInterfaceEventTarget.cpp ASSERT(document); document 67 Source/bindings/tests/results/V8TestInterfaceEventTarget.cpp toV8(document, info.Holder(), info.GetIsolate()); document 69 Source/bindings/tests/results/V8TestInterfaceEventTarget.cpp RefPtr<TestInterfaceEventTarget> impl = TestInterfaceEventTarget::createForJSConstructor(*document); document 86 Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp Document* document = currentDOMWindow(info.GetIsolate())->document(); document 87 Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp ASSERT(document); document 91 Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp toV8(document, info.Holder(), info.GetIsolate()); document 103 Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp RefPtr<TestInterfaceNamedConstructor> impl = TestInterfaceNamedConstructor::createForJSConstructor(*document, stringArg, defaultUndefinedOptionalBooleanArg, defaultUndefinedOptionalLongArg, defaultUndefinedOptionalStringArg, defaultNullStringOptionalstringArg, exceptionState); document 62 Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp Document* document = currentDOMWindow(info.GetIsolate())->document(); document 63 Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp ASSERT(document); document 67 Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp toV8(document, info.Holder(), info.GetIsolate()); document 74 Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp RefPtr<TestInterfaceNamedConstructor2> impl = TestInterfaceNamedConstructor2::createForJSConstructor(*document, stringArg); document 8133 Source/bindings/tests/results/V8TestObject.cpp if (ContextFeatures::featureNameEnabled(impl->document())) { document 8138 Source/bindings/tests/results/V8TestObject.cpp if (ContextFeatures::featureNameEnabled(impl->document())) { document 52 Source/bindings/v8/BindingSecurity.cpp if (callingWindow->document()->securityOrigin()->canAccess(targetDocument->securityOrigin())) document 87 Source/bindings/v8/BindingSecurity.cpp return canAccessDocument(isolate, toLocalFrame(target)->document(), reportingOption); document 94 Source/bindings/v8/BindingSecurity.cpp return canAccessDocument(isolate, toLocalFrame(target)->document(), exceptionState); document 99 Source/bindings/v8/BindingSecurity.cpp return target && canAccessDocument(isolate, &target->document(), exceptionState); document 162 Source/bindings/v8/CustomElementConstructorBuilder.cpp bool CustomElementConstructorBuilder::createConstructor(Document* document, CustomElementDefinition* definition, ExceptionState& exceptionState) document 166 Source/bindings/v8/CustomElementConstructorBuilder.cpp ASSERT(document); document 192 Source/bindings/v8/CustomElementConstructorBuilder.cpp V8HiddenValue::setHiddenValue(isolate, m_constructor, V8HiddenValue::customElementDocument(isolate), toV8(document, m_scriptState->context()->Global(), isolate)); document 271 Source/bindings/v8/CustomElementConstructorBuilder.cpp Document* document = V8Document::toNative(V8HiddenValue::getHiddenValue(info.GetIsolate(), info.Callee(), V8HiddenValue::customElementDocument(isolate)).As<v8::Object>()); document 279 Source/bindings/v8/CustomElementConstructorBuilder.cpp RefPtr<Element> element = document->createElementNS(namespaceURI, tagName, maybeType->IsNull() ? nullAtom : type, exceptionState); document 282 Source/bindings/v8/CustomElementConstructorBuilder.cpp v8SetReturnValueFast(info, element.release(), document); document 600 Source/bindings/v8/NPV8Object.cpp resultObject = V8ObjectConstructor::newInstanceInDocument(isolate, ctor, argumentCount, argv.get(), frame ? frame->document() : 0); document 143 Source/bindings/v8/ScriptController.cpp return ScriptController::callFunction(m_frame->document(), function, receiver, argc, info, m_isolate); document 196 Source/bindings/v8/ScriptController.cpp result = V8ScriptRunner::runCompiledScript(script, m_frame->document(), m_isolate); document 254 Source/bindings/v8/ScriptController.cpp ScriptableDocumentParser* parser = m_frame->document()->scriptableDocumentParser(); document 496 Source/bindings/v8/ScriptController.cpp if (m_frame->document() && m_frame->document()->isSandboxed(SandboxScripts)) { document 499 Source/bindings/v8/ScriptController.cpp m_frame->document()->addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, "Blocked script execution in '" + m_frame->document()->url().elidedString() + "' because the document's frame is sandboxed and the 'allow-scripts' permission is not set."); document 503 Source/bindings/v8/ScriptController.cpp if (m_frame->document() && m_frame->document()->isViewSource()) { document 504 Source/bindings/v8/ScriptController.cpp ASSERT(m_frame->document()->securityOrigin()->isUnique()); document 521 Source/bindings/v8/ScriptController.cpp || !m_frame->document()->contentSecurityPolicy()->allowJavaScriptURLs(m_frame->document()->url(), eventHandlerPosition().m_line)) document 527 Source/bindings/v8/ScriptController.cpp RefPtr<Document> ownerDocument(m_frame->document()); document 546 Source/bindings/v8/ScriptController.cpp ASSERT(m_frame->document()->loader()); document 553 Source/bindings/v8/ScriptController.cpp if (RefPtr<DocumentLoader> loader = m_frame->document()->loader()) { document 554 Source/bindings/v8/ScriptController.cpp UseCounter::count(*m_frame->document(), UseCounter::ReplaceDocumentViaJavaScriptURL); document 65 Source/bindings/v8/ScriptEventListener.cpp if (LocalFrame* frame = node->document().frame()) { document 71 Source/bindings/v8/ScriptEventListener.cpp sourceURL = node->document().url().string(); document 92 Source/bindings/v8/ScriptEventListener.cpp String sourceURL = frame->document()->url().string(); document 94 Source/bindings/v8/ScriptEventListener.cpp return V8LazyEventListener::create(name.localName(), eventParameterName(frame->document()->isSVGDocument()), value, sourceURL, position, 0, toIsolate(frame)); document 115 Source/bindings/v8/ScriptEventListener.cpp String eventListenerHandlerBody(Document* document, EventListener* listener) document 120 Source/bindings/v8/ScriptEventListener.cpp v8::HandleScope scope(toIsolate(document)); document 122 Source/bindings/v8/ScriptEventListener.cpp v8::Handle<v8::Context> context = toV8Context(document, v8Listener->world()); document 124 Source/bindings/v8/ScriptEventListener.cpp v8::Handle<v8::Object> object = v8Listener->getListenerObject(document); document 135 Source/bindings/v8/ScriptEventListener.cpp ScriptValue eventListenerHandler(Document* document, EventListener* listener) document 140 Source/bindings/v8/ScriptEventListener.cpp v8::Isolate* isolate = toIsolate(document); document 143 Source/bindings/v8/ScriptEventListener.cpp v8::Handle<v8::Context> context = toV8Context(document, v8Listener->world()); document 145 Source/bindings/v8/ScriptEventListener.cpp v8::Handle<v8::Object> function = v8Listener->getListenerObject(document); document 161 Source/bindings/v8/ScriptEventListener.cpp bool eventListenerHandlerLocation(Document* document, EventListener* listener, String& sourceName, String& scriptId, int& lineNumber) document 166 Source/bindings/v8/ScriptEventListener.cpp v8::HandleScope scope(toIsolate(document)); document 168 Source/bindings/v8/ScriptEventListener.cpp v8::Handle<v8::Context> context = toV8Context(document, v8Listener->world()); document 170 Source/bindings/v8/ScriptEventListener.cpp v8::Local<v8::Object> object = v8Listener->getListenerObject(document); document 171 Source/bindings/v8/ScriptProfiler.cpp CString url = window->document()->url().string().utf8(); document 79 Source/bindings/v8/V8GCController.cpp return &node->document(); document 30 Source/bindings/v8/V8HiddenValue.h V(document) \ document 111 Source/bindings/v8/V8Initializer.cpp String resource = shouldUseDocumentURL ? enteredWindow->document()->url() : toCoreString(resourceName.As<v8::String>()); document 129 Source/bindings/v8/V8Initializer.cpp LocalFrame* frame = enteredWindow->document()->frame(); document 132 Source/bindings/v8/V8Initializer.cpp enteredWindow->document()->reportException(event.release(), callStack, corsStatus); document 53 Source/bindings/v8/V8ObjectConstructor.cpp v8::Local<v8::Object> V8ObjectConstructor::newInstanceInDocument(v8::Isolate* isolate, v8::Handle<v8::Function> function, int argc, v8::Handle<v8::Value> argv[], Document* document) document 57 Source/bindings/v8/V8ObjectConstructor.cpp return V8ScriptRunner::instantiateObjectInDocument(isolate, function, document, argc, argv); document 69 Source/bindings/v8/V8WindowShell.cpp static void checkDocumentWrapper(v8::Handle<v8::Object> wrapper, Document* document) document 71 Source/bindings/v8/V8WindowShell.cpp ASSERT(V8Document::toNative(wrapper) == document); document 72 Source/bindings/v8/V8WindowShell.cpp ASSERT(!document->isHTMLDocument() || (V8Document::toNative(v8::Handle<v8::Object>::Cast(wrapper->GetPrototype())) == document)); document 226 Source/bindings/v8/V8WindowShell.cpp if (m_frame->document()) { document 227 Source/bindings/v8/V8WindowShell.cpp setSecurityToken(m_frame->document()->securityOrigin()); document 228 Source/bindings/v8/V8WindowShell.cpp ContentSecurityPolicy* csp = m_frame->document()->contentSecurityPolicy(); document 350 Source/bindings/v8/V8WindowShell.cpp v8::Handle<v8::Value> documentWrapper = toV8(m_frame->document(), v8::Handle<v8::Object>(), context->GetIsolate()); document 354 Source/bindings/v8/V8WindowShell.cpp checkDocumentWrapper(m_document.newLocal(m_isolate), m_frame->document()); document 368 Source/bindings/v8/V8WindowShell.cpp V8HiddenValue::setHiddenValue(m_isolate, toInnerGlobalObject(context), V8HiddenValue::document(m_isolate), documentWrapper); document 421 Source/bindings/v8/V8WindowShell.cpp updateSecurityOrigin(m_frame->document()->securityOrigin()); document 462 Source/bindings/v8/V8WindowShell.cpp void V8WindowShell::namedItemAdded(HTMLDocument* document, const AtomicString& name) document 474 Source/bindings/v8/V8WindowShell.cpp checkDocumentWrapper(documentHandle, document); document 478 Source/bindings/v8/V8WindowShell.cpp void V8WindowShell::namedItemRemoved(HTMLDocument* document, const AtomicString& name) document 485 Source/bindings/v8/V8WindowShell.cpp if (document->hasNamedItem(name) || document->hasExtraNamedItem(name)) document 493 Source/bindings/v8/V8WindowShell.cpp checkDocumentWrapper(documentHandle, document); document 63 Source/bindings/v8/custom/V8DocumentCustom.cpp RefPtr<Document> document = V8Document::toNative(info.Holder()); document 64 Source/bindings/v8/custom/V8DocumentCustom.cpp ASSERT(document); document 79 Source/bindings/v8/custom/V8DocumentCustom.cpp V8TRYCATCH_VOID(RefPtrWillBeRawPtr<XPathResult>, result, DocumentXPathEvaluator::evaluate(*document, expression, contextNode.get(), resolver.release(), type, inResult.get(), exceptionState)); document 83 Source/bindings/v8/custom/V8DocumentCustom.cpp v8SetReturnValueFast(info, result.release(), document.get()); document 92 Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp UseCounter::count(ownerNode.document(), UseCounter::DocumentAllLegacyCall); document 103 Source/bindings/v8/custom/V8HTMLCanvasElementCustom.cpp if (InspectorInstrumentation::canvasAgentEnabled(&impl->document())) { document 106 Source/bindings/v8/custom/V8HTMLCanvasElementCustom.cpp ScriptObject wrapped = InspectorInstrumentation::wrapCanvas2DRenderingContextForInstrumentation(&impl->document(), context); document 117 Source/bindings/v8/custom/V8HTMLCanvasElementCustom.cpp if (InspectorInstrumentation::canvasAgentEnabled(&impl->document())) { document 120 Source/bindings/v8/custom/V8HTMLCanvasElementCustom.cpp ScriptObject wrapped = InspectorInstrumentation::wrapWebGLRenderingContextForInstrumentation(&impl->document(), glContext); document 83 Source/bindings/v8/custom/V8HTMLDocumentCustom.cpp htmlDocument->open(callingDOMWindow(info.GetIsolate())->document()); document 109 Source/bindings/v8/custom/V8HTMLPlugInElementCustom.cpp UseCounter::count(impl->document(), UseCounter::HTMLAppletElementLegacyCall); document 116 Source/bindings/v8/custom/V8HTMLPlugInElementCustom.cpp UseCounter::count(impl->document(), UseCounter::HTMLEmbedElementLegacyCall); document 123 Source/bindings/v8/custom/V8HTMLPlugInElementCustom.cpp UseCounter::count(impl->document(), UseCounter::HTMLObjectElementLegacyCall); document 81 Source/bindings/v8/custom/V8WindowCustom.cpp if (!impl->frame() || !impl->document()) { document 131 Source/bindings/v8/custom/V8WindowCustom.cpp if (impl->document() && !impl->document()->contentSecurityPolicy()->allowEval()) { document 205 Source/bindings/v8/custom/V8WindowCustom.cpp v8::Handle<v8::Value> creationContext = toV8(&impl->frameElement()->document(), v8::Handle<v8::Object>(), info.GetIsolate()); document 418 Source/bindings/v8/custom/V8WindowCustom.cpp Document* doc = frame->document(); document 122 Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp Document* document = xmlHttpRequest->responseXML(exceptionState); document 125 Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp v8SetReturnValueFast(info, document, xmlHttpRequest); document 222 Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp Document* document = V8Document::toNative(object); document 223 Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp ASSERT(document); document 224 Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp xmlHttpRequest->send(document, exceptionState); document 95 Source/core/accessibility/AXARIAGrid.cpp AXObjectCache* axCache = m_renderer->document().axObjectCache(); document 69 Source/core/accessibility/AXImageMapLink.cpp return m_mapElement->document().axObjectCache()->getOrCreate(m_mapElement->renderer()); document 46 Source/core/accessibility/AXInlineTextBox.cpp m_axObjectCache = renderText->document().axObjectCache(); document 131 Source/core/accessibility/AXListBox.cpp AXObject* listBoxObject = m_renderer->document().axObjectCache()->getOrCreate(ListBoxOptionRole); document 105 Source/core/accessibility/AXListBoxOption.cpp LayoutRect parentRect = listBoxRenderer->document().axObjectCache()->getOrCreate(listBoxRenderer)->elementRect(); document 168 Source/core/accessibility/AXListBoxOption.cpp return m_optionElement->document().axObjectCache()->getOrCreate(parentNode); document 59 Source/core/accessibility/AXMenuList.cpp AXObjectCache* cache = m_renderer->document().axObjectCache(); document 100 Source/core/accessibility/AXMenuList.cpp RefPtr<Document> document(m_renderer->document()); document 101 Source/core/accessibility/AXMenuList.cpp AXObjectCache* cache = document->axObjectCache(); document 114 Source/core/accessibility/AXMenuList.cpp cache->postNotification(this, document.get(), AXObjectCache::AXMenuListValueChanged, true, PostSynchronously); document 73 Source/core/accessibility/AXMenuListPopup.cpp AXObject* object = document()->axObjectCache()->getOrCreate(MenuListOptionRole); document 143 Source/core/accessibility/AXMenuListPopup.cpp cache->postNotification(child.get(), document(), AXObjectCache::AXFocusedUIElementChanged, true, PostSynchronously); document 144 Source/core/accessibility/AXMenuListPopup.cpp cache->postNotification(child.get(), document(), AXObjectCache::AXMenuListItemSelected, true, PostSynchronously); document 1437 Source/core/accessibility/AXNodeObject.cpp return &node()->document(); document 1481 Source/core/accessibility/AXNodeObject.cpp Document* document = this->document(); document 1483 Source/core/accessibility/AXNodeObject.cpp document->setFocusedElement(nullptr); document 1490 Source/core/accessibility/AXNodeObject.cpp if (document->focusedElement() == node) document 1491 Source/core/accessibility/AXNodeObject.cpp document->setFocusedElement(nullptr); document 1495 Source/core/accessibility/AXNodeObject.cpp document->setFocusedElement(nullptr); document 1518 Source/core/accessibility/AXNodeObject.cpp axObjectCache()->postNotification(this, document(), AXObjectCache::AXChildrenChanged, true); document 1532 Source/core/accessibility/AXNodeObject.cpp axObjectCache()->postNotification(parent, parent->document(), AXObjectCache::AXLiveRegionChanged, true); document 1537 Source/core/accessibility/AXNodeObject.cpp axObjectCache()->postNotification(parent, parent->document(), AXObjectCache::AXValueChanged, true); document 1547 Source/core/accessibility/AXNodeObject.cpp axObjectCache()->postNotification(this, document(), AXObjectCache::AXSelectedTextChanged, true); document 1594 Source/core/accessibility/AXNodeObject.cpp Document* document = this->document(); document 1595 Source/core/accessibility/AXNodeObject.cpp if (!document) document 1599 Source/core/accessibility/AXNodeObject.cpp if (Element* documentElement = document->documentElement()) { document 1605 Source/core/accessibility/AXNodeObject.cpp Node* owner = document->ownerElement(); document 1617 Source/core/accessibility/AXNodeObject.cpp String documentTitle = document->title(); document 1621 Source/core/accessibility/AXNodeObject.cpp owner = document->body(); document 188 Source/core/accessibility/AXNodeObject.h virtual Document* document() const OVERRIDE; document 160 Source/core/accessibility/AXObject.cpp Document* doc = document(); document 169 Source/core/accessibility/AXObject.cpp if (Document* document = this->document()) document 170 Source/core/accessibility/AXObject.cpp document->updateLayoutIgnorePendingStylesheets(); document 536 Source/core/accessibility/AXObject.cpp AXObjectCache* cache = node->document().axObjectCache(); document 572 Source/core/accessibility/AXObject.cpp Document* doc = document(); document 589 Source/core/accessibility/AXObject.cpp return frameView->frame().document(); document 614 Source/core/accessibility/AXObject.cpp Document* doc = document(); document 509 Source/core/accessibility/AXObject.h virtual Document* document() const; document 110 Source/core/accessibility/AXObjectCache.cpp AXObjectCache::AXObjectCache(Document& document) document 111 Source/core/accessibility/AXObjectCache.cpp : m_document(document) document 141 Source/core/accessibility/AXObjectCache.cpp AXObject* axRenderImage = areaElement->document().axObjectCache()->getOrCreate(imageElement); document 165 Source/core/accessibility/AXObjectCache.cpp Document* focusedDocument = page->focusController().focusedOrMainFrame()->document(); document 173 Source/core/accessibility/AXObjectCache.cpp AXObject* obj = focusedNode->document().axObjectCache()->getOrCreate(focusedNode); document 646 Source/core/accessibility/AXObjectCache.cpp postNotification(obj, obj->document(), AXObjectCache::AXTextChanged, true); document 730 Source/core/accessibility/AXObjectCache.cpp postNotification(object.get(), &renderer->document(), notification, postToElement, postType); document 751 Source/core/accessibility/AXObjectCache.cpp postNotification(object.get(), &node->document(), notification, postToElement, postType); document 754 Source/core/accessibility/AXObjectCache.cpp void AXObjectCache::postNotification(AXObject* object, Document* document, AXNotification notification, bool postToElement, PostType postType) document 761 Source/core/accessibility/AXObjectCache.cpp if (!object && document) document 762 Source/core/accessibility/AXObjectCache.cpp object = get(document->renderer()); document 818 Source/core/accessibility/AXObjectCache.cpp postNotification(obj, obj->document(), AXLayoutComplete, true); document 927 Source/core/accessibility/AXObjectCache.cpp AXObjectCache* cache = renderer->document().axObjectCache(); document 956 Source/core/accessibility/AXObjectCache.cpp AXObjectCache* cache = domNode->document().axObjectCache(); document 1017 Source/core/accessibility/AXObjectCache.cpp Document* document = toFrameView(scrollBar->parent())->frame().document(); document 1018 Source/core/accessibility/AXObjectCache.cpp if (document != document->topDocument()) document 1020 Source/core/accessibility/AXObjectCache.cpp obj = get(document->renderer()); document 1023 Source/core/accessibility/AXObjectCache.cpp if (!obj || !obj->document() || !obj->documentFrameView() || !obj->documentFrameView()->frame().page()) document 1029 Source/core/accessibility/AXObjectCache.cpp && obj->document()->focusedElement() document 1030 Source/core/accessibility/AXObjectCache.cpp && obj->node() == obj->document()->focusedElement()) { document 1033 Source/core/accessibility/AXObjectCache.cpp handleFocusedUIElementChanged(0, obj->document()->focusedElement()); document 1044 Source/core/accessibility/AXObjectCache.cpp Page* page = newFocusedNode->document().page(); document 231 Source/core/accessibility/AXRenderObject.cpp if (!document()) document 233 Source/core/accessibility/AXRenderObject.cpp return &document()->topDocument(); document 483 Source/core/accessibility/AXRenderObject.cpp return !m_renderer->document().parser(); document 501 Source/core/accessibility/AXRenderObject.cpp Document& document = m_renderer->document(); document 502 Source/core/accessibility/AXRenderObject.cpp HTMLElement* body = document.body(); document 506 Source/core/accessibility/AXRenderObject.cpp return !document.rendererIsEditable(); document 527 Source/core/accessibility/AXRenderObject.cpp Document& document = m_renderer->document(); document 528 Source/core/accessibility/AXRenderObject.cpp Element* focusedElement = document.focusedElement(); document 535 Source/core/accessibility/AXRenderObject.cpp || (roleValue() == WebAreaRole && document.frame()->selection().isFocusedAndActive())) document 820 Source/core/accessibility/AXRenderObject.cpp return m_renderer->document().url(); document 1304 Source/core/accessibility/AXRenderObject.cpp AXObject* result = obj->document().axObjectCache()->getOrCreate(obj); document 1500 Source/core/accessibility/AXRenderObject.cpp if (LocalFrame* frame = m_renderer->document().frame()) document 1518 Source/core/accessibility/AXRenderObject.cpp return &m_renderer->document(); document 1527 Source/core/accessibility/AXRenderObject.cpp return m_renderer->document().view(); document 1610 Source/core/accessibility/AXRenderObject.cpp Document& document = m_renderer->document(); document 1611 Source/core/accessibility/AXRenderObject.cpp LocalFrame* frame = document.frame(); document 1655 Source/core/accessibility/AXRenderObject.cpp Document& doc = renderer()->document(); document 1691 Source/core/accessibility/AXRenderObject.cpp axObjectCache()->postNotification(containerParent, document(), AXObjectCache::AXRowCountChanged, true); document 1695 Source/core/accessibility/AXRenderObject.cpp axObjectCache()->postNotification(this, document(), isExpanded() ? AXObjectCache::AXRowExpanded : AXObjectCache::AXRowCollapsed, true); document 1745 Source/core/accessibility/AXRenderObject.cpp RefPtrWillBeRawPtr<Range> range = Range::create(m_renderer->document()); document 1771 Source/core/accessibility/AXRenderObject.cpp RefPtrWillBeRawPtr<Range> range = Range::create(m_renderer->document()); document 1942 Source/core/accessibility/AXRenderObject.cpp KURL documentURL = m_renderer->document().url(); document 1946 Source/core/accessibility/AXRenderObject.cpp Node* linkedNode = m_renderer->document().findAnchor(fragmentIdentifier); document 2067 Source/core/accessibility/AXRenderObject.cpp Document* doc = frameView->frame().document(); document 2340 Source/core/accessibility/AXRenderObject.cpp Document* document = this->document(); document 2341 Source/core/accessibility/AXRenderObject.cpp if (document && document->isSVGDocument()) document 182 Source/core/accessibility/AXRenderObject.h virtual Document* document() const OVERRIDE; document 170 Source/core/accessibility/AXScrollView.cpp Document* doc = toFrameView(m_scrollView)->frame().document(); document 66 Source/core/accessibility/AXScrollbar.cpp return parent->document(); document 56 Source/core/accessibility/AXScrollbar.h virtual Document* document() const OVERRIDE; document 86 Source/core/accessibility/AXSlider.cpp AXObjectCache* cache = m_renderer->document().axObjectCache(); document 334 Source/core/accessibility/AXTable.cpp AXObjectCache* axCache = m_renderer->document().axObjectCache(); document 72 Source/core/animation/Animation.cpp UseCounter::count(element->document(), UseCounter::AnimationConstructorKeyframeListEffectObjectTiming); document 78 Source/core/animation/Animation.cpp UseCounter::count(element->document(), UseCounter::AnimationConstructorKeyframeListEffectDoubleTiming); document 84 Source/core/animation/Animation.cpp UseCounter::count(element->document(), UseCounter::AnimationConstructorKeyframeListEffectNoTiming); document 253 Source/core/animation/AnimationPlayer.cpp if (Document* document = m_timeline->document()) document 254 Source/core/animation/AnimationPlayer.cpp return document->contextDocument().get(); document 319 Source/core/animation/AnimationPlayer.cpp m_timeline->document()->enqueueAnimationFrameEvent(event.release()); document 57 Source/core/animation/AnimationPlayerTest.cpp document = Document::create(); document 58 Source/core/animation/AnimationPlayerTest.cpp document->animationClock().resetTimeForTesting(); document 59 Source/core/animation/AnimationPlayerTest.cpp timeline = DocumentTimeline::create(document.get()); document 81 Source/core/animation/AnimationPlayerTest.cpp document->animationClock().updateTime(time); document 86 Source/core/animation/AnimationPlayerTest.cpp RefPtr<Document> document; document 124 Source/core/animation/AnimationPlayerTest.cpp document->animationClock().updateTime(10); document 683 Source/core/animation/AnimationPlayerTest.cpp RefPtr<Element> element = document->createElement("foo", ASSERT_NO_EXCEPTION); document 23 Source/core/animation/AnimationStackTest.cpp document = Document::create(); document 24 Source/core/animation/AnimationStackTest.cpp document->animationClock().resetTimeForTesting(); document 25 Source/core/animation/AnimationStackTest.cpp timeline = DocumentTimeline::create(document.get()); document 27 Source/core/animation/AnimationStackTest.cpp element = document->createElement("foo", ASSERT_NO_EXCEPTION); document 69 Source/core/animation/AnimationStackTest.cpp RefPtr<Document> document; document 25 Source/core/animation/AnimationTest.cpp : document(Document::create()) document 26 Source/core/animation/AnimationTest.cpp , element(document->createElement("foo", ASSERT_NO_EXCEPTION)) document 28 Source/core/animation/AnimationTest.cpp document->animationClock().resetTimeForTesting(); document 29 Source/core/animation/AnimationTest.cpp document->timeline().setZeroTime(0); document 30 Source/core/animation/AnimationTest.cpp EXPECT_EQ(0, document->timeline().currentTime()); document 33 Source/core/animation/AnimationTest.cpp RefPtr<Document> document; document 366 Source/core/animation/AnimationTest.cpp RefPtr<AnimationPlayer> player = document->timeline().play(animation.get()); document 399 Source/core/animation/AnimationTest.cpp RefPtr<AnimationPlayer> player = document->timeline().play(animation.get()); document 432 Source/core/animation/AnimationTest.cpp RefPtr<AnimationPlayer> player = document->timeline().play(animation.get()); document 14 Source/core/animation/DocumentAnimation.h static DocumentTimeline* timeline(Document& document) { return &document.timeline(); } document 49 Source/core/animation/DocumentAnimations.cpp void updateAnimationTiming(Document& document, AnimationPlayer::UpdateReason reason) document 51 Source/core/animation/DocumentAnimations.cpp document.timeline().serviceAnimations(reason); document 52 Source/core/animation/DocumentAnimations.cpp document.transitionTimeline().serviceAnimations(reason); document 57 Source/core/animation/DocumentAnimations.cpp void DocumentAnimations::updateAnimationTimingForAnimationFrame(Document& document, double monotonicAnimationStartTime) document 59 Source/core/animation/DocumentAnimations.cpp document.animationClock().updateTime(monotonicAnimationStartTime); document 60 Source/core/animation/DocumentAnimations.cpp updateAnimationTiming(document, AnimationPlayer::UpdateForAnimationFrame); document 63 Source/core/animation/DocumentAnimations.cpp void DocumentAnimations::updateOutdatedAnimationPlayersAfterFrameCallbacks(Document& document) document 65 Source/core/animation/DocumentAnimations.cpp if (document.timeline().hasOutdatedAnimationPlayer()) { document 66 Source/core/animation/DocumentAnimations.cpp updateAnimationTiming(document, AnimationPlayer::UpdateOnDemand); document 75 Source/core/animation/DocumentAnimations.cpp if (element.document().timeline().hasOutdatedAnimationPlayer()) { document 76 Source/core/animation/DocumentAnimations.cpp updateAnimationTiming(element.document(), AnimationPlayer::UpdateOnDemand); document 81 Source/core/animation/DocumentAnimations.cpp updateAnimationTiming(element.document(), AnimationPlayer::UpdateOnDemand); document 85 Source/core/animation/DocumentAnimations.cpp void DocumentAnimations::startPendingAnimations(Document& document) document 87 Source/core/animation/DocumentAnimations.cpp ASSERT(document.lifecycle().state() == DocumentLifecycle::CompositingClean); document 88 Source/core/animation/DocumentAnimations.cpp if (document.cssPendingAnimations().startPendingAnimations()) { document 89 Source/core/animation/DocumentAnimations.cpp ASSERT(document.view()); document 90 Source/core/animation/DocumentAnimations.cpp document.view()->scheduleAnimation(); document 93 Source/core/animation/DocumentAnimations.cpp document.animationClock().unfreeze(); document 48 Source/core/animation/DocumentTimeline.cpp PassRefPtr<DocumentTimeline> DocumentTimeline::create(Document* document, PassOwnPtr<PlatformTiming> timing) document 50 Source/core/animation/DocumentTimeline.cpp return adoptRef(new DocumentTimeline(document, timing)); document 53 Source/core/animation/DocumentTimeline.cpp DocumentTimeline::DocumentTimeline(Document* document, PassOwnPtr<PlatformTiming> timing) document 55 Source/core/animation/DocumentTimeline.cpp , m_document(document) document 62 Source/core/animation/DocumentTimeline.cpp ASSERT(document); document 92 Source/core/animation/DocumentTimeline.h Document* document() { return m_document; } document 86 Source/core/animation/DocumentTimelineTest.cpp document = Document::create(); document 87 Source/core/animation/DocumentTimelineTest.cpp document->animationClock().resetTimeForTesting(); document 88 Source/core/animation/DocumentTimelineTest.cpp element = Element::create(nullQName() , document.get()); document 90 Source/core/animation/DocumentTimelineTest.cpp timeline = DocumentTimeline::create(document.get(), adoptPtr(platformTiming)); document 98 Source/core/animation/DocumentTimelineTest.cpp document.release(); document 104 Source/core/animation/DocumentTimelineTest.cpp document->animationClock().updateTime(time); document 108 Source/core/animation/DocumentTimelineTest.cpp RefPtr<Document> document; document 127 Source/core/animation/DocumentTimelineTest.cpp timeline = DocumentTimeline::create(document.get()); document 171 Source/core/animation/DocumentTimelineTest.cpp timeline = DocumentTimeline::create(document.get()); document 174 Source/core/animation/DocumentTimelineTest.cpp document->animationClock().updateTime(100); document 179 Source/core/animation/DocumentTimelineTest.cpp document->animationClock().updateTime(200); document 183 Source/core/animation/DocumentTimelineTest.cpp document->animationClock().updateTime(300); document 188 Source/core/animation/DocumentTimelineTest.cpp document->animationClock().updateTime(400); document 283 Source/core/animation/DocumentTimelineTest.cpp timeline = &document->timeline(); document 285 Source/core/animation/DocumentTimelineTest.cpp document = nullptr; document 47 Source/core/animation/EffectInput.cpp element->document().updateRenderTreeIfNeeded(); document 58 Source/core/animation/EffectInput.cpp StyleSheetContents* styleSheetContents = element->document().elementSheet().contents(); document 82 Source/core/animation/ElementAnimation.h return element.document().timeline().play(animation.get()); document 292 Source/core/animation/css/CSSAnimations.cpp calculateAnimationActiveInterpolations(update.get(), element, parentElement.document().timeline().currentTime()); document 294 Source/core/animation/css/CSSAnimations.cpp calculateTransitionActiveInterpolations(update.get(), element, parentElement.document().transitionTimeline().currentTime()); document 392 Source/core/animation/css/CSSAnimations.cpp RefPtr<AnimationPlayer> player = element->document().timeline().createAnimationPlayer(animation.get()); document 395 Source/core/animation/css/CSSAnimations.cpp element->document().cssPendingAnimations().add(player.get()); document 433 Source/core/animation/css/CSSAnimations.cpp double inheritedTime = isNull(oldStartTime) ? 0 : element->document().transitionTimeline().currentTime() - oldStartTime; document 447 Source/core/animation/css/CSSAnimations.cpp RefPtr<AnimationPlayer> player = element->document().transitionTimeline().createAnimationPlayer(transition.get()); document 449 Source/core/animation/css/CSSAnimations.cpp element->document().cssPendingAnimations().add(player.get()); document 648 Source/core/animation/css/CSSAnimations.cpp if (m_target->document().hasListenerType(listenerType)) { document 651 Source/core/animation/css/CSSAnimations.cpp m_target->document().enqueueAnimationFrameEvent(event); document 687 Source/core/animation/css/CSSAnimations.cpp if (currentPhase == TimedItem::PhaseAfter && (isFirstSample || previousPhase != currentPhase) && m_target->document().hasListenerType(Document::TRANSITIONEND_LISTENER)) { document 695 Source/core/animation/css/CSSAnimations.cpp m_target->document().enqueueAnimationFrameEvent(event); document 40 Source/core/animation/css/TransitionTimeline.cpp PassRefPtr<TransitionTimeline> TransitionTimeline::create(Document* document, PassOwnPtr<PlatformTiming> timing) document 42 Source/core/animation/css/TransitionTimeline.cpp return adoptRef(new TransitionTimeline(document, timing)); document 45 Source/core/animation/css/TransitionTimeline.cpp TransitionTimeline::TransitionTimeline(Document* document, PassOwnPtr<PlatformTiming> timing) document 46 Source/core/animation/css/TransitionTimeline.cpp : DocumentTimeline(document, timing) document 48 Source/core/animation/css/TransitionTimeline.cpp setZeroTime(document->animationClock().currentTime()); document 49 Source/core/animation/css/TransitionTimeline.cpp document->animationClock().unfreeze(); document 350 Source/core/clipboard/Clipboard.cpp m_dataObject->setHTMLAndBaseURL(createMarkup(selectedRange, 0, AnnotateForInterchange, false, ResolveNonLocalURLs), frame->document()->url()); document 48 Source/core/css/AffectedByFocusTest.cpp m_document = toHTMLDocument(&m_dummyPageHolder->document()); document 54 Source/core/css/AffectedByFocusTest.cpp document().documentElement()->setInnerHTML(String::fromUTF8(htmlContent), ASSERT_NO_EXCEPTION); document 55 Source/core/css/AffectedByFocusTest.cpp document().view()->updateLayoutAndStyleIfNeededRecursive(); document 61 Source/core/css/AffectedByFocusTest.cpp Element* elm = document().body(); document 210 Source/core/css/AffectedByFocusTest.cpp document().view()->updateLayoutAndStyleIfNeededRecursive(); document 212 Source/core/css/AffectedByFocusTest.cpp unsigned startCount = document().styleEngine()->resolverAccessCount(); document 214 Source/core/css/AffectedByFocusTest.cpp document().getElementById("d")->focus(); document 215 Source/core/css/AffectedByFocusTest.cpp document().view()->updateLayoutAndStyleIfNeededRecursive(); document 217 Source/core/css/AffectedByFocusTest.cpp unsigned accessCount = document().styleEngine()->resolverAccessCount() - startCount; document 241 Source/core/css/AffectedByFocusTest.cpp document().view()->updateLayoutAndStyleIfNeededRecursive(); document 243 Source/core/css/AffectedByFocusTest.cpp unsigned startCount = document().styleEngine()->resolverAccessCount(); document 245 Source/core/css/AffectedByFocusTest.cpp document().getElementById("d")->focus(); document 246 Source/core/css/AffectedByFocusTest.cpp document().view()->updateLayoutAndStyleIfNeededRecursive(); document 248 Source/core/css/AffectedByFocusTest.cpp unsigned accessCount = document().styleEngine()->resolverAccessCount() - startCount; document 72 Source/core/css/CSSCanvasValue.cpp if (HTMLCanvasElement* elt = element(&renderer->document())) document 77 Source/core/css/CSSCanvasValue.cpp HTMLCanvasElement* CSSCanvasValue::element(Document* document) document 80 Source/core/css/CSSCanvasValue.cpp m_element = &document->getCSSCanvasElement(m_name); document 89 Source/core/css/CSSCanvasValue.cpp HTMLCanvasElement* elt = element(&renderer->document()); document 1172 Source/core/css/CSSComputedStyleDeclaration.cpp m_node->document().updateLayoutIgnorePendingStylesheets(); document 1566 Source/core/css/CSSComputedStyleDeclaration.cpp Document& document = styledNode->document(); document 1572 Source/core/css/CSSComputedStyleDeclaration.cpp document.updateRenderTreeForNodeIfNeeded(styledNode); document 1583 Source/core/css/CSSComputedStyleDeclaration.cpp || (document.ownerElement() && document.ensureStyleResolver().hasViewportDependentMediaQueries()); document 1586 Source/core/css/CSSComputedStyleDeclaration.cpp document.updateLayoutIgnorePendingStylesheets(); document 2900 Source/core/css/CSSComputedStyleDeclaration.cpp m_node->document().updateLayoutIgnorePendingStylesheets(); document 113 Source/core/css/CSSCrossfadeValue.cpp ResourceFetcher* fetcher = renderer->document().fetcher(); document 172 Source/core/css/CSSCrossfadeValue.cpp ResourceFetcher* fetcher = renderer->document().fetcher(); document 42 Source/core/css/CSSCursorImageValue.cpp static inline SVGCursorElement* resourceReferencedByCursorElement(const String& url, Document& document) document 44 Source/core/css/CSSCursorImageValue.cpp Element* element = SVGURIReference::targetElementFromIRIString(url, document); document 69 Source/core/css/CSSCursorImageValue.cpp if (SVGCursorElement* cursorElement = resourceReferencedByCursorElement(url, referencedElement->document())) document 96 Source/core/css/CSSCursorImageValue.cpp if (SVGCursorElement* cursorElement = resourceReferencedByCursorElement(url, element->document())) { document 106 Source/core/css/CSSCursorImageValue.cpp if (cachedImageURL() != element->document().completeURL(cursorElement->href()->currentValue()->value())) document 130 Source/core/css/CSSCursorImageValue.cpp if (isSVGCursor() && loader && loader->document()) { document 133 Source/core/css/CSSCursorImageValue.cpp if (SVGCursorElement* cursorElement = resourceReferencedByCursorElement(imageValue->url(), *loader->document())) { document 134 Source/core/css/CSSCursorImageValue.cpp RefPtrWillBeRawPtr<CSSImageValue> svgImageValue = CSSImageValue::create(loader->document()->completeURL(cursorElement->href()->currentValue()->value())); document 173 Source/core/css/CSSDefaultStyleSheets.cpp if (!m_fullscreenStyleSheet && FullscreenElementStack::isFullScreen(element->document())) { document 78 Source/core/css/CSSFontFace.cpp Document* document = m_segmentedFontFace ? m_segmentedFontFace->fontSelector()->document() : 0; document 79 Source/core/css/CSSFontFace.cpp if (document && source->isSVGFontFaceSource()) document 80 Source/core/css/CSSFontFace.cpp UseCounter::count(*document, UseCounter::SVGFontInCSS); document 171 Source/core/css/CSSFontFace.cpp Document* document = m_segmentedFontFace->fontSelector()->document(); document 172 Source/core/css/CSSFontFace.cpp if (!document) document 177 Source/core/css/CSSFontFace.cpp FontFaceSet::from(*document)->beginFontLoading(m_fontFace); document 180 Source/core/css/CSSFontFace.cpp FontFaceSet::from(*document)->fontLoaded(m_fontFace); document 183 Source/core/css/CSSFontFace.cpp FontFaceSet::from(*document)->loadError(m_fontFace); document 91 Source/core/css/CSSFontFaceSrcValue.cpp FontResource* CSSFontFaceSrcValue::fetch(Document* document) document 94 Source/core/css/CSSFontFaceSrcValue.cpp FetchRequest request(ResourceRequest(document->completeURL(m_resource)), FetchInitiatorTypeNames::css); document 95 Source/core/css/CSSFontFaceSrcValue.cpp m_fetched = document->fetcher()->fetchFont(request); document 106 Source/core/css/CSSFontSelector.cpp CSSFontSelector::CSSFontSelector(Document* document) document 107 Source/core/css/CSSFontSelector.cpp : m_document(document) document 108 Source/core/css/CSSFontSelector.cpp , m_fontLoader(document->fetcher()) document 109 Source/core/css/CSSFontSelector.cpp , m_genericFontFamilySettings(document->frame()->settings()->genericFontFamilySettings()) document 118 Source/core/css/CSSFontSelector.cpp FontFaceSet::from(*document)->addFontFacesToFontFaceCache(&m_fontFaceCache, this); document 224 Source/core/css/CSSFontSelector.cpp void CSSFontSelector::updateGenericFontFamilySettings(Document& document) document 226 Source/core/css/CSSFontSelector.cpp ASSERT(document.settings()); document 227 Source/core/css/CSSFontSelector.cpp m_genericFontFamilySettings = document.settings()->genericFontFamilySettings(); document 69 Source/core/css/CSSFontSelector.h static PassRefPtr<CSSFontSelector> create(Document* document) document 71 Source/core/css/CSSFontSelector.h return adoptRef(new CSSFontSelector(document)); document 92 Source/core/css/CSSFontSelector.h Document* document() const { return m_document; } document 71 Source/core/css/CSSGradientValue.cpp RenderStyle* rootStyle = renderer->document().documentElement()->renderStyle(); document 105 Source/core/css/CSSImageSetValue.cpp if (Document* document = loader->document()) { document 106 Source/core/css/CSSImageSetValue.cpp FetchRequest request(ResourceRequest(document->completeURL(image.imageURL)), FetchInitiatorTypeNames::css, options); document 109 Source/core/css/CSSImageSetValue.cpp request.setCrossOriginAccessControl(loader->document()->securityOrigin(), options.allowCredentials, options.credentialsRequested); document 67 Source/core/css/CSSImageValue.cpp request.setCrossOriginAccessControl(fetcher->document()->securityOrigin(), options.allowCredentials, options.credentialsRequested); document 113 Source/core/css/CSSImageValue.cpp void CSSImageValue::reResolveURL(const Document& document) document 115 Source/core/css/CSSImageValue.cpp KURL url = document.completeURL(m_relativeURL); document 43 Source/core/css/CSSParserMode.cpp CSSParserContext::CSSParserContext(const Document& document, UseCounter* useCounter, const KURL& baseURL, const String& charset) document 44 Source/core/css/CSSParserMode.cpp : m_baseURL(baseURL.isNull() ? document.baseURL() : baseURL) document 46 Source/core/css/CSSParserMode.cpp , m_mode(document.inQuirksMode() ? HTMLQuirksMode : HTMLStandardMode) document 47 Source/core/css/CSSParserMode.cpp , m_isHTMLDocument(document.isHTMLDocument()) document 48 Source/core/css/CSSParserMode.cpp , m_useLegacyBackgroundSizeShorthandBehavior(document.settings() ? document.settings()->useLegacyBackgroundSizeShorthandBehavior() : false) document 55 Source/core/css/CSSSVGDocumentValue.cpp FetchRequest request(ResourceRequest(loader->document()->completeURL(m_url)), FetchInitiatorTypeNames::css); document 106 Source/core/css/CSSStyleSheet.cpp CSSParserContext parserContext(ownerNode->document(), 0, baseURL, encoding); document 165 Source/core/css/CSSStyleSheet.cpp if (Document* document = ownerDocument()) document 166 Source/core/css/CSSStyleSheet.cpp m_contents->removeSheetFromCache(document); document 274 Source/core/css/CSSStyleSheet.cpp Document* document = ownerDocument(); document 275 Source/core/css/CSSStyleSheet.cpp if (!document) document 277 Source/core/css/CSSStyleSheet.cpp if (document->securityOrigin()->canRequest(baseURL)) document 417 Source/core/css/CSSStyleSheet.cpp return root->ownerNode() ? &root->ownerNode()->document() : 0; document 33 Source/core/css/DocumentFontFaceSet.cpp PassRefPtr<FontFaceSet> DocumentFontFaceSet::fonts(Document& document) document 35 Source/core/css/DocumentFontFaceSet.cpp return FontFaceSet::from(document); document 23 Source/core/css/DragUpdateTest.cpp HTMLDocument* document = toHTMLDocument(&dummyPageHolder->document()); document 24 Source/core/css/DragUpdateTest.cpp document->documentElement()->setInnerHTML("<style>div {width:100px;height:100px} div:-webkit-drag { background-color: green }</style>" document 32 Source/core/css/DragUpdateTest.cpp document->view()->updateLayoutAndStyleIfNeededRecursive(); document 33 Source/core/css/DragUpdateTest.cpp unsigned startCount = document->styleEngine()->resolverAccessCount(); document 35 Source/core/css/DragUpdateTest.cpp document->documentElement()->renderer()->updateDragState(true); document 36 Source/core/css/DragUpdateTest.cpp document->view()->updateLayoutAndStyleIfNeededRecursive(); document 38 Source/core/css/DragUpdateTest.cpp unsigned accessCount = document->styleEngine()->resolverAccessCount() - startCount; document 49 Source/core/css/DragUpdateTest.cpp HTMLDocument* document = toHTMLDocument(&dummyPageHolder->document()); document 50 Source/core/css/DragUpdateTest.cpp document->documentElement()->setInnerHTML("<style>div {width:100px;height:100px} div:-webkit-drag span { background-color: green }</style>" document 58 Source/core/css/DragUpdateTest.cpp document->updateLayout(); document 59 Source/core/css/DragUpdateTest.cpp unsigned startCount = document->styleEngine()->resolverAccessCount(); document 61 Source/core/css/DragUpdateTest.cpp document->documentElement()->renderer()->updateDragState(true); document 62 Source/core/css/DragUpdateTest.cpp document->updateLayout(); document 64 Source/core/css/DragUpdateTest.cpp unsigned accessCount = document->styleEngine()->resolverAccessCount() - startCount; document 260 Source/core/css/ElementRuleCollector.cpp SelectorChecker selectorChecker(m_context.element()->document(), m_mode); document 100 Source/core/css/FontFace.cpp static PassRefPtrWillBeRawPtr<CSSValue> parseCSSValue(const Document* document, const String& s, CSSPropertyID propertyID) document 105 Source/core/css/FontFace.cpp BisonCSSParser::parseValue(parsedStyle.get(), propertyID, s, true, *document); document 179 Source/core/css/FontFace.cpp PassRefPtr<FontFace> FontFace::create(Document* document, const StyleRuleFontFace* fontFaceRule) document 202 Source/core/css/FontFace.cpp fontFace->initCSSFontFace(document, src); document 277 Source/core/css/FontFace.cpp void FontFace::setPropertyFromString(const Document* document, const String& s, CSSPropertyID propertyID, ExceptionState& exceptionState) document 279 Source/core/css/FontFace.cpp RefPtrWillBeRawPtr<CSSValue> value = parseCSSValue(document, s, propertyID); document 551 Source/core/css/FontFace.cpp void FontFace::initCSSFontFace(Document* document, PassRefPtrWillBeRawPtr<CSSValue> src) document 570 Source/core/css/FontFace.cpp Settings* settings = document ? document->frame() ? document->frame()->settings() : 0 : 0; document 572 Source/core/css/FontFace.cpp if (allowDownloading && item->isSupportedFormat() && document) { document 573 Source/core/css/FontFace.cpp FontResource* fetched = item->fetch(document); document 137 Source/core/css/FontFaceSet.cpp FontFaceSet::FontFaceSet(Document& document) document 138 Source/core/css/FontFaceSet.cpp : ActiveDOMObject(&document) document 192 Source/core/css/FontFaceSet.cpp if (document()->frame()->isMainFrame() && m_loadingFonts.isEmpty()) document 293 Source/core/css/FontFaceSet.cpp CSSFontSelector* fontSelector = document()->styleEngine()->fontSelector(); document 304 Source/core/css/FontFaceSet.cpp FontFaceCache* fontFaceCache = document()->styleEngine()->fontSelector()->fontFaceCache(); document 324 Source/core/css/FontFaceSet.cpp document()->styleEngine()->fontSelector()->fontFaceCache()->removeFontFace(fontFace, false); document 347 Source/core/css/FontFaceSet.cpp Document* d = document(); document 405 Source/core/css/FontFaceSet.cpp Document* d = document(); document 450 Source/core/css/FontFaceSet.cpp FontFaceCache* fontFaceCache = document()->styleEngine()->fontSelector()->fontFaceCache(); document 475 Source/core/css/FontFaceSet.cpp FontFaceCache* fontFaceCache = document()->styleEngine()->fontSelector()->fontFaceCache(); document 522 Source/core/css/FontFaceSet.cpp StyleResolver& styleResolver = document()->ensureStyleResolver(); document 526 Source/core/css/FontFaceSet.cpp font.update(document()->styleEngine()->fontSelector()); document 557 Source/core/css/FontFaceSet.cpp PassRefPtr<FontFaceSet> FontFaceSet::from(Document& document) document 559 Source/core/css/FontFaceSet.cpp RefPtr<FontFaceSet> fonts = static_cast<FontFaceSet*>(SupplementType::from(document, supplementName())); document 561 Source/core/css/FontFaceSet.cpp fonts = FontFaceSet::create(document); document 562 Source/core/css/FontFaceSet.cpp SupplementType::provideTo(document, supplementName(), fonts); document 568 Source/core/css/FontFaceSet.cpp void FontFaceSet::didLayout(Document& document) document 570 Source/core/css/FontFaceSet.cpp if (FontFaceSet* fonts = static_cast<FontFaceSet*>(SupplementType::from(document, supplementName()))) document 86 Source/core/css/FontFaceSet.h Document* document() const; document 106 Source/core/css/FontFaceSet.h static PassRefPtr<FontFaceSet> create(Document& document) document 108 Source/core/css/FontFaceSet.h return adoptRef<FontFaceSet>(new FontFaceSet(document)); document 38 Source/core/css/FontSize.cpp float FontSize::getComputedSizeFromSpecifiedSize(const Document* document, float zoomFactor, bool isAbsoluteSize, float specifiedSize, ESmartMinimumForFontSize useSmartMinimumForFontSize) document 57 Source/core/css/FontSize.cpp Settings* settings = document->settings(); document 123 Source/core/css/FontSize.cpp float FontSize::fontSizeForKeyword(const Document* document, int keyword, bool shouldUseFixedDefaultSize) document 125 Source/core/css/FontSize.cpp const Settings* settings = document->settings(); document 129 Source/core/css/FontSize.cpp bool quirksMode = document->inQuirksMode(); document 156 Source/core/css/FontSize.cpp int FontSize::legacyFontSize(const Document* document, int pixelFontSize, bool shouldUseFixedDefaultSize) document 158 Source/core/css/FontSize.cpp const Settings* settings = document->settings(); document 162 Source/core/css/FontSize.cpp bool quirksMode = document->inQuirksMode(); document 28 Source/core/css/HoverUpdateTest.cpp HTMLDocument* document = toHTMLDocument(&dummyPageHolder->document()); document 29 Source/core/css/HoverUpdateTest.cpp document->documentElement()->setInnerHTML("<style>div {width:100px;height:100px} div:hover { background-color: green }</style>" document 37 Source/core/css/HoverUpdateTest.cpp document->view()->updateLayoutAndStyleIfNeededRecursive(); document 38 Source/core/css/HoverUpdateTest.cpp unsigned startCount = document->styleEngine()->resolverAccessCount(); document 41 Source/core/css/HoverUpdateTest.cpp document->frame()->eventHandler().handleMouseMoveEvent(moveEvent); document 42 Source/core/css/HoverUpdateTest.cpp document->view()->updateLayoutAndStyleIfNeededRecursive(); document 44 Source/core/css/HoverUpdateTest.cpp unsigned accessCount = document->styleEngine()->resolverAccessCount() - startCount; document 256 Source/core/css/MediaList.cpp static void addResolutionWarningMessageToConsole(Document* document, const String& serializedExpression, const CSSPrimitiveValue* value) document 258 Source/core/css/MediaList.cpp ASSERT(document); document 277 Source/core/css/MediaList.cpp document->addConsoleMessage(CSSMessageSource, DebugMessageLevel, message.toString()); document 287 Source/core/css/MediaList.cpp void reportMediaQueryWarningIfNeeded(Document* document, const MediaQuerySet* mediaQuerySet) document 289 Source/core/css/MediaList.cpp if (!mediaQuerySet || !document) document 322 Source/core/css/MediaList.cpp addResolutionWarningMessageToConsole(document, mediaQuerySet->mediaText(), suspiciousValue); document 314 Source/core/css/MediaQueryEvaluator.cpp UseCounter::count(mediaValues.document(), UseCounter::PrefixedDevicePixelRatioMediaFeature); document 484 Source/core/css/MediaQueryEvaluator.cpp UseCounter::count(mediaValues.document(), UseCounter::PrefixedMinDevicePixelRatioMediaFeature); document 491 Source/core/css/MediaQueryEvaluator.cpp UseCounter::count(mediaValues.document(), UseCounter::PrefixedMaxDevicePixelRatioMediaFeature); document 548 Source/core/css/MediaQueryEvaluator.cpp UseCounter::count(mediaValues.document(), UseCounter::PrefixedAnimationMediaFeature); document 559 Source/core/css/MediaQueryEvaluator.cpp UseCounter::count(mediaValues.document(), UseCounter::PrefixedTransform2dMediaFeature); document 570 Source/core/css/MediaQueryEvaluator.cpp UseCounter::count(mediaValues.document(), UseCounter::PrefixedTransform3dMediaFeature); document 589 Source/core/css/MediaQueryEvaluator.cpp UseCounter::count(mediaValues.document(), UseCounter::PrefixedViewModeMediaFeature); document 52 Source/core/css/MediaQueryMatcher.cpp MediaQueryMatcher::MediaQueryMatcher(Document* document) document 53 Source/core/css/MediaQueryMatcher.cpp : m_document(document) document 45 Source/core/css/MediaQueryMatcher.h static PassRefPtrWillBeRawPtr<MediaQueryMatcher> create(Document* document) { return adoptRefWillBeNoop(new MediaQueryMatcher(document)); } document 58 Source/core/css/MediaValues.cpp ASSERT(frame && frame->document()); document 59 Source/core/css/MediaValues.cpp return !frame->document()->inQuirksMode(); document 196 Source/core/css/MediaValues.cpp PassRefPtr<MediaValues> MediaValues::create(Document* document, MediaValuesMode mode) document 198 Source/core/css/MediaValues.cpp ASSERT(document); document 199 Source/core/css/MediaValues.cpp Document* executingDocument = document->import() ? document->import()->master() : document; document 338 Source/core/css/MediaValues.cpp return m_frame->document(); document 65 Source/core/css/MediaValues.h Document* document() const; document 374 Source/core/css/PropertySetCSSStyleDeclaration.cpp return m_parentElement ? &m_parentElement->document().elementSheet() : 0; document 102 Source/core/css/SVGCSSComputedStyleDeclaration.cpp node->document().updateLayout(); document 61 Source/core/css/SelectorChecker.cpp SelectorChecker::SelectorChecker(Document& document, Mode mode) document 62 Source/core/css/SelectorChecker.cpp : m_strictParsing(!document.inQuirksMode()) document 63 Source/core/css/SelectorChecker.cpp , m_documentIsHTML(document.isHTMLDocument()) document 165 Source/core/css/SelectorChecker.cpp context.element->document().styleEngine()->setUsesFirstLetterRules(true); document 498 Source/core/css/SelectorChecker.cpp bool caseSensitive = !element.document().isHTMLDocument() || HTMLDocument::isCaseSensitiveAttribute(selectorAttr); document 503 Source/core/css/SelectorChecker.cpp UseCounter::count(element.document(), UseCounter::CaseInsensitiveAttrSelectorMatch); document 563 Source/core/css/SelectorChecker.cpp return checkScrollbarPseudoClass(context, &element.document(), selector); document 566 Source/core/css/SelectorChecker.cpp return !element.document().page()->focusController().isActive(); document 594 Source/core/css/SelectorChecker.cpp else if (element.renderStyle() && (element.document().styleEngine()->usesSiblingRules() || element.renderStyle()->unique())) document 729 Source/core/css/SelectorChecker.cpp if (element == element.document().cssTarget()) document 805 Source/core/css/SelectorChecker.cpp return element.document().isMediaDocument(); document 822 Source/core/css/SelectorChecker.cpp element.document().setContainsValidityStyleRules(); document 825 Source/core/css/SelectorChecker.cpp element.document().setContainsValidityStyleRules(); document 845 Source/core/css/SelectorChecker.cpp if (element == element.document().documentElement()) document 869 Source/core/css/SelectorChecker.cpp if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(element.document())) { document 880 Source/core/css/SelectorChecker.cpp if (!FullscreenElementStack::isFullScreen(element.document())) document 884 Source/core/css/SelectorChecker.cpp element.document().setContainsValidityStyleRules(); document 887 Source/core/css/SelectorChecker.cpp element.document().setContainsValidityStyleRules(); document 898 Source/core/css/SelectorChecker.cpp const Node* contextualReferenceNode = !context.scope ? element.document().documentElement() : context.scope; document 1002 Source/core/css/SelectorChecker.cpp bool SelectorChecker::checkScrollbarPseudoClass(const SelectorCheckingContext& context, Document* document, const CSSSelector& selector) const document 1010 Source/core/css/SelectorChecker.cpp return !document->page()->focusController().isActive(); document 1127 Source/core/css/SelectorChecker.cpp return element.document().frame() && element.document().frame()->selection().isFocusedAndActive(); document 57 Source/core/css/StyleMedia.cpp Document* document = m_frame->document(); document 58 Source/core/css/StyleMedia.cpp ASSERT(document); document 59 Source/core/css/StyleMedia.cpp Element* documentElement = document->documentElement(); document 63 Source/core/css/StyleMedia.cpp StyleResolver& styleResolver = document->ensureStyleResolver(); document 82 Source/core/css/StyleRuleImport.cpp Document* document = m_parentStyleSheet ? m_parentStyleSheet->singleOwnerDocument() : 0; document 83 Source/core/css/StyleRuleImport.cpp m_styleSheet->parseAuthorStyleSheet(cachedStyleSheet, document ? document->securityOrigin() : 0); document 102 Source/core/css/StyleRuleImport.cpp Document* document = m_parentStyleSheet->singleOwnerDocument(); document 103 Source/core/css/StyleRuleImport.cpp if (!document) document 106 Source/core/css/StyleRuleImport.cpp ResourceFetcher* fetcher = document->fetcher(); document 115 Source/core/css/StyleRuleImport.cpp absURL = document->completeURL(m_strHref); document 122 Source/core/css/StyleRuleImport.cpp || equalIgnoringFragmentIdentifier(absURL, document->completeURL(sheet->originalURL()))) document 110 Source/core/css/StyleSheetContents.cpp if (Document* document = clientSingleOwnerDocument()) document 111 Source/core/css/StyleSheetContents.cpp removeSheetFromCache(document); document 545 Source/core/css/StyleSheetContents.cpp if (Document* document = clientSingleOwnerDocument()) { document 546 Source/core/css/StyleSheetContents.cpp if (sheet->ownerDocument() != document) document 584 Source/core/css/StyleSheetContents.cpp void StyleSheetContents::removeSheetFromCache(Document* document) document 586 Source/core/css/StyleSheetContents.cpp ASSERT(document); document 587 Source/core/css/StyleSheetContents.cpp document->styleEngine()->removeSheet(this); document 622 Source/core/css/StyleSheetContents.cpp if (Document* document = (*it)->ownerDocument()) document 623 Source/core/css/StyleSheetContents.cpp document->styleEngine()->clearResolver(); document 649 Source/core/css/StyleSheetContents.cpp ownerNode->document().styleEngine()->removeFontFaceRules(WillBeHeapVector<RawPtrWillBeMember<const StyleRuleFontFace> >(1, fontFaceRule)); document 47 Source/core/css/StyleSheetList.cpp return document()->styleEngine()->styleSheetsForStyleSheetList(*m_treeScope); document 57 Source/core/css/StyleSheetList.cpp m_detachedStyleSheets = document()->styleEngine()->styleSheetsForStyleSheetList(*m_treeScope); document 46 Source/core/css/StyleSheetList.h Document* document() { return m_treeScope ? &m_treeScope->document() : 0; } document 19 Source/core/css/invalidation/StyleInvalidator.cpp void StyleInvalidator::invalidate(Document& document) document 21 Source/core/css/invalidation/StyleInvalidator.cpp if (Element* documentElement = document.documentElement()) document 23 Source/core/css/invalidation/StyleInvalidator.cpp document.clearChildNeedsStyleInvalidation(); document 24 Source/core/css/invalidation/StyleInvalidator.cpp document.clearNeedsStyleInvalidation(); document 198 Source/core/css/invalidation/StyleSheetInvalidationAnalysis.cpp void StyleSheetInvalidationAnalysis::invalidateStyle(Document& document) document 209 Source/core/css/invalidation/StyleSheetInvalidationAnalysis.cpp Element* element = ElementTraversal::firstWithin(document); document 1020 Source/core/css/parser/BisonCSSParser-in.cpp bool BisonCSSParser::parseValue(MutableStylePropertySet* declaration, CSSPropertyID propertyID, const String& string, bool important, const Document& document) document 1024 Source/core/css/parser/BisonCSSParser-in.cpp CSSParserContext context(document, UseCounter::getFrom(&document)); document 1155 Source/core/css/parser/BisonCSSParser-in.cpp Document& document = element->document(); document 1156 Source/core/css/parser/BisonCSSParser-in.cpp CSSParserContext context = CSSParserContext(document.elementSheet().contents()->parserContext(), UseCounter::getFrom(&document)); document 1157 Source/core/css/parser/BisonCSSParser-in.cpp context.setMode((element->isHTMLElement() && !document.inQuirksMode()) ? HTMLStandardMode : HTMLQuirksMode); document 1158 Source/core/css/parser/BisonCSSParser-in.cpp return BisonCSSParser(context).parseDeclaration(string, document.elementSheet().contents()); document 57 Source/core/css/resolver/CSSToStyleMap.cpp return m_elementStyleResources.styleImage(m_state.document().textLinkColors(), m_state.style()->color(), propertyId, value); document 34 Source/core/css/resolver/ElementResolveContext.cpp , m_elementLinkState(element.document().visitedLinkState().determineLinkState(element)) document 41 Source/core/css/resolver/ElementResolveContext.cpp const Document& document = element.document(); document 42 Source/core/css/resolver/ElementResolveContext.cpp Node* documentElement = document.documentElement(); document 43 Source/core/css/resolver/ElementResolveContext.cpp RenderStyle* documentStyle = document.renderStyle(); document 113 Source/core/css/resolver/FilterOperationResolver.cpp KURL url = state.document().completeURL(svgDocumentValue->url()); document 116 Source/core/css/resolver/FilterOperationResolver.cpp if (SVGURIReference::isExternalURIReference(svgDocumentValue->url(), state.document())) { document 197 Source/core/css/resolver/FilterOperationResolver.cpp shadowColor = state.document().textLinkColors().colorFromPrimitiveValue(item->color.get(), state.style()->color()); document 71 Source/core/css/resolver/FontBuilder.cpp void FontBuilder::initForStyleResolve(const Document& document, RenderStyle* style, bool useSVGZoomRules) document 77 Source/core/css/resolver/FontBuilder.cpp m_document = &document; document 83 Source/core/css/resolver/FontBuilder.cpp inline static void setFontFamilyToStandard(FontDescription& fontDescription, const Document* document) document 85 Source/core/css/resolver/FontBuilder.cpp if (!document || !document->settings()) document 89 Source/core/css/resolver/FontBuilder.cpp const AtomicString& standardFontFamily = document->settings()->genericFontFamilySettings().standard(); document 151 Source/core/css/resolver/MatchedPropertiesCache.cpp if (element == element->document().documentElement() && element->document().writingModeSetOnDocumentElement()) document 45 Source/core/css/resolver/ScopedStyleResolver.cpp ContainerNode* ScopedStyleResolver::scopingNodeFor(Document& document, const CSSStyleSheet* sheet) document 54 Source/core/css/resolver/ScopedStyleResolver.cpp return &document; document 60 Source/core/css/resolver/ScopedStyleResolver.cpp return &document; document 75 Source/core/css/resolver/ScopedStyleResolver.cpp AddRuleFlags addRuleFlags = resolver->document().securityOrigin()->canRequest(sheet->baseURL()) ? RuleHasDocumentSecurityOrigin : RuleHasNoSpecialState; document 137 Source/core/css/resolver/ScopedStyleTree.cpp Document& document = element->document(); document 146 Source/core/css/resolver/ScopedStyleTree.cpp if (scopedResolver->treeScope() == treeScope || (applyAuthorStyles && scopedResolver->treeScope() == document)) document 82 Source/core/css/resolver/SharedStyleFinder.cpp if (document().containsValidityStyleRules()) { document 270 Source/core/css/resolver/SharedStyleFinder.cpp for (Element* element = document().documentElement(); element; element = ElementTraversal::next(*element)) { document 72 Source/core/css/resolver/SharedStyleFinder.h Document& document() const { return element().document(); } document 212 Source/core/css/resolver/StyleAdjuster.cpp if (style->hasOutOfFlowPosition() || style->isFloating() || (e && e->document().documentElement() == e)) document 225 Source/core/css/resolver/StyleAdjuster.cpp if (style->hasAutoZIndex() && ((e && e->document().documentElement() == e) document 41 Source/core/css/resolver/StyleBuilderConverter.cpp return SVGURIReference::fragmentIdentifierFromIRIString(primitiveValue->getStringValue(), state.document()); document 146 Source/core/css/resolver/StyleBuilderConverter.cpp color = state.document().textLinkColors().colorFromPrimitiveValue(item->color.get(), state.style()->color()); document 156 Source/core/css/resolver/StyleBuilderCustom.cpp state.style()->setColor(state.document().textLinkColors().colorFromPrimitiveValue(primitiveValue, state.style()->color())); document 158 Source/core/css/resolver/StyleBuilderCustom.cpp state.style()->setVisitedLinkColor(state.document().textLinkColors().colorFromPrimitiveValue(primitiveValue, state.style()->color(), true)); document 204 Source/core/css/resolver/StyleBuilderCustom.cpp if (element && element == element->document().documentElement()) document 205 Source/core/css/resolver/StyleBuilderCustom.cpp element->document().setDirectionSetOnDocumentElement(true); document 310 Source/core/css/resolver/StyleBuilderCustom.cpp if (LocalFrame* frame = state.document().frame()) document 319 Source/core/css/resolver/StyleBuilderCustom.cpp if (LocalFrame* frame = state.document().frame()) document 365 Source/core/css/resolver/StyleBuilderCustom.cpp if (Settings* settings = state.document().settings()) document 811 Source/core/css/resolver/StyleBuilderCustom.cpp KURL url = state.document().completeURL(cssURLValue); document 1316 Source/core/css/resolver/StyleBuilderCustom.cpp state.style()->setContent(StyleGeneratedImage::create(toCSSGradientValue(item)->gradientWithStylesResolved(state.document().textLinkColors(), state.style()->color()).get()), didSet); document 1516 Source/core/css/resolver/StyleBuilderCustom.cpp state.document().setHasAnnotatedRegions(true); document 1580 Source/core/css/resolver/StyleBuilderCustom.cpp Color col = state.document().textLinkColors().colorFromPrimitiveValue(primitiveValue, state.style()->color()); document 1657 Source/core/css/resolver/StyleBuilderCustom.cpp if (state.element() && state.element() == state.document().documentElement()) document 1658 Source/core/css/resolver/StyleBuilderCustom.cpp state.document().setWritingModeSetOnDocumentElement(true); document 124 Source/core/css/resolver/StyleResolver.cpp static void addFontFaceRule(Document* document, CSSFontSelector* cssFontSelector, const StyleRuleFontFace* fontFaceRule) document 126 Source/core/css/resolver/StyleResolver.cpp RefPtr<FontFace> fontFace = FontFace::create(document, fontFaceRule); document 131 Source/core/css/resolver/StyleResolver.cpp StyleResolver::StyleResolver(Document& document) document 132 Source/core/css/resolver/StyleResolver.cpp : m_document(document) document 133 Source/core/css/resolver/StyleResolver.cpp , m_viewportStyleResolver(ViewportStyleResolver::create(&document)) document 135 Source/core/css/resolver/StyleResolver.cpp , m_styleResourceLoader(document.fetcher()) document 145 Source/core/css/resolver/StyleResolver.cpp FrameView* view = document.view(); document 151 Source/core/css/resolver/StyleResolver.cpp Element* root = document.documentElement(); document 160 Source/core/css/resolver/StyleResolver.cpp initWatchedSelectorRules(CSSSelectorWatch::from(document).watchedCallbackSelectors()); document 163 Source/core/css/resolver/StyleResolver.cpp if (document.svgExtensions()) { document 164 Source/core/css/resolver/StyleResolver.cpp const HashSet<SVGFontFaceElement*>& svgFontFaceElements = document.svgExtensions()->svgFontFaceElements(); document 167 Source/core/css/resolver/StyleResolver.cpp addFontFaceRule(&document, document.styleEngine()->fontSelector(), (*it)->fontFaceRule()); document 201 Source/core/css/resolver/StyleResolver.cpp ContainerNode* scopingNode = ScopedStyleResolver::scopingNodeFor(document(), cssSheet); document 233 Source/core/css/resolver/StyleResolver.cpp if (document().renderer() && document().renderer()->style()) document 234 Source/core/css/resolver/StyleResolver.cpp document().renderer()->style()->font().update(document().styleEngine()->fontSelector()); document 238 Source/core/css/resolver/StyleResolver.cpp document().styleEngine()->resetCSSFeatureFlags(m_features); document 270 Source/core/css/resolver/StyleResolver.cpp addFontFaceRule(&m_document, document().styleEngine()->fontSelector(), fontFaceRules[i]); document 317 Source/core/css/resolver/StyleResolver.cpp if (document().isViewSource()) document 341 Source/core/css/resolver/StyleResolver.cpp if (!document().inStyleRecalc()) document 522 Source/core/css/resolver/StyleResolver.cpp if (document().inQuirksMode()) document 526 Source/core/css/resolver/StyleResolver.cpp if (document().isViewSource()) document 578 Source/core/css/resolver/StyleResolver.cpp PassRefPtr<RenderStyle> StyleResolver::styleForDocument(Document& document, CSSFontSelector* fontSelector) document 580 Source/core/css/resolver/StyleResolver.cpp const LocalFrame* frame = document.frame(); document 584 Source/core/css/resolver/StyleResolver.cpp documentStyle->setRTLOrdering(document.visuallyOrdered() ? VisualOrder : LogicalOrder); document 585 Source/core/css/resolver/StyleResolver.cpp documentStyle->setZoom(frame && !document.printing() ? frame->pageZoomFactor() : 1); document 586 Source/core/css/resolver/StyleResolver.cpp documentStyle->setLocale(document.contentLanguage()); document 590 Source/core/css/resolver/StyleResolver.cpp documentStyle->setUserModify(document.inDesignMode() ? READ_WRITE : READ_ONLY); document 592 Source/core/css/resolver/StyleResolver.cpp document.setupFontBuilder(documentStyle.get()); document 606 Source/core/css/resolver/StyleResolver.cpp static inline void resetDirectionAndWritingModeOnDocument(Document& document) document 608 Source/core/css/resolver/StyleResolver.cpp document.setDirectionSetOnDocumentElement(false); document 609 Source/core/css/resolver/StyleResolver.cpp document.setWritingModeSetOnDocumentElement(false); document 622 Source/core/css/resolver/StyleResolver.cpp document().styleEngine()->fontSelector()->loadPendingFonts(); document 628 Source/core/css/resolver/StyleResolver.cpp ASSERT(document().frame()); document 635 Source/core/css/resolver/StyleResolver.cpp if (sharingBehavior == AllowStyleSharing && !element->document().haveStylesheetsLoaded() && !element->renderer()) { document 639 Source/core/css/resolver/StyleResolver.cpp s_styleNotYetAvailable->font().update(document().styleEngine()->fontSelector()); document 641 Source/core/css/resolver/StyleResolver.cpp element->document().setHasNodesWithPlaceholderStyle(); document 649 Source/core/css/resolver/StyleResolver.cpp if (element == document().documentElement()) document 650 Source/core/css/resolver/StyleResolver.cpp resetDirectionAndWritingModeOnDocument(document()); document 651 Source/core/css/resolver/StyleResolver.cpp StyleResolverState state(document(), element, defaultParent); document 675 Source/core/css/resolver/StyleResolver.cpp state.fontBuilder().initForStyleResolve(state.document(), state.style(), state.useSVGZoomRules()); document 717 Source/core/css/resolver/StyleResolver.cpp document().textLinkColors().setTextColor(state.style()->color()); document 722 Source/core/css/resolver/StyleResolver.cpp document().setHasViewportUnits(); document 730 Source/core/css/resolver/StyleResolver.cpp ASSERT(document().frame()); document 734 Source/core/css/resolver/StyleResolver.cpp if (element == document().documentElement()) document 735 Source/core/css/resolver/StyleResolver.cpp resetDirectionAndWritingModeOnDocument(document()); document 736 Source/core/css/resolver/StyleResolver.cpp StyleResolverState state(document(), element, parentStyle); document 759 Source/core/css/resolver/StyleResolver.cpp state.fontBuilder().initForStyleResolve(state.document(), state.style(), state.useSVGZoomRules()); document 794 Source/core/css/resolver/StyleResolver.cpp StyleResolverState state(element.document(), &element); document 796 Source/core/css/resolver/StyleResolver.cpp state.fontBuilder().initForStyleResolve(state.document(), state.style(), state.useSVGZoomRules()); document 830 Source/core/css/resolver/StyleResolver.cpp StyleResolverState state(document(), &parent, parentStyle); document 850 Source/core/css/resolver/StyleResolver.cpp ASSERT(document().frame()); document 864 Source/core/css/resolver/StyleResolver.cpp state.fontBuilder().initForStyleResolve(state.document(), state.style(), state.useSVGZoomRules()); document 901 Source/core/css/resolver/StyleResolver.cpp document().setHasViewportUnits(); document 912 Source/core/css/resolver/StyleResolver.cpp StyleResolverState state(document(), element, parentStyle); document 926 Source/core/css/resolver/StyleResolver.cpp resetDirectionAndWritingModeOnDocument(document()); document 927 Source/core/css/resolver/StyleResolver.cpp StyleResolverState state(document(), document().documentElement()); // m_rootElementStyle will be set to the document style. document 930 Source/core/css/resolver/StyleResolver.cpp const RenderStyle* rootElementStyle = state.rootElementStyle() ? state.rootElementStyle() : document().renderStyle(); document 934 Source/core/css/resolver/StyleResolver.cpp state.fontBuilder().initForStyleResolve(state.document(), state.style(), state.useSVGZoomRules()); document 973 Source/core/css/resolver/StyleResolver.cpp if (!InspectorInstrumentation::applyViewportStyleOverride(&document(), this)) document 976 Source/core/css/resolver/StyleResolver.cpp if (document().isMobileDocument()) document 987 Source/core/css/resolver/StyleResolver.cpp StyleResolverState state(document(), 0); document 989 Source/core/css/resolver/StyleResolver.cpp state.fontBuilder().initForStyleResolve(document(), state.style(), state.useSVGZoomRules()); document 993 Source/core/css/resolver/StyleResolver.cpp state.style()->font().update(document().styleEngine()->fontSelector()); document 1010 Source/core/css/resolver/StyleResolver.cpp state.fontBuilder().createFont(document().styleEngine()->fontSelector(), state.parentStyle(), state.style()); document 1018 Source/core/css/resolver/StyleResolver.cpp StyleResolverState state(document(), element); document 1028 Source/core/css/resolver/StyleResolver.cpp StyleResolverState state(document(), element); document 1379 Source/core/css/resolver/StyleResolver.cpp StyleResolverState state(document(), document().documentElement(), style); document 1382 Source/core/css/resolver/StyleResolver.cpp state.fontBuilder().initForStyleResolve(document(), style, state.useSVGZoomRules()); document 137 Source/core/css/resolver/StyleResolver.h Document& document() { return m_document; } document 37 Source/core/css/resolver/StyleResolverParentScope.h , m_resolver(*m_parent.document().styleResolver()) document 39 Source/core/css/resolver/StyleResolverParentScope.h ASSERT(m_parent.document().inStyleRecalc()); document 32 Source/core/css/resolver/StyleResolverState.cpp StyleResolverState::StyleResolverState(Document& document, Element* element, RenderStyle* parentStyle) document 34 Source/core/css/resolver/StyleResolverState.cpp , m_document(document) document 36 Source/core/css/resolver/StyleResolverState.cpp , m_cssToLengthConversionData(0, rootElementStyle(), document.renderView()) document 50 Source/core/css/resolver/StyleResolverState.cpp if (!document.isActive()) document 52 Source/core/css/resolver/StyleResolverState.cpp m_elementStyleResources.setDeviceScaleFactor(document.frameHost()->deviceScaleFactor()); document 53 Source/core/css/resolver/StyleResolverState.h Document& document() const { return m_document; } document 116 Source/core/css/resolver/StyleResolverState.h return m_elementStyleResources.styleImage(document().textLinkColors(), style()->color(), propertyId, value); document 47 Source/core/css/resolver/ViewportStyleResolver.cpp ViewportStyleResolver::ViewportStyleResolver(Document* document) document 48 Source/core/css/resolver/ViewportStyleResolver.cpp : m_document(document) document 48 Source/core/css/resolver/ViewportStyleResolver.h static PassOwnPtrWillBeRawPtr<ViewportStyleResolver> create(Document* document) document 50 Source/core/css/resolver/ViewportStyleResolver.h return adoptPtrWillBeNoop(new ViewportStyleResolver(document)); document 55 Source/core/dom/ActiveDOMObjectTest.cpp Document& srcDocument() const { return m_srcPageHolder->document(); } document 56 Source/core/dom/ActiveDOMObjectTest.cpp Document& destDocument() const { return m_destPageHolder->document(); } document 68 Source/core/dom/ActiveDOMObjectTest.cpp , m_activeDOMObject(&m_srcPageHolder->document()) document 40 Source/core/dom/Attr.cpp : ContainerNode(&element.document()) document 48 Source/core/dom/Attr.cpp Attr::Attr(Document& document, const QualifiedName& name, const AtomicString& standaloneValue) document 49 Source/core/dom/Attr.cpp : ContainerNode(&document) document 65 Source/core/dom/Attr.cpp PassRefPtr<Attr> Attr::create(Document& document, const QualifiedName& name, const AtomicString& value) document 67 Source/core/dom/Attr.cpp RefPtr<Attr> attr = adoptRef(new Attr(document, name, value)); document 80 Source/core/dom/Attr.cpp RefPtr<Text> textNode = document().createTextNode(value().string()); document 119 Source/core/dom/Attr.cpp UseCounter::count(document(), UseCounter::AttrGetValue); document 125 Source/core/dom/Attr.cpp UseCounter::count(document(), UseCounter::AttrSetValue); document 127 Source/core/dom/Attr.cpp UseCounter::count(document(), UseCounter::AttrSetValueWithElement); document 140 Source/core/dom/Attr.cpp RefPtr<Attr> clone = adoptRef(new Attr(document(), qualifiedName(), value())); document 29 Source/core/dom/CDATASection.cpp inline CDATASection::CDATASection(Document& document, const String& data) document 30 Source/core/dom/CDATASection.cpp : Text(document, data, CreateText) document 35 Source/core/dom/CDATASection.cpp PassRefPtr<CDATASection> CDATASection::create(Document& document, const String& data) document 37 Source/core/dom/CDATASection.cpp return adoptRef(new CDATASection(document, data)); document 52 Source/core/dom/CDATASection.cpp return create(document(), data); document 48 Source/core/dom/CSSSelectorWatch.cpp CSSSelectorWatch::CSSSelectorWatch(Document& document) document 49 Source/core/dom/CSSSelectorWatch.cpp : m_document(document) document 55 Source/core/dom/CSSSelectorWatch.cpp CSSSelectorWatch& CSSSelectorWatch::from(Document& document) document 57 Source/core/dom/CSSSelectorWatch.cpp CSSSelectorWatch* watch = static_cast<CSSSelectorWatch*>(DocumentSupplement::from(document, kSupplementName)); document 59 Source/core/dom/CSSSelectorWatch.cpp watch = new CSSSelectorWatch(document); document 60 Source/core/dom/CSSSelectorWatch.cpp DocumentSupplement::provideTo(document, kSupplementName, adoptPtr(watch)); document 56 Source/core/dom/CharacterData.cpp document().didRemoveText(this, 0, oldLength); document 78 Source/core/dom/CharacterData.cpp document().incDOMTreeVersion(); document 105 Source/core/dom/CharacterData.cpp document().didInsertText(this, offset, data.length()); document 126 Source/core/dom/CharacterData.cpp document().didRemoveText(this, offset, realCount); document 149 Source/core/dom/CharacterData.cpp document().didRemoveText(this, offset, realCount); document 150 Source/core/dom/CharacterData.cpp document().didInsertText(this, offset, data.length()); document 180 Source/core/dom/CharacterData.cpp if (document().frame()) document 181 Source/core/dom/CharacterData.cpp document().frame()->selection().didUpdateCharacterData(this, offsetOfReplacedData, oldLength, newLength); document 183 Source/core/dom/CharacterData.cpp document().incDOMTreeVersion(); document 196 Source/core/dom/CharacterData.cpp if (document().hasListenerType(Document::DOMCHARACTERDATAMODIFIED_LISTENER)) document 80 Source/core/dom/ChildListMutationScope.h if (target.document().hasMutationObserversOfType(MutationObserver::ChildList)) document 40 Source/core/dom/ClassCollection.cpp , m_classNames(classNames, document().inQuirksMode()) document 29 Source/core/dom/Comment.cpp inline Comment::Comment(Document& document, const String& text) document 30 Source/core/dom/Comment.cpp : CharacterData(document, text, CreateOther) document 35 Source/core/dom/Comment.cpp PassRefPtr<Comment> Comment::create(Document& document, const String& text) document 37 Source/core/dom/Comment.cpp return adoptRef(new Comment(document, text)); document 52 Source/core/dom/Comment.cpp return create(document(), data()); document 114 Source/core/dom/ContainerNode.cpp if (isInShadowTree() || document().isTemplateDocument()) document 277 Source/core/dom/ContainerNode.cpp if (document() != newChild->document()) document 278 Source/core/dom/ContainerNode.cpp document().adoptNode(newChild.get(), ASSERT_NO_EXCEPTION); document 384 Source/core/dom/ContainerNode.cpp document().nodeWillBeRemoved(child); // e.g. mutation event listener can create a new range. document 431 Source/core/dom/ContainerNode.cpp document().removeFocusedElementOfSubtree(child.get()); document 433 Source/core/dom/ContainerNode.cpp if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(document())) document 485 Source/core/dom/ContainerNode.cpp document().adoptIfNeeded(oldChild); document 517 Source/core/dom/ContainerNode.cpp if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(document())) document 533 Source/core/dom/ContainerNode.cpp document().removeFocusedElementOfSubtree(this, true); document 536 Source/core/dom/ContainerNode.cpp document().nodeChildrenWillBeRemoved(*this); document 624 Source/core/dom/ContainerNode.cpp if (document() != newChild->document()) document 625 Source/core/dom/ContainerNode.cpp document().adoptNode(newChild.get(), ASSERT_NO_EXCEPTION); document 659 Source/core/dom/ContainerNode.cpp document().incDOMTreeVersion(); document 661 Source/core/dom/ContainerNode.cpp document().updateRangesAfterChildrenChanged(this); document 731 Source/core/dom/ContainerNode.cpp if (!o && document().view()) { document 732 Source/core/dom/ContainerNode.cpp point = FloatPoint(0, document().view()->contentsHeight()); document 924 Source/core/dom/ContainerNode.cpp SelectorQuery* selectorQuery = document().selectorQueryCache().add(selectors, document(), exceptionState); document 937 Source/core/dom/ContainerNode.cpp SelectorQuery* selectorQuery = document().selectorQueryCache().add(selectors, document(), exceptionState); document 951 Source/core/dom/ContainerNode.cpp RefPtr<Document> document(child.document()); document 953 Source/core/dom/ContainerNode.cpp if (c->parentNode() && document->hasListenerType(Document::DOMNODEINSERTED_LISTENER)) document 957 Source/core/dom/ContainerNode.cpp if (c->inDocument() && document->hasListenerType(Document::DOMNODEINSERTEDINTODOCUMENT_LISTENER)) { document 975 Source/core/dom/ContainerNode.cpp RefPtr<Document> document(child.document()); document 978 Source/core/dom/ContainerNode.cpp if (c->parentNode() && document->hasListenerType(Document::DOMNODEREMOVED_LISTENER)) { document 984 Source/core/dom/ContainerNode.cpp if (c->inDocument() && document->hasListenerType(Document::DOMNODEREMOVEDFROMDOCUMENT_LISTENER)) { document 1031 Source/core/dom/ContainerNode.cpp Document& document = this->document(); document 1046 Source/core/dom/ContainerNode.cpp forceCheckOfNextElementCount = document.styleEngine()->maxDirectAdjacentSelectors(); document 1057 Source/core/dom/ContainerNode.cpp if (document().isHTMLDocument()) document 92 Source/core/dom/ContainerNodeAlgorithms.cpp if (node.document().cssTarget() == node) document 93 Source/core/dom/ContainerNodeAlgorithms.cpp node.document().setCSSTarget(0); document 246 Source/core/dom/ContainerNodeAlgorithms.h RefPtr<Document> protectDocument(node.document()); document 283 Source/core/dom/ContainerNodeAlgorithms.h node.document().notifyRemovePendingSheetIfNeeded(); document 53 Source/core/dom/ContextFeatures.cpp bool ContextFeatures::dialogElementEnabled(Document* document) document 55 Source/core/dom/ContextFeatures.cpp if (!document) document 57 Source/core/dom/ContextFeatures.cpp return document->contextFeatures().isEnabled(document, DialogElement, RuntimeEnabledFeatures::dialogElementEnabled()); document 60 Source/core/dom/ContextFeatures.cpp bool ContextFeatures::styleScopedEnabled(Document* document) document 62 Source/core/dom/ContextFeatures.cpp if (!document) document 64 Source/core/dom/ContextFeatures.cpp return document->contextFeatures().isEnabled(document, StyleScoped, RuntimeEnabledFeatures::styleScopedEnabled()); document 67 Source/core/dom/ContextFeatures.cpp bool ContextFeatures::pagePopupEnabled(Document* document) document 69 Source/core/dom/ContextFeatures.cpp if (!document) document 71 Source/core/dom/ContextFeatures.cpp return document->contextFeatures().isEnabled(document, PagePopup, false); document 74 Source/core/dom/ContextFeatures.cpp bool ContextFeatures::mutationEventsEnabled(Document* document) document 76 Source/core/dom/ContextFeatures.cpp ASSERT(document); document 77 Source/core/dom/ContextFeatures.cpp if (!document) document 79 Source/core/dom/ContextFeatures.cpp return document->contextFeatures().isEnabled(document, MutationEvents, true); document 82 Source/core/dom/ContextFeatures.cpp bool ContextFeatures::pushStateEnabled(Document* document) document 84 Source/core/dom/ContextFeatures.cpp return document->contextFeatures().isEnabled(document, PushState, true); document 92 Source/core/dom/ContextFeatures.cpp void provideContextFeaturesToDocumentFrom(Document& document, Page& page) document 97 Source/core/dom/ContextFeatures.cpp document.setContextFeatures(*provided); document 96 Source/core/dom/ContextFeatures.h inline bool ContextFeatures::isEnabled(Document* document, FeatureType type, bool defaultValue) const document 100 Source/core/dom/ContextFeatures.h return m_client->isEnabled(document, type, defaultValue); document 103 Source/core/dom/ContextFeatures.h inline void ContextFeatures::urlDidChange(Document* document) document 165 Source/core/dom/DOMImplementation.cpp DOMImplementation::DOMImplementation(Document& document) document 166 Source/core/dom/DOMImplementation.cpp : m_document(document) document 46 Source/core/dom/DOMImplementation.h static PassOwnPtr<DOMImplementation> create(Document& document) { return adoptPtr(new DOMImplementation(document)); } document 50 Source/core/dom/DOMImplementation.h Document& document() const { return m_document; } document 35 Source/core/dom/DecodedDataDocumentParser.cpp DecodedDataDocumentParser::DecodedDataDocumentParser(Document* document) document 36 Source/core/dom/DecodedDataDocumentParser.cpp : DocumentParser(document) document 98 Source/core/dom/DecodedDataDocumentParser.cpp document()->setEncodingData(DocumentEncodingData(*m_decoder.get())); document 308 Source/core/dom/Document.cpp return element.document().frame() && element.rootEditableElement(); document 320 Source/core/dom/Document.cpp Document* ancestorDocument = ancestorFrame->document(); document 341 Source/core/dom/Document.cpp String message = "Unsafe JavaScript attempt to initiate navigation for frame with URL '" + frame.document()->url().string() + "' from frame with URL '" + activeURL.string() + "'. " + reason + "\n"; document 362 Source/core/dom/Document.cpp Document* document = toDocument(context); document 363 Source/core/dom/Document.cpp if (RefPtr<Element> element = document->autofocusElement()) { document 364 Source/core/dom/Document.cpp document->setAutofocusElement(0); document 370 Source/core/dom/Document.cpp DocumentVisibilityObserver::DocumentVisibilityObserver(Document& document) document 373 Source/core/dom/Document.cpp registerObserver(document); document 389 Source/core/dom/Document.cpp void DocumentVisibilityObserver::registerObserver(Document& document) document 392 Source/core/dom/Document.cpp m_document = &document; document 397 Source/core/dom/Document.cpp void DocumentVisibilityObserver::setObservedDocument(Document& document) document 400 Source/core/dom/Document.cpp registerObserver(document); document 565 Source/core/dom/Document.cpp if (m_fetcher->document() == this) document 1265 Source/core/dom/Document.cpp static inline String canonicalizedTitle(Document* document, const String& title) document 1878 Source/core/dom/Document.cpp oe->document().updateLayout(); document 1945 Source/core/dom/Document.cpp ASSERT_ARG(element, element->document() == this); document 2591 Source/core/dom/Document.cpp m_frame->domWindow()->dispatchEvent(unloadEvent, m_frame->document()); document 2880 Source/core/dom/Document.cpp if (!ancestorFrame->document()->securityOrigin()->canAccess(securityOrigin())) document 3124 Source/core/dom/Document.cpp while (frame->document()->isSrcdocDocument()) { document 3130 Source/core/dom/Document.cpp referrerDocument = frame->document(); document 3442 Source/core/dom/Document.cpp if (newFocusedElement && (newFocusedElement->document() != this)) document 4191 Source/core/dom/Document.cpp static Editor::Command command(Document* document, const String& commandName, bool userInterface = false) document 4193 Source/core/dom/Document.cpp LocalFrame* frame = document->frame(); document 4194 Source/core/dom/Document.cpp if (!frame || frame->document() != document) document 4197 Source/core/dom/Document.cpp document->updateRenderTreeIfNeeded(); document 4311 Source/core/dom/Document.cpp for (LocalFrame* frame = m_frame; frame && frame->document(); frame = frame->tree().traverseNext(m_frame)) document 4312 Source/core/dom/Document.cpp frame->document()->setNeedsStyleRecalc(SubtreeStyleChange); document 4336 Source/core/dom/Document.cpp return parent->document(); document 4344 Source/core/dom/Document.cpp doc = &element->document(); document 4580 Source/core/dom/Document.cpp static PassRefPtr<ContentSecurityPolicy> contentSecurityPolicyFor(Document* document) document 4582 Source/core/dom/Document.cpp if (document->import() && document->import()->isChild()) document 4583 Source/core/dom/Document.cpp return document->import()->master()->contentSecurityPolicy(); document 4584 Source/core/dom/Document.cpp return ContentSecurityPolicy::create(document); document 4663 Source/core/dom/Document.cpp contentSecurityPolicy()->copyStateFrom(m_frame->tree().parent()->document()->contentSecurityPolicy()); document 4681 Source/core/dom/Document.cpp if (node && node->document() != this && !node->document().allowInlineEventHandlers(node, listener, contextURL, contextLine)) document 4695 Source/core/dom/Document.cpp if (!node->document().executingFrame()) document 4936 Source/core/dom/Document.cpp if (target->document() != this) document 4947 Source/core/dom/Document.cpp if (element->document() == this) document 5029 Source/core/dom/Document.cpp ASSERT(&handler->document() == this document 5038 Source/core/dom/Document.cpp ASSERT(!handler->isDocumentNode() || &handler->document() == this); document 5108 Source/core/dom/Document.cpp if (m_frame->document() != this) document 5204 Source/core/dom/Document.cpp while (innerElementInDocument && innerElementInDocument->document() != this) { document 5205 Source/core/dom/Document.cpp innerElementInDocument->document().updateHoverActiveState(request, innerElementInDocument, event); document 5206 Source/core/dom/Document.cpp innerElementInDocument = innerElementInDocument->document().ownerElement(); document 1411 Source/core/dom/Document.h DEFINE_TYPE_CASTS(thisType, Document, document, document->is##thisType(), document.is##thisType()) document 1425 Source/core/dom/Document.h return this == document(); document 32 Source/core/dom/DocumentFragment.cpp DocumentFragment::DocumentFragment(Document* document, ConstructionType constructionType) document 33 Source/core/dom/DocumentFragment.cpp : ContainerNode(document, constructionType) document 38 Source/core/dom/DocumentFragment.cpp PassRefPtr<DocumentFragment> DocumentFragment::create(Document& document) document 40 Source/core/dom/DocumentFragment.cpp return adoptRef(new DocumentFragment(&document, Node::CreateDocumentFragment)); document 69 Source/core/dom/DocumentFragment.cpp RefPtr<DocumentFragment> clone = create(document()); document 33 Source/core/dom/DocumentFullscreen.cpp bool DocumentFullscreen::webkitIsFullScreen(Document& document) document 35 Source/core/dom/DocumentFullscreen.cpp if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(document)) document 40 Source/core/dom/DocumentFullscreen.cpp bool DocumentFullscreen::webkitFullScreenKeyboardInputAllowed(Document& document) document 42 Source/core/dom/DocumentFullscreen.cpp if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(document)) document 47 Source/core/dom/DocumentFullscreen.cpp Element* DocumentFullscreen::webkitCurrentFullScreenElement(Document& document) document 49 Source/core/dom/DocumentFullscreen.cpp if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(document)) document 54 Source/core/dom/DocumentFullscreen.cpp void DocumentFullscreen::webkitCancelFullScreen(Document& document) document 56 Source/core/dom/DocumentFullscreen.cpp FullscreenElementStack::from(document).webkitCancelFullScreen(); document 59 Source/core/dom/DocumentFullscreen.cpp bool DocumentFullscreen::webkitFullscreenEnabled(Document& document) document 61 Source/core/dom/DocumentFullscreen.cpp return FullscreenElementStack::webkitFullscreenEnabled(document); document 64 Source/core/dom/DocumentFullscreen.cpp Element* DocumentFullscreen::webkitFullscreenElement(Document& document) document 66 Source/core/dom/DocumentFullscreen.cpp if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(document)) document 71 Source/core/dom/DocumentFullscreen.cpp void DocumentFullscreen::webkitExitFullscreen(Document& document) document 73 Source/core/dom/DocumentFullscreen.cpp FullscreenElementStack::from(document).webkitExitFullscreen(); document 47 Source/core/dom/DocumentInit.cpp return &ownerElement->document(); document 61 Source/core/dom/DocumentInit.cpp return ownerFrame->document(); document 142 Source/core/dom/DocumentInit.cpp PassRefPtr<CustomElementRegistrationContext> DocumentInit::registrationContext(Document* document) const document 144 Source/core/dom/DocumentInit.cpp if (!document->isHTMLDocument() && !document->isXHTMLDocument()) document 35 Source/core/dom/DocumentLifecycleNotifier.cpp DocumentLifecycleNotifier::DocumentLifecycleNotifier(Document* document) document 36 Source/core/dom/DocumentLifecycleNotifier.cpp : LifecycleNotifier<Document>(document) document 54 Source/core/dom/DocumentLifecycleNotifier.h inline PassOwnPtr<DocumentLifecycleNotifier> DocumentLifecycleNotifier::create(Document* document) document 56 Source/core/dom/DocumentLifecycleNotifier.h return adoptPtr(new DocumentLifecycleNotifier(document)); document 44 Source/core/dom/DocumentLifecycleObserver.cpp DocumentLifecycleObserver::DocumentLifecycleObserver(Document* document) document 45 Source/core/dom/DocumentLifecycleObserver.cpp : LifecycleObserver<Document>(document, DocumentLifecycleObserverType) document 68 Source/core/dom/DocumentMarkerControllerTest.cpp m_document = &m_dummyPageHolder->document(); document 74 Source/core/dom/DocumentMarkerControllerTest.cpp return document().createTextNode(String::fromUTF8(textContents)); document 81 Source/core/dom/DocumentMarkerControllerTest.cpp document().updateLayout(); document 88 Source/core/dom/DocumentMarkerControllerTest.cpp document().body()->setInnerHTML(String::fromUTF8(bodyContent), ASSERT_NO_EXCEPTION); document 95 Source/core/dom/DocumentMarkerControllerTest.cpp RefPtr<Element> parent = toElement(document().body()->firstChild()->firstChild()); document 109 Source/core/dom/DocumentMarkerControllerTest.cpp RefPtr<Element> parent = toElement(document().body()->firstChild()->firstChild()); document 122 Source/core/dom/DocumentMarkerControllerTest.cpp RefPtr<Element> parent = toElement(document().body()->firstChild()->firstChild()); document 136 Source/core/dom/DocumentMarkerControllerTest.cpp RefPtr<Element> parent = toElement(document().body()->firstChild()->firstChild()); document 150 Source/core/dom/DocumentMarkerControllerTest.cpp RefPtr<Element> parent = toElement(document().body()->firstChild()->firstChild()); document 164 Source/core/dom/DocumentMarkerControllerTest.cpp RefPtr<Element> parent = toElement(document().body()->firstChild()->firstChild()); document 178 Source/core/dom/DocumentMarkerControllerTest.cpp RefPtr<Element> parent = toElement(document().body()->firstChild()->firstChild()); document 34 Source/core/dom/DocumentParser.cpp DocumentParser::DocumentParser(Document* document) document 37 Source/core/dom/DocumentParser.cpp , m_document(document) document 39 Source/core/dom/DocumentParser.cpp ASSERT(document); document 75 Source/core/dom/DocumentParser.h Document* document() const { ASSERT(m_document); return m_document; } document 54 Source/core/dom/DocumentStyleSheetCollection.cpp ASSERT(treeScope.rootNode() == treeScope.rootNode().document()); document 69 Source/core/dom/DocumentStyleSheetCollection.cpp if (RuntimeEnabledFeatures::xsltEnabled() && !document().transformSourceDocument()) { document 72 Source/core/dom/DocumentStyleSheetCollection.cpp if (!document().parsing() && !pi->isLoading()) document 73 Source/core/dom/DocumentStyleSheetCollection.cpp document().applyXSLTransform(pi); document 81 Source/core/dom/DocumentStyleSheetCollection.cpp Document* document = candidate.importedDocument(); document 82 Source/core/dom/DocumentStyleSheetCollection.cpp if (!document) document 84 Source/core/dom/DocumentStyleSheetCollection.cpp if (collector.hasVisited(document)) document 86 Source/core/dom/DocumentStyleSheetCollection.cpp collector.willVisit(document); document 87 Source/core/dom/DocumentStyleSheetCollection.cpp document->styleEngine()->updateStyleSheetsInImport(collector); document 112 Source/core/dom/DocumentStyleSheetCollection.cpp ASSERT(document().styleEngine() == engine); document 57 Source/core/dom/DocumentStyleSheetCollector.h bool hasVisited(Document* document) const { return m_visitedDocuments.contains(document); } document 58 Source/core/dom/DocumentStyleSheetCollector.h void willVisit(Document* document) { m_visitedDocuments.add(document); } document 46 Source/core/dom/DocumentTest.cpp Document& document() const { return m_dummyPageHolder->document(); } document 60 Source/core/dom/DocumentTest.cpp MockDocumentVisibilityObserver(Document& document) : DocumentVisibilityObserver(document) { } document 68 Source/core/dom/DocumentTest.cpp MockDocumentVisibilityObserver observer1(document()); document 71 Source/core/dom/DocumentTest.cpp MockDocumentVisibilityObserver observer2(document()); document 100 Source/core/dom/DocumentTest.cpp Document& alternateDocument = alternatePage->document(); document 110 Source/core/dom/DocumentTest.cpp observer2.setObservedDocument(document()); document 31 Source/core/dom/DocumentType.cpp DocumentType::DocumentType(Document* document, const String& name, const String& publicId, const String& systemId) document 32 Source/core/dom/DocumentType.cpp : Node(document, CreateOther) document 57 Source/core/dom/DocumentType.cpp return create(&document(), m_name, m_publicId, m_systemId); document 67 Source/core/dom/DocumentType.cpp document().setDoctype(this); document 74 Source/core/dom/DocumentType.cpp document().setDoctype(nullptr); document 35 Source/core/dom/DocumentType.h static PassRefPtr<DocumentType> create(Document* document, const String& name, const String& publicId, const String& systemId) document 37 Source/core/dom/DocumentType.h return adoptRef(new DocumentType(document, name, publicId, systemId)); document 160 Source/core/dom/Element.cpp PassRefPtr<Element> Element::create(const QualifiedName& tagName, Document* document) document 162 Source/core/dom/Element.cpp return adoptRef(new Element(tagName, document, CreateElement)); document 179 Source/core/dom/Element.cpp document().accessSVGExtensions().removeElementFromPendingResources(this); document 249 Source/core/dom/Element.cpp ASSERT(!document().childNeedsStyleRecalc()); document 285 Source/core/dom/Element.cpp return document().createElement(tagQName(), false); document 296 Source/core/dom/Element.cpp attrNode = Attr::create(document(), attribute.name(), attribute.value()); document 450 Source/core/dom/Element.cpp document().updateLayoutIgnorePendingStylesheets(); document 465 Source/core/dom/Element.cpp document().updateLayoutIgnorePendingStylesheets(); document 479 Source/core/dom/Element.cpp document().updateLayoutIgnorePendingStylesheets(); document 538 Source/core/dom/Element.cpp document().updateLayoutIgnorePendingStylesheets(); document 546 Source/core/dom/Element.cpp document().updateLayoutIgnorePendingStylesheets(); document 554 Source/core/dom/Element.cpp document().updateRenderTreeForNodeIfNeeded(this); document 561 Source/core/dom/Element.cpp document().updateLayoutIgnorePendingStylesheets(); document 569 Source/core/dom/Element.cpp document().updateLayoutIgnorePendingStylesheets(); document 585 Source/core/dom/Element.cpp document().updateLayoutIgnorePendingStylesheets(); document 593 Source/core/dom/Element.cpp document().updateLayoutIgnorePendingStylesheets(); document 602 Source/core/dom/Element.cpp document().updateLayoutIgnorePendingStylesheets(); document 611 Source/core/dom/Element.cpp document().updateLayoutIgnorePendingStylesheets(); document 615 Source/core/dom/Element.cpp bool inQuirksMode = document().inQuirksMode(); document 616 Source/core/dom/Element.cpp if ((!inQuirksMode && document().documentElement() == this) document 617 Source/core/dom/Element.cpp || (inQuirksMode && isHTMLElement() && document().body() == this)) { document 618 Source/core/dom/Element.cpp if (FrameView* view = document().view()) { document 619 Source/core/dom/Element.cpp if (RenderView* renderView = document().renderView()) document 631 Source/core/dom/Element.cpp document().updateLayoutIgnorePendingStylesheets(); document 635 Source/core/dom/Element.cpp bool inQuirksMode = document().inQuirksMode(); document 637 Source/core/dom/Element.cpp if ((!inQuirksMode && document().documentElement() == this) document 638 Source/core/dom/Element.cpp || (inQuirksMode && isHTMLElement() && document().body() == this)) { document 639 Source/core/dom/Element.cpp if (FrameView* view = document().view()) { document 640 Source/core/dom/Element.cpp if (RenderView* renderView = document().renderView()) document 652 Source/core/dom/Element.cpp document().updateLayoutIgnorePendingStylesheets(); document 654 Source/core/dom/Element.cpp if (document().documentElement() != this) { document 661 Source/core/dom/Element.cpp if (document().inQuirksMode()) document 664 Source/core/dom/Element.cpp if (FrameView* view = document().view()) { document 665 Source/core/dom/Element.cpp if (RenderView* renderView = document().renderView()) document 675 Source/core/dom/Element.cpp document().updateLayoutIgnorePendingStylesheets(); document 677 Source/core/dom/Element.cpp if (document().documentElement() != this) { document 684 Source/core/dom/Element.cpp if (document().inQuirksMode()) document 687 Source/core/dom/Element.cpp if (FrameView* view = document().view()) { document 688 Source/core/dom/Element.cpp if (RenderView* renderView = document().renderView()) document 698 Source/core/dom/Element.cpp document().updateLayoutIgnorePendingStylesheets(); document 700 Source/core/dom/Element.cpp if (document().documentElement() != this) { document 707 Source/core/dom/Element.cpp if (document().inQuirksMode()) document 710 Source/core/dom/Element.cpp LocalFrame* frame = document().frame(); document 744 Source/core/dom/Element.cpp document().updateLayoutIgnorePendingStylesheets(); document 746 Source/core/dom/Element.cpp if (document().documentElement() != this) { document 753 Source/core/dom/Element.cpp if (document().inQuirksMode()) document 756 Source/core/dom/Element.cpp LocalFrame* frame = document().frame(); document 790 Source/core/dom/Element.cpp document().updateLayoutIgnorePendingStylesheets(); document 798 Source/core/dom/Element.cpp document().updateLayoutIgnorePendingStylesheets(); document 806 Source/core/dom/Element.cpp document().updateLayoutIgnorePendingStylesheets(); document 808 Source/core/dom/Element.cpp FrameView* view = document().view(); document 838 Source/core/dom/Element.cpp document().updateLayoutIgnorePendingStylesheets(); document 849 Source/core/dom/Element.cpp document().adjustFloatQuadsForScrollAndAbsoluteZoom(quads, *renderBoxModelObject); document 855 Source/core/dom/Element.cpp document().updateLayoutIgnorePendingStylesheets(); document 878 Source/core/dom/Element.cpp document().adjustFloatRectForScrollAndAbsoluteZoom(result, *renderer()); document 887 Source/core/dom/Element.cpp return document().view()->contentsToScreen(renderer()->absoluteBoundingBoxRectIgnoringTransforms()); document 982 Source/core/dom/Element.cpp document().incDOMTreeVersion(); document 984 Source/core/dom/Element.cpp StyleResolver* styleResolver = document().styleResolver(); document 996 Source/core/dom/Element.cpp AtomicString newId = makeIdForStyleResolution(newValue, document().inQuirksMode()); document 1014 Source/core/dom/Element.cpp if (AXObjectCache* cache = document().existingAXObjectCache()) document 1064 Source/core/dom/Element.cpp StyleResolver* styleResolver = document().styleResolver(); document 1069 Source/core/dom/Element.cpp const bool shouldFoldCase = document().inQuirksMode(); document 1093 Source/core/dom/Element.cpp AtomicString newId = makeIdForStyleResolution(newValue, document().inQuirksMode()); document 1105 Source/core/dom/Element.cpp const bool shouldFoldCase = document().inQuirksMode(); document 1161 Source/core/dom/Element.cpp if (document().elementDataCache()) document 1162 Source/core/dom/Element.cpp m_elementData = document().elementDataCache()->cachedShareableElementDataWithAttributes(attributeVector); document 1197 Source/core/dom/Element.cpp UseCounter::count(document(), UseCounter::ElementSetPrefix); document 1295 Source/core/dom/Element.cpp CustomElement::didEnterDocument(this, document()); document 1329 Source/core/dom/Element.cpp if (document().page()) document 1330 Source/core/dom/Element.cpp document().page()->pointerLockController().elementRemoved(this); document 1334 Source/core/dom/Element.cpp if (insertionPoint->isInTreeScope() && treeScope() == document()) { document 1353 Source/core/dom/Element.cpp document().accessSVGExtensions().removeElementFromPendingResources(this); document 1356 Source/core/dom/Element.cpp CustomElement::didLeaveDocument(this, insertionPoint->document()); document 1359 Source/core/dom/Element.cpp document().removeFromTopLayer(this); document 1366 Source/core/dom/Element.cpp ASSERT(document().inStyleRecalc()); document 1399 Source/core/dom/Element.cpp if (isFocusable() && document().focusedElement() == this) document 1400 Source/core/dom/Element.cpp document().updateFocusAppearanceSoon(false /* don't restore selection */); document 1420 Source/core/dom/Element.cpp document().unscheduleLayerUpdate(*this); document 1426 Source/core/dom/Element.cpp if (!document().inStyleRecalc()) { document 1492 Source/core/dom/Element.cpp ASSERT(document().inStyleRecalc()); document 1516 Source/core/dom/Element.cpp ASSERT(document().inStyleRecalc()); document 1517 Source/core/dom/Element.cpp return document().ensureStyleResolver().styleForElement(this); document 1522 Source/core/dom/Element.cpp ASSERT(document().inStyleRecalc()); document 1559 Source/core/dom/Element.cpp ASSERT(document().inStyleRecalc()); document 1613 Source/core/dom/Element.cpp ASSERT(document().inStyleRecalc()); document 1636 Source/core/dom/Element.cpp StyleResolver& styleResolver = document().ensureStyleResolver(); document 1666 Source/core/dom/Element.cpp CSSSelectorWatch::from(document()).updateSelectorMatches(oldCallbackSelectors, newCallbackSelectors); document 1804 Source/core/dom/Element.cpp if (!inActiveDocument() || document().hasPendingForcedStyleRecalc() || styleChangeType() >= SubtreeStyleChange) document 1963 Source/core/dom/Element.cpp oldAttrNode = Attr::create(document(), attrNode->qualifiedName(), elementData.attributeItem(index).value()); document 1986 Source/core/dom/Element.cpp ASSERT(document() == attr->document()); document 2125 Source/core/dom/Element.cpp Document& doc = document(); document 2166 Source/core/dom/Element.cpp LocalFrame* frame = document().frame(); document 2186 Source/core/dom/Element.cpp Document& doc = document(); document 2211 Source/core/dom/Element.cpp RefPtrWillBeRawPtr<FocusEvent> event = FocusEvent::create(EventTypeNames::focus, false, false, document().domWindow(), 0, oldFocusedElement); document 2217 Source/core/dom/Element.cpp RefPtrWillBeRawPtr<FocusEvent> event = FocusEvent::create(EventTypeNames::blur, false, false, document().domWindow(), 0, newFocusedElement); document 2225 Source/core/dom/Element.cpp dispatchScopedEventDispatchMediator(FocusInEventDispatchMediator::create(FocusEvent::create(eventType, true, false, document().domWindow(), 0, oldFocusedElement))); document 2232 Source/core/dom/Element.cpp dispatchScopedEventDispatchMediator(FocusOutEventDispatchMediator::create(FocusEvent::create(eventType, true, false, document().domWindow(), 0, newFocusedElement))); document 2349 Source/core/dom/Element.cpp RefPtr<Text> textNode = document().createTextNode(text); document 2368 Source/core/dom/Element.cpp document().updateLayoutIgnorePendingStylesheets(); document 2491 Source/core/dom/Element.cpp rareData.setComputedStyle(document().styleForElementIgnoringPendingStylesheets(this)); document 2536 Source/core/dom/Element.cpp return document().getCachedLocale(computeInheritedLanguage()); document 2543 Source/core/dom/Element.cpp if (document().focusedElement() == this) document 2544 Source/core/dom/Element.cpp document().cancelFocusAppearanceUpdate(); document 2592 Source/core/dom/Element.cpp StyleEngine* engine = document().styleEngine(); document 2598 Source/core/dom/Element.cpp document().addToTopLayer(element.get(), this); document 2621 Source/core/dom/Element.cpp SelectorQuery* selectorQuery = document().selectorQueryCache().add(AtomicString(selectors), document(), exceptionState); document 2651 Source/core/dom/Element.cpp return document().completeURL(stripLeadingAndTrailingHTMLSpaces(getAttribute(name))); document 2665 Source/core/dom/Element.cpp return document().completeURL(value); document 2705 Source/core/dom/Element.cpp FullscreenElementStack::from(document()).requestFullScreenForElement(this, ALLOW_KEYBOARD_INPUT, FullscreenElementStack::EnforceIFrameAllowFullScreenRequirement); document 2710 Source/core/dom/Element.cpp FullscreenElementStack::from(document()).requestFullScreenForElement(this, (flags | LEGACY_MOZILLA_REQUEST), FullscreenElementStack::EnforceIFrameAllowFullScreenRequirement); document 2722 Source/core/dom/Element.cpp return element->parentElement() ? element->parentElement() : element->document().ownerElement(); document 2745 Source/core/dom/Element.cpp if (document().page()) document 2746 Source/core/dom/Element.cpp document().page()->pointerLockController().requestPointerLock(this); document 2865 Source/core/dom/Element.cpp document().ensureStyleResolver().ensureUpdatedRuleFeatureSet().scheduleStyleInvalidationForAttributeChange(name, *this); document 2915 Source/core/dom/Element.cpp static void reResolveURLsInInlineStyle(const Document& document, MutableStylePropertySet& style) document 2921 Source/core/dom/Element.cpp toCSSImageValue(property.value())->reResolveURL(document); document 2932 Source/core/dom/Element.cpp if (oldDocument.inQuirksMode() != document().inQuirksMode()) { document 2939 Source/core/dom/Element.cpp if (needsURLResolutionForInlineStyle(*this, oldDocument, document())) document 2940 Source/core/dom/Element.cpp reResolveURLsInInlineStyle(document(), ensureMutableInlineStyle()); document 2945 Source/core/dom/Element.cpp if (!document().isHTMLDocument()) document 2949 Source/core/dom/Element.cpp toHTMLDocument(document()).removeNamedItem(oldName); document 2952 Source/core/dom/Element.cpp toHTMLDocument(document()).addNamedItem(newName); document 2957 Source/core/dom/Element.cpp if (!document().isHTMLDocument()) document 2961 Source/core/dom/Element.cpp toHTMLDocument(document()).removeExtraNamedItem(oldId); document 2964 Source/core/dom/Element.cpp toHTMLDocument(document()).addExtraNamedItem(newId); document 2987 Source/core/dom/Element.cpp document().scheduleLayerUpdate(*this); document 3102 Source/core/dom/Element.cpp ownerDocumentsHaveDifferentCaseSensitivity = other.document().inQuirksMode() != document().inQuirksMode(); document 3111 Source/core/dom/Element.cpp if (!other.m_elementData->isUnique() && !ownerDocumentsHaveDifferentCaseSensitivity && !needsURLResolutionForInlineStyle(other, other.document(), document())) document 3172 Source/core/dom/Element.cpp CSSParserMode mode = (!isHTMLElement() || document().inQuirksMode()) ? HTMLQuirksMode : HTMLStandardMode; document 3205 Source/core/dom/Element.cpp static_pointer_cast<MutableStylePropertySet>(inlineStyle)->parseDeclaration(newStyleString, document().elementSheet().contents()); document 3213 Source/core/dom/Element.cpp if (document().scriptableDocumentParser() && !document().isInDocumentWrite()) document 3214 Source/core/dom/Element.cpp startLineNumber = document().scriptableDocumentParser()->lineNumber(); document 3218 Source/core/dom/Element.cpp } else if (modificationReason == ModifiedByCloning || document().contentSecurityPolicy()->allowInlineStyle(document().url(), startLineNumber)) { document 3264 Source/core/dom/Element.cpp bool changes = ensureMutableInlineStyle().setProperty(propertyID, value, important, document().elementSheet().contents()); document 3326 Source/core/dom/Element.cpp if (hasID() && document().ensureStyleResolver().hasRulesForId(idForStyleResolution())) document 3340 Source/core/dom/Element.cpp if (this == document().cssTarget()) document 514 Source/core/dom/Element.h Element(const QualifiedName& tagName, Document* document, ConstructionType type) document 515 Source/core/dom/Element.h : ContainerNode(document, type) document 761 Source/core/dom/Element.h return isHTMLElement() && document().isHTMLDocument(); document 47 Source/core/dom/FullscreenElementStack.cpp static bool fullscreenIsAllowedForAllOwners(const Document& document) document 49 Source/core/dom/FullscreenElementStack.cpp const HTMLFrameOwnerElement* owner = document.ownerElement(); document 55 Source/core/dom/FullscreenElementStack.cpp UseCounter::count(document, UseCounter::PrefixedAllowFullscreenAttribute); document 59 Source/core/dom/FullscreenElementStack.cpp } while ((owner = owner->document().ownerElement())); document 68 Source/core/dom/FullscreenElementStack.cpp FullscreenElementStack& FullscreenElementStack::from(Document& document) document 70 Source/core/dom/FullscreenElementStack.cpp FullscreenElementStack* fullscreen = fromIfExists(document); document 72 Source/core/dom/FullscreenElementStack.cpp fullscreen = new FullscreenElementStack(document); document 73 Source/core/dom/FullscreenElementStack.cpp DocumentSupplement::provideTo(document, supplementName(), adoptPtr(fullscreen)); document 79 Source/core/dom/FullscreenElementStack.cpp FullscreenElementStack* FullscreenElementStack::fromIfExistsSlow(Document& document) document 81 Source/core/dom/FullscreenElementStack.cpp return static_cast<FullscreenElementStack*>(DocumentSupplement::from(document, supplementName())); document 84 Source/core/dom/FullscreenElementStack.cpp Element* FullscreenElementStack::fullscreenElementFrom(Document& document) document 86 Source/core/dom/FullscreenElementStack.cpp if (FullscreenElementStack* found = fromIfExists(document)) document 91 Source/core/dom/FullscreenElementStack.cpp Element* FullscreenElementStack::currentFullScreenElementFrom(Document& document) document 93 Source/core/dom/FullscreenElementStack.cpp if (FullscreenElementStack* found = fromIfExists(document)) document 98 Source/core/dom/FullscreenElementStack.cpp bool FullscreenElementStack::isFullScreen(Document& document) document 100 Source/core/dom/FullscreenElementStack.cpp if (FullscreenElementStack* found = fromIfExists(document)) document 105 Source/core/dom/FullscreenElementStack.cpp FullscreenElementStack::FullscreenElementStack(Document& document) document 106 Source/core/dom/FullscreenElementStack.cpp : DocumentLifecycleObserver(&document) document 111 Source/core/dom/FullscreenElementStack.cpp document.setHasFullscreenElementStack(); document 141 Source/core/dom/FullscreenElementStack.cpp return fullscreenIsAllowedForAllOwners(element->document()); document 147 Source/core/dom/FullscreenElementStack.cpp if (!document()->isActive()) document 156 Source/core/dom/FullscreenElementStack.cpp element = document()->documentElement(); document 182 Source/core/dom/FullscreenElementStack.cpp for (LocalFrame* descendant = document()->frame() ? document()->frame()->tree().traverseNext() : 0; descendant; descendant = descendant->tree().traverseNext()) { document 183 Source/core/dom/FullscreenElementStack.cpp ASSERT(descendant->document()); document 184 Source/core/dom/FullscreenElementStack.cpp if (fullscreenElementFrom(*descendant->document())) { document 202 Source/core/dom/FullscreenElementStack.cpp Document* currentDoc = document(); document 209 Source/core/dom/FullscreenElementStack.cpp currentDoc = currentDoc->ownerElement() ? ¤tDoc->ownerElement()->document() : 0; document 250 Source/core/dom/FullscreenElementStack.cpp document()->frameHost()->chrome().client().enterFullScreenForElement(element); document 256 Source/core/dom/FullscreenElementStack.cpp m_fullScreenErrorEventTargetQueue.append(element ? element : document()->documentElement()); document 266 Source/core/dom/FullscreenElementStack.cpp if (!fullscreenElementFrom(document()->topDocument())) document 272 Source/core/dom/FullscreenElementStack.cpp replacementFullscreenElementStack.append(fullscreenElementFrom(document()->topDocument())); document 273 Source/core/dom/FullscreenElementStack.cpp FullscreenElementStack& topFullscreenElementStack = from(document()->topDocument()); document 283 Source/core/dom/FullscreenElementStack.cpp Document* currentDoc = document(); document 294 Source/core/dom/FullscreenElementStack.cpp for (LocalFrame* descendant = document()->frame() ? document()->frame()->tree().traverseNext() : 0; descendant; descendant = descendant->tree().traverseNext()) { document 295 Source/core/dom/FullscreenElementStack.cpp ASSERT(descendant->document()); document 296 Source/core/dom/FullscreenElementStack.cpp if (fullscreenElementFrom(*descendant->document())) document 297 Source/core/dom/FullscreenElementStack.cpp descendants.prepend(descendant->document()); document 317 Source/core/dom/FullscreenElementStack.cpp if (newTop && (!newTop->inDocument() || newTop->document() != currentDoc)) document 327 Source/core/dom/FullscreenElementStack.cpp currentDoc = ¤tDoc->ownerElement()->document(); document 338 Source/core/dom/FullscreenElementStack.cpp FrameHost* host = document()->frameHost(); document 357 Source/core/dom/FullscreenElementStack.cpp bool FullscreenElementStack::webkitFullscreenEnabled(Document& document) document 363 Source/core/dom/FullscreenElementStack.cpp return fullscreenIsAllowedForAllOwners(document); document 369 Source/core/dom/FullscreenElementStack.cpp if (!document()->isActive()) document 388 Source/core/dom/FullscreenElementStack.cpp if (m_fullScreenElement != document()->documentElement()) document 389 Source/core/dom/FullscreenElementStack.cpp RenderFullScreen::wrapRenderer(renderer, renderer ? renderer->parent() : 0, document()); document 394 Source/core/dom/FullscreenElementStack.cpp document()->setNeedsStyleRecalc(SubtreeStyleChange); document 395 Source/core/dom/FullscreenElementStack.cpp document()->updateRenderTreeIfNeeded(); document 403 Source/core/dom/FullscreenElementStack.cpp if (!document()->isActive()) document 416 Source/core/dom/FullscreenElementStack.cpp if (!document()->isActive()) document 427 Source/core/dom/FullscreenElementStack.cpp if (!document()->isActive()) document 438 Source/core/dom/FullscreenElementStack.cpp document()->setNeedsStyleRecalc(SubtreeStyleChange); document 443 Source/core/dom/FullscreenElementStack.cpp Document* exitingDocument = document(); document 445 Source/core/dom/FullscreenElementStack.cpp exitingDocument = &document()->topDocument(); document 479 Source/core/dom/FullscreenElementStack.cpp RefPtr<Document> protectDocument(document()); document 488 Source/core/dom/FullscreenElementStack.cpp node = document()->documentElement(); document 495 Source/core/dom/FullscreenElementStack.cpp if (!document()->contains(node.get()) && !node->inDocument()) document 496 Source/core/dom/FullscreenElementStack.cpp changeQueue.append(document()->documentElement()); document 504 Source/core/dom/FullscreenElementStack.cpp node = document()->documentElement(); document 511 Source/core/dom/FullscreenElementStack.cpp if (!document()->contains(node.get()) && !node->inDocument()) document 512 Source/core/dom/FullscreenElementStack.cpp errorQueue.append(document()->documentElement()); document 105 Source/core/dom/FullscreenElementStack.h Document* document(); document 121 Source/core/dom/FullscreenElementStack.h FullscreenElementStack* controller = fromIfExists(element->document()); document 127 Source/core/dom/FullscreenElementStack.h inline FullscreenElementStack* FullscreenElementStack::fromIfExists(Document& document) document 129 Source/core/dom/FullscreenElementStack.h if (!document.hasFullscreenElementStack()) document 131 Source/core/dom/FullscreenElementStack.h return fromIfExistsSlow(document); document 36 Source/core/dom/IgnoreDestructiveWriteCountIncrementer.h explicit IgnoreDestructiveWriteCountIncrementer(Document* document) document 37 Source/core/dom/IgnoreDestructiveWriteCountIncrementer.h : m_count(document ? &document->m_ignoreDestructiveWriteCount : 0) document 34 Source/core/dom/LiveNodeListBase.cpp return m_ownerNode->document(); document 55 Source/core/dom/LiveNodeListBase.h document().registerNodeList(this); document 60 Source/core/dom/LiveNodeListBase.h document().unregisterNodeList(this); document 83 Source/core/dom/LiveNodeListBase.h Document& document() const { return m_ownerNode->document(); } document 47 Source/core/dom/MutationObserverInterestGroup.h if (!target.document().hasMutationObserversOfType(MutationObserver::ChildList)) document 56 Source/core/dom/MutationObserverInterestGroup.h if (!target.document().hasMutationObserversOfType(MutationObserver::CharacterData)) document 64 Source/core/dom/MutationObserverInterestGroup.h if (!target.document().hasMutationObserversOfType(MutationObserver::Attributes)) document 289 Source/core/dom/Node.cpp Document& document = this->document(); document 293 Source/core/dom/Node.cpp document.didClearTouchEventHandlers(this); document 296 Source/core/dom/Node.cpp if (AXObjectCache* cache = document.existingAXObjectCache()) document 299 Source/core/dom/Node.cpp document.markers().removeMarkers(this); document 504 Source/core/dom/Node.cpp document().updateRenderTreeIfNeeded(); document 510 Source/core/dom/Node.cpp document().updateRenderTreeIfNeeded(); document 555 Source/core/dom/Node.cpp ASSERT(document().existingAXObjectCache()); document 557 Source/core/dom/Node.cpp if (AXObjectCache* cache = document().existingAXObjectCache()) document 654 Source/core/dom/Node.cpp document().scheduleRenderTreeUpdateIfNeeded(); document 661 Source/core/dom/Node.cpp document().scheduleRenderTreeUpdateIfNeeded(); document 746 Source/core/dom/Node.cpp document().scheduleRenderTreeUpdateIfNeeded(); document 781 Source/core/dom/Node.cpp return inDocument() && document().isActive(); document 797 Source/core/dom/Node.cpp const HTMLDialogElement* dialog = document().activeModalDialog(); document 798 Source/core/dom/Node.cpp if (dialog && this != document() && !NodeRenderingTraversal::contains(dialog, this)) document 800 Source/core/dom/Node.cpp return document().ownerElement() && document().ownerElement()->isInert(); document 823 Source/core/dom/Node.cpp if (!document().shouldInvalidateNodeListCaches(attrName)) document 826 Source/core/dom/Node.cpp document().invalidateNodeListCaches(attrName); document 875 Source/core/dom/Node.cpp if (document() != node->document()) document 912 Source/core/dom/Node.cpp if (document() != other.document()) document 958 Source/core/dom/Node.cpp ASSERT(document().inStyleRecalc() || isDocumentNode()); document 964 Source/core/dom/Node.cpp if (AXObjectCache* cache = document().axObjectCache()) document 991 Source/core/dom/Node.cpp Document& doc = document(); document 1004 Source/core/dom/Node.cpp if (StyleResolver* resolver = document().styleResolver()) document 1204 Source/core/dom/Node.cpp if (AXObjectCache* cache = document().existingAXObjectCache()) document 1232 Source/core/dom/Node.cpp Document* doc = &document(); document 1505 Source/core/dom/Node.cpp container->appendChild(document().createTextNode(text), ASSERT_NO_EXCEPTION); document 1845 Source/core/dom/Node.cpp if (!parent && node->document().frame()) document 1846 Source/core/dom/Node.cpp parent = node->document().frame()->ownerElement(); document 1901 Source/core/dom/Node.cpp return document().contextDocument().get(); document 1913 Source/core/dom/Node.cpp document().addListenerTypeIfNeeded(types[i]); document 1924 Source/core/dom/Node.cpp WheelController* newController = WheelController::from(document()); document 1927 Source/core/dom/Node.cpp newController->didAddWheelEventHandler(document()); document 1933 Source/core/dom/Node.cpp newController->didAddWheelEventHandler(document()); document 1939 Source/core/dom/Node.cpp document().didAddTouchEventHandler(this); document 1945 Source/core/dom/Node.cpp document().addMutationObserverTypes(registry->at(i)->mutationTypes()); document 1951 Source/core/dom/Node.cpp document().addMutationObserverTypes((*iter)->mutationTypes()); document 1961 Source/core/dom/Node.cpp Document& document = targetNode->document(); document 1962 Source/core/dom/Node.cpp document.addListenerTypeIfNeeded(eventType); document 1964 Source/core/dom/Node.cpp WheelController::from(document)->didAddWheelEventHandler(document); document 1966 Source/core/dom/Node.cpp document.didAddTouchEventHandler(targetNode); document 1983 Source/core/dom/Node.cpp Document& document = targetNode->document(); document 1985 Source/core/dom/Node.cpp WheelController::from(document)->didRemoveWheelEventHandler(document); document 1987 Source/core/dom/Node.cpp document.didRemoveTouchEventHandler(targetNode); document 2000 Source/core/dom/Node.cpp document().didClearTouchEventHandlers(this); document 2094 Source/core/dom/Node.cpp document().addMutationObserverTypes(registration->mutationTypes()); document 2134 Source/core/dom/Node.cpp if (!document().hasMutationObservers()) document 2188 Source/core/dom/Node.cpp if (!document().hasListenerType(Document::DOMSUBTREEMODIFIED_LISTENER)) document 2197 Source/core/dom/Node.cpp RefPtrWillBeRawPtr<UIEvent> event = UIEvent::create(EventTypeNames::DOMActivate, true, true, document().domWindow(), detail); document 2205 Source/core/dom/Node.cpp return EventDispatcher::dispatchEvent(this, KeyboardEventDispatchMediator::create(KeyboardEvent::create(event, document().domWindow()))); document 2211 Source/core/dom/Node.cpp return EventDispatcher::dispatchEvent(this, MouseEventDispatchMediator::create(MouseEvent::create(eventType, document().domWindow(), event, detail, relatedTarget))); document 2216 Source/core/dom/Node.cpp RefPtrWillBeRawPtr<GestureEvent> gestureEvent = GestureEvent::create(document().domWindow(), event); document 2234 Source/core/dom/Node.cpp return EventDispatcher::dispatchEvent(this, WheelEventDispatchMediator::create(event, document().domWindow())); document 2249 Source/core/dom/Node.cpp if (LocalFrame* frame = document().frame()) document 2257 Source/core/dom/Node.cpp if (Page* page = document().page()) document 2261 Source/core/dom/Node.cpp if (LocalFrame* frame = document().frame()) document 2276 Source/core/dom/Node.cpp if (LocalFrame* frame = document().frame()) document 2291 Source/core/dom/Node.cpp if (LocalFrame* frame = document().frame()) document 2413 Source/core/dom/Node.cpp document().updateDistributionForNodeIfNeeded(this); document 2450 Source/core/dom/Node.cpp document().userActionElements().setFocused(this, flag); document 2455 Source/core/dom/Node.cpp document().userActionElements().setActive(this, flag); document 2460 Source/core/dom/Node.cpp document().userActionElements().setHovered(this, flag); document 2466 Source/core/dom/Node.cpp return document().userActionElements().isActive(this); document 2472 Source/core/dom/Node.cpp return document().userActionElements().isInActiveChain(this); document 2478 Source/core/dom/Node.cpp return document().userActionElements().isHovered(this); document 2484 Source/core/dom/Node.cpp return document().userActionElements().isFocused(this); document 450 Source/core/dom/Node.h Document& document() const document 452 Source/core/dom/Node.h return treeScope().document(); document 80 Source/core/dom/NodeIterator.cpp root()->document().attachNodeIterator(this); document 85 Source/core/dom/NodeIterator.cpp root()->document().detachNodeIterator(this); document 148 Source/core/dom/NodeIterator.cpp root()->document().detachNodeIterator(this); document 162 Source/core/dom/NodeIterator.cpp ASSERT(root()->document() == removedNode.document()); document 248 Source/core/dom/NodeRenderingTraversal.cpp const Vector<RefPtr<Element> >& topLayerElements = element->document().topLayerElements(); document 429 Source/core/dom/Position.cpp Node* documentElement = m_anchorNode->document().documentElement(); document 909 Source/core/dom/Position.cpp LocalFrame* frame = m_anchorNode->document().frame(); document 130 Source/core/dom/Position.h Document* document() const { return m_anchorNode ? &m_anchorNode->document() : 0; } document 39 Source/core/dom/ProcessingInstruction.cpp inline ProcessingInstruction::ProcessingInstruction(Document& document, const String& target, const String& data) document 40 Source/core/dom/ProcessingInstruction.cpp : CharacterData(document, data, CreateOther) document 51 Source/core/dom/ProcessingInstruction.cpp PassRefPtr<ProcessingInstruction> ProcessingInstruction::create(Document& document, const String& target, const String& data) document 53 Source/core/dom/ProcessingInstruction.cpp return adoptRef(new ProcessingInstruction(document, target, data)); document 62 Source/core/dom/ProcessingInstruction.cpp document().styleEngine()->removeStyleSheetCandidateNode(this); document 79 Source/core/dom/ProcessingInstruction.cpp return create(document(), m_target, m_data); document 84 Source/core/dom/ProcessingInstruction.cpp if (m_target == "xml-stylesheet" && document().frame() && parentNode() == document()) { document 124 Source/core/dom/ProcessingInstruction.cpp String url = document().completeURL(href).string(); document 127 Source/core/dom/ProcessingInstruction.cpp FetchRequest request(ResourceRequest(document().completeURL(href)), FetchInitiatorTypeNames::processinginstruction); document 129 Source/core/dom/ProcessingInstruction.cpp resource = document().fetcher()->fetchXSLStyleSheet(request); document 133 Source/core/dom/ProcessingInstruction.cpp charset = document().charset(); document 135 Source/core/dom/ProcessingInstruction.cpp resource = document().fetcher()->fetchCSSStyleSheet(request); document 140 Source/core/dom/ProcessingInstruction.cpp document().styleEngine()->addPendingSheet(); document 159 Source/core/dom/ProcessingInstruction.cpp document().styleEngine()->removePendingSheet(this); document 173 Source/core/dom/ProcessingInstruction.cpp CSSParserContext parserContext(document(), 0, baseURL, charset); document 227 Source/core/dom/ProcessingInstruction.cpp document().styleEngine()->addStyleSheetCandidateNode(this, m_createdByParser); document 238 Source/core/dom/ProcessingInstruction.cpp document().styleEngine()->removeStyleSheetCandidateNode(this); document 249 Source/core/dom/ProcessingInstruction.cpp if (document().isActive()) document 250 Source/core/dom/ProcessingInstruction.cpp document().removedStyleSheet(removedSheet.get()); document 58 Source/core/dom/PseudoElement.cpp : Element(pseudoElementTagName(), &parent->document(), CreateElement) document 101 Source/core/dom/PseudoElement.cpp RenderObject* child = content->createRenderer(document(), style); document 117 Source/core/dom/Range.cpp void Range::setDocument(Document& document) document 119 Source/core/dom/Range.cpp ASSERT(m_ownerDocument != document); document 122 Source/core/dom/Range.cpp m_ownerDocument = &document; document 123 Source/core/dom/Range.cpp m_start.setToStartOfNode(document); document 124 Source/core/dom/Range.cpp m_end.setToStartOfNode(document); document 224 Source/core/dom/Range.cpp if (refNode->document() != m_ownerDocument) { document 225 Source/core/dom/Range.cpp setDocument(refNode->document()); document 252 Source/core/dom/Range.cpp if (refNode->document() != m_ownerDocument) { document 253 Source/core/dom/Range.cpp setDocument(refNode->document()); document 304 Source/core/dom/Range.cpp if (!refNode->inActiveDocument() || refNode->document() != m_ownerDocument) { document 337 Source/core/dom/Range.cpp if (refNode->document() != m_ownerDocument) { document 382 Source/core/dom/Range.cpp if (refNode->document() != m_ownerDocument) { document 427 Source/core/dom/Range.cpp if (thisCont->document() != sourceCont->document()) { document 586 Source/core/dom/Range.cpp if (!refNode->inActiveDocument() || refNode->document() != m_ownerDocument) { document 1095 Source/core/dom/Range.cpp m_start.container()->document().updateLayout(); document 1312 Source/core/dom/Range.cpp if (m_ownerDocument != refNode->document()) document 1313 Source/core/dom/Range.cpp setDocument(refNode->document()); document 1350 Source/core/dom/Range.cpp if (m_ownerDocument != refNode->document()) document 1351 Source/core/dom/Range.cpp setDocument(refNode->document()); document 1617 Source/core/dom/Range.cpp RefPtrWillBeRawPtr<Range> range = Range::create(node->document()); document 1652 Source/core/dom/Range.cpp ASSERT(container->document() == m_ownerDocument); document 1676 Source/core/dom/Range.cpp ASSERT(container.document() == m_ownerDocument); document 1698 Source/core/dom/Range.cpp ASSERT(node.document() == m_ownerDocument); document 1722 Source/core/dom/Range.cpp ASSERT(text->document() == m_ownerDocument); document 1743 Source/core/dom/Range.cpp ASSERT(text->document() == m_ownerDocument); document 1758 Source/core/dom/Range.cpp ASSERT(oldNode.node().document() == m_ownerDocument); document 1779 Source/core/dom/Range.cpp ASSERT(oldNode.document() == m_ownerDocument); document 29 Source/core/dom/RangeTest.cpp HTMLDocument& document() const; document 50 Source/core/dom/RangeTest.cpp document().body()->setInnerHTML("1234", ASSERT_NO_EXCEPTION); document 51 Source/core/dom/RangeTest.cpp Text* oldText = toText(document().body()->firstChild()); document 53 Source/core/dom/RangeTest.cpp RefPtrWillBeRawPtr<Range> range04 = Range::create(document(), oldText, 0, oldText, 4); document 54 Source/core/dom/RangeTest.cpp RefPtrWillBeRawPtr<Range> range02 = Range::create(document(), oldText, 0, oldText, 2); document 55 Source/core/dom/RangeTest.cpp RefPtrWillBeRawPtr<Range> range22 = Range::create(document(), oldText, 2, oldText, 2); document 56 Source/core/dom/RangeTest.cpp RefPtrWillBeRawPtr<Range> range24 = Range::create(document(), oldText, 2, oldText, 4); document 89 Source/core/dom/RangeTest.cpp document().body()->setInnerHTML("<span id=\"outer\">0<span id=\"inner-left\">1</span>SPLITME<span id=\"inner-right\">2</span>3</span>", ASSERT_NO_EXCEPTION); document 91 Source/core/dom/RangeTest.cpp Element* outer = document().getElementById(AtomicString::fromUTF8("outer")); document 92 Source/core/dom/RangeTest.cpp Element* innerLeft = document().getElementById(AtomicString::fromUTF8("inner-left")); document 93 Source/core/dom/RangeTest.cpp Element* innerRight = document().getElementById(AtomicString::fromUTF8("inner-right")); document 96 Source/core/dom/RangeTest.cpp RefPtrWillBeRawPtr<Range> rangeOuterOutside = Range::create(document(), outer, 0, outer, 5); document 97 Source/core/dom/RangeTest.cpp RefPtrWillBeRawPtr<Range> rangeOuterInside = Range::create(document(), outer, 1, outer, 4); document 98 Source/core/dom/RangeTest.cpp RefPtrWillBeRawPtr<Range> rangeOuterSurroundingText = Range::create(document(), outer, 2, outer, 3); document 99 Source/core/dom/RangeTest.cpp RefPtrWillBeRawPtr<Range> rangeInnerLeft = Range::create(document(), innerLeft, 0, innerLeft, 1); document 100 Source/core/dom/RangeTest.cpp RefPtrWillBeRawPtr<Range> rangeInnerRight = Range::create(document(), innerRight, 0, innerRight, 1); document 101 Source/core/dom/RangeTest.cpp RefPtrWillBeRawPtr<Range> rangeFromTextToMiddleOfElement = Range::create(document(), oldText, 6, outer, 3); document 36 Source/core/dom/RawDataDocumentParser.h explicit RawDataDocumentParser(Document* document) document 37 Source/core/dom/RawDataDocumentParser.h : DocumentParser(document) document 44 Source/core/dom/RawDataDocumentParser.h document()->finishedParsing(); document 71 Source/core/dom/RenderTreeBuilder.cpp return m_node->document().renderView(); document 141 Source/core/dom/RenderTreeBuilder.cpp newRenderer = RenderFullScreen::wrapRenderer(newRenderer, parentRenderer, &element->document()); document 49 Source/core/dom/RenderTreeBuilder.h ASSERT(node->document().inStyleRecalc()); document 70 Source/core/dom/ScriptLoader.cpp if (parserInserted && element->document().scriptableDocumentParser() && !element->document().isInDocumentWrite()) document 71 Source/core/dom/ScriptLoader.cpp m_startLineNumber = element->document().scriptableDocumentParser()->lineNumber(); document 204 Source/core/dom/ScriptLoader.cpp Document& elementDocument = m_element->document(); document 252 Source/core/dom/ScriptLoader.cpp RefPtr<Document> elementDocument(m_element->document()); document 253 Source/core/dom/ScriptLoader.cpp if (!m_element->inDocument() || m_element->document() != elementDocument) document 299 Source/core/dom/ScriptLoader.cpp RefPtr<Document> elementDocument(m_element->document()); document 329 Source/core/dom/ScriptLoader.cpp if (!m_isExternalScript || (sourceCode.resource() && sourceCode.resource()->passesAccessControlCheck(m_element->document().securityOrigin()))) document 370 Source/core/dom/ScriptLoader.cpp RefPtr<Document> elementDocument(m_element->document()); document 37 Source/core/dom/ScriptRunner.cpp ScriptRunner::ScriptRunner(Document* document) document 38 Source/core/dom/ScriptRunner.cpp : m_document(document) document 41 Source/core/dom/ScriptRunner.cpp ASSERT(document); document 46 Source/core/dom/ScriptRunner.h static PassOwnPtr<ScriptRunner> create(Document* document) { return adoptPtr(new ScriptRunner(document)); } document 34 Source/core/dom/ScriptableDocumentParser.cpp ScriptableDocumentParser::ScriptableDocumentParser(Document* document, ParserContentPolicy parserContentPolicy) document 35 Source/core/dom/ScriptableDocumentParser.cpp : DecodedDataDocumentParser(document) document 39 Source/core/dom/ScriptableDocumentParser.cpp if (!pluginContentIsAllowed(m_parserContentPolicy) && (!document->settings() || document->settings()->unsafePluginPastingEnabled())) document 44 Source/core/dom/ScriptedAnimationController.cpp ScriptedAnimationController::ScriptedAnimationController(Document* document) document 45 Source/core/dom/ScriptedAnimationController.cpp : m_document(document) document 45 Source/core/dom/ScriptedAnimationController.h static PassRefPtr<ScriptedAnimationController> create(Document* document) document 47 Source/core/dom/ScriptedAnimationController.h return adoptRef(new ScriptedAnimationController(document)); document 119 Source/core/dom/SelectorQuery.cpp SelectorChecker selectorChecker(element.document(), SelectorChecker::QueryingRules); document 177 Source/core/dom/SelectorQuery.cpp return m_selectors.size() == 1 && !m_crossesTreeBoundary && rootNode.inDocument() && !rootNode.document().inQuirksMode(); document 211 Source/core/dom/SelectorQuery.cpp if (selector->m_match == CSSSelector::Id && !rootNode.document().containsMultipleElementsWithId(selector->value())) { document 482 Source/core/dom/SelectorQuery.cpp SelectorQuery* SelectorQueryCache::add(const AtomicString& selectors, const Document& document, ExceptionState& exceptionState) document 488 Source/core/dom/SelectorQuery.cpp BisonCSSParser parser(CSSParserContext(document, 0)); document 43 Source/core/dom/StyleElement.cpp StyleElement::StyleElement(Document* document, bool createdByParser) document 49 Source/core/dom/StyleElement.cpp if (createdByParser && document && document->scriptableDocumentParser() && !document->isInDocumentWrite()) document 50 Source/core/dom/StyleElement.cpp m_startPosition = document->scriptableDocumentParser()->textPosition(); document 59 Source/core/dom/StyleElement.cpp void StyleElement::processStyleSheet(Document& document, Element* element) document 66 Source/core/dom/StyleElement.cpp document.styleEngine()->addStyleSheetCandidateNode(element, m_createdByParser); document 73 Source/core/dom/StyleElement.cpp void StyleElement::removedFromDocument(Document& document, Element* element) document 75 Source/core/dom/StyleElement.cpp removedFromDocument(document, element, 0, document); document 78 Source/core/dom/StyleElement.cpp void StyleElement::removedFromDocument(Document& document, Element* element, ContainerNode* scopingNode, TreeScope& treeScope) document 83 Source/core/dom/StyleElement.cpp document.styleEngine()->removeStyleSheetCandidateNode(element, scopingNode, treeScope); document 92 Source/core/dom/StyleElement.cpp document.removedStyleSheet(removedSheet.get(), RecalcStyleDeferred, AnalyzedStyleUpdate); document 95 Source/core/dom/StyleElement.cpp void StyleElement::clearDocumentData(Document& document, Element* element) document 103 Source/core/dom/StyleElement.cpp document.styleEngine()->removeStyleSheetCandidateNode(element, scopingNode, treeScope); document 135 Source/core/dom/StyleElement.cpp ownerElement->document().styleEngine()->removePendingSheet(ownerElement); document 144 Source/core/dom/StyleElement.cpp Document& document = e->document(); document 150 Source/core/dom/StyleElement.cpp bool passesContentSecurityPolicyChecks = document.contentSecurityPolicy()->allowStyleHash(text) || document.contentSecurityPolicy()->allowStyleNonce(e->fastGetAttribute(HTMLNames::nonceAttr)) || document.contentSecurityPolicy()->allowInlineStyle(e->document().url(), m_startPosition.m_line); document 159 Source/core/dom/StyleElement.cpp m_sheet = document.styleEngine()->createSheet(e, text, startPosition, m_createdByParser); document 176 Source/core/dom/StyleElement.cpp bool StyleElement::sheetLoaded(Document& document) document 181 Source/core/dom/StyleElement.cpp document.styleEngine()->removePendingSheet(m_sheet->ownerNode()); document 185 Source/core/dom/StyleElement.cpp void StyleElement::startLoadingDynamicSheet(Document& document) document 187 Source/core/dom/StyleElement.cpp document.styleEngine()->addPendingSheet(); document 56 Source/core/dom/StyleEngine.cpp StyleEngine::StyleEngine(Document& document) document 57 Source/core/dom/StyleEngine.cpp : m_document(document) document 58 Source/core/dom/StyleEngine.cpp , m_isMaster(HTMLImport::isMaster(&document)) document 61 Source/core/dom/StyleEngine.cpp , m_documentStyleSheetCollection(document) document 73 Source/core/dom/StyleEngine.cpp , m_fontSelector(document.frame() ? CSSFontSelector::create(&document) : nullptr) document 587 Source/core/dom/StyleEngine.cpp e->document().styleEngine()->addPendingSheet(); document 589 Source/core/dom/StyleEngine.cpp if (!e->document().inQuirksMode()) { document 603 Source/core/dom/StyleEngine.cpp ASSERT(contents->singleOwnerDocument() == e->document()); document 619 Source/core/dom/StyleEngine.cpp styleSheet = CSSStyleSheet::createInline(e, KURL(), startPosition, e->document().inputEncoding()); document 89 Source/core/dom/StyleEngine.h static PassOwnPtrWillBeRawPtr<StyleEngine> create(Document& document) { return adoptPtrWillBeNoop(new StyleEngine(document)); } document 50 Source/core/dom/StyleSheetCandidate.cpp return !m_node.document().isHTMLDocument() && m_type == Pi && toProcessingInstruction(m_node).isXSL(); document 36 Source/core/dom/TemplateContentDocumentFragment.h static PassRefPtr<TemplateContentDocumentFragment> create(Document& document, Element* host) document 38 Source/core/dom/TemplateContentDocumentFragment.h return adoptRef(new TemplateContentDocumentFragment(document, host)); document 45 Source/core/dom/TemplateContentDocumentFragment.h TemplateContentDocumentFragment(Document& document, Element* host) document 46 Source/core/dom/TemplateContentDocumentFragment.h : DocumentFragment(&document, CreateDocumentFragment) document 47 Source/core/dom/Text.cpp PassRefPtr<Text> Text::create(Document& document, const String& data) document 49 Source/core/dom/Text.cpp return adoptRef(new Text(document, data, CreateText)); document 52 Source/core/dom/Text.cpp PassRefPtr<Text> Text::createEditingText(Document& document, const String& data) document 54 Source/core/dom/Text.cpp return adoptRef(new Text(document, data, CreateEditingText)); document 93 Source/core/dom/Text.cpp document().didMergeTextNodes(*nextText, offset); document 99 Source/core/dom/Text.cpp document().incDOMTreeVersion(); document 132 Source/core/dom/Text.cpp document().didSplitTextNode(*this); document 319 Source/core/dom/Text.cpp renderer->setStyle(document().ensureStyleResolver().styleForText(this)); document 348 Source/core/dom/Text.cpp document().updateRenderTreeIfNeeded(); document 356 Source/core/dom/Text.cpp return create(document(), data); document 58 Source/core/dom/TreeScope.cpp TreeScope::TreeScope(ContainerNode& rootNode, Document& document) document 60 Source/core/dom/TreeScope.cpp , m_document(&document) document 61 Source/core/dom/TreeScope.cpp , m_parentTreeScope(&document) document 65 Source/core/dom/TreeScope.cpp ASSERT(rootNode != document); document 70 Source/core/dom/TreeScope.cpp TreeScope::TreeScope(Document& document) document 71 Source/core/dom/TreeScope.cpp : m_rootNode(document) document 72 Source/core/dom/TreeScope.cpp , m_document(&document) document 133 Source/core/dom/TreeScope.cpp setDocument(newParentScope.document()); document 213 Source/core/dom/TreeScope.cpp if (rootNode().document().isHTMLDocument()) document 218 Source/core/dom/TreeScope.cpp HitTestResult hitTestInDocument(const Document* document, int x, int y) document 220 Source/core/dom/TreeScope.cpp LocalFrame* frame = document->frame(); document 236 Source/core/dom/TreeScope.cpp document->renderView()->hitTest(request, result); document 242 Source/core/dom/TreeScope.cpp HitTestResult result = hitTestInDocument(&rootNode().document(), x, y); document 287 Source/core/dom/TreeScope.cpp if (!rootNode().document().frame()) document 307 Source/core/dom/TreeScope.cpp if (rootNode().document().inQuirksMode()) { document 346 Source/core/dom/TreeScope.cpp Document& document = rootNode().document(); document 347 Source/core/dom/TreeScope.cpp Element* element = document.focusedElement(); document 350 Source/core/dom/TreeScope.cpp if (!element && document.page()) document 351 Source/core/dom/TreeScope.cpp element = focusedFrameOwnerElement(toLocalFrameTemporary(document.page()->focusController().focusedFrame()), document.frame()); document 67 Source/core/dom/TreeScope.h Document& document() const document 162 Source/core/dom/TreeScope.h void setDocument(Document& document) { m_document = &document; } document 47 Source/core/dom/TreeScopeAdopter.cpp Document& oldDocument = m_oldScope.document(); document 48 Source/core/dom/TreeScopeAdopter.cpp Document& newDocument = m_newScope.document(); document 57 Source/core/dom/TreeScopeStyleSheetCollection.cpp if (createdByParser && document().body()) document 170 Source/core/dom/TreeScopeStyleSheetCollection.cpp if (document().hasPendingForcedStyleRecalc()) document 174 Source/core/dom/TreeScopeStyleSheetCollection.cpp if (!document().body() || document().hasNodesWithPlaceholderStyle()) document 179 Source/core/dom/TreeScopeStyleSheetCollection.cpp invalidationAnalysis.invalidateStyle(document()); document 75 Source/core/dom/TreeScopeStyleSheetCollection.h Document& document() const { return m_treeScope.document(); } document 54 Source/core/dom/VisitedLinkState.cpp return visitedLinkHash(element.document().baseURL(), attribute.isNull() ? linkAttribute(element) : attribute); document 57 Source/core/dom/VisitedLinkState.cpp VisitedLinkState::VisitedLinkState(const Document& document) document 58 Source/core/dom/VisitedLinkState.cpp : m_document(document) document 86 Source/core/dom/VisitedLinkState.cpp ASSERT(m_document == element.document()); document 44 Source/core/dom/VisitedLinkState.h static PassOwnPtr<VisitedLinkState> create(const Document& document) document 46 Source/core/dom/VisitedLinkState.h return adoptPtr(new VisitedLinkState(document)); document 37 Source/core/dom/WheelController.cpp WheelController::WheelController(Document& document) document 38 Source/core/dom/WheelController.cpp : DOMWindowLifecycleObserver(document.domWindow()) document 52 Source/core/dom/WheelController.cpp WheelController* WheelController::from(Document& document) document 54 Source/core/dom/WheelController.cpp WheelController* controller = static_cast<WheelController*>(DocumentSupplement::from(document, supplementName())); document 56 Source/core/dom/WheelController.cpp controller = new WheelController(document); document 57 Source/core/dom/WheelController.cpp DocumentSupplement::provideTo(document, supplementName(), adoptPtr(controller)); document 62 Source/core/dom/WheelController.cpp static void wheelEventHandlerCountChanged(Document& document) document 64 Source/core/dom/WheelController.cpp Page* page = document.page(); document 72 Source/core/dom/WheelController.cpp FrameView* frameView = document.view(); document 79 Source/core/dom/WheelController.cpp void WheelController::didAddWheelEventHandler(Document& document) document 82 Source/core/dom/WheelController.cpp Page* page = document.page(); document 87 Source/core/dom/WheelController.cpp wheelEventHandlerCountChanged(document); document 90 Source/core/dom/WheelController.cpp void WheelController::didRemoveWheelEventHandler(Document& document) document 94 Source/core/dom/WheelController.cpp Page* page = document.page(); document 99 Source/core/dom/WheelController.cpp wheelEventHandlerCountChanged(document); document 107 Source/core/dom/WheelController.cpp Document* document = window->document(); document 108 Source/core/dom/WheelController.cpp ASSERT(document); document 109 Source/core/dom/WheelController.cpp didAddWheelEventHandler(*document); document 117 Source/core/dom/WheelController.cpp Document* document = window->document(); document 118 Source/core/dom/WheelController.cpp ASSERT(document); document 119 Source/core/dom/WheelController.cpp didRemoveWheelEventHandler(*document); document 112 Source/core/dom/custom/CustomElement.cpp void CustomElement::didEnterDocument(Element* element, const Document& document) document 115 Source/core/dom/custom/CustomElement.cpp if (!document.domWindow()) document 120 Source/core/dom/custom/CustomElement.cpp void CustomElement::didLeaveDocument(Element* element, const Document& document) document 123 Source/core/dom/custom/CustomElement.cpp if (!document.domWindow()) document 109 Source/core/dom/custom/CustomElementCallbackInvocation.cpp if (element->inDocument() && element->document().domWindow()) document 48 Source/core/dom/custom/CustomElementRegistrationContext.cpp void CustomElementRegistrationContext::registerElement(Document* document, CustomElementConstructorBuilder* constructorBuilder, const AtomicString& type, CustomElement::NameSet validNames, ExceptionState& exceptionState) document 50 Source/core/dom/custom/CustomElementRegistrationContext.cpp CustomElementDefinition* definition = m_registry.registerElement(document, constructorBuilder, type, validNames, exceptionState); document 61 Source/core/dom/custom/CustomElementRegistrationContext.cpp PassRefPtr<Element> CustomElementRegistrationContext::createCustomTagElement(Document& document, const QualifiedName& tagName) document 68 Source/core/dom/custom/CustomElementRegistrationContext.cpp element = HTMLElement::create(tagName, document); document 70 Source/core/dom/custom/CustomElementRegistrationContext.cpp element = SVGUnknownElement::create(tagName, document); document 73 Source/core/dom/custom/CustomElementRegistrationContext.cpp return Element::create(tagName, &document); document 144 Source/core/dom/custom/CustomElementRegistrationContext.cpp if (CustomElementRegistrationContext* context = element->document().registrationContext()) document 45 Source/core/dom/custom/CustomElementRegistry.cpp explicit RegistrationContextObserver(Document* document) document 46 Source/core/dom/custom/CustomElementRegistry.cpp : DocumentLifecycleObserver(document) document 47 Source/core/dom/custom/CustomElementRegistry.cpp , m_wentAway(!document) document 59 Source/core/dom/custom/CustomElementRegistry.cpp CustomElementDefinition* CustomElementRegistry::registerElement(Document* document, CustomElementConstructorBuilder* constructorBuilder, const AtomicString& userSuppliedName, CustomElement::NameSet validNames, ExceptionState& exceptionState) document 65 Source/core/dom/custom/CustomElementRegistry.cpp RegistrationContextObserver observer(document); document 105 Source/core/dom/custom/CustomElementRegistry.cpp if (!constructorBuilder->createConstructor(document, definition.get(), exceptionState)) document 76 Source/core/dom/custom/CustomElementScheduler.cpp HTMLImport* import = element->document().import(); document 144 Source/core/dom/shadow/ElementShadow.cpp RefPtr<ShadowRoot> shadowRoot = ShadowRoot::create(shadowHost.document(), type); document 175 Source/core/dom/shadow/ElementShadow.cpp shadowHost->document().removeFocusedElementOfSubtree(oldRoot.get()); document 178 Source/core/dom/shadow/ElementShadow.cpp oldRoot->setParentTreeScope(shadowHost->document()); document 44 Source/core/dom/shadow/InsertionPoint.cpp InsertionPoint::InsertionPoint(const QualifiedName& tagName, Document& document) document 45 Source/core/dom/shadow/InsertionPoint.cpp : HTMLElement(tagName, document, CreateInsertionPoint) document 176 Source/core/dom/shadow/InsertionPoint.cpp document().updateDistributionForNodeIfNeeded(this); document 53 Source/core/dom/shadow/ShadowRoot.cpp ShadowRoot::ShadowRoot(Document& document, ShadowRootType type) document 55 Source/core/dom/shadow/ShadowRoot.cpp , TreeScope(*this, document) document 75 Source/core/dom/shadow/ShadowRoot.cpp document().styleEngine()->didRemoveShadowRoot(this); document 58 Source/core/dom/shadow/ShadowRoot.h static PassRefPtr<ShadowRoot> create(Document& document, ShadowRootType type) document 60 Source/core/dom/shadow/ShadowRoot.h return adoptRef(new ShadowRoot(document, type)); document 66 Source/core/dom/shadow/ShadowRoot.h using TreeScope::document; document 35 Source/core/editing/AppendNodeCommand.cpp : SimpleEditCommand(parent->document()) document 45 Source/core/editing/ApplyBlockElementCommand.cpp ApplyBlockElementCommand::ApplyBlockElementCommand(Document& document, const QualifiedName& tagName, const AtomicString& inlineStyle) document 46 Source/core/editing/ApplyBlockElementCommand.cpp : CompositeEditCommand(document) document 52 Source/core/editing/ApplyBlockElementCommand.cpp ApplyBlockElementCommand::ApplyBlockElementCommand(Document& document, const QualifiedName& tagName) document 53 Source/core/editing/ApplyBlockElementCommand.cpp : CompositeEditCommand(document) document 91 Source/core/editing/ApplyBlockElementCommand.cpp document().updateLayoutIgnorePendingStylesheets(); document 112 Source/core/editing/ApplyBlockElementCommand.cpp RefPtr<Element> placeholder = createBreakElement(document()); document 183 Source/core/editing/ApplyBlockElementCommand.cpp document().updateRenderTreeIfNeeded(); document 211 Source/core/editing/ApplyBlockElementCommand.cpp document().updateRenderTreeIfNeeded(); document 281 Source/core/editing/ApplyBlockElementCommand.cpp RefPtr<Element> element = createHTMLElement(document(), m_tagName); document 109 Source/core/editing/ApplyStyleCommand.cpp static PassRefPtr<Element> createFontElement(Document& document) document 111 Source/core/editing/ApplyStyleCommand.cpp RefPtr<Element> fontNode = createHTMLElement(document, fontTag); document 115 Source/core/editing/ApplyStyleCommand.cpp PassRefPtr<HTMLElement> createStyleSpanElement(Document& document) document 117 Source/core/editing/ApplyStyleCommand.cpp RefPtr<HTMLElement> styleElement = createHTMLElement(document, spanTag); document 121 Source/core/editing/ApplyStyleCommand.cpp ApplyStyleCommand::ApplyStyleCommand(Document& document, const EditingStyle* style, EditAction editingAction, EPropertyLevel propertyLevel) document 122 Source/core/editing/ApplyStyleCommand.cpp : CompositeEditCommand(document) document 135 Source/core/editing/ApplyStyleCommand.cpp ApplyStyleCommand::ApplyStyleCommand(Document& document, const EditingStyle* style, const Position& start, const Position& end, EditAction editingAction, EPropertyLevel propertyLevel) document 136 Source/core/editing/ApplyStyleCommand.cpp : CompositeEditCommand(document) document 150 Source/core/editing/ApplyStyleCommand.cpp : CompositeEditCommand(element->document()) document 163 Source/core/editing/ApplyStyleCommand.cpp ApplyStyleCommand::ApplyStyleCommand(Document& document, const EditingStyle* style, IsInlineElementToRemoveFunction isInlineElementToRemoveFunction, EditAction editingAction) document 164 Source/core/editing/ApplyStyleCommand.cpp : CompositeEditCommand(document) document 237 Source/core/editing/ApplyStyleCommand.cpp document().updateLayoutIgnorePendingStylesheets(); document 258 Source/core/editing/ApplyStyleCommand.cpp RefPtrWillBeRawPtr<Range> startRange = Range::create(document(), firstPositionInNode(&scope), visibleStart.deepEquivalent().parentAnchoredEquivalent()); document 259 Source/core/editing/ApplyStyleCommand.cpp RefPtrWillBeRawPtr<Range> endRange = Range::create(document(), firstPositionInNode(&scope), visibleEnd.deepEquivalent().parentAnchoredEquivalent()); document 396 Source/core/editing/ApplyStyleCommand.cpp RefPtr<HTMLElement> span = createStyleSpanElement(document()); document 557 Source/core/editing/ApplyStyleCommand.cpp document().updateLayoutIgnorePendingStylesheets(); document 651 Source/core/editing/ApplyStyleCommand.cpp document().updateLayoutIgnorePendingStylesheets(); document 705 Source/core/editing/ApplyStyleCommand.cpp RefPtrWillBeRawPtr<Range> range = Range::create(startNode->document(), start, end); document 756 Source/core/editing/ApplyStyleCommand.cpp document().updateLayoutIgnorePendingStylesheets(); document 820 Source/core/editing/ApplyStyleCommand.cpp document().updateLayoutIgnorePendingStylesheets(); document 1000 Source/core/editing/ApplyStyleCommand.cpp node->document().updateRenderTreeIfNeeded(); document 1169 Source/core/editing/ApplyStyleCommand.cpp node->document().updateLayoutIgnorePendingStylesheets(); document 1405 Source/core/editing/ApplyStyleCommand.cpp dummyElement = createStyleSpanElement(document()); document 1448 Source/core/editing/ApplyStyleCommand.cpp RefPtr<Element> fontElement = createFontElement(document()); document 1473 Source/core/editing/ApplyStyleCommand.cpp RefPtr<Element> styleElement = createStyleSpanElement(document()); document 1480 Source/core/editing/ApplyStyleCommand.cpp surroundNodeRangeWithElement(startNode, endNode, createHTMLElement(document(), bTag)); document 1483 Source/core/editing/ApplyStyleCommand.cpp surroundNodeRangeWithElement(startNode, endNode, createHTMLElement(document(), iTag)); document 1486 Source/core/editing/ApplyStyleCommand.cpp surroundNodeRangeWithElement(startNode, endNode, createHTMLElement(document(), uTag)); document 1489 Source/core/editing/ApplyStyleCommand.cpp surroundNodeRangeWithElement(startNode, endNode, createHTMLElement(document(), strikeTag)); document 1492 Source/core/editing/ApplyStyleCommand.cpp surroundNodeRangeWithElement(startNode, endNode, createHTMLElement(document(), subTag)); document 1494 Source/core/editing/ApplyStyleCommand.cpp surroundNodeRangeWithElement(startNode, endNode, createHTMLElement(document(), supTag)); document 51 Source/core/editing/ApplyStyleCommand.h static PassRefPtr<ApplyStyleCommand> create(Document& document, const EditingStyle* style, EditAction action = EditActionChangeAttributes, EPropertyLevel level = PropertyDefault) document 53 Source/core/editing/ApplyStyleCommand.h return adoptRef(new ApplyStyleCommand(document, style, action, level)); document 55 Source/core/editing/ApplyStyleCommand.h static PassRefPtr<ApplyStyleCommand> create(Document& document, const EditingStyle* style, const Position& start, const Position& end, EditAction action = EditActionChangeAttributes, EPropertyLevel level = PropertyDefault) document 57 Source/core/editing/ApplyStyleCommand.h return adoptRef(new ApplyStyleCommand(document, style, start, end, action, level)); document 63 Source/core/editing/ApplyStyleCommand.h static PassRefPtr<ApplyStyleCommand> create(Document& document, const EditingStyle* style, IsInlineElementToRemoveFunction isInlineElementToRemoveFunction, EditAction action = EditActionChangeAttributes) document 65 Source/core/editing/ApplyStyleCommand.h return adoptRef(new ApplyStyleCommand(document, style, isInlineElementToRemoveFunction, action)); document 41 Source/core/editing/BreakBlockquoteCommand.cpp BreakBlockquoteCommand::BreakBlockquoteCommand(Document& document) document 42 Source/core/editing/BreakBlockquoteCommand.cpp : CompositeEditCommand(document) document 74 Source/core/editing/BreakBlockquoteCommand.cpp RefPtr<Element> breakNode = createBreakElement(document()); document 35 Source/core/editing/BreakBlockquoteCommand.h static PassRefPtr<BreakBlockquoteCommand> create(Document& document) document 37 Source/core/editing/BreakBlockquoteCommand.h return adoptRef(new BreakBlockquoteCommand(document)); document 65 Source/core/editing/Caret.cpp Document* document = 0; document 68 Source/core/editing/Caret.cpp document = &node->document(); document 73 Source/core/editing/Caret.cpp updateCaretRect(document, m_position); document 99 Source/core/editing/Caret.cpp m_position.deepEquivalent().document()->renderView()->clearSelection(); document 127 Source/core/editing/Caret.cpp bool CaretBase::updateCaretRect(Document* document, const VisiblePosition& caretPosition) document 129 Source/core/editing/Caret.cpp document->updateRenderTreeIfNeeded(); document 225 Source/core/editing/Caret.cpp if (RenderView* view = node->document().renderView()) { document 261 Source/core/editing/Caret.cpp if (m_position.deepEquivalent().deprecatedNode()->document().frame() == frame) document 77 Source/core/editing/CompositeEditCommand.cpp PassRefPtr<EditCommandComposition> EditCommandComposition::create(Document* document, document 80 Source/core/editing/CompositeEditCommand.cpp return adoptRef(new EditCommandComposition(document, startingSelection, endingSelection, editAction)); document 83 Source/core/editing/CompositeEditCommand.cpp EditCommandComposition::EditCommandComposition(Document* document, const VisibleSelection& startingSelection, const VisibleSelection& endingSelection, EditAction editAction) document 84 Source/core/editing/CompositeEditCommand.cpp : m_document(document) document 156 Source/core/editing/CompositeEditCommand.cpp CompositeEditCommand::CompositeEditCommand(Document& document) document 157 Source/core/editing/CompositeEditCommand.cpp : EditCommand(document) document 187 Source/core/editing/CompositeEditCommand.cpp document().updateLayoutIgnorePendingStylesheets(); document 189 Source/core/editing/CompositeEditCommand.cpp LocalFrame* frame = document().frame(); document 209 Source/core/editing/CompositeEditCommand.cpp command->m_composition = EditCommandComposition::create(&document(), startingSelection(), endingSelection(), editingAction()); document 255 Source/core/editing/CompositeEditCommand.cpp applyCommandToComposite(ApplyStyleCommand::create(document(), style, editingAction)); document 260 Source/core/editing/CompositeEditCommand.cpp applyCommandToComposite(ApplyStyleCommand::create(document(), style, start, end, editingAction)); document 275 Source/core/editing/CompositeEditCommand.cpp applyCommandToComposite(InsertParagraphSeparatorCommand::create(document(), useDefaultParagraphElement, pasteBlockqutoeIntoUnquotedArea)); document 501 Source/core/editing/CompositeEditCommand.cpp DocumentMarkerController& markerController = document().markers(); document 503 Source/core/editing/CompositeEditCommand.cpp copyMarkers(markerController.markersInRange(Range::create(document(), node.get(), offset, node.get(), offset + count).get(), DocumentMarker::AllMarkers()), markers); document 505 Source/core/editing/CompositeEditCommand.cpp RefPtrWillBeRawPtr<Range> newRange = Range::create(document(), node.get(), offset, node.get(), offset + replacementText.length()); document 550 Source/core/editing/CompositeEditCommand.cpp applyCommandToComposite(DeleteSelectionCommand::create(document(), smartDelete, mergeBlocksAfterDelete, expandForSpecialElements, sanitizeMarkup)); document 561 Source/core/editing/CompositeEditCommand.cpp applyCommandToComposite(RemoveCSSPropertyCommand::create(document(), element, property)); document 709 Source/core/editing/CompositeEditCommand.cpp document().updateLayout(); document 819 Source/core/editing/CompositeEditCommand.cpp document().updateLayoutIgnorePendingStylesheets(); document 824 Source/core/editing/CompositeEditCommand.cpp RefPtr<Node> placeholder = createBlockPlaceholderElement(document()); document 837 Source/core/editing/CompositeEditCommand.cpp RefPtr<Node> placeholder = createBlockPlaceholderElement(document()); document 847 Source/core/editing/CompositeEditCommand.cpp document().updateLayoutIgnorePendingStylesheets(); document 878 Source/core/editing/CompositeEditCommand.cpp RefPtr<Element> paragraphElement = createDefaultParagraphElement(document()); document 879 Source/core/editing/CompositeEditCommand.cpp paragraphElement->appendChild(createBreakElement(document())); document 891 Source/core/editing/CompositeEditCommand.cpp document().updateLayoutIgnorePendingStylesheets(); document 1123 Source/core/editing/CompositeEditCommand.cpp insertNodeAt(createBreakElement(document()), beforeParagraph.deepEquivalent()); document 1156 Source/core/editing/CompositeEditCommand.cpp RefPtrWillBeRawPtr<Range> startRange = Range::create(document(), startOfParagraphToMove.deepEquivalent().parentAnchoredEquivalent(), visibleStart.deepEquivalent().parentAnchoredEquivalent()); document 1162 Source/core/editing/CompositeEditCommand.cpp RefPtrWillBeRawPtr<Range> endRange = Range::create(document(), startOfParagraphToMove.deepEquivalent().parentAnchoredEquivalent(), visibleEnd.deepEquivalent().parentAnchoredEquivalent()); document 1179 Source/core/editing/CompositeEditCommand.cpp RefPtrWillBeRawPtr<Range> range = Range::create(document(), startRangeCompliant.deprecatedNode(), startRangeCompliant.deprecatedEditingOffset(), endRangeCompliant.deprecatedNode(), endRangeCompliant.deprecatedEditingOffset()); document 1184 Source/core/editing/CompositeEditCommand.cpp createFragmentFromMarkup(document(), createMarkup(range.get(), 0, DoNotAnnotateForInterchange, true, DoNotResolveURLs, constrainingAncestor), "") : nullptr; document 1192 Source/core/editing/CompositeEditCommand.cpp styleInEmptyParagraph->mergeTypingStyle(&document()); document 1200 Source/core/editing/CompositeEditCommand.cpp document().frame()->spellChecker().clearMisspellingsAndBadGrammar(endingSelection()); document 1218 Source/core/editing/CompositeEditCommand.cpp insertNodeAt(createBreakElement(document()), beforeParagraph.deepEquivalent()); document 1220 Source/core/editing/CompositeEditCommand.cpp document().updateLayoutIgnorePendingStylesheets(); document 1223 Source/core/editing/CompositeEditCommand.cpp RefPtrWillBeRawPtr<Range> startToDestinationRange(Range::create(document(), firstPositionInNode(document().documentElement()), destination.deepEquivalent().parentAnchoredEquivalent())); document 1231 Source/core/editing/CompositeEditCommand.cpp applyCommandToComposite(ReplaceSelectionCommand::create(document(), fragment, options)); document 1233 Source/core/editing/CompositeEditCommand.cpp document().frame()->spellChecker().markMisspellingsAndBadGrammar(endingSelection()); document 1241 Source/core/editing/CompositeEditCommand.cpp if (Element* documentElement = document().documentElement()) { document 1263 Source/core/editing/CompositeEditCommand.cpp style->mergeTypingStyle(&document()); document 1283 Source/core/editing/CompositeEditCommand.cpp newBlock = createListItemElement(document()); document 1287 Source/core/editing/CompositeEditCommand.cpp newBlock = createListItemElement(document()); document 1291 Source/core/editing/CompositeEditCommand.cpp newBlock = createDefaultParagraphElement(document()); document 1342 Source/core/editing/CompositeEditCommand.cpp RefPtr<Node> br = createBreakElement(document()); document 1350 Source/core/editing/CompositeEditCommand.cpp insertNodeBefore(createBreakElement(document()), br); document 1463 Source/core/editing/CompositeEditCommand.cpp PassRefPtr<Element> createBlockPlaceholderElement(Document& document) document 1465 Source/core/editing/CompositeEditCommand.cpp RefPtr<Element> breakNode = document.createElement(brTag, false); document 34 Source/core/editing/CreateLinkCommand.cpp CreateLinkCommand::CreateLinkCommand(Document& document, const String& url) document 35 Source/core/editing/CreateLinkCommand.cpp : CompositeEditCommand(document) document 45 Source/core/editing/CreateLinkCommand.cpp RefPtr<HTMLAnchorElement> anchorElement = HTMLAnchorElement::create(document()); document 52 Source/core/editing/CreateLinkCommand.cpp RefPtr<Text> textNode = Text::create(document(), m_url); document 35 Source/core/editing/CreateLinkCommand.h static PassRefPtr<CreateLinkCommand> create(Document& document, const String& linkURL) document 37 Source/core/editing/CreateLinkCommand.h return adoptRef(new CreateLinkCommand(document, linkURL)); document 37 Source/core/editing/DeleteFromTextNodeCommand.cpp : SimpleEditCommand(node->document()) document 64 Source/core/editing/DeleteSelectionCommand.cpp DeleteSelectionCommand::DeleteSelectionCommand(Document& document, bool smartDelete, bool mergeBlocksAfterDelete, bool expandForSpecialElements, bool sanitizeMarkup) document 65 Source/core/editing/DeleteSelectionCommand.cpp : CompositeEditCommand(document) document 82 Source/core/editing/DeleteSelectionCommand.cpp : CompositeEditCommand(*selection.start().document()) document 368 Source/core/editing/DeleteSelectionCommand.cpp document().updateLayoutIgnorePendingStylesheets(); document 565 Source/core/editing/DeleteSelectionCommand.cpp document().updateLayoutIgnorePendingStylesheets(); document 622 Source/core/editing/DeleteSelectionCommand.cpp insertNodeAt(createBreakElement(document()).get(), m_upstreamStart); document 713 Source/core/editing/DeleteSelectionCommand.cpp document().frame()->selection().clearTypingStyle(); document 735 Source/core/editing/DeleteSelectionCommand.cpp document().frame()->selection().setTypingStyle(m_typingStyle); document 834 Source/core/editing/DeleteSelectionCommand.cpp RefPtr<Node> placeholder = m_needPlaceholder ? createBreakElement(document()).get() : 0; document 37 Source/core/editing/DeleteSelectionCommand.h static PassRefPtr<DeleteSelectionCommand> create(Document& document, bool smartDelete = false, bool mergeBlocksAfterDelete = true, bool expandForSpecialElements = false, bool sanitizeMarkup = true) document 39 Source/core/editing/DeleteSelectionCommand.h return adoptRef(new DeleteSelectionCommand(document, smartDelete, mergeBlocksAfterDelete, expandForSpecialElements, sanitizeMarkup)); document 37 Source/core/editing/EditCommand.cpp EditCommand::EditCommand(Document& document) document 38 Source/core/editing/EditCommand.cpp : m_document(&document) document 47 Source/core/editing/EditCommand.cpp EditCommand::EditCommand(Document* document, const VisibleSelection& startingSelection, const VisibleSelection& endingSelection) document 48 Source/core/editing/EditCommand.cpp : m_document(document) document 63 Source/core/editing/EditCommand.h Document& document() const { return *m_document.get(); } document 88 Source/core/editing/EditCommand.h explicit SimpleEditCommand(Document& document) : EditCommand(document) { } document 968 Source/core/editing/EditingStyle.cpp void EditingStyle::mergeTypingStyle(Document* document) document 970 Source/core/editing/EditingStyle.cpp ASSERT(document); document 972 Source/core/editing/EditingStyle.cpp RefPtr<EditingStyle> typingStyle = document->frame()->selection().typingStyle(); document 1121 Source/core/editing/EditingStyle.cpp RefPtrWillBeRawPtr<StyleRuleList> matchedRules = element->document().ensureStyleResolver().styleRulesForElement(element, rulesToInclude); document 1226 Source/core/editing/EditingStyle.cpp int EditingStyle::legacyFontSize(Document* document) const document 1231 Source/core/editing/EditingStyle.cpp return legacyFontSizeFromCSSValue(document, toCSSPrimitiveValue(cssValue.get()), document 1255 Source/core/editing/EditingStyle.cpp style->mergeTypingStyle(&element->document()); document 1286 Source/core/editing/EditingStyle.cpp ASSERT(end.document()); document 1287 Source/core/editing/EditingStyle.cpp Node* pastLast = Range::create(*end.document(), position.parentAnchoredEquivalent(), end.parentAnchoredEquivalent())->pastLastNode(); document 1380 Source/core/editing/EditingStyle.cpp Document* document = position.document(); document 1381 Source/core/editing/EditingStyle.cpp if (!style || !style->style() || !document || !document->frame()) document 1389 Source/core/editing/EditingStyle.cpp if (!document->frame()->editor().shouldStyleWithCSS()) document 1390 Source/core/editing/EditingStyle.cpp extractTextStyles(document, mutableStyle.get(), computedStyle->useFixedFontDefaultSize()); document 1415 Source/core/editing/EditingStyle.cpp void StyleChange::extractTextStyles(Document* document, MutableStylePropertySet* style, bool shouldUseFixedFontDefaultSize) document 1472 Source/core/editing/EditingStyle.cpp else if (int legacyFontSize = legacyFontSizeFromCSSValue(document, toCSSPrimitiveValue(fontSize.get()), document 1590 Source/core/editing/EditingStyle.cpp int legacyFontSizeFromCSSValue(Document* document, CSSPrimitiveValue* value, bool shouldUseFixedFontDefaultSize, LegacyFontSizeMode mode) document 1594 Source/core/editing/EditingStyle.cpp int legacyFontSize = FontSize::legacyFontSize(document, pixelFontSize, shouldUseFixedFontDefaultSize); document 1597 Source/core/editing/EditingStyle.cpp if (mode == AlwaysUseLegacyFontSize || FontSize::fontSizeForKeyword(document, cssPrimitiveEquivalent, shouldUseFixedFontDefaultSize) == pixelFontSize) document 215 Source/core/editing/Editor.cpp static HTMLImageElement* imageElementFromImageDocument(Document* document) document 217 Source/core/editing/Editor.cpp if (!document) document 219 Source/core/editing/Editor.cpp if (!document->isImageDocument()) document 222 Source/core/editing/Editor.cpp HTMLElement* body = document->body(); document 234 Source/core/editing/Editor.cpp if (imageElementFromImageDocument(m_frame.document())) document 297 Source/core/editing/Editor.cpp ASSERT(m_frame.document()); document 298 Source/core/editing/Editor.cpp TypingCommand::deleteKeyPressed(*m_frame.document(), canSmartCopyOrDelete() ? TypingCommand::SmartDelete : 0, granularity); document 315 Source/core/editing/Editor.cpp ASSERT(m_frame.document()); document 316 Source/core/editing/Editor.cpp TypingCommand::forwardDeleteKeyPressed(*m_frame.document(), options, granularity); document 320 Source/core/editing/Editor.cpp ASSERT(m_frame.document()); document 321 Source/core/editing/Editor.cpp TypingCommand::deleteKeyPressed(*m_frame.document(), options, granularity); document 341 Source/core/editing/Editor.cpp ASSERT(m_frame.document()); document 342 Source/core/editing/Editor.cpp DeleteSelectionCommand::create(*m_frame.document(), smartDelete)->apply(); document 400 Source/core/editing/Editor.cpp ASSERT(m_frame.document()); document 401 Source/core/editing/Editor.cpp fragment = createFragmentFromMarkupWithContext(*m_frame.document(), markup, fragmentStart, fragmentEnd, url, DisallowScriptingAndPluginContent); document 420 Source/core/editing/Editor.cpp KURL url = selectedRange->startContainer()->document().url(); document 447 Source/core/editing/Editor.cpp KURL url = urlString.isEmpty() ? KURL() : node->document().completeURL(stripLeadingAndTrailingHTMLSpaces(urlString)); document 498 Source/core/editing/Editor.cpp ASSERT(m_frame.document()); document 499 Source/core/editing/Editor.cpp ReplaceSelectionCommand::create(*m_frame.document(), fragment, options, EditActionPaste)->apply(); document 535 Source/core/editing/Editor.cpp if (AXObjectCache* cache = m_frame.document()->existingAXObjectCache()) document 575 Source/core/editing/Editor.cpp ASSERT(m_frame.document()); document 576 Source/core/editing/Editor.cpp RemoveFormatCommand::create(*m_frame.document())->apply(); document 588 Source/core/editing/Editor.cpp target = m_frame.document()->body(); document 609 Source/core/editing/Editor.cpp ASSERT(m_frame.document()); document 610 Source/core/editing/Editor.cpp ApplyStyleCommand::create(*m_frame.document(), EditingStyle::create(style).get(), editingAction)->apply(); document 620 Source/core/editing/Editor.cpp ASSERT(m_frame.document()); document 621 Source/core/editing/Editor.cpp ApplyStyleCommand::create(*m_frame.document(), EditingStyle::create(style).get(), editingAction, ApplyStyleCommand::ForceBlockProperties)->apply(); document 659 Source/core/editing/Editor.cpp return String::number(selectionStyle->legacyFontSize(m_frame.document())); document 665 Source/core/editing/Editor.cpp ASSERT(m_frame.document()); document 666 Source/core/editing/Editor.cpp IndentOutdentCommand::create(*m_frame.document(), IndentOutdentCommand::Indent)->apply(); document 671 Source/core/editing/Editor.cpp ASSERT(m_frame.document()); document 672 Source/core/editing/Editor.cpp IndentOutdentCommand::create(*m_frame.document(), IndentOutdentCommand::Outdent)->apply(); document 686 Source/core/editing/Editor.cpp m_frame.document()->updateLayout(); document 716 Source/core/editing/Editor.cpp m_frame.document()->updateLayout(); document 732 Source/core/editing/Editor.cpp m_frame.document()->updateLayout(); document 796 Source/core/editing/Editor.cpp RefPtr<Document> document(selectionStart->document()); document 802 Source/core/editing/Editor.cpp TypingCommand::insertText(*document.get(), text, selection, options, triggeringEvent && triggeringEvent->isComposition() ? TypingCommand::TextCompositionConfirm : TypingCommand::TextCompositionNone); document 805 Source/core/editing/Editor.cpp if (LocalFrame* editedFrame = document->frame()) { document 822 Source/core/editing/Editor.cpp ASSERT(m_frame.document()); document 823 Source/core/editing/Editor.cpp TypingCommand::insertLineBreak(*m_frame.document(), 0); document 839 Source/core/editing/Editor.cpp ASSERT(m_frame.document()); document 840 Source/core/editing/Editor.cpp TypingCommand::insertParagraphSeparator(*m_frame.document(), 0); document 876 Source/core/editing/Editor.cpp Document* document = m_frame.document(); document 877 Source/core/editing/Editor.cpp if (HTMLImageElement* imageElement = imageElementFromImageDocument(document)) document 878 Source/core/editing/Editor.cpp writeImageNodeToPasteboard(Pasteboard::generalPasteboard(), imageElement, document->title()); document 886 Source/core/editing/Editor.cpp ASSERT(m_frame.document()); document 892 Source/core/editing/Editor.cpp ResourceFetcher* loader = m_frame.document()->fetcher(); document 955 Source/core/editing/Editor.cpp Element* focusedElement = frame().document()->focusedElement(); document 961 Source/core/editing/Editor.cpp frame().document()->updateRenderTreeIfNeeded(); document 1099 Source/core/editing/Editor.cpp ASSERT(m_frame.document()); document 1100 Source/core/editing/Editor.cpp ApplyStyleCommand::create(*m_frame.document(), blockStyle.get(), editingAction)->apply(); document 1146 Source/core/editing/Editor.cpp RefPtrWillBeRawPtr<Range> searchRange(rangeOfContents(m_frame.document())); document 1170 Source/core/editing/Editor.cpp searchRange = rangeOfContents(m_frame.document()); document 1188 Source/core/editing/Editor.cpp searchRange = rangeOfContents(m_frame.document()); document 1200 Source/core/editing/Editor.cpp searchRange = rangeOfContents(m_frame.document()); document 1216 Source/core/editing/Editor.cpp m_frame.document()->markers().repaintMarkers(DocumentMarker::TextMatch); document 100 Source/core/editing/EditorCommand.cpp return node->document().frame(); document 196 Source/core/editing/EditorCommand.cpp ASSERT(frame.document()); document 197 Source/core/editing/EditorCommand.cpp ReplaceSelectionCommand::create(*frame.document(), fragment, ReplaceSelectionCommand::PreventNesting, EditActionUnspecified)->apply(); document 203 Source/core/editing/EditorCommand.cpp ASSERT(frame.document()); document 204 Source/core/editing/EditorCommand.cpp RefPtr<DocumentFragment> fragment = DocumentFragment::create(*frame.document()); document 251 Source/core/editing/EditorCommand.cpp Element* focusedElement = frame.document()->focusedElement(); document 292 Source/core/editing/EditorCommand.cpp ASSERT(frame.document()); document 293 Source/core/editing/EditorCommand.cpp CreateLinkCommand::create(*frame.document(), value)->apply(); document 325 Source/core/editing/EditorCommand.cpp ASSERT(frame.document()); document 326 Source/core/editing/EditorCommand.cpp TypingCommand::deleteKeyPressed(*frame.document(), frame.selection().granularity() == WordGranularity ? TypingCommand::SmartDelete : 0); document 445 Source/core/editing/EditorCommand.cpp ASSERT(frame.document()); document 446 Source/core/editing/EditorCommand.cpp RefPtr<FormatBlockCommand> command = FormatBlockCommand::create(*frame.document(), qualifiedTagName); document 462 Source/core/editing/EditorCommand.cpp ASSERT(frame.document()); document 463 Source/core/editing/EditorCommand.cpp TypingCommand::forwardDeleteKeyPressed(*frame.document()); document 478 Source/core/editing/EditorCommand.cpp ASSERT(frame.document()); document 479 Source/core/editing/EditorCommand.cpp IndentOutdentCommand::create(*frame.document(), IndentOutdentCommand::Indent)->apply(); document 490 Source/core/editing/EditorCommand.cpp ASSERT(frame.document()); document 491 Source/core/editing/EditorCommand.cpp RefPtr<HTMLHRElement> rule = HTMLHRElement::create(*frame.document()); document 499 Source/core/editing/EditorCommand.cpp ASSERT(frame.document()); document 500 Source/core/editing/EditorCommand.cpp return executeInsertFragment(frame, createFragmentFromMarkup(*frame.document(), value, "")); document 506 Source/core/editing/EditorCommand.cpp ASSERT(frame.document()); document 507 Source/core/editing/EditorCommand.cpp RefPtr<HTMLImageElement> image = HTMLImageElement::create(*frame.document()); document 522 Source/core/editing/EditorCommand.cpp ASSERT(frame.document()); document 523 Source/core/editing/EditorCommand.cpp TypingCommand::insertLineBreak(*frame.document(), 0); document 538 Source/core/editing/EditorCommand.cpp ASSERT(frame.document()); document 539 Source/core/editing/EditorCommand.cpp TypingCommand::insertParagraphSeparatorInQuotedContent(*frame.document()); document 545 Source/core/editing/EditorCommand.cpp ASSERT(frame.document()); document 546 Source/core/editing/EditorCommand.cpp InsertListCommand::create(*frame.document(), InsertListCommand::OrderedList)->apply(); document 552 Source/core/editing/EditorCommand.cpp ASSERT(frame.document()); document 553 Source/core/editing/EditorCommand.cpp TypingCommand::insertParagraphSeparator(*frame.document(), 0); document 564 Source/core/editing/EditorCommand.cpp ASSERT(frame.document()); document 565 Source/core/editing/EditorCommand.cpp TypingCommand::insertText(*frame.document(), value, 0); document 571 Source/core/editing/EditorCommand.cpp ASSERT(frame.document()); document 572 Source/core/editing/EditorCommand.cpp InsertListCommand::create(*frame.document(), InsertListCommand::UnorderedList)->apply(); document 920 Source/core/editing/EditorCommand.cpp ASSERT(frame.document()); document 921 Source/core/editing/EditorCommand.cpp IndentOutdentCommand::create(*frame.document(), IndentOutdentCommand::Outdent)->apply(); document 1118 Source/core/editing/EditorCommand.cpp ASSERT(frame.document()); document 1119 Source/core/editing/EditorCommand.cpp UnlinkCommand::create(*frame.document())->apply(); document 1685 Source/core/editing/EditorCommand.cpp m_frame->document()->updateLayoutIgnorePendingStylesheets(); document 48 Source/core/editing/FormatBlockCommand.cpp FormatBlockCommand::FormatBlockCommand(Document& document, const QualifiedName& tagName) document 49 Source/core/editing/FormatBlockCommand.cpp : ApplyBlockElementCommand(document, tagName) document 73 Source/core/editing/FormatBlockCommand.cpp RefPtrWillBeRawPtr<Range> range = Range::create(document(), start, endOfSelection); document 43 Source/core/editing/FormatBlockCommand.h static PassRefPtr<FormatBlockCommand> create(Document& document, const QualifiedName& tagName) document 45 Source/core/editing/FormatBlockCommand.h return adoptRef(new FormatBlockCommand(document, tagName)); document 116 Source/core/editing/FrameSelection.cpp return selectionRoot ? selectionRoot : m_frame->document()->documentElement(); document 233 Source/core/editing/FrameSelection.cpp Document& document = *s.base().document(); document 234 Source/core/editing/FrameSelection.cpp if (document.frame() && document.frame() != m_frame && document != m_frame->document()) { document 235 Source/core/editing/FrameSelection.cpp RefPtr<LocalFrame> guard = document.frame(); document 236 Source/core/editing/FrameSelection.cpp document.frame()->selection().setSelection(s, options, align, granularity); document 270 Source/core/editing/FrameSelection.cpp m_frame->document()->updateLayoutIgnorePendingStylesheets(); document 326 Source/core/editing/FrameSelection.cpp ASSERT(node.document().isActive()); document 370 Source/core/editing/FrameSelection.cpp m_selection.start().document()->renderView()->clearSelection(); document 470 Source/core/editing/FrameSelection.cpp m_frame->document()->updateLayout(); document 1146 Source/core/editing/FrameSelection.cpp LocalFrame* frame = pos.document()->frame(); document 1225 Source/core/editing/FrameSelection.cpp else if (updateCaretRect(m_frame->document(), VisiblePosition(m_selection.start(), m_selection.affinity()))) document 1243 Source/core/editing/FrameSelection.cpp if (!m_frame || !m_frame->document()->view()) document 1258 Source/core/editing/FrameSelection.cpp if (RenderView* view = m_frame->document()->renderView()) { document 1286 Source/core/editing/FrameSelection.cpp Document* document = m_frame->document(); document 1291 Source/core/editing/FrameSelection.cpp if (!document->renderView()) document 1296 Source/core/editing/FrameSelection.cpp document->renderView()->hitTest(request, result); document 1363 Source/core/editing/FrameSelection.cpp Document* document = m_frame->document(); document 1365 Source/core/editing/FrameSelection.cpp if (isHTMLSelectElement(document->focusedElement())) { document 1366 Source/core/editing/FrameSelection.cpp HTMLSelectElement* selectElement = toHTMLSelectElement(document->focusedElement()); document 1386 Source/core/editing/FrameSelection.cpp root = document->documentElement(); document 1387 Source/core/editing/FrameSelection.cpp selectStartTarget = document->body(); document 1406 Source/core/editing/FrameSelection.cpp ASSERT(range->startContainer()->document() == range->endContainer()->document()); document 1408 Source/core/editing/FrameSelection.cpp m_frame->document()->updateLayoutIgnorePendingStylesheets(); document 1447 Source/core/editing/FrameSelection.cpp if (AXObjectCache* cache = m_frame->document()->existingAXObjectCache()) document 1456 Source/core/editing/FrameSelection.cpp RefPtr<Document> document = m_frame->document(); document 1457 Source/core/editing/FrameSelection.cpp document->updateRenderTreeIfNeeded(); document 1462 Source/core/editing/FrameSelection.cpp if (RenderView* view = document->renderView()) document 1477 Source/core/editing/FrameSelection.cpp if (Element* element = document->focusedElement()) document 1481 Source/core/editing/FrameSelection.cpp if (document->useSecureKeyboardEntryWhenActive()) document 1492 Source/core/editing/FrameSelection.cpp if (m_frame->document() && isFocusedAndActive()) document 1493 Source/core/editing/FrameSelection.cpp setUseSecureKeyboardEntry(m_frame->document()->useSecureKeyboardEntryWhenActive()); document 1598 Source/core/editing/FrameSelection.cpp m_frame->document()->updateLayoutIgnorePendingStylesheets(); document 1620 Source/core/editing/FrameSelection.cpp Element* focusedElement = root->document().focusedElement(); document 1640 Source/core/editing/FrameSelection.cpp m_frame->document()->updateRenderTreeIfNeeded(); document 1684 Source/core/editing/FrameSelection.cpp m_frame->document()->setFocusedElement(nullptr); document 1711 Source/core/editing/FrameSelection.cpp m_frame->document()->updateRenderTreeIfNeeded(); document 1754 Source/core/editing/FrameSelection.cpp Node* start = m_frame->document()->focusedElement(); document 1801 Source/core/editing/FrameSelection.cpp Document* document = m_frame->document(); document 1803 Source/core/editing/FrameSelection.cpp if (!isNone() || !(document->rendererIsEditable() || caretBrowsing)) document 1806 Source/core/editing/FrameSelection.cpp Node* node = document->documentElement(); document 1827 Source/core/editing/FrameSelection.cpp m_frame->document()->updateLayoutIgnorePendingStylesheets(); document 47 Source/core/editing/IndentOutdentCommand.cpp IndentOutdentCommand::IndentOutdentCommand(Document& document, EIndentType typeOfAction) document 48 Source/core/editing/IndentOutdentCommand.cpp : ApplyBlockElementCommand(document, blockquoteTag, "margin: 0 0 0 40px; border: none; padding: 0px;") document 75 Source/core/editing/IndentOutdentCommand.cpp RefPtr<Element> newList = document().createElement(listNode->tagQName(), false); document 138 Source/core/editing/IndentOutdentCommand.cpp applyCommandToComposite(InsertListCommand::create(document(), InsertListCommand::OrderedList)); document 142 Source/core/editing/IndentOutdentCommand.cpp applyCommandToComposite(InsertListCommand::create(document(), InsertListCommand::UnorderedList)); document 169 Source/core/editing/IndentOutdentCommand.cpp document().updateLayoutIgnorePendingStylesheets(); document 173 Source/core/editing/IndentOutdentCommand.cpp insertNodeAt(createBreakElement(document()), visibleStartOfParagraph.deepEquivalent()); document 175 Source/core/editing/IndentOutdentCommand.cpp insertNodeAt(createBreakElement(document()), visibleEndOfParagraph.deepEquivalent()); document 188 Source/core/editing/IndentOutdentCommand.cpp RefPtr<Node> placeholder = createBreakElement(document()); document 37 Source/core/editing/IndentOutdentCommand.h static PassRefPtr<IndentOutdentCommand> create(Document& document, EIndentType type) document 39 Source/core/editing/IndentOutdentCommand.h return adoptRef(new IndentOutdentCommand(document, type)); document 194 Source/core/editing/InputMethodController.cpp if (Element* target = m_frame.document()->focusedElement()) { document 210 Source/core/editing/InputMethodController.cpp ASSERT(m_frame.document()); document 211 Source/core/editing/InputMethodController.cpp TypingCommand::deleteSelection(*m_frame.document(), 0); document 234 Source/core/editing/InputMethodController.cpp m_frame.document()->updateRenderTreeIfNeeded(); document 241 Source/core/editing/InputMethodController.cpp if (Element* target = m_frame.document()->focusedElement()) { document 278 Source/core/editing/InputMethodController.cpp ASSERT(m_frame.document()); document 279 Source/core/editing/InputMethodController.cpp TypingCommand::deleteSelection(*m_frame.document(), TypingCommand::PreventSpellChecking); document 286 Source/core/editing/InputMethodController.cpp ASSERT(m_frame.document()); document 287 Source/core/editing/InputMethodController.cpp TypingCommand::insertText(*m_frame.document(), text, TypingCommand::SelectInsertedText | TypingCommand::PreventSpellChecking, TypingCommand::TextCompositionUpdate); document 312 Source/core/editing/InputMethodController.cpp RefPtrWillBeRawPtr<Range> selectedRange = Range::create(baseNode->document(), baseNode, start, baseNode, end); document 361 Source/core/editing/InputMethodController.cpp return Range::create(m_compositionNode->document(), m_compositionNode.get(), start, m_compositionNode.get(), end); document 404 Source/core/editing/InputMethodController.cpp TypingCommand::deleteSelection(*m_frame.document()); document 38 Source/core/editing/InsertIntoTextNodeCommand.cpp : SimpleEditCommand(node->document()) document 50 Source/core/editing/InsertIntoTextNodeCommand.cpp bool passwordEchoEnabled = document().settings() && document().settings()->passwordEchoEnabled(); document 52 Source/core/editing/InsertIntoTextNodeCommand.cpp document().updateLayoutIgnorePendingStylesheets(); document 45 Source/core/editing/InsertLineBreakCommand.cpp InsertLineBreakCommand::InsertLineBreakCommand(Document& document) document 46 Source/core/editing/InsertLineBreakCommand.cpp : CompositeEditCommand(document) document 86 Source/core/editing/InsertLineBreakCommand.cpp nodeToInsert = createBreakElement(document()); document 88 Source/core/editing/InsertLineBreakCommand.cpp nodeToInsert = document().createTextNode("\n"); document 123 Source/core/editing/InsertLineBreakCommand.cpp document().updateLayoutIgnorePendingStylesheets(); document 133 Source/core/editing/InsertLineBreakCommand.cpp RefPtr<Text> nbspNode = document().createTextNode(nonBreakingSpaceString()); document 144 Source/core/editing/InsertLineBreakCommand.cpp RefPtr<EditingStyle> typingStyle = document().frame()->selection().typingStyle(); document 35 Source/core/editing/InsertLineBreakCommand.h static PassRefPtr<InsertLineBreakCommand> create(Document& document) document 37 Source/core/editing/InsertLineBreakCommand.h return adoptRef(new InsertLineBreakCommand(document)); document 52 Source/core/editing/InsertListCommand.cpp RefPtr<HTMLElement> listElement = createUnorderedListElement(document()); document 100 Source/core/editing/InsertListCommand.cpp InsertListCommand::InsertListCommand(Document& document, Type type) document 101 Source/core/editing/InsertListCommand.cpp : CompositeEditCommand(document), m_type(type) document 224 Source/core/editing/InsertListCommand.cpp RefPtr<HTMLElement> newList = createHTMLElement(document(), listTag); document 282 Source/core/editing/InsertListCommand.cpp RefPtr<Element> placeholder = createBreakElement(document()); document 287 Source/core/editing/InsertListCommand.cpp nodeToInsert = createListItemElement(document()); document 344 Source/core/editing/InsertListCommand.cpp RefPtr<HTMLElement> listItemElement = createListItemElement(document()); document 345 Source/core/editing/InsertListCommand.cpp RefPtr<HTMLElement> placeholder = createBreakElement(document()); document 358 Source/core/editing/InsertListCommand.cpp listElement = createHTMLElement(document(), listTag); document 388 Source/core/editing/InsertListCommand.cpp listElement->document().updateLayoutIgnorePendingStylesheets(); document 39 Source/core/editing/InsertListCommand.h static PassRefPtr<InsertListCommand> create(Document& document, Type listType) document 41 Source/core/editing/InsertListCommand.h return adoptRef(new InsertListCommand(document, listType)); document 36 Source/core/editing/InsertNodeBeforeCommand.cpp : SimpleEditCommand(refChild->document()) document 61 Source/core/editing/InsertParagraphSeparatorCommand.cpp InsertParagraphSeparatorCommand::InsertParagraphSeparatorCommand(Document& document, bool mustUseDefaultParagraphElement, bool pasteBlockqutoeIntoUnquotedArea) document 62 Source/core/editing/InsertParagraphSeparatorCommand.cpp : CompositeEditCommand(document) document 84 Source/core/editing/InsertParagraphSeparatorCommand.cpp m_style->mergeTypingStyle(pos.document()); document 177 Source/core/editing/InsertParagraphSeparatorCommand.cpp applyCommandToComposite(InsertLineBreakCommand::create(document())); document 206 Source/core/editing/InsertParagraphSeparatorCommand.cpp blockToInsert = createDefaultParagraphElement(document()); document 209 Source/core/editing/InsertParagraphSeparatorCommand.cpp blockToInsert = createDefaultParagraphElement(document()); document 222 Source/core/editing/InsertParagraphSeparatorCommand.cpp RefPtr<Element> extraBlock = createDefaultParagraphElement(document()); document 314 Source/core/editing/InsertParagraphSeparatorCommand.cpp RefPtr<Element> br = createBreakElement(document()); document 382 Source/core/editing/InsertParagraphSeparatorCommand.cpp document().updateLayoutIgnorePendingStylesheets(); document 388 Source/core/editing/InsertParagraphSeparatorCommand.cpp appendNode(createBreakElement(document()).get(), blockToInsert.get()); document 414 Source/core/editing/InsertParagraphSeparatorCommand.cpp document().updateLayoutIgnorePendingStylesheets(); document 37 Source/core/editing/InsertParagraphSeparatorCommand.h static PassRefPtr<InsertParagraphSeparatorCommand> create(Document& document, bool useDefaultParagraphElement = false, bool pasteBlockqutoeIntoUnquotedArea = false) document 39 Source/core/editing/InsertParagraphSeparatorCommand.h return adoptRef(new InsertParagraphSeparatorCommand(document, useDefaultParagraphElement, pasteBlockqutoeIntoUnquotedArea)); document 39 Source/core/editing/InsertTextCommand.cpp InsertTextCommand::InsertTextCommand(Document& document, const String& text, bool selectInsertedText, RebalanceType rebalanceType) document 40 Source/core/editing/InsertTextCommand.cpp : CompositeEditCommand(document) document 51 Source/core/editing/InsertTextCommand.cpp RefPtr<Node> textNode = document().createEditingTextNode(""); document 59 Source/core/editing/InsertTextCommand.cpp RefPtr<Node> textNode = document().createEditingTextNode(""); document 141 Source/core/editing/InsertTextCommand.cpp if (EditingStyle* typingStyle = document().frame()->selection().typingStyle()) document 144 Source/core/editing/InsertTextCommand.cpp } else if (document().frame()->editor().isOverwriteModeEnabled()) { document 219 Source/core/editing/InsertTextCommand.cpp if (RefPtr<EditingStyle> typingStyle = document().frame()->selection().typingStyle()) { document 244 Source/core/editing/InsertTextCommand.cpp RefPtr<Element> spanNode = createTabSpanElement(document()); document 40 Source/core/editing/InsertTextCommand.h static PassRefPtr<InsertTextCommand> create(Document& document, const String& text, bool selectInsertedText = false, document 43 Source/core/editing/InsertTextCommand.h return adoptRef(new InsertTextCommand(document, text, selectInsertedText, rebalanceType)); document 155 Source/core/editing/MarkupAccumulator.cpp return element.document().completeURL(urlString).string(); document 158 Source/core/editing/MarkupAccumulator.cpp if (!element.document().url().isLocalFile()) document 159 Source/core/editing/MarkupAccumulator.cpp return element.document().completeURL(urlString).string(); document 329 Source/core/editing/MarkupAccumulator.cpp void MarkupAccumulator::appendXMLDeclaration(StringBuilder& result, const Document& document) document 331 Source/core/editing/MarkupAccumulator.cpp if (!document.hasXMLDeclaration()) document 335 Source/core/editing/MarkupAccumulator.cpp result.append(document.xmlVersion()); document 336 Source/core/editing/MarkupAccumulator.cpp const String& encoding = document.xmlEncoding(); document 341 Source/core/editing/MarkupAccumulator.cpp if (document.xmlStandaloneStatus() != Document::StandaloneUnspecified) { document 343 Source/core/editing/MarkupAccumulator.cpp if (document.xmlStandalone()) document 556 Source/core/editing/MarkupAccumulator.cpp return node.document().isHTMLDocument(); document 36 Source/core/editing/MergeIdenticalElementsCommand.cpp : SimpleEditCommand(first->document()) document 35 Source/core/editing/MoveSelectionCommand.cpp : CompositeEditCommand(*position.document()), m_fragment(fragment), m_position(position), m_smartInsert(smartInsert), m_smartDelete(smartDelete) document 78 Source/core/editing/MoveSelectionCommand.cpp applyCommandToComposite(ReplaceSelectionCommand::create(document(), m_fragment, options)); document 74 Source/core/editing/PlainTextRange.cpp RefPtrWillBeRawPtr<Range> resultRange = scope.document().createRange(); document 106 Source/core/editing/PlainTextRange.cpp scope.document().updateLayoutIgnorePendingStylesheets(); document 174 Source/core/editing/PlainTextRange.cpp RefPtrWillBeRawPtr<Range> testRange = Range::create(scope.document(), const_cast<Node*>(&scope), 0, range.startContainer(), range.startOffset()); document 37 Source/core/editing/RemoveCSSPropertyCommand.cpp RemoveCSSPropertyCommand::RemoveCSSPropertyCommand(Document& document, PassRefPtr<Element> element, CSSPropertyID property) document 38 Source/core/editing/RemoveCSSPropertyCommand.cpp : SimpleEditCommand(document) document 38 Source/core/editing/RemoveCSSPropertyCommand.h static PassRefPtr<RemoveCSSPropertyCommand> create(Document& document, PassRefPtr<Element> element, CSSPropertyID property) document 40 Source/core/editing/RemoveCSSPropertyCommand.h return adoptRef(new RemoveCSSPropertyCommand(document, element, property)); document 43 Source/core/editing/RemoveFormatCommand.cpp RemoveFormatCommand::RemoveFormatCommand(Document& document) document 44 Source/core/editing/RemoveFormatCommand.cpp : CompositeEditCommand(document) document 82 Source/core/editing/RemoveFormatCommand.cpp LocalFrame* frame = document().frame(); document 96 Source/core/editing/RemoveFormatCommand.cpp applyCommandToComposite(ApplyStyleCommand::create(document(), defaultStyle.get(), isElementForRemoveFormatCommand, editingAction())); document 35 Source/core/editing/RemoveFormatCommand.h static PassRefPtr<RemoveFormatCommand> create(Document& document) document 37 Source/core/editing/RemoveFormatCommand.h return adoptRef(new RemoveFormatCommand(document)); document 36 Source/core/editing/RemoveNodeCommand.cpp : SimpleEditCommand(node->document()) document 35 Source/core/editing/RemoveNodePreservingChildrenCommand.cpp : CompositeEditCommand(node->document()) document 45 Source/core/editing/ReplaceNodeWithSpanCommand.cpp : SimpleEditCommand(element->document()) document 73 Source/core/editing/ReplaceNodeWithSpanCommand.cpp m_spanElement = createHTMLElement(m_elementToReplace->document(), spanTag); document 134 Source/core/editing/ReplaceSelectionCommand.cpp ReplacementFragment::ReplacementFragment(Document* document, DocumentFragment* fragment, const VisibleSelection& selection) document 135 Source/core/editing/ReplaceSelectionCommand.cpp : m_document(document), document 358 Source/core/editing/ReplaceSelectionCommand.cpp ReplaceSelectionCommand::ReplaceSelectionCommand(Document& document, PassRefPtr<DocumentFragment> fragment, CommandOptions options, EditAction editAction) document 359 Source/core/editing/ReplaceSelectionCommand.cpp : CompositeEditCommand(document) document 503 Source/core/editing/ReplaceSelectionCommand.cpp newInlineStyle->removeStyleFromRulesAndContext(element, document().documentElement()); document 666 Source/core/editing/ReplaceSelectionCommand.cpp document().updateLayoutIgnorePendingStylesheets(); document 776 Source/core/editing/ReplaceSelectionCommand.cpp context = document().documentElement(); document 822 Source/core/editing/ReplaceSelectionCommand.cpp RefPtr<Node> placeholder = createBreakElement(document()); document 893 Source/core/editing/ReplaceSelectionCommand.cpp ReplacementFragment fragment(&document(), m_documentFragment.get(), selection); document 904 Source/core/editing/ReplaceSelectionCommand.cpp m_insertionStyle->mergeTypingStyle(&document()); document 971 Source/core/editing/ReplaceSelectionCommand.cpp applyCommandToComposite(BreakBlockquoteCommand::create(document())); document 1013 Source/core/editing/ReplaceSelectionCommand.cpp if (LocalFrame* frame = document().frame()) document 1125 Source/core/editing/ReplaceSelectionCommand.cpp insertNodeAt(createBreakElement(document()).get(), startOfInsertedContent.deepEquivalent()); document 1142 Source/core/editing/ReplaceSelectionCommand.cpp applyCommandToComposite(SimplifyMarkupCommand::create(document(), insertedNodes.firstNodeInserted(), insertedNodes.pastLastLeaf())); document 1160 Source/core/editing/ReplaceSelectionCommand.cpp insertNodeBefore(createBreakElement(document()), refNode.get()); document 1171 Source/core/editing/ReplaceSelectionCommand.cpp insertNodeAt(createBreakElement(document()).get(), endOfInsertedContent.deepEquivalent()); document 1195 Source/core/editing/ReplaceSelectionCommand.cpp RefPtr<Node> newListItem = createListItemElement(document()); document 1243 Source/core/editing/ReplaceSelectionCommand.cpp if (!document().inNoQuirksMode() && isEndOfBlock(visiblePos) && !isStartOfParagraph(visiblePos)) document 1289 Source/core/editing/ReplaceSelectionCommand.cpp RefPtr<Node> node = document().createEditingTextNode(collapseWhiteSpace ? nonBreakingSpaceString() : " "); document 1295 Source/core/editing/ReplaceSelectionCommand.cpp document().updateLayout(); document 1313 Source/core/editing/ReplaceSelectionCommand.cpp RefPtr<Node> node = document().createEditingTextNode(collapseWhiteSpace ? nonBreakingSpaceString() : " "); document 50 Source/core/editing/ReplaceSelectionCommand.h static PassRefPtr<ReplaceSelectionCommand> create(Document& document, PassRefPtr<DocumentFragment> fragment, CommandOptions options, EditAction action = EditActionPaste) document 52 Source/core/editing/ReplaceSelectionCommand.h return adoptRef(new ReplaceSelectionCommand(document, fragment, options, action)); document 36 Source/core/editing/SetNodeAttributeCommand.cpp : SimpleEditCommand(element->document()) document 37 Source/core/editing/SimplifyMarkupCommand.cpp SimplifyMarkupCommand::SimplifyMarkupCommand(Document& document, Node* firstNode, Node* nodeAfterLast) document 38 Source/core/editing/SimplifyMarkupCommand.cpp : CompositeEditCommand(document), m_firstNode(firstNode), m_nodeAfterLast(nodeAfterLast) document 35 Source/core/editing/SimplifyMarkupCommand.h static PassRefPtr<SimplifyMarkupCommand> create(Document& document, Node* firstNode, Node* nodeAfterLast) document 37 Source/core/editing/SimplifyMarkupCommand.h return adoptRef(new SimplifyMarkupCommand(document, firstNode, nodeAfterLast)); document 255 Source/core/editing/SpellCheckRequester.cpp m_frame.document()->markers().removeMarkers(m_processingRequest->checkingRange().get(), markers); document 106 Source/core/editing/SpellChecker.cpp for (LocalFrame* frame = m_frame.page()->mainFrame(); frame && frame->document(); frame = frame->tree().traverseNext()) { document 107 Source/core/editing/SpellChecker.cpp for (Node* node = &frame->document()->rootNode(); node; node = NodeTraversal::next(*node)) { document 147 Source/core/editing/SpellChecker.cpp m_frame.document()->markers().removeMarkers(selectedRange.get(), DocumentMarker::Spelling); document 158 Source/core/editing/SpellChecker.cpp RefPtrWillBeRawPtr<Range> spellingSearchRange(rangeOfContents(m_frame.document())); document 181 Source/core/editing/SpellChecker.cpp position = firstEditablePositionAfterPositionInRoot(position, m_frame.document()->documentElement()).deepEquivalent(); document 293 Source/core/editing/SpellChecker.cpp m_frame.document()->markers().addMarker(badGrammarRange.get(), DocumentMarker::Grammar, grammarDetail.userDescription); document 303 Source/core/editing/SpellChecker.cpp m_frame.document()->markers().addMarker(misspellingRange.get(), DocumentMarker::Spelling); document 322 Source/core/editing/SpellChecker.cpp m_frame.document()->markers().removeMarkers(selectedRange.get(), DocumentMarker::MisspellingMarkers()); document 474 Source/core/editing/SpellChecker.cpp RefPtrWillBeRawPtr<Range> rangeToCheck = Range::create(*m_frame.document(), firstPositionInNode(node), lastPositionInNode(node)); document 572 Source/core/editing/SpellChecker.cpp misspellingRange->startContainer()->document().markers().addMarker(misspellingRange.get(), DocumentMarker::Spelling, result->replacement, result->hash); document 580 Source/core/editing/SpellChecker.cpp badGrammarRange->startContainer()->document().markers().addMarker(badGrammarRange.get(), DocumentMarker::Grammar, detail->userDescription, result->hash); document 586 Source/core/editing/SpellChecker.cpp invisibleSpellcheckRange->startContainer()->document().markers().addMarker(invisibleSpellcheckRange.get(), DocumentMarker::InvisibleSpellcheck, result->replacement, result->hash); document 690 Source/core/editing/SpellChecker.cpp Document* document = m_frame.document(); document 691 Source/core/editing/SpellChecker.cpp ASSERT(document); document 692 Source/core/editing/SpellChecker.cpp RefPtrWillBeRawPtr<Range> wordRange = Range::create(*document, startOfFirstWord.deepEquivalent(), endOfLastWord.deepEquivalent()); document 694 Source/core/editing/SpellChecker.cpp document->markers().removeMarkers(wordRange.get(), DocumentMarker::MisspellingMarkers(), DocumentMarkerController::RemovePartiallyOverlappingMarker); document 708 Source/core/editing/SpellChecker.cpp m_frame.document()->markers().removeMarkers(node, markerTypes); document 744 Source/core/editing/SpellChecker.cpp m_frame.document()->markers().removeMarkers(wordRange.get(), DocumentMarker::Spelling); document 748 Source/core/editing/SpellChecker.cpp m_frame.document()->markers().removeMarkers(sentenceRange.get(), DocumentMarker::Grammar); document 754 Source/core/editing/SpellChecker.cpp m_frame.document()->markers().removeMarkers(DocumentMarker::Spelling); document 756 Source/core/editing/SpellChecker.cpp m_frame.document()->markers().removeMarkers(DocumentMarker::Grammar); document 813 Source/core/editing/SpellChecker.cpp Vector<DocumentMarker*> markers = m_frame.document()->markers().markersFor(node); document 38 Source/core/editing/SplitElementCommand.cpp : SimpleEditCommand(element->document()) document 39 Source/core/editing/SplitTextNodeCommand.cpp : SimpleEditCommand(text->document()) document 63 Source/core/editing/SplitTextNodeCommand.cpp m_text1 = Text::create(document(), prefixText); document 65 Source/core/editing/SplitTextNodeCommand.cpp document().markers().copyMarkers(m_text2.get(), 0, m_offset, m_text1.get(), 0); document 75 Source/core/editing/SplitTextNodeCommand.cpp ASSERT(m_text1->document() == document()); document 81 Source/core/editing/SplitTextNodeCommand.cpp document().markers().copyMarkers(m_text1.get(), 0, prefixText.length(), m_text2.get(), 0); document 37 Source/core/editing/SplitTextNodeContainingElementCommand.cpp : CompositeEditCommand(text->document()), m_text(text), m_offset(offset) document 54 Source/core/editing/SurroundingText.cpp Document* document = position.document(); document 55 Source/core/editing/SurroundingText.cpp ASSERT(document); document 57 Source/core/editing/SurroundingText.cpp if (!forwardRange || !Range::create(*document, position, forwardRange->startPosition())->text().length()) { document 72 Source/core/editing/SurroundingText.cpp m_positionOffsetInContent = Range::create(*document, backwardsRange->endPosition(), position)->text().length(); document 73 Source/core/editing/SurroundingText.cpp m_contentRange = Range::create(*document, backwardsRange->endPosition(), forwardRange->startPosition()); document 96 Source/core/editing/SurroundingText.cpp ASSERT(start.document()); document 97 Source/core/editing/SurroundingText.cpp return Range::create(*start.document(), start, end); document 185 Source/core/editing/TextCheckingHelper.cpp m_offsetAsRange = Range::create(paragraphRange()->startContainer()->document(), paragraphRange()->startPosition(), checkingRange()->startPosition()); document 274 Source/core/editing/TextCheckingHelper.cpp misspellingRange->startContainer()->document().markers().addMarker(misspellingRange.get(), DocumentMarker::Spelling); document 314 Source/core/editing/TextCheckingHelper.cpp RefPtrWillBeRawPtr<Range> offsetAsRange = Range::create(paragraphRange->startContainer()->document(), paragraphRange->startPosition(), m_range->startPosition()); document 328 Source/core/editing/TextCheckingHelper.cpp RefPtrWillBeRawPtr<Range> endOffsetAsRange = Range::create(paragraphRange->startContainer()->document(), paragraphRange->startPosition(), m_range->endPosition()); document 381 Source/core/editing/TextCheckingHelper.cpp RefPtrWillBeRawPtr<Range> paragraphOffsetAsRange = Range::create(paragraphRange->startContainer()->document(), m_range->startPosition(), paragraphRange->startPosition()); document 392 Source/core/editing/TextCheckingHelper.cpp RefPtrWillBeRawPtr<Range> paragraphOffsetAsRange = Range::create(paragraphRange->startContainer()->document(), m_range->startPosition(), paragraphRange->startPosition()); document 435 Source/core/editing/TextCheckingHelper.cpp badGrammarRange->startContainer()->document().markers().addMarker(badGrammarRange.get(), DocumentMarker::Grammar, detail->userDescription); document 38 Source/core/editing/TextInsertionBaseCommand.cpp TextInsertionBaseCommand::TextInsertionBaseCommand(Document& document) document 39 Source/core/editing/TextInsertionBaseCommand.cpp : CompositeEditCommand(document) document 1162 Source/core/editing/TextIterator.cpp return Range::create(m_positionNode->document(), m_positionNode, m_positionStartOffset, m_positionNode, m_positionEndOffset); document 1167 Source/core/editing/TextIterator.cpp return Range::create(m_endContainer->document(), m_endContainer, m_endOffset, m_endContainer, m_endOffset); document 1473 Source/core/editing/TextIterator.cpp return Range::create(m_positionNode->document(), m_positionNode, m_positionStartOffset, m_positionNode, m_positionEndOffset); document 1475 Source/core/editing/TextIterator.cpp return Range::create(m_startNode->document(), m_startNode, m_startOffset, m_startNode, m_startOffset); document 1575 Source/core/editing/TextIterator.cpp return Range::create(start->startContainer()->document(), document 2149 Source/core/editing/TextIterator.cpp ASSERT(start.document() == end.document()); document 2150 Source/core/editing/TextIterator.cpp start.document()->updateLayout(); document 2160 Source/core/editing/TextIterator.cpp return Range::create(*start.document(), collapseTo, collapseTo); document 62 Source/core/editing/TextIteratorTest.cpp HTMLDocument& document() const; document 78 Source/core/editing/TextIteratorTest.cpp m_document = toHTMLDocument(&m_dummyPageHolder->document()); document 84 Source/core/editing/TextIteratorTest.cpp document().view()->updateLayoutAndStyleIfNeededRecursive(); // Force renderers to be created; TextIterator needs them. document 103 Source/core/editing/TextIteratorTest.cpp document().body()->setInnerHTML(String::fromUTF8(bodyContent), ASSERT_NO_EXCEPTION); document 108 Source/core/editing/TextIteratorTest.cpp RefPtrWillBeRawPtr<Range> range(Range::create(document())); document 109 Source/core/editing/TextIteratorTest.cpp range->selectNode(document().body()); document 203 Source/core/editing/TextIteratorTest.cpp createShadowRootForElementWithIDAndSetInnerHTML(document(), "input", shadowContent); document 219 Source/core/editing/TextIteratorTest.cpp createShadowRootForElementWithIDAndSetInnerHTML(document(), "host", shadowContent); document 236 Source/core/editing/TextIteratorTest.cpp createShadowRootForElementWithIDAndSetInnerHTML(document(), "host", shadowContent1); document 237 Source/core/editing/TextIteratorTest.cpp createShadowRootForElementWithIDAndSetInnerHTML(document(), "host", shadowContent2); document 254 Source/core/editing/TextIteratorTest.cpp RefPtr<ShadowRoot> shadowRoot1 = createShadowRootForElementWithIDAndSetInnerHTML(document(), "host-in-document", shadowContent1); document 272 Source/core/editing/TextIteratorTest.cpp createShadowRootForElementWithIDAndSetInnerHTML(document(), "host", shadowContent); document 289 Source/core/editing/TextIteratorTest.cpp createShadowRootForElementWithIDAndSetInnerHTML(document(), "host", shadowContent); document 307 Source/core/editing/TextIteratorTest.cpp createShadowRootForElementWithIDAndSetInnerHTML(document(), "host", shadowContent1); document 308 Source/core/editing/TextIteratorTest.cpp createShadowRootForElementWithIDAndSetInnerHTML(document(), "host", shadowContent2); document 327 Source/core/editing/TextIteratorTest.cpp RefPtr<ShadowRoot> shadowRoot1 = createShadowRootForElementWithIDAndSetInnerHTML(document(), "host-in-document", shadowContent1); document 349 Source/core/editing/TextIteratorTest.cpp createShadowRootForElementWithIDAndSetInnerHTML(document(), "host", shadowContent); document 402 Source/core/editing/TextIteratorTest.cpp createShadowRootForElementWithIDAndSetInnerHTML(document(), "host", shadowContent); document 426 Source/core/editing/TextIteratorTest.cpp createShadowRootForElementWithIDAndSetInnerHTML(document(), "host", shadowContent); document 78 Source/core/editing/TypingCommand.cpp TypingCommand::TypingCommand(Document& document, ETypingCommand commandType, const String &textToInsert, Options options, TextGranularity granularity, TextCompositionType compositionType) document 79 Source/core/editing/TypingCommand.cpp : TextInsertionBaseCommand(document) document 95 Source/core/editing/TypingCommand.cpp void TypingCommand::deleteSelection(Document& document, Options options) document 97 Source/core/editing/TypingCommand.cpp LocalFrame* frame = document.frame(); document 109 Source/core/editing/TypingCommand.cpp TypingCommand::create(document, DeleteSelection, "", options)->apply(); document 112 Source/core/editing/TypingCommand.cpp void TypingCommand::deleteKeyPressed(Document& document, Options options, TextGranularity granularity) document 115 Source/core/editing/TypingCommand.cpp LocalFrame* frame = document.frame(); document 128 Source/core/editing/TypingCommand.cpp TypingCommand::create(document, DeleteKey, "", options, granularity)->apply(); document 131 Source/core/editing/TypingCommand.cpp void TypingCommand::forwardDeleteKeyPressed(Document& document, Options options, TextGranularity granularity) document 135 Source/core/editing/TypingCommand.cpp LocalFrame* frame = document.frame(); document 144 Source/core/editing/TypingCommand.cpp TypingCommand::create(document, ForwardDeleteKey, "", options, granularity)->apply(); document 158 Source/core/editing/TypingCommand.cpp void TypingCommand::insertText(Document& document, const String& text, Options options, TextCompositionType composition) document 160 Source/core/editing/TypingCommand.cpp LocalFrame* frame = document.frame(); document 164 Source/core/editing/TypingCommand.cpp document.frame()->spellChecker().updateMarkersForWordsAffectedByEditing(isSpaceOrNewline(text[0])); document 166 Source/core/editing/TypingCommand.cpp insertText(document, text, frame->selection().selection(), options, composition); document 170 Source/core/editing/TypingCommand.cpp void TypingCommand::insertText(Document& document, const String& text, const VisibleSelection& selectionForInsertion, Options options, TextCompositionType compositionType) document 172 Source/core/editing/TypingCommand.cpp RefPtr<LocalFrame> frame = document.frame(); document 195 Source/core/editing/TypingCommand.cpp RefPtr<TypingCommand> cmd = TypingCommand::create(document, InsertText, newText, options, compositionType); document 199 Source/core/editing/TypingCommand.cpp void TypingCommand::insertLineBreak(Document& document, Options options) document 201 Source/core/editing/TypingCommand.cpp if (RefPtr<TypingCommand> lastTypingCommand = lastTypingCommandIfStillOpenForTyping(document.frame())) { document 207 Source/core/editing/TypingCommand.cpp TypingCommand::create(document, InsertLineBreak, "", options)->apply(); document 210 Source/core/editing/TypingCommand.cpp void TypingCommand::insertParagraphSeparatorInQuotedContent(Document& document) document 212 Source/core/editing/TypingCommand.cpp if (RefPtr<TypingCommand> lastTypingCommand = lastTypingCommandIfStillOpenForTyping(document.frame())) { document 217 Source/core/editing/TypingCommand.cpp TypingCommand::create(document, InsertParagraphSeparatorInQuotedContent)->apply(); document 220 Source/core/editing/TypingCommand.cpp void TypingCommand::insertParagraphSeparator(Document& document, Options options) document 222 Source/core/editing/TypingCommand.cpp if (RefPtr<TypingCommand> lastTypingCommand = lastTypingCommandIfStillOpenForTyping(document.frame())) { document 228 Source/core/editing/TypingCommand.cpp TypingCommand::create(document, InsertParagraphSeparator, "", options)->apply(); document 291 Source/core/editing/TypingCommand.cpp LocalFrame* frame = document().frame(); document 316 Source/core/editing/TypingCommand.cpp LocalFrame* frame = document().frame(); document 341 Source/core/editing/TypingCommand.cpp RefPtr<InsertTextCommand> command = InsertTextCommand::create(document(), text, selectInsertedText, document 354 Source/core/editing/TypingCommand.cpp applyCommandToComposite(InsertLineBreakCommand::create(document())); document 363 Source/core/editing/TypingCommand.cpp applyCommandToComposite(InsertParagraphSeparatorCommand::create(document())); document 376 Source/core/editing/TypingCommand.cpp applyCommandToComposite(BreakBlockquoteCommand::create(document())); document 406 Source/core/editing/TypingCommand.cpp LocalFrame* frame = document().frame(); document 510 Source/core/editing/TypingCommand.cpp LocalFrame* frame = document().frame(); document 81 Source/core/editing/TypingCommand.h static PassRefPtr<TypingCommand> create(Document& document, ETypingCommand command, const String& text = "", Options options = 0, TextGranularity granularity = CharacterGranularity) document 83 Source/core/editing/TypingCommand.h return adoptRef(new TypingCommand(document, command, text, options, granularity, TextCompositionNone)); document 86 Source/core/editing/TypingCommand.h static PassRefPtr<TypingCommand> create(Document& document, ETypingCommand command, const String& text, Options options, TextCompositionType compositionType) document 88 Source/core/editing/TypingCommand.h return adoptRef(new TypingCommand(document, command, text, options, CharacterGranularity, compositionType)); document 33 Source/core/editing/UnlinkCommand.cpp UnlinkCommand::UnlinkCommand(Document& document) document 34 Source/core/editing/UnlinkCommand.cpp : CompositeEditCommand(document) document 44 Source/core/editing/UnlinkCommand.cpp removeStyledElement(HTMLAnchorElement::create(document())); document 35 Source/core/editing/UnlinkCommand.h static PassRefPtr<UnlinkCommand> create(Document& document) document 37 Source/core/editing/UnlinkCommand.h return adoptRef(new UnlinkCommand(document)); document 573 Source/core/editing/VisiblePosition.cpp ASSERT(position.document()); document 574 Source/core/editing/VisiblePosition.cpp position.document()->updateLayoutIgnorePendingStylesheets(); document 594 Source/core/editing/VisiblePosition.cpp if (isHTMLHtmlElement(node) && !node->rendererIsEditable() && node->document().body() && node->document().body()->rendererIsEditable()) document 733 Source/core/editing/VisiblePosition.cpp return Range::create(s.containerNode()->document(), s.containerNode(), s.offsetInContainerNode(), e.containerNode(), e.offsetInContainerNode()); document 190 Source/core/editing/VisibleSelection.cpp return Range::create(*start.document(), start, end); document 202 Source/core/editing/VisibleSelection.cpp m_start.document()->updateLayout(); document 246 Source/core/editing/VisibleSelection.cpp return Range::create(*s.document(), s, e); document 270 Source/core/editing/VisibleSelection.cpp Document& d = n->document(); document 457 Source/core/editing/VisibleUnits.cpp Document& d = boundary->document(); document 538 Source/core/editing/VisibleUnits.cpp Document& d = boundary->document(); document 923 Source/core/editing/VisibleUnits.cpp node->document().updateLayoutIgnorePendingStylesheets(); document 964 Source/core/editing/VisibleUnits.cpp Element* rootElement = node->rendererIsEditable(editableType) ? node->rootEditableElement(editableType) : node->document().documentElement(); document 978 Source/core/editing/VisibleUnits.cpp node->document().updateLayoutIgnorePendingStylesheets(); document 1022 Source/core/editing/VisibleUnits.cpp Element* rootElement = node->rendererIsEditable(editableType) ? node->rootEditableElement(editableType) : node->document().documentElement(); document 1325 Source/core/editing/VisibleUnits.cpp if (!node || !node->document().documentElement()) document 1328 Source/core/editing/VisibleUnits.cpp return VisiblePosition(firstPositionInNode(node->document().documentElement()), DOWNSTREAM); document 1338 Source/core/editing/VisibleUnits.cpp if (!node || !node->document().documentElement()) document 1341 Source/core/editing/VisibleUnits.cpp Element* doc = node->document().documentElement(); document 36 Source/core/editing/WrapContentsInDummySpanCommand.cpp : SimpleEditCommand(element->document()) document 57 Source/core/editing/WrapContentsInDummySpanCommand.cpp m_dummySpan = createStyleSpanElement(document()); document 160 Source/core/editing/htmlediting.cpp node->document().updateLayoutIgnorePendingStylesheets(); document 528 Source/core/editing/htmlediting.cpp PassRefPtrWillBeRawPtr<Range> createRange(Document& document, const VisiblePosition& start, const VisiblePosition& end, ExceptionState& exceptionState) document 530 Source/core/editing/htmlediting.cpp RefPtrWillBeRawPtr<Range> selectedRange = Range::create(document); document 781 Source/core/editing/htmlediting.cpp PassRefPtr<HTMLElement> createDefaultParagraphElement(Document& document) document 783 Source/core/editing/htmlediting.cpp switch (document.frame()->editor().defaultParagraphSeparator()) { document 785 Source/core/editing/htmlediting.cpp return HTMLDivElement::create(document); document 787 Source/core/editing/htmlediting.cpp return HTMLParagraphElement::create(document); document 794 Source/core/editing/htmlediting.cpp PassRefPtr<HTMLElement> createBreakElement(Document& document) document 796 Source/core/editing/htmlediting.cpp return HTMLBRElement::create(document); document 799 Source/core/editing/htmlediting.cpp PassRefPtr<HTMLElement> createOrderedListElement(Document& document) document 801 Source/core/editing/htmlediting.cpp return HTMLOListElement::create(document); document 804 Source/core/editing/htmlediting.cpp PassRefPtr<HTMLElement> createUnorderedListElement(Document& document) document 806 Source/core/editing/htmlediting.cpp return HTMLUListElement::create(document); document 809 Source/core/editing/htmlediting.cpp PassRefPtr<HTMLElement> createListItemElement(Document& document) document 811 Source/core/editing/htmlediting.cpp return HTMLLIElement::create(document); document 814 Source/core/editing/htmlediting.cpp PassRefPtr<HTMLElement> createHTMLElement(Document& document, const QualifiedName& name) document 816 Source/core/editing/htmlediting.cpp return createHTMLElement(document, name.localName()); document 819 Source/core/editing/htmlediting.cpp PassRefPtr<HTMLElement> createHTMLElement(Document& document, const AtomicString& tagName) document 821 Source/core/editing/htmlediting.cpp return HTMLElementFactory::createHTMLElement(tagName, document, 0, false); document 839 Source/core/editing/htmlediting.cpp PassRefPtr<Element> createTabSpanElement(Document& document, PassRefPtr<Node> prpTabTextNode) document 844 Source/core/editing/htmlediting.cpp RefPtr<Element> spanElement = document.createElement(spanTag, false); document 850 Source/core/editing/htmlediting.cpp tabTextNode = document.createEditingTextNode("\t"); document 857 Source/core/editing/htmlediting.cpp PassRefPtr<Element> createTabSpanElement(Document& document, const String& tabText) document 859 Source/core/editing/htmlediting.cpp return createTabSpanElement(document, document.createTextNode(tabText)); document 862 Source/core/editing/htmlediting.cpp PassRefPtr<Element> createTabSpanElement(Document& document) document 864 Source/core/editing/htmlediting.cpp return createTabSpanElement(document, PassRefPtr<Node>()); document 1009 Source/core/editing/htmlediting.cpp Document& document = *p.document(); document 1015 Source/core/editing/htmlediting.cpp scope = document.documentElement(); document 1017 Source/core/editing/htmlediting.cpp RefPtrWillBeRawPtr<Range> range = Range::create(document, firstPositionInNode(scope.get()), p.parentAnchoredEquivalent()); document 173 Source/core/editing/markup.cpp void StyledMarkupAccumulator::wrapWithStyleNode(StylePropertySet* style, const Document& document, bool isBlock) document 176 Source/core/editing/markup.cpp appendStyleNodeOpenTag(openTag, style, document, isBlock); document 181 Source/core/editing/markup.cpp void StyledMarkupAccumulator::appendStyleNodeOpenTag(StringBuilder& out, StylePropertySet* style, const Document& document, bool isBlock) document 189 Source/core/editing/markup.cpp appendAttributeValue(out, style->asText(), document.isHTMLDocument()); document 226 Source/core/editing/markup.cpp appendStyleNodeOpenTag(out, wrappingStyle->style(), text.document()); document 259 Source/core/editing/markup.cpp return plainText(Range::create(node.document(), start, end).get()); document 277 Source/core/editing/markup.cpp const bool documentIsHTML = element.document().isHTMLDocument(); document 544 Source/core/editing/markup.cpp static String createMarkupInternal(Document& document, const Range* range, const Range* updatedRange, Vector<Node*>* nodes, document 558 Source/core/editing/markup.cpp document.updateLayoutIgnorePendingStylesheets(); document 605 Source/core/editing/markup.cpp accumulator.wrapWithStyleNode(fullySelectedRootStyle->style(), document, true); document 632 Source/core/editing/markup.cpp Document& document = range->ownerDocument(); document 635 Source/core/editing/markup.cpp return createMarkupInternal(document, range, updatedRange, nodes, shouldAnnotate, convertBlocksToInlines, shouldResolveURLs, constrainingAncestor); document 638 Source/core/editing/markup.cpp PassRefPtr<DocumentFragment> createFragmentFromMarkup(Document& document, const String& markup, const String& baseURL, ParserContentPolicy parserContentPolicy) document 641 Source/core/editing/markup.cpp RefPtr<HTMLBodyElement> fakeBody = HTMLBodyElement::create(document); document 642 Source/core/editing/markup.cpp RefPtr<DocumentFragment> fragment = DocumentFragment::create(document); document 646 Source/core/editing/markup.cpp if (!baseURL.isEmpty() && baseURL != blankURL() && baseURL != document.baseURL()) document 654 Source/core/editing/markup.cpp static bool findNodesSurroundingContext(Document* document, RefPtr<Node>& nodeBeforeContext, RefPtr<Node>& nodeAfterContext) document 656 Source/core/editing/markup.cpp for (Node* node = document->firstChild(); node; node = NodeTraversal::next(*node)) { document 691 Source/core/editing/markup.cpp PassRefPtr<DocumentFragment> createFragmentFromMarkupWithContext(Document& document, const String& markup, unsigned fragmentStart, unsigned fragmentEnd, document 703 Source/core/editing/markup.cpp RefPtr<DocumentFragment> taggedFragment = createFragmentFromMarkup(document, taggedMarkup.toString(), baseURL, parserContentPolicy); document 705 Source/core/editing/markup.cpp taggedDocument->setContextFeatures(document.contextFeatures()); document 726 Source/core/editing/markup.cpp RefPtr<DocumentFragment> fragment = DocumentFragment::create(document); document 748 Source/core/editing/markup.cpp Document& document = paragraph->document(); document 751 Source/core/editing/markup.cpp paragraph->appendChild(createBlockPlaceholderElement(document)); document 768 Source/core/editing/markup.cpp paragraph->appendChild(createTabSpanElement(document, tabText.toString())); document 771 Source/core/editing/markup.cpp RefPtr<Node> textNode = document.createTextNode(stringWithRebalancedWhitespace(s, first, i + 1 == numEntries)); document 780 Source/core/editing/markup.cpp paragraph->appendChild(createTabSpanElement(document, tabText.toString())); document 822 Source/core/editing/markup.cpp Document& document = context->ownerDocument(); document 823 Source/core/editing/markup.cpp RefPtr<DocumentFragment> fragment = document.createDocumentFragment(); document 833 Source/core/editing/markup.cpp fragment->appendChild(document.createTextNode(string)); document 835 Source/core/editing/markup.cpp RefPtr<Element> element = createBreakElement(document); document 867 Source/core/editing/markup.cpp element = createBreakElement(document); document 870 Source/core/editing/markup.cpp element = createBreakElement(document); document 876 Source/core/editing/markup.cpp element = createDefaultParagraphElement(document); document 889 Source/core/editing/markup.cpp LocalFrame* frame = node->document().frame(); document 916 Source/core/editing/markup.cpp Document& document = isHTMLTemplateElement(*contextElement) ? contextElement->document().ensureTemplateDocument() : contextElement->document(); document 917 Source/core/editing/markup.cpp RefPtr<DocumentFragment> fragment = DocumentFragment::create(document); document 919 Source/core/editing/markup.cpp if (document.isHTMLDocument()) { document 1048 Source/core/editing/markup.cpp RefPtr<Text> textNode = Text::create(containerNode->document(), text); document 62 Source/core/events/EventDispatcher.cpp m_view = node->document().view(); document 86 Source/core/events/EventDispatcher.cpp EventDispatcher(node, SimulatedMouseEvent::create(EventTypeNames::mouseover, node->document().domWindow(), underlyingEvent)).dispatch(); document 89 Source/core/events/EventDispatcher.cpp EventDispatcher(node, SimulatedMouseEvent::create(EventTypeNames::mousedown, node->document().domWindow(), underlyingEvent)).dispatch(); document 92 Source/core/events/EventDispatcher.cpp EventDispatcher(node, SimulatedMouseEvent::create(EventTypeNames::mouseup, node->document().domWindow(), underlyingEvent)).dispatch(); document 96 Source/core/events/EventDispatcher.cpp EventDispatcher(node, SimulatedMouseEvent::create(EventTypeNames::click, node->document().domWindow(), underlyingEvent)).dispatch(); document 115 Source/core/events/EventDispatcher.cpp InspectorInstrumentationCookie cookie = InspectorInstrumentation::willDispatchEvent(&m_node->document(), *m_event, windowEventContext.window(), m_node.get(), m_event->eventPath()); document 131 Source/core/events/EventPath.cpp m_node->document().updateDistributionForNodeIfNeeded(const_cast<Node*>(m_node)); document 279 Source/core/events/EventPath.cpp if (target->document() != relatedNode->document()) document 244 Source/core/events/EventTarget.cpp UseCounter::count(executingWindow->document(), prefixedAndUnprefixedFeature); document 246 Source/core/events/EventTarget.cpp UseCounter::count(executingWindow->document(), prefixedFeature); document 248 Source/core/events/EventTarget.cpp UseCounter::count(executingWindow->document(), unprefixedFeature); document 299 Source/core/events/EventTarget.cpp UseCounter::count(executingWindow->document(), UseCounter::SubFrameBeforeUnloadFired); document 300 Source/core/events/EventTarget.cpp UseCounter::count(executingWindow->document(), UseCounter::DocumentBeforeUnloadFired); document 304 Source/core/events/EventTarget.cpp UseCounter::count(executingWindow->document(), UseCounter::DocumentUnloadFired); document 177 Source/core/events/EventTarget.h EventListener* on##attribute() { return document().getWindowAttributeEventListener(EventTypeNames::attribute); } \ document 178 Source/core/events/EventTarget.h void setOn##attribute(PassRefPtr<EventListener> listener) { document().setWindowAttributeEventListener(EventTypeNames::attribute, listener); } \ document 183 Source/core/events/EventTarget.h return node->document().getWindowAttributeEventListener(EventTypeNames::attribute); \ document 189 Source/core/events/EventTarget.h node->document().setWindowAttributeEventListener(EventTypeNames::attribute, listener); \ document 144 Source/core/events/MouseRelatedEvent.cpp targetNode->document().updateLayoutIgnorePendingStylesheets(); document 42 Source/core/fetch/DocumentResource.h Document* document() const { return m_document.get(); } document 36 Source/core/fetch/DocumentResourceReference.h DocumentResourceReference(DocumentResource* document) : m_document(document) { m_document->addClient(this); } document 38 Source/core/fetch/DocumentResourceReference.h DocumentResource* document() { return m_document.get(); } document 898 Source/core/fetch/Resource.cpp if (initiatorTypeName == FetchInitiatorTypeNames::document) document 268 Source/core/fetch/ResourceFetcher.cpp ASSERT(document()); document 279 Source/core/fetch/ResourceFetcher.cpp if (f->document()->pageDismissalEventBeingDispatched() != Document::NoDismissal) { document 432 Source/core/fetch/ResourceFetcher.cpp if (top != f && !top->loader().mixedContentChecker()->canRunInsecureContent(top->document()->securityOrigin(), url)) document 438 Source/core/fetch/ResourceFetcher.cpp if (!top->loader().mixedContentChecker()->canDisplayInsecureContent(top->document()->securityOrigin(), url)) document 450 Source/core/fetch/ResourceFetcher.cpp if (!securityOrigin && document()) document 451 Source/core/fetch/ResourceFetcher.cpp securityOrigin = document()->securityOrigin(); document 558 Source/core/fetch/ResourceFetcher.cpp if (!sourceOrigin && document()) document 559 Source/core/fetch/ResourceFetcher.cpp sourceOrigin = document()->securityOrigin(); document 566 Source/core/fetch/ResourceFetcher.cpp if (frame() && frame()->document()) { document 568 Source/core/fetch/ResourceFetcher.cpp frame()->document()->addConsoleMessage(JSMessageSource, ErrorMessageLevel, resourceType + " from origin '" + SecurityOrigin::create(url)->toString() + "' has been blocked from loading by Cross-Origin Resource Sharing policy: " + errorDescription); document 721 Source/core/fetch/ResourceFetcher.cpp reportResourceTiming(info.get(), document(), isMainResource); document 743 Source/core/fetch/ResourceFetcher.cpp return parent->document()->fetcher()->resourceRequestCachePolicy(request, type); document 773 Source/core/fetch/ResourceFetcher.cpp context().addAdditionalRequestHeaders(document(), request, (type == Resource::MainResource) ? FetchMainResource : FetchSubresource); document 791 Source/core/fetch/ResourceFetcher.cpp ASSERT(context().cachePolicy(document()) != CachePolicyReload); document 792 Source/core/fetch/ResourceFetcher.cpp if (context().cachePolicy(document()) == CachePolicyRevalidate) document 897 Source/core/fetch/ResourceFetcher.cpp CachePolicy cachePolicy = context().cachePolicy(document()); document 924 Source/core/fetch/ResourceFetcher.cpp if (type != Resource::Raw && document() && !document()->loadEventFinished() && m_validatedURLs.contains(existingResource->url())) document 977 Source/core/fetch/ResourceFetcher.cpp frame()->document()->addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, message); document 1038 Source/core/fetch/ResourceFetcher.cpp if (resource && resource->response().isHTTP() && ((!resource->errorOccurred() && !resource->wasCanceled()) || resource->response().httpStatusCode() == 304) && document()) { document 1044 Source/core/fetch/ResourceFetcher.cpp reportResourceTiming(info.get(), document(), resource->type() == Resource::MainResource); document 1290 Source/core/fetch/ResourceFetcher.cpp if (!sourceOrigin && document()) document 1291 Source/core/fetch/ResourceFetcher.cpp sourceOrigin = document()->securityOrigin(); document 1295 Source/core/fetch/ResourceFetcher.cpp if (frame() && frame()->document()) document 1296 Source/core/fetch/ResourceFetcher.cpp frame()->document()->addConsoleMessage(JSMessageSource, ErrorMessageLevel, errorMessage); document 115 Source/core/fetch/ResourceFetcher.h Document* document() const { return m_document; } // Can be null document 116 Source/core/fetch/ResourceFetcher.h void setDocument(Document* document) { m_document = document; } document 55 Source/core/fetch/ResourceFetcherTest.cpp RefPtr<HTMLDocument> document = HTMLDocument::create(); document 57 Source/core/fetch/ResourceFetcherTest.cpp fetcher->setDocument(document.get()); document 63 Source/core/frame/Console.cpp return m_frame->document(); document 115 Source/core/frame/DOMWindow.cpp : SuspendableTimer(window.document()) document 372 Source/core/frame/DOMWindow.cpp RefPtr<Document> document; document 375 Source/core/frame/DOMWindow.cpp document = Document::create(init); document 377 Source/core/frame/DOMWindow.cpp document = DOMImplementation::createDocument(mimeType, init, init.frame() ? init.frame()->inViewSourceMode() : false); document 378 Source/core/frame/DOMWindow.cpp if (document->isPluginDocument() && document->isSandboxed(SandboxPlugins)) document 379 Source/core/frame/DOMWindow.cpp document = SinkDocument::create(init); document 382 Source/core/frame/DOMWindow.cpp return document.release(); document 468 Source/core/frame/DOMWindow.cpp if (!ContextFeatures::pushStateEnabled(document())) document 482 Source/core/frame/DOMWindow.cpp if (document()->isLoadCompleted()) document 532 Source/core/frame/DOMWindow.cpp return document() ? document()->mediaQueryMatcher().matchMedia(media) : nullptr; document 618 Source/core/frame/DOMWindow.cpp UseCounter::count(document(), UseCounter::WindowOrientation); document 642 Source/core/frame/DOMWindow.cpp UseCounter::count(document(), UseCounter::BarPropLocationbar); document 650 Source/core/frame/DOMWindow.cpp UseCounter::count(document(), UseCounter::BarPropMenubar); document 658 Source/core/frame/DOMWindow.cpp UseCounter::count(document(), UseCounter::BarPropPersonalbar); document 666 Source/core/frame/DOMWindow.cpp UseCounter::count(document(), UseCounter::BarPropScrollbars); document 674 Source/core/frame/DOMWindow.cpp UseCounter::count(document(), UseCounter::BarPropStatusbar); document 682 Source/core/frame/DOMWindow.cpp UseCounter::count(document(), UseCounter::BarPropToolbar); document 737 Source/core/frame/DOMWindow.cpp Document* document = this->document(); document 738 Source/core/frame/DOMWindow.cpp if (!document) document 742 Source/core/frame/DOMWindow.cpp if (!document->securityOrigin()->canAccessLocalStorage()) { document 743 Source/core/frame/DOMWindow.cpp if (document->isSandboxed(SandboxOrigin)) document 745 Source/core/frame/DOMWindow.cpp else if (document->url().protocolIs("data")) document 760 Source/core/frame/DOMWindow.cpp Page* page = document->page(); document 764 Source/core/frame/DOMWindow.cpp OwnPtrWillBeRawPtr<StorageArea> storageArea = page->sessionStorage()->storageArea(document->securityOrigin()); document 779 Source/core/frame/DOMWindow.cpp Document* document = this->document(); document 780 Source/core/frame/DOMWindow.cpp if (!document) document 784 Source/core/frame/DOMWindow.cpp if (!document->securityOrigin()->canAccessLocalStorage()) { document 785 Source/core/frame/DOMWindow.cpp if (document->isSandboxed(SandboxOrigin)) document 787 Source/core/frame/DOMWindow.cpp else if (document->url().protocolIs("data")) document 803 Source/core/frame/DOMWindow.cpp FrameHost* host = document->frameHost(); document 807 Source/core/frame/DOMWindow.cpp OwnPtrWillBeRawPtr<StorageArea> storageArea = StorageNamespace::localStorageArea(document->securityOrigin()); document 822 Source/core/frame/DOMWindow.cpp Document* sourceDocument = source->document(); document 879 Source/core/frame/DOMWindow.cpp event->entangleMessagePorts(document()); document 887 Source/core/frame/DOMWindow.cpp if (!intendedTargetOrigin->isSameSchemeHostPort(document()->securityOrigin())) { document 888 Source/core/frame/DOMWindow.cpp String message = ExceptionMessages::failedToExecute("postMessage", "DOMWindow", "The target origin provided ('" + intendedTargetOrigin->toString() + "') does not match the recipient window's origin ('" + document()->securityOrigin()->toString() + "')."); document 902 Source/core/frame/DOMWindow.cpp return m_frame->document()->getSelection(); document 1006 Source/core/frame/DOMWindow.cpp m_frame->document()->updateRenderTreeIfNeeded(); document 1020 Source/core/frame/DOMWindow.cpp m_frame->document()->updateRenderTreeIfNeeded(); document 1034 Source/core/frame/DOMWindow.cpp m_frame->document()->updateRenderTreeIfNeeded(); document 1104 Source/core/frame/DOMWindow.cpp parent->document()->updateLayoutIgnorePendingStylesheets(); document 1120 Source/core/frame/DOMWindow.cpp parent->document()->updateLayoutIgnorePendingStylesheets(); document 1162 Source/core/frame/DOMWindow.cpp m_frame->document()->updateLayoutIgnorePendingStylesheets(); document 1176 Source/core/frame/DOMWindow.cpp m_frame->document()->updateLayoutIgnorePendingStylesheets(); document 1223 Source/core/frame/DOMWindow.cpp ASSERT(m_frame->document()); // Client calls shouldn't be made when the frame is in inconsistent state. document 1238 Source/core/frame/DOMWindow.cpp ASSERT(m_frame->document()); // Client calls shouldn't be made when the frame is in inconsistent state. document 1308 Source/core/frame/DOMWindow.cpp UseCounter::count(document(), UseCounter::GetMatchedCSSRules); document 1322 Source/core/frame/DOMWindow.cpp return m_frame->document()->ensureStyleResolver().pseudoCSSRulesForElement(element, pseudoId, rulesToInclude); document 1330 Source/core/frame/DOMWindow.cpp if (!document()) document 1333 Source/core/frame/DOMWindow.cpp document()->updateLayoutIgnorePendingStylesheets(); document 1345 Source/core/frame/DOMWindow.cpp if (!document()) document 1348 Source/core/frame/DOMWindow.cpp document()->updateLayoutIgnorePendingStylesheets(); document 1387 Source/core/frame/DOMWindow.cpp document()->updateLayoutIgnorePendingStylesheets(); document 1407 Source/core/frame/DOMWindow.cpp document()->updateLayoutIgnorePendingStylesheets(); document 1481 Source/core/frame/DOMWindow.cpp if (Document* d = document()) document 1489 Source/core/frame/DOMWindow.cpp if (Document* d = document()) document 1496 Source/core/frame/DOMWindow.cpp if (Document* d = document()) document 1522 Source/core/frame/DOMWindow.cpp if (Document* document = this->document()) { document 1523 Source/core/frame/DOMWindow.cpp document->addListenerTypeIfNeeded(eventType); document 1525 Source/core/frame/DOMWindow.cpp document->didAddTouchEventHandler(document); document 1533 Source/core/frame/DOMWindow.cpp UseCounter::count(document(), UseCounter::DocumentUnloadRegistered); document 1536 Source/core/frame/DOMWindow.cpp UseCounter::count(document(), UseCounter::DocumentBeforeUnloadRegistered); document 1544 Source/core/frame/DOMWindow.cpp UseCounter::count(document(), UseCounter::SubFrameBeforeUnloadRegistered); document 1556 Source/core/frame/DOMWindow.cpp if (Document* document = this->document()) { document 1558 Source/core/frame/DOMWindow.cpp document->didRemoveTouchEventHandler(document); document 1581 Source/core/frame/DOMWindow.cpp dispatchEvent(loadEvent, document()); document 1584 Source/core/frame/DOMWindow.cpp dispatchEvent(loadEvent, document()); document 1622 Source/core/frame/DOMWindow.cpp if (Document* document = this->document()) document 1623 Source/core/frame/DOMWindow.cpp document->didClearTouchEventHandlers(document); document 1642 Source/core/frame/DOMWindow.cpp Document* activeDocument = callingWindow->document(); document 1653 Source/core/frame/DOMWindow.cpp KURL completedURL = firstFrame->document()->completeURL(urlString); document 1682 Source/core/frame/DOMWindow.cpp if (!callingWindow || !callingWindow->document()) document 1685 Source/core/frame/DOMWindow.cpp const KURL& callingWindowURL = callingWindow->document()->url(); document 1689 Source/core/frame/DOMWindow.cpp ASSERT(!callingWindow->document()->securityOrigin()->canAccess(document()->securityOrigin())); document 1691 Source/core/frame/DOMWindow.cpp SecurityOrigin* activeOrigin = callingWindow->document()->securityOrigin(); document 1701 Source/core/frame/DOMWindow.cpp if (!callingWindow || !callingWindow->document()) document 1704 Source/core/frame/DOMWindow.cpp const KURL& callingWindowURL = callingWindow->document()->url(); document 1708 Source/core/frame/DOMWindow.cpp ASSERT(!callingWindow->document()->securityOrigin()->canAccess(document()->securityOrigin())); document 1711 Source/core/frame/DOMWindow.cpp SecurityOrigin* activeOrigin = callingWindow->document()->securityOrigin(); document 1712 Source/core/frame/DOMWindow.cpp SecurityOrigin* targetOrigin = document()->securityOrigin(); document 1716 Source/core/frame/DOMWindow.cpp KURL activeURL = callingWindow->document()->url(); document 1717 Source/core/frame/DOMWindow.cpp KURL targetURL = document()->url(); document 1718 Source/core/frame/DOMWindow.cpp if (document()->isSandboxed(SandboxOrigin) || callingWindow->document()->isSandboxed(SandboxOrigin)) { document 1720 Source/core/frame/DOMWindow.cpp if (document()->isSandboxed(SandboxOrigin) && callingWindow->document()->isSandboxed(SandboxOrigin)) document 1722 Source/core/frame/DOMWindow.cpp if (document()->isSandboxed(SandboxOrigin)) document 1759 Source/core/frame/DOMWindow.cpp if (callingWindow.document()->securityOrigin()->canAccess(document()->securityOrigin())) document 1772 Source/core/frame/DOMWindow.cpp Document* activeDocument = callingWindow->document(); document 1801 Source/core/frame/DOMWindow.cpp KURL completedURL = firstFrame->document()->completeURL(urlString); document 1814 Source/core/frame/DOMWindow.cpp Referrer(firstFrame->document()->outgoingReferrer(), firstFrame->document()->referrerPolicy()), document 207 Source/core/frame/DOMWindow.h Document* document() const; document 36 Source/core/frame/DeviceSensorEventController.cpp DeviceSensorEventController::DeviceSensorEventController(Document& document) document 37 Source/core/frame/DeviceSensorEventController.cpp : PageLifecycleObserver(document.page()) document 39 Source/core/frame/DeviceSensorEventController.cpp , m_document(document) document 157 Source/core/frame/Frame.cpp return m_domWindow ? m_domWindow->document() : 0; document 162 Source/core/frame/Frame.cpp return document() ? document()->renderView() : 0; document 211 Source/core/frame/Frame.cpp if (Document* doc = document()) document 82 Source/core/frame/Frame.h Document* document() const; document 375 Source/core/frame/FrameView.cpp if (TextAutosizer* textAutosizer = frame->document()->textAutosizer()) document 387 Source/core/frame/FrameView.cpp if (FastTextAutosizer* textAutosizer = m_frame->document()->fastTextAutosizer()) document 435 Source/core/frame/FrameView.cpp Document* doc = m_frame->document(); document 513 Source/core/frame/FrameView.cpp ScrollView::setScrollOrigin(IntPoint(-rect.x(), -rect.y()), !m_frame->document()->printing(), size == contentsSize()); document 595 Source/core/frame/FrameView.cpp Document* document = m_frame->document(); document 596 Source/core/frame/FrameView.cpp Node* body = document->body(); document 600 Source/core/frame/FrameView.cpp } else if (Element* viewportElement = document->viewportDefiningElement()) { document 765 Source/core/frame/FrameView.cpp Document* document = m_frame->document(); document 766 Source/core/frame/FrameView.cpp document->notifyResizeForViewportUnits(); document 769 Source/core/frame/FrameView.cpp if (!document->styleResolver() || document->styleResolver()->mediaQueryAffectedByViewportChange()) { document 770 Source/core/frame/FrameView.cpp document->styleResolverChanged(RecalcStyleDeferred); document 771 Source/core/frame/FrameView.cpp document->mediaQueryAffectingValueChanged(); document 775 Source/core/frame/FrameView.cpp InspectorInstrumentation::mediaQueryResultChanged(document); document 777 Source/core/frame/FrameView.cpp document->evaluateMediaQueryList(); document 783 Source/core/frame/FrameView.cpp document->updateRenderTreeIfNeeded(); document 809 Source/core/frame/FrameView.cpp TextAutosizer* textAutosizer = frame().document()->textAutosizer(); document 813 Source/core/frame/FrameView.cpp UseCounter::count(*frame().document(), UseCounter::TextAutosizingLayout); document 851 Source/core/frame/FrameView.cpp if (isInPerformLayout() || !m_frame->document()->isActive()) document 882 Source/core/frame/FrameView.cpp Document* document = m_frame->document(); document 884 Source/core/frame/FrameView.cpp RenderObject* rootForThisLayout = inSubtreeLayout ? m_layoutSubtreeRoot : document->renderer(); document 898 Source/core/frame/FrameView.cpp Document* document = m_frame->document(); document 899 Source/core/frame/FrameView.cpp Node* body = document->body(); document 916 Source/core/frame/FrameView.cpp bool shouldDoFullRepaint = !inSubtreeLayout && (m_firstLayout || toRenderView(rootForThisLayout)->document().printing()); document 959 Source/core/frame/FrameView.cpp RenderBox* rootRenderer = document->documentElement() ? document->documentElement()->renderBox() : 0; document 960 Source/core/frame/FrameView.cpp RenderBox* bodyRenderer = rootRenderer && document->body() ? document->body()->renderBox() : 0; document 980 Source/core/frame/FrameView.cpp if (!inSubtreeLayout && !toRenderView(rootForThisLayout)->document().printing()) document 989 Source/core/frame/FrameView.cpp if (AXObjectCache* cache = rootForThisLayout->document().axObjectCache()) document 995 Source/core/frame/FrameView.cpp if (document->hasListenerType(Document::OVERFLOWCHANGED_LISTENER)) document 1020 Source/core/frame/FrameView.cpp document->renderer()->assertSubtreeIsLaidOut(); document 1121 Source/core/frame/FrameView.cpp return m_frame->document()->lifecycle(); document 1205 Source/core/frame/FrameView.cpp ASSERT(m_frame->document()); document 1206 Source/core/frame/FrameView.cpp m_frame->document()->mediaQueryAffectingValueChanged(); document 1383 Source/core/frame/FrameView.cpp Document* document = m_frame->document(); document 1384 Source/core/frame/FrameView.cpp if (!document) document 1389 Source/core/frame/FrameView.cpp if (!document->body() || !document->body()->renderer()) document 1392 Source/core/frame/FrameView.cpp return document->body()->renderer()->style()->shouldPlaceBlockDirectionScrollbarOnLogicalLeft(); document 1556 Source/core/frame/FrameView.cpp if (!url.hasFragmentIdentifier() && !m_frame->document()->cssTarget()) document 1564 Source/core/frame/FrameView.cpp if (m_frame->document()->encoding().isValid()) document 1565 Source/core/frame/FrameView.cpp return scrollToAnchor(decodeURLEscapeSequences(fragmentIdentifier, m_frame->document()->encoding())); document 1572 Source/core/frame/FrameView.cpp ASSERT(m_frame->document()); document 1574 Source/core/frame/FrameView.cpp if (!m_frame->document()->haveStylesheetsLoaded()) { document 1575 Source/core/frame/FrameView.cpp m_frame->document()->setGotoAnchorNeededAfterStylesheetsLoad(true); document 1579 Source/core/frame/FrameView.cpp m_frame->document()->setGotoAnchorNeededAfterStylesheetsLoad(false); document 1581 Source/core/frame/FrameView.cpp Element* anchorNode = m_frame->document()->findAnchor(name); document 1584 Source/core/frame/FrameView.cpp m_frame->document()->setCSSTarget(anchorNode); document 1586 Source/core/frame/FrameView.cpp if (m_frame->document()->isSVGDocument()) { document 1587 Source/core/frame/FrameView.cpp if (SVGSVGElement* svg = toSVGDocument(m_frame->document())->rootElement()) { document 1598 Source/core/frame/FrameView.cpp maintainScrollPositionAtAnchor(anchorNode ? static_cast<Node*>(anchorNode) : m_frame->document()); document 1602 Source/core/frame/FrameView.cpp m_frame->document()->setFocusedElement(anchorNode); document 1615 Source/core/frame/FrameView.cpp m_frame->document()->updateRenderTreeIfNeeded(); document 1626 Source/core/frame/FrameView.cpp m_frame->document()->updateLayoutIgnorePendingStylesheets(); document 1674 Source/core/frame/FrameView.cpp Document* document = m_frame->document(); document 1675 Source/core/frame/FrameView.cpp document->enqueueScrollEventForNode(document); document 1679 Source/core/frame/FrameView.cpp if (RenderView* renderView = document->renderView()) { document 1688 Source/core/frame/FrameView.cpp if (AXObjectCache* cache = m_frame->document()->existingAXObjectCache()) document 1696 Source/core/frame/FrameView.cpp if (m_frame->document() && m_frame->document()->renderer()) { document 1800 Source/core/frame/FrameView.cpp if (isMainFrame() && m_frame->document()) { document 1801 Source/core/frame/FrameView.cpp if (FastTextAutosizer* textAutosizer = m_frame->document()->fastTextAutosizer()) document 1858 Source/core/frame/FrameView.cpp if (!m_frame->document()->shouldScheduleLayout()) document 2003 Source/core/frame/FrameView.cpp if (anchorNode != m_frame->document()) document 2010 Source/core/frame/FrameView.cpp if (AXObjectCache* cache = m_frame->document()->existingAXObjectCache()) document 2103 Source/core/frame/FrameView.cpp ASSERT(m_frame->document()); document 2109 Source/core/frame/FrameView.cpp if (!m_frame->document()->parsing() && m_frame->loader().stateMachine()->committedFirstRealDocumentLoad()) document 2113 Source/core/frame/FrameView.cpp if (m_isVisuallyNonEmpty && !m_frame->document()->didLayoutWithPendingStylesheets() && m_firstVisuallyNonEmptyLayoutCallbackPending) { document 2121 Source/core/frame/FrameView.cpp FontFaceSet::didLayout(*m_frame->document()); document 2146 Source/core/frame/FrameView.cpp if (!renderView || renderView->document().printing()) document 2160 Source/core/frame/FrameView.cpp m_frame->document()->enqueueResizeEvent(); document 2195 Source/core/frame/FrameView.cpp Document* document = frame().document(); document 2196 Source/core/frame/FrameView.cpp if (!document || !document->isActive()) document 2199 Source/core/frame/FrameView.cpp Element* documentElement = document->documentElement(); document 2214 Source/core/frame/FrameView.cpp document->updateLayoutIgnorePendingStylesheets(); document 2216 Source/core/frame/FrameView.cpp RenderView* renderView = document->renderView(); document 2274 Source/core/frame/FrameView.cpp && !m_frame->document()->loadEventFinished() && (newSize.height() < size.height() || newSize.width() < size.width())) document 2308 Source/core/frame/FrameView.cpp m_frame->document()->enqueueAnimationFrameEvent(event.release()); document 2327 Source/core/frame/FrameView.cpp FrameView* parentView = ownerElement->document().view(); document 2395 Source/core/frame/FrameView.cpp tickmarks = frame().document()->markers().renderedRectsForMarkers(DocumentMarker::TextMatch); document 2436 Source/core/frame/FrameView.cpp return !!m_frame->document(); document 2534 Source/core/frame/FrameView.cpp Document* document = m_frame->document(); document 2535 Source/core/frame/FrameView.cpp if (!document->hasAnnotatedRegions()) document 2538 Source/core/frame/FrameView.cpp document->renderBox()->collectAnnotatedRegions(newRegions); document 2539 Source/core/frame/FrameView.cpp if (newRegions == document->annotatedRegions()) document 2541 Source/core/frame/FrameView.cpp document->setAnnotatedRegions(newRegions); document 2550 Source/core/frame/FrameView.cpp Document* doc = m_frame->document(); document 2624 Source/core/frame/FrameView.cpp if (!frame().document()) document 2627 Source/core/frame/FrameView.cpp Element* htmlElement = frame().document()->documentElement(); document 2628 Source/core/frame/FrameView.cpp Element* bodyElement = frame().document()->body(); document 2683 Source/core/frame/FrameView.cpp if (m_frame->document()->url().isEmpty()) document 2715 Source/core/frame/FrameView.cpp Document* document = m_frame->document(); document 2719 Source/core/frame/FrameView.cpp if (document->printing()) document 2761 Source/core/frame/FrameView.cpp document->markers().invalidateRenderedRectsForMarkersInRect(rect); document 2763 Source/core/frame/FrameView.cpp if (document->printing()) document 2790 Source/core/frame/FrameView.cpp if (document->annotatedRegionsDirty()) document 2828 Source/core/frame/FrameView.cpp if (m_frame->document()->printing()) document 2869 Source/core/frame/FrameView.cpp m_frame->document()->updateRenderTreeIfNeeded(); document 3240 Source/core/frame/FrameView.cpp if (frame().document()) document 3241 Source/core/frame/FrameView.cpp return frame().document()->existingAXObjectCache(); document 116 Source/core/frame/History.cpp Document* document = m_frame->document(); document 119 Source/core/frame/History.cpp return document->url(); document 121 Source/core/frame/History.cpp return document->baseURL(); document 123 Source/core/frame/History.cpp return KURL(document->baseURL(), urlString); document 132 Source/core/frame/History.cpp if (!fullURL.isValid() || !m_frame->document()->securityOrigin()->canRequest(fullURL)) { document 134 Source/core/frame/History.cpp exceptionState.throwSecurityError("A history state object with URL '" + fullURL.elidedString() + "' cannot be created in a document with origin '" + m_frame->document()->securityOrigin()->toString() + "'."); document 126 Source/core/frame/LocalFrame.cpp Document* doc = document(); document 146 Source/core/frame/LocalFrame.cpp if (!view && document() && document()->isActive()) { document 148 Source/core/frame/LocalFrame.cpp document()->prepareForDestruction(); document 173 Source/core/frame/LocalFrame.cpp ResourceCacheValidationSuppressor validationSuppressor(document()->fetcher()); document 175 Source/core/frame/LocalFrame.cpp document()->setPrinting(printing); document 178 Source/core/frame/LocalFrame.cpp document()->styleResolverChanged(RecalcStyleImmediately); document 195 Source/core/frame/LocalFrame.cpp return document()->printing() && (!tree().parent() || !tree().parent()->document()->printing()); document 228 Source/core/frame/LocalFrame.cpp if (document()) document 229 Source/core/frame/LocalFrame.cpp document()->didChangeVisibilityState(); document 263 Source/core/frame/LocalFrame.cpp if (DocumentType* doctype = document()->doctype()) document 304 Source/core/frame/LocalFrame.cpp return result.innerNode() ? &result.innerNode()->document() : 0; document 399 Source/core/frame/LocalFrame.cpp ASSERT(document()->lifecycle().state() >= DocumentLifecycle::CompositingClean); document 430 Source/core/frame/LocalFrame.cpp Document* document = this->document(); document 431 Source/core/frame/LocalFrame.cpp if (!document) document 436 Source/core/frame/LocalFrame.cpp if (document->isSVGDocument()) { document 437 Source/core/frame/LocalFrame.cpp if (!toSVGDocument(document)->zoomAndPanEnabled()) document 456 Source/core/frame/LocalFrame.cpp document->setNeedsStyleRecalc(SubtreeStyleChange); document 457 Source/core/frame/LocalFrame.cpp document->updateLayoutIgnorePendingStylesheets(); document 462 Source/core/frame/LocalFrame.cpp document()->mediaQueryAffectingValueChanged(); document 474 Source/core/frame/LocalFrame.cpp if (frame->document()) document 475 Source/core/frame/LocalFrame.cpp count += WheelController::from(*frame->document())->wheelEventHandlerCount(); document 489 Source/core/frame/LocalFrame.cpp if (equalIgnoringFragmentIdentifier(frame->document()->url(), url)) { document 549 Source/core/frame/LocalFrame.cpp ASSERT(document()->isActive()); document 574 Source/core/frame/LocalFrame.cpp document()->updateLayout(); document 578 Source/core/frame/LocalFrame.cpp ASSERT(document()->isActive()); document 54 Source/core/frame/Location.cpp const KURL& url = m_frame->document()->url(); document 124 Source/core/frame/Location.cpp origins->append(frame->document()->securityOrigin()->toString()); document 147 Source/core/frame/Location.cpp KURL url = m_frame->document()->url(); document 159 Source/core/frame/Location.cpp KURL url = m_frame->document()->url(); document 168 Source/core/frame/Location.cpp KURL url = m_frame->document()->url(); document 177 Source/core/frame/Location.cpp KURL url = m_frame->document()->url(); document 186 Source/core/frame/Location.cpp KURL url = m_frame->document()->url(); document 195 Source/core/frame/Location.cpp KURL url = m_frame->document()->url(); document 204 Source/core/frame/Location.cpp KURL url = m_frame->document()->url(); document 237 Source/core/frame/Location.cpp if (protocolIsJavaScript(m_frame->document()->url())) document 245 Source/core/frame/Location.cpp LocalFrame* frame = m_frame->loader().findFrameForNavigation(nullAtom, callingWindow->document()); document 87 Source/core/frame/Navigator.cpp return m_frame->loader().userAgent(m_frame->document()->url()); document 113 Source/core/frame/Navigator.cpp return cookiesEnabled(m_frame->document()); document 71 Source/core/frame/PageConsole.cpp ExecutionContext* context = m_frameHost.page().mainFrame()->document(); document 132 Source/core/frame/Screen.cpp return m_frame->document(); document 102 Source/core/frame/SmartClip.cpp Node* bestNode = findBestOverlappingNode(m_frame->document(), resizedCropRect); document 186 Source/core/frame/SmartClip.cpp IntRect resizedCropRect = rootNode->document().view()->windowToContents(cropRect); document 244 Source/core/frame/SmartClip.cpp IntRect resizedCropRect = parentNode->document().view()->windowToContents(cropRect); document 254 Source/core/frame/SmartClip.cpp IntRect result = m_frame->document()->view()->contentsToWindow(nodeRect); document 591 Source/core/frame/UseCounter.cpp void UseCounter::count(const Document& document, Feature feature) document 593 Source/core/frame/UseCounter.cpp FrameHost* host = document.frameHost(); document 617 Source/core/frame/UseCounter.cpp if (!window || !window->document()) document 619 Source/core/frame/UseCounter.cpp UseCounter::countDeprecation(*window->document(), feature); document 622 Source/core/frame/UseCounter.cpp void UseCounter::countDeprecation(const Document& document, Feature feature) document 624 Source/core/frame/UseCounter.cpp FrameHost* host = document.frameHost(); document 734 Source/core/frame/UseCounter.cpp UseCounter* UseCounter::getFrom(const Document* document) document 736 Source/core/frame/UseCounter.cpp if (document && document->frameHost()) document 737 Source/core/frame/UseCounter.cpp return &document->frameHost()->useCounter(); document 96 Source/core/frame/csp/CSPDirectiveList.cpp if (!directive->allows(current->document()->url())) document 218 Source/core/frame/csp/CSPDirectiveList.cpp reportViolation(directive->text(), "frame-ancestors", "Refused to display '" + frame->document()->url().elidedString() + " in a frame because an ancestor violates the following Content Security Policy directive: \"" + directive->text() + "\".", frame->document()->url()); document 167 Source/core/frame/csp/ContentSecurityPolicy.cpp Document* document = this->document(); document 168 Source/core/frame/csp/ContentSecurityPolicy.cpp if (document) { document 169 Source/core/frame/csp/ContentSecurityPolicy.cpp UseCounter::count(*document, getUseCounterType(type)); document 173 Source/core/frame/csp/ContentSecurityPolicy.cpp UseCounter::count(*document, UseCounter::ContentSecurityPolicyReportOnlyInMeta); document 211 Source/core/frame/csp/ContentSecurityPolicy.cpp if (document && type != ContentSecurityPolicyHeaderTypeReport && didSetReferrerPolicy()) document 212 Source/core/frame/csp/ContentSecurityPolicy.cpp document->setReferrerPolicy(referrerPolicy()); document 492 Source/core/frame/csp/ContentSecurityPolicy.cpp Document* document = static_cast<Document*>(m_client); document 493 Source/core/frame/csp/ContentSecurityPolicy.cpp UseCounter::count(*document, UseCounter::WorkerSubjectToCSP); document 495 Source/core/frame/csp/ContentSecurityPolicy.cpp UseCounter::count(*document, UseCounter::WorkerAllowedByChildBlockedByScript); document 559 Source/core/frame/csp/ContentSecurityPolicy.cpp if (Document* document = this->document()) document 560 Source/core/frame/csp/ContentSecurityPolicy.cpp document->enforceSandboxFlags(mask); document 563 Source/core/frame/csp/ContentSecurityPolicy.cpp static String stripURLForUseInReport(Document* document, const KURL& url) document 569 Source/core/frame/csp/ContentSecurityPolicy.cpp return document->securityOrigin()->canRequest(url) ? url.strippedForUseAsReferrer() : SecurityOrigin::create(url)->toString(); document 572 Source/core/frame/csp/ContentSecurityPolicy.cpp static void gatherSecurityPolicyViolationEventData(SecurityPolicyViolationEventInit& init, Document* document, const String& directiveText, const String& effectiveDirective, const KURL& blockedURL, const String& header) document 574 Source/core/frame/csp/ContentSecurityPolicy.cpp init.documentURI = document->url().string(); document 575 Source/core/frame/csp/ContentSecurityPolicy.cpp init.referrer = document->referrer(); document 576 Source/core/frame/csp/ContentSecurityPolicy.cpp init.blockedURI = stripURLForUseInReport(document, blockedURL); document 585 Source/core/frame/csp/ContentSecurityPolicy.cpp if (!SecurityOrigin::isSecure(document->url()) && document->loader()) document 586 Source/core/frame/csp/ContentSecurityPolicy.cpp init.statusCode = document->loader()->response().httpStatusCode(); document 596 Source/core/frame/csp/ContentSecurityPolicy.cpp init.sourceFile = stripURLForUseInReport(document, source); document 608 Source/core/frame/csp/ContentSecurityPolicy.cpp Document* document = this->document(); document 609 Source/core/frame/csp/ContentSecurityPolicy.cpp LocalFrame* frame = document->frame(); document 614 Source/core/frame/csp/ContentSecurityPolicy.cpp gatherSecurityPolicyViolationEventData(violationData, document, directiveText, effectiveDirective, blockedURL, header); document 782 Source/core/frame/csp/ContentSecurityPolicy.cpp Document* document = toDocument(context); document 783 Source/core/frame/csp/ContentSecurityPolicy.cpp if (document->frame()) document 784 Source/core/frame/csp/ContentSecurityPolicy.cpp return document->frame()->script().shouldBypassMainWorldContentSecurityPolicy(); document 177 Source/core/frame/csp/ContentSecurityPolicy.h Document* document() const { return client()->isDocument() ? toDocument(client()) : 0; } document 65 Source/core/html/ClassList.cpp if (m_element->document().inQuirksMode()) { document 179 Source/core/html/FormAssociatedElement.cpp element->document().didAssociateFormControl(element); document 110 Source/core/html/HTMLAnchorElement.cpp HTMLAnchorElement::HTMLAnchorElement(const QualifiedName& tagName, Document& document) document 111 Source/core/html/HTMLAnchorElement.cpp : HTMLElement(tagName, document) document 120 Source/core/html/HTMLAnchorElement.cpp PassRefPtr<HTMLAnchorElement> HTMLAnchorElement::create(Document& document) document 122 Source/core/html/HTMLAnchorElement.cpp return adoptRef(new HTMLAnchorElement(aTag, document)); document 125 Source/core/html/HTMLAnchorElement.cpp PassRefPtr<HTMLAnchorElement> HTMLAnchorElement::create(const QualifiedName& tagName, Document& document) document 127 Source/core/html/HTMLAnchorElement.cpp return adoptRef(new HTMLAnchorElement(tagName, document)); document 155 Source/core/html/HTMLAnchorElement.cpp ASSERT(document().isActive()); document 160 Source/core/html/HTMLAnchorElement.cpp if (isLink() && !document().frameHost()->chrome().client().tabsToLinks()) document 214 Source/core/html/HTMLAnchorElement.cpp if (event->type() == EventTypeNames::mousedown && event->isMouseEvent() && toMouseEvent(event)->button() != RightButton && document().frame()) { document 215 Source/core/html/HTMLAnchorElement.cpp setRootEditableElementForSelectionOnMouseDown(document().frame()->selection().rootEditableElement()); document 233 Source/core/html/HTMLAnchorElement.cpp if (Settings* settings = document().settings()) document 248 Source/core/html/HTMLAnchorElement.cpp if (down && document().frame() && document().frame()->selection().rootEditableElement() == rootEditableElement()) document 271 Source/core/html/HTMLAnchorElement.cpp document().setNeedsFocusedElementCheck(); document 276 Source/core/html/HTMLAnchorElement.cpp if (document().isDNSPrefetchEnabled()) { document 278 Source/core/html/HTMLAnchorElement.cpp prefetchDNS(document().completeURL(parsedURL).host()); document 329 Source/core/html/HTMLAnchorElement.cpp return document().completeURL(stripLeadingAndTrailingHTMLSpaces(getAttribute(hrefAttr))); document 401 Source/core/html/HTMLAnchorElement.cpp if (pingValue.isNull() || !document().settings() || !document().settings()->hyperlinkAuditingEnabled()) document 404 Source/core/html/HTMLAnchorElement.cpp UseCounter::count(document(), UseCounter::HTMLAnchorElementPingAttribute); document 408 Source/core/html/HTMLAnchorElement.cpp PingLoader::sendPing(document().frame(), document().completeURL(pingURLs[i]), destinationURL); document 415 Source/core/html/HTMLAnchorElement.cpp LocalFrame* frame = document().frame(); document 422 Source/core/html/HTMLAnchorElement.cpp KURL completedURL = document().completeURL(url.toString()); document 433 Source/core/html/HTMLAnchorElement.cpp String referrer = SecurityPolicy::generateReferrerHeader(document().referrerPolicy(), completedURL, document().outgoingReferrer()); document 435 Source/core/html/HTMLAnchorElement.cpp request.setHTTPReferrer(Referrer(referrer, document().referrerPolicy())); document 440 Source/core/html/HTMLAnchorElement.cpp FrameLoadRequest frameRequest(&document(), request, target()); document 460 Source/core/html/HTMLAnchorElement.cpp Settings* settings = document().settings(); document 667 Source/core/html/HTMLAnchorElement.cpp Document& document = m_anchorElement->document(); document 669 Source/core/html/HTMLAnchorElement.cpp if (!document.securityOrigin()->canDisplay(url)) document 672 Source/core/html/HTMLAnchorElement.cpp if (url.hasFragmentIdentifier() && equalIgnoringFragmentIdentifier(document.url(), url)) document 675 Source/core/html/HTMLAnchorElement.cpp LocalFrame* frame = document.frame(); document 135 Source/core/html/HTMLAnchorElement.h m_cachedVisitedLinkHash = WebCore::visitedLinkHash(document().baseURL(), fastGetAttribute(HTMLNames::hrefAttr)); document 44 Source/core/html/HTMLAppletElement.cpp HTMLAppletElement::HTMLAppletElement(Document& document, bool createdByParser) document 45 Source/core/html/HTMLAppletElement.cpp : HTMLPlugInElement(appletTag, document, createdByParser, ShouldNotPreferPlugInsForImages) document 52 Source/core/html/HTMLAppletElement.cpp PassRefPtr<HTMLAppletElement> HTMLAppletElement::create(Document& document, bool createdByParser) document 54 Source/core/html/HTMLAppletElement.cpp RefPtr<HTMLAppletElement> element = adoptRef(new HTMLAppletElement(document, createdByParser)); document 122 Source/core/html/HTMLAppletElement.cpp LocalFrame* frame = document().frame(); document 130 Source/core/html/HTMLAppletElement.cpp KURL codeBaseURL = document().completeURL(codeBase); document 151 Source/core/html/HTMLAppletElement.cpp KURL rootURL = codeBase.isNull() ? document().url() : document().completeURL(codeBase); document 159 Source/core/html/HTMLAppletElement.cpp const AtomicString& name = document().isHTMLDocument() ? getNameAttribute() : getIdAttribute(); document 166 Source/core/html/HTMLAppletElement.cpp KURL baseURL = document().baseURL(); document 192 Source/core/html/HTMLAppletElement.cpp document().setContainsPlugins(); document 198 Source/core/html/HTMLAppletElement.cpp if (document().isSandboxed(SandboxPlugins)) document 201 Source/core/html/HTMLAppletElement.cpp Settings* settings = document().settings(); document 215 Source/core/html/HTMLAppletElement.cpp if (!document().securityOrigin()->canDisplay(url)) { document 216 Source/core/html/HTMLAppletElement.cpp FrameLoader::reportLocalLoadFailed(document().frame(), url.string()); document 220 Source/core/html/HTMLAppletElement.cpp if (!document().contentSecurityPolicy()->allowObjectFromSource(url) document 221 Source/core/html/HTMLAppletElement.cpp || !document().contentSecurityPolicy()->allowPluginType(appletMimeType, appletMimeType, url)) { document 41 Source/core/html/HTMLAreaElement.cpp inline HTMLAreaElement::HTMLAreaElement(Document& document) document 42 Source/core/html/HTMLAreaElement.cpp : HTMLAnchorElement(areaTag, document) document 49 Source/core/html/HTMLAreaElement.cpp PassRefPtr<HTMLAreaElement> HTMLAreaElement::create(Document& document) document 51 Source/core/html/HTMLAreaElement.cpp return adoptRef(new HTMLAreaElement(document)); document 35 Source/core/html/HTMLAudioElement.cpp HTMLAudioElement::HTMLAudioElement(Document& document) document 36 Source/core/html/HTMLAudioElement.cpp : HTMLMediaElement(audioTag, document) document 41 Source/core/html/HTMLAudioElement.cpp PassRefPtr<HTMLAudioElement> HTMLAudioElement::create(Document& document) document 43 Source/core/html/HTMLAudioElement.cpp RefPtr<HTMLAudioElement> audioElement(adoptRef(new HTMLAudioElement(document))); document 48 Source/core/html/HTMLAudioElement.cpp PassRefPtr<HTMLAudioElement> HTMLAudioElement::createForJSConstructor(Document& document, const AtomicString& src) document 50 Source/core/html/HTMLAudioElement.cpp RefPtr<HTMLAudioElement> audio = adoptRef(new HTMLAudioElement(document)); document 30 Source/core/html/HTMLBDIElement.h static PassRefPtr<HTMLBDIElement> create(Document& document) document 32 Source/core/html/HTMLBDIElement.h return adoptRef(new HTMLBDIElement(document)); document 36 Source/core/html/HTMLBDIElement.h explicit HTMLBDIElement(Document& document) document 37 Source/core/html/HTMLBDIElement.h : HTMLElement(HTMLNames::bdiTag, document) document 35 Source/core/html/HTMLBRElement.cpp HTMLBRElement::HTMLBRElement(Document& document) document 36 Source/core/html/HTMLBRElement.cpp : HTMLElement(brTag, document) document 41 Source/core/html/HTMLBRElement.cpp PassRefPtr<HTMLBRElement> HTMLBRElement::create(Document& document) document 43 Source/core/html/HTMLBRElement.cpp return adoptRef(new HTMLBRElement(document)); document 36 Source/core/html/HTMLBaseElement.cpp inline HTMLBaseElement::HTMLBaseElement(Document& document) document 37 Source/core/html/HTMLBaseElement.cpp : HTMLElement(baseTag, document) document 42 Source/core/html/HTMLBaseElement.cpp PassRefPtr<HTMLBaseElement> HTMLBaseElement::create(Document& document) document 44 Source/core/html/HTMLBaseElement.cpp return adoptRef(new HTMLBaseElement(document)); document 50 Source/core/html/HTMLBaseElement.cpp document().processBaseElement(); document 59 Source/core/html/HTMLBaseElement.cpp document().processBaseElement(); document 67 Source/core/html/HTMLBaseElement.cpp document().processBaseElement(); document 83 Source/core/html/HTMLBaseElement.cpp return document().url(); document 85 Source/core/html/HTMLBaseElement.cpp KURL url = document().encoding().isValid() ? document 86 Source/core/html/HTMLBaseElement.cpp KURL(document().url(), stripLeadingAndTrailingHTMLSpaces(attributeValue)) : document 87 Source/core/html/HTMLBaseElement.cpp KURL(document().url(), stripLeadingAndTrailingHTMLSpaces(attributeValue), document().encoding()); document 44 Source/core/html/HTMLBodyElement.cpp HTMLBodyElement::HTMLBodyElement(Document& document) document 45 Source/core/html/HTMLBodyElement.cpp : HTMLElement(bodyTag, document) document 50 Source/core/html/HTMLBodyElement.cpp PassRefPtr<HTMLBodyElement> HTMLBodyElement::create(Document& document) document 52 Source/core/html/HTMLBodyElement.cpp return adoptRef(new HTMLBodyElement(document)); document 71 Source/core/html/HTMLBodyElement.cpp RefPtrWillBeRawPtr<CSSImageValue> imageValue = CSSImageValue::create(url, document().completeURL(url)); document 97 Source/core/html/HTMLBodyElement.cpp document().textLinkColors().resetLinkColor(); document 99 Source/core/html/HTMLBodyElement.cpp document().textLinkColors().resetVisitedLinkColor(); document 101 Source/core/html/HTMLBodyElement.cpp document().textLinkColors().resetActiveLinkColor(); document 104 Source/core/html/HTMLBodyElement.cpp if (BisonCSSParser::parseColor(color, value, !document().inQuirksMode())) { document 106 Source/core/html/HTMLBodyElement.cpp document().textLinkColors().setLinkColor(color); document 108 Source/core/html/HTMLBodyElement.cpp document().textLinkColors().setVisitedLinkColor(color); document 110 Source/core/html/HTMLBodyElement.cpp document().textLinkColors().setActiveLinkColor(color); document 116 Source/core/html/HTMLBodyElement.cpp document().setWindowAttributeEventListener(EventTypeNames::load, createAttributeEventListener(document().frame(), name, value)); document 118 Source/core/html/HTMLBodyElement.cpp document().setWindowAttributeEventListener(EventTypeNames::beforeunload, createAttributeEventListener(document().frame(), name, value)); document 120 Source/core/html/HTMLBodyElement.cpp document().setWindowAttributeEventListener(EventTypeNames::unload, createAttributeEventListener(document().frame(), name, value)); document 122 Source/core/html/HTMLBodyElement.cpp document().setWindowAttributeEventListener(EventTypeNames::pagehide, createAttributeEventListener(document().frame(), name, value)); document 124 Source/core/html/HTMLBodyElement.cpp document().setWindowAttributeEventListener(EventTypeNames::pageshow, createAttributeEventListener(document().frame(), name, value)); document 126 Source/core/html/HTMLBodyElement.cpp document().setWindowAttributeEventListener(EventTypeNames::popstate, createAttributeEventListener(document().frame(), name, value)); document 128 Source/core/html/HTMLBodyElement.cpp document().setWindowAttributeEventListener(EventTypeNames::blur, createAttributeEventListener(document().frame(), name, value)); document 130 Source/core/html/HTMLBodyElement.cpp document().setWindowAttributeEventListener(EventTypeNames::error, createAttributeEventListener(document().frame(), name, value)); document 132 Source/core/html/HTMLBodyElement.cpp document().setWindowAttributeEventListener(EventTypeNames::focus, createAttributeEventListener(document().frame(), name, value)); document 134 Source/core/html/HTMLBodyElement.cpp document().setWindowAttributeEventListener(EventTypeNames::orientationchange, createAttributeEventListener(document().frame(), name, value)); document 136 Source/core/html/HTMLBodyElement.cpp document().setWindowAttributeEventListener(EventTypeNames::hashchange, createAttributeEventListener(document().frame(), name, value)); document 138 Source/core/html/HTMLBodyElement.cpp document().setWindowAttributeEventListener(EventTypeNames::message, createAttributeEventListener(document().frame(), name, value)); document 140 Source/core/html/HTMLBodyElement.cpp document().setWindowAttributeEventListener(EventTypeNames::resize, createAttributeEventListener(document().frame(), name, value)); document 142 Source/core/html/HTMLBodyElement.cpp document().setWindowAttributeEventListener(EventTypeNames::scroll, createAttributeEventListener(document().frame(), name, value)); document 144 Source/core/html/HTMLBodyElement.cpp document().setAttributeEventListener(EventTypeNames::selectionchange, createAttributeEventListener(document().frame(), name, value)); document 146 Source/core/html/HTMLBodyElement.cpp document().setWindowAttributeEventListener(EventTypeNames::storage, createAttributeEventListener(document().frame(), name, value)); document 148 Source/core/html/HTMLBodyElement.cpp document().setWindowAttributeEventListener(EventTypeNames::online, createAttributeEventListener(document().frame(), name, value)); document 150 Source/core/html/HTMLBodyElement.cpp document().setWindowAttributeEventListener(EventTypeNames::offline, createAttributeEventListener(document().frame(), name, value)); document 166 Source/core/html/HTMLBodyElement.cpp Element* ownerElement = document().ownerElement(); document 200 Source/core/html/HTMLBodyElement.cpp static int adjustForZoom(int value, Document* document) document 202 Source/core/html/HTMLBodyElement.cpp LocalFrame* frame = document->frame(); document 225 Source/core/html/HTMLBodyElement.cpp Document& document = this->document(); document 226 Source/core/html/HTMLBodyElement.cpp document.updateLayoutIgnorePendingStylesheets(); document 234 Source/core/html/HTMLBodyElement.cpp if (!document.inQuirksMode()) document 238 Source/core/html/HTMLBodyElement.cpp FrameView* view = document.view(); document 239 Source/core/html/HTMLBodyElement.cpp return view ? adjustForZoom(view->scrollX(), &document) : 0; document 244 Source/core/html/HTMLBodyElement.cpp Document& document = this->document(); document 245 Source/core/html/HTMLBodyElement.cpp document.updateLayoutIgnorePendingStylesheets(); document 256 Source/core/html/HTMLBodyElement.cpp if (!document.inQuirksMode()) document 260 Source/core/html/HTMLBodyElement.cpp LocalFrame* frame = document.frame(); document 271 Source/core/html/HTMLBodyElement.cpp Document& document = this->document(); document 272 Source/core/html/HTMLBodyElement.cpp document.updateLayoutIgnorePendingStylesheets(); document 280 Source/core/html/HTMLBodyElement.cpp if (!document.inQuirksMode()) document 284 Source/core/html/HTMLBodyElement.cpp FrameView* view = document.view(); document 285 Source/core/html/HTMLBodyElement.cpp return view ? adjustForZoom(view->scrollY(), &document) : 0; document 290 Source/core/html/HTMLBodyElement.cpp Document& document = this->document(); document 291 Source/core/html/HTMLBodyElement.cpp document.updateLayoutIgnorePendingStylesheets(); document 302 Source/core/html/HTMLBodyElement.cpp if (!document.inQuirksMode()) document 306 Source/core/html/HTMLBodyElement.cpp LocalFrame* frame = document.frame(); document 318 Source/core/html/HTMLBodyElement.cpp Document& document = this->document(); document 319 Source/core/html/HTMLBodyElement.cpp document.updateLayoutIgnorePendingStylesheets(); document 320 Source/core/html/HTMLBodyElement.cpp FrameView* view = document.view(); document 321 Source/core/html/HTMLBodyElement.cpp return view ? adjustForZoom(view->contentsHeight(), &document) : 0; document 327 Source/core/html/HTMLBodyElement.cpp Document& document = this->document(); document 328 Source/core/html/HTMLBodyElement.cpp document.updateLayoutIgnorePendingStylesheets(); document 329 Source/core/html/HTMLBodyElement.cpp FrameView* view = document.view(); document 330 Source/core/html/HTMLBodyElement.cpp return view ? adjustForZoom(view->contentsWidth(), &document) : 0; document 41 Source/core/html/HTMLButtonElement.cpp inline HTMLButtonElement::HTMLButtonElement(Document& document, HTMLFormElement* form) document 42 Source/core/html/HTMLButtonElement.cpp : HTMLFormControlElement(buttonTag, document, form) document 49 Source/core/html/HTMLButtonElement.cpp PassRefPtr<HTMLButtonElement> HTMLButtonElement::create(Document& document, HTMLFormElement* form) document 51 Source/core/html/HTMLButtonElement.cpp return adoptRef(new HTMLButtonElement(document, form)); document 73 Source/core/html/HTMLCanvasElement.cpp HTMLCanvasElement::HTMLCanvasElement(Document& document) document 74 Source/core/html/HTMLCanvasElement.cpp : HTMLElement(canvasTag, document) document 75 Source/core/html/HTMLCanvasElement.cpp , DocumentVisibilityObserver(document) document 88 Source/core/html/HTMLCanvasElement.cpp PassRefPtr<HTMLCanvasElement> HTMLCanvasElement::create(Document& document) document 90 Source/core/html/HTMLCanvasElement.cpp return adoptRef(new HTMLCanvasElement(document)); document 112 Source/core/html/HTMLCanvasElement.cpp LocalFrame* frame = document().frame(); document 171 Source/core/html/HTMLCanvasElement.cpp m_context = CanvasRenderingContext2D::create(this, static_cast<Canvas2DContextAttributes*>(attrs), document().inQuirksMode()); document 315 Source/core/html/HTMLCanvasElement.cpp if (!paintsIntoCanvasBuffer() && !document().printing()) document 413 Source/core/html/HTMLCanvasElement.cpp return document().securityOrigin(); document 424 Source/core/html/HTMLCanvasElement.cpp Settings* settings = document().settings(); document 447 Source/core/html/HTMLCanvasElement.cpp if (document().settings()) document 448 Source/core/html/HTMLCanvasElement.cpp *msaaSampleCount = document().settings()->accelerated2dCanvasMSAASampleCount(); document 506 Source/core/html/HTMLCanvasElement.cpp if (!msaaSampleCount && document().settings() && !document().settings()->antialiased2dCanvasEnabled()) document 653 Source/core/html/HTMLCanvasElement.cpp setObservedDocument(document()); document 177 Source/core/html/HTMLCollection.cpp unregisterIdNameCacheFromDocument(document()); document 100 Source/core/html/HTMLCollection.h document().incrementNodeListWithIdNameCacheCount(); document 121 Source/core/html/HTMLCollection.h unregisterIdNameCacheFromDocument(oldDocument ? *oldDocument : document()); document 126 Source/core/html/HTMLCollection.h void unregisterIdNameCacheFromDocument(Document& document) const document 129 Source/core/html/HTMLCollection.h document.decrementNodeListWithIdNameCacheCount(); document 42 Source/core/html/HTMLContentElement.cpp PassRefPtr<HTMLContentElement> HTMLContentElement::create(Document& document) document 44 Source/core/html/HTMLContentElement.cpp return adoptRef(new HTMLContentElement(document)); document 47 Source/core/html/HTMLContentElement.cpp HTMLContentElement::HTMLContentElement(Document& document) document 48 Source/core/html/HTMLContentElement.cpp : InsertionPoint(contentTag, document) document 63 Source/core/html/HTMLContentElement.cpp BisonCSSParser parser(CSSParserContext(document(), 0)); document 106 Source/core/html/HTMLContentElement.cpp SelectorChecker selectorChecker(element->document(), SelectorChecker::CollectingCSSRules); document 32 Source/core/html/HTMLDListElement.cpp inline HTMLDListElement::HTMLDListElement(Document& document) document 33 Source/core/html/HTMLDListElement.cpp : HTMLElement(dlTag, document) document 38 Source/core/html/HTMLDListElement.cpp PassRefPtr<HTMLDListElement> HTMLDListElement::create(Document& document) document 40 Source/core/html/HTMLDListElement.cpp return adoptRef(new HTMLDListElement(document)); document 41 Source/core/html/HTMLDataListElement.cpp inline HTMLDataListElement::HTMLDataListElement(Document& document) document 42 Source/core/html/HTMLDataListElement.cpp : HTMLElement(HTMLNames::datalistTag, document) document 47 Source/core/html/HTMLDataListElement.cpp PassRefPtr<HTMLDataListElement> HTMLDataListElement::create(Document& document) document 49 Source/core/html/HTMLDataListElement.cpp UseCounter::count(document, UseCounter::DataListElement); document 50 Source/core/html/HTMLDataListElement.cpp return adoptRef(new HTMLDataListElement(document)); document 41 Source/core/html/HTMLDetailsElement.cpp PassRefPtr<HTMLDetailsElement> HTMLDetailsElement::create(Document& document) document 43 Source/core/html/HTMLDetailsElement.cpp RefPtr<HTMLDetailsElement> details = adoptRef(new HTMLDetailsElement(document)); document 48 Source/core/html/HTMLDetailsElement.cpp HTMLDetailsElement::HTMLDetailsElement(Document& document) document 49 Source/core/html/HTMLDetailsElement.cpp : HTMLElement(detailsTag, document) document 64 Source/core/html/HTMLDetailsElement.cpp RefPtr<HTMLSummaryElement> defaultSummary = HTMLSummaryElement::create(document()); document 65 Source/core/html/HTMLDetailsElement.cpp defaultSummary->appendChild(Text::create(document(), locale().queryString(blink::WebLocalizedString::DetailsLabel))); document 67 Source/core/html/HTMLDetailsElement.cpp RefPtr<HTMLContentElement> summary = HTMLContentElement::create(document()); document 73 Source/core/html/HTMLDetailsElement.cpp RefPtr<HTMLDivElement> content = HTMLDivElement::create(document()); document 75 Source/core/html/HTMLDetailsElement.cpp content->appendChild(HTMLContentElement::create(document())); document 77 Source/core/html/HTMLDialogElement.cpp dialog->document().setFocusedElement(nullptr); document 80 Source/core/html/HTMLDialogElement.cpp static void inertSubtreesChanged(Document& document) document 86 Source/core/html/HTMLDialogElement.cpp Document& topDocument = document.topDocument(); document 92 Source/core/html/HTMLDialogElement.cpp HTMLDialogElement::HTMLDialogElement(Document& document) document 93 Source/core/html/HTMLDialogElement.cpp : HTMLElement(dialogTag, document) document 101 Source/core/html/HTMLDialogElement.cpp PassRefPtr<HTMLDialogElement> HTMLDialogElement::create(Document& document) document 103 Source/core/html/HTMLDialogElement.cpp return adoptRef(new HTMLDialogElement(document)); document 121 Source/core/html/HTMLDialogElement.cpp HTMLDialogElement* activeModalDialog = document().activeModalDialog(); document 122 Source/core/html/HTMLDialogElement.cpp document().removeFromTopLayer(this); document 124 Source/core/html/HTMLDialogElement.cpp inertSubtreesChanged(document()); document 135 Source/core/html/HTMLDialogElement.cpp document().updateLayoutIgnorePendingStylesheets(); document 158 Source/core/html/HTMLDialogElement.cpp document().addToTopLayer(this); document 163 Source/core/html/HTMLDialogElement.cpp inertSubtreesChanged(document()); document 32 Source/core/html/HTMLDirectoryElement.cpp inline HTMLDirectoryElement::HTMLDirectoryElement(Document& document) document 33 Source/core/html/HTMLDirectoryElement.cpp : HTMLElement(dirTag, document) document 38 Source/core/html/HTMLDirectoryElement.cpp PassRefPtr<HTMLDirectoryElement> HTMLDirectoryElement::create(Document& document) document 40 Source/core/html/HTMLDirectoryElement.cpp return adoptRef(new HTMLDirectoryElement(document)); document 34 Source/core/html/HTMLDivElement.cpp HTMLDivElement::HTMLDivElement(Document& document) document 35 Source/core/html/HTMLDivElement.cpp : HTMLElement(divTag, document) document 40 Source/core/html/HTMLDivElement.cpp PassRefPtr<HTMLDivElement> HTMLDivElement::create(Document& document) document 42 Source/core/html/HTMLDivElement.cpp return adoptRef(new HTMLDivElement(document)); document 309 Source/core/html/HTMLDocument.cpp write(builder.toString(), callingWindow->document()); document 318 Source/core/html/HTMLDocument.cpp writeln(builder.toString(), callingWindow->document()); document 66 Source/core/html/HTMLElement.cpp PassRefPtr<HTMLElement> HTMLElement::create(const QualifiedName& tagName, Document& document) document 68 Source/core/html/HTMLElement.cpp return adoptRef(new HTMLElement(tagName, document)); document 76 Source/core/html/HTMLElement.cpp if (document().isHTMLDocument() && !tagQName().hasPrefix()) document 314 Source/core/html/HTMLElement.cpp document().setNeedsFocusedElementCheck(); document 329 Source/core/html/HTMLElement.cpp RefPtr<DocumentFragment> fragment = DocumentFragment::create(document()); document 341 Source/core/html/HTMLElement.cpp fragment->appendChild(Text::create(document(), text.substring(start, i - start)), exceptionState); document 346 Source/core/html/HTMLElement.cpp fragment->appendChild(HTMLBRElement::create(document()), exceptionState); document 435 Source/core/html/HTMLElement.cpp newChild = Text::create(document(), text); document 502 Source/core/html/HTMLElement.cpp if (!document().settings() || !document().settings()->spatialNavigationEnabled()) document 772 Source/core/html/HTMLElement.cpp if (document().renderer() && childCountDelta < 0) { document 928 Source/core/html/HTMLElement.cpp if (!document().settings() || !document().settings()->spatialNavigationEnabled() || !supportsFocus()) document 132 Source/core/html/HTMLElement.h inline HTMLElement::HTMLElement(const QualifiedName& tagName, Document& document, ConstructionType type = CreateHTMLElement) document 133 Source/core/html/HTMLElement.h : Element(tagName, &document, type) document 42 Source/core/html/HTMLEmbedElement.cpp inline HTMLEmbedElement::HTMLEmbedElement(Document& document, bool createdByParser) document 43 Source/core/html/HTMLEmbedElement.cpp : HTMLPlugInElement(embedTag, document, createdByParser, ShouldPreferPlugInsForImages) document 48 Source/core/html/HTMLEmbedElement.cpp PassRefPtr<HTMLEmbedElement> HTMLEmbedElement::create(Document& document, bool createdByParser) document 50 Source/core/html/HTMLEmbedElement.cpp RefPtr<HTMLEmbedElement> element = adoptRef(new HTMLEmbedElement(document, createdByParser)); document 161 Source/core/html/HTMLEmbedElement.cpp LocalFrame* frame = document().frame(); document 40 Source/core/html/HTMLFieldSetElement.cpp inline HTMLFieldSetElement::HTMLFieldSetElement(Document& document, HTMLFormElement* form) document 41 Source/core/html/HTMLFieldSetElement.cpp : HTMLFormControlElement(fieldsetTag, document, form) document 47 Source/core/html/HTMLFieldSetElement.cpp PassRefPtr<HTMLFieldSetElement> HTMLFieldSetElement::create(Document& document, HTMLFormElement* form) document 49 Source/core/html/HTMLFieldSetElement.cpp return adoptRef(new HTMLFieldSetElement(document, form)); document 102 Source/core/html/HTMLFieldSetElement.cpp uint64_t docVersion = document().domTreeVersion(); document 41 Source/core/html/HTMLFontElement.cpp HTMLFontElement::HTMLFontElement(Document& document) document 42 Source/core/html/HTMLFontElement.cpp : HTMLElement(fontTag, document) document 47 Source/core/html/HTMLFontElement.cpp PassRefPtr<HTMLFontElement> HTMLFontElement::create(Document& document) document 49 Source/core/html/HTMLFontElement.cpp return adoptRef(new HTMLFontElement(document)); document 46 Source/core/html/HTMLFormControlElement.cpp HTMLFormControlElement::HTMLFormControlElement(const QualifiedName& tagName, Document& document, HTMLFormElement* form) document 47 Source/core/html/HTMLFormControlElement.cpp : LabelableElement(tagName, document) document 132 Source/core/html/HTMLFormControlElement.cpp UseCounter::count(document(), UseCounter::FormAttribute); document 152 Source/core/html/HTMLFormControlElement.cpp UseCounter::count(document(), UseCounter::RequiredAttribute); document 155 Source/core/html/HTMLFormControlElement.cpp UseCounter::count(document(), UseCounter::AutoFocusAttribute); document 169 Source/core/html/HTMLFormControlElement.cpp document().setNeedsFocusedElementCheck(); document 204 Source/core/html/HTMLFormControlElement.cpp if (element->document().isSandboxed(SandboxAutomaticFeatures)) { document 206 Source/core/html/HTMLFormControlElement.cpp element->document().addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, "Blocked autofocusing on a form control because the form's frame is sandboxed and the 'allow-scripts' permission is not set."); document 228 Source/core/html/HTMLFormControlElement.cpp document().setAutofocusElement(this); document 401 Source/core/html/HTMLFormControlElement.cpp Page* page = document().page(); document 426 Source/core/html/HTMLFormControlElement.cpp RefPtr<Document> originalDocument(document()); document 428 Source/core/html/HTMLFormControlElement.cpp if (needsDefaultAction && unhandledInvalidControls && inDocument() && originalDocument == document()) document 49 Source/core/html/HTMLFormControlElementWithState.cpp document().formController().registerStatefulFormControl(*this); document 56 Source/core/html/HTMLFormControlElementWithState.cpp document().formController().unregisterStatefulFormControl(*this); document 71 Source/core/html/HTMLFormControlElementWithState.cpp if (!document().isActive()) document 73 Source/core/html/HTMLFormControlElementWithState.cpp document().frame()->loader().markDocumentStateDirty(); document 90 Source/core/html/HTMLFormControlElementWithState.cpp document().formController().restoreControlStateFor(*this); document 129 Source/core/html/HTMLFormControlsCollection.cpp UseCounter::count(element->document(), UseCounter::FormNameAccessForImageElement); document 61 Source/core/html/HTMLFormElement.cpp HTMLFormElement::HTMLFormElement(Document& document) document 62 Source/core/html/HTMLFormElement.cpp : HTMLElement(formTag, document) document 77 Source/core/html/HTMLFormElement.cpp PassRefPtr<HTMLFormElement> HTMLFormElement::create(Document& document) document 79 Source/core/html/HTMLFormElement.cpp UseCounter::count(document, UseCounter::FormElement); document 80 Source/core/html/HTMLFormElement.cpp return adoptRef(new HTMLFormElement(document)); document 85 Source/core/html/HTMLFormElement.cpp document().formController().willDeleteForm(this); document 121 Source/core/html/HTMLFormElement.cpp this->document().didAssociateFormControl(this); document 232 Source/core/html/HTMLFormElement.cpp if (!document().page() || noValidate()) document 253 Source/core/html/HTMLFormElement.cpp document().updateLayoutIgnorePendingStylesheets(); document 269 Source/core/html/HTMLFormElement.cpp if (document().frame()) { document 277 Source/core/html/HTMLFormElement.cpp document().addConsoleMessage(RenderingMessageSource, ErrorMessageLevel, message); document 286 Source/core/html/HTMLFormElement.cpp LocalFrame* frame = document().frame(); document 329 Source/core/html/HTMLFormElement.cpp FrameView* view = document().view(); document 330 Source/core/html/HTMLFormElement.cpp LocalFrame* frame = document().frame(); document 376 Source/core/html/HTMLFormElement.cpp if (document().isSandboxed(SandboxForms)) { document 378 Source/core/html/HTMLFormElement.cpp document().addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, "Blocked form submission to '" + submission->action().elidedString() + "' because the form's frame is sandboxed and the 'allow-forms' permission is not set."); document 383 Source/core/html/HTMLFormElement.cpp if (!document().contentSecurityPolicy()->allowFormAction(KURL(submission->action()))) document 385 Source/core/html/HTMLFormElement.cpp document().frame()->script().executeScriptIfJavaScriptURL(submission->action()); document 389 Source/core/html/HTMLFormElement.cpp LocalFrame* targetFrame = document().frame()->loader().findFrameForNavigation(submission->target(), submission->state()->sourceDocument()); document 391 Source/core/html/HTMLFormElement.cpp if (!DOMWindow::allowPopUp(*document().frame()) && !UserGestureIndicator::processingUserGesture()) document 393 Source/core/html/HTMLFormElement.cpp targetFrame = document().frame(); document 400 Source/core/html/HTMLFormElement.cpp submission->setReferrer(Referrer(document().outgoingReferrer(), document().referrerPolicy())); document 401 Source/core/html/HTMLFormElement.cpp submission->setOrigin(document().outgoingOrigin()); document 408 Source/core/html/HTMLFormElement.cpp LocalFrame* frame = document().frame(); document 430 Source/core/html/HTMLFormElement.cpp if (!document().frame() || !shouldAutocomplete() || !UserGestureIndicator::processingUserGesture()) document 433 Source/core/html/HTMLFormElement.cpp document().frame()->loader().client()->didRequestAutocomplete(this); document 532 Source/core/html/HTMLFormElement.cpp UseCounter::count(document(), UseCounter::FormAssociationByParser); document 728 Source/core/html/HTMLFormElement.cpp UseCounter::count(document(), UseCounter::FormNameAccessForPastNamesMap); document 740 Source/core/html/HTMLFormElement.cpp document().formController().restoreControlStateIn(*this); document 782 Source/core/html/HTMLFormElement.cpp UseCounter::count(document(), UseCounter::DemotedFormElement); document 35 Source/core/html/HTMLFrameElement.cpp inline HTMLFrameElement::HTMLFrameElement(Document& document) document 36 Source/core/html/HTMLFrameElement.cpp : HTMLFrameElementBase(frameTag, document) document 43 Source/core/html/HTMLFrameElement.cpp PassRefPtr<HTMLFrameElement> HTMLFrameElement::create(Document& document) document 45 Source/core/html/HTMLFrameElement.cpp return adoptRef(new HTMLFrameElement(document)); document 44 Source/core/html/HTMLFrameElementBase.cpp HTMLFrameElementBase::HTMLFrameElementBase(const QualifiedName& tagName, Document& document) document 45 Source/core/html/HTMLFrameElementBase.cpp : HTMLFrameOwnerElement(tagName, document) document 57 Source/core/html/HTMLFrameElementBase.cpp const KURL& completeURL = document().completeURL(m_URL); document 65 Source/core/html/HTMLFrameElementBase.cpp LocalFrame* parentFrame = document().frame(); document 80 Source/core/html/HTMLFrameElementBase.cpp LocalFrame* parentFrame = document().frame(); document 86 Source/core/html/HTMLFrameElementBase.cpp KURL url = document().completeURL(m_URL); document 148 Source/core/html/HTMLFrameElementBase.cpp if (!document().frame()) document 185 Source/core/html/HTMLFrameElementBase.cpp if (Page* page = document().page()) { document 211 Source/core/html/HTMLFrameElementBase.cpp document().updateLayoutIgnorePendingStylesheets(); document 219 Source/core/html/HTMLFrameElementBase.cpp document().updateLayoutIgnorePendingStylesheets(); document 93 Source/core/html/HTMLFrameOwnerElement.cpp HTMLFrameOwnerElement::HTMLFrameOwnerElement(const QualifiedName& tagName, Document& document) document 94 Source/core/html/HTMLFrameOwnerElement.cpp : HTMLElement(tagName, document) document 155 Source/core/html/HTMLFrameOwnerElement.cpp return m_contentFrame ? m_contentFrame->document() : 0; document 201 Source/core/html/HTMLFrameOwnerElement.cpp ASSERT(document().view() == renderWidget->frameView()); document 206 Source/core/html/HTMLFrameOwnerElement.cpp if (AXObjectCache* cache = document().existingAXObjectCache()) document 217 Source/core/html/HTMLFrameOwnerElement.cpp RefPtr<LocalFrame> parentFrame = document().frame(); document 220 Source/core/html/HTMLFrameOwnerElement.cpp toLocalFrame(contentFrame())->navigationScheduler().scheduleLocationChange(&document(), url.string(), Referrer(document().outgoingReferrer(), document().referrerPolicy()), lockBackForwardList); document 224 Source/core/html/HTMLFrameOwnerElement.cpp if (!document().securityOrigin()->canDisplay(url)) { document 232 Source/core/html/HTMLFrameOwnerElement.cpp String referrer = SecurityPolicy::generateReferrerHeader(document().referrerPolicy(), url, document().outgoingReferrer()); document 233 Source/core/html/HTMLFrameOwnerElement.cpp RefPtr<LocalFrame> childFrame = parentFrame->loader().client()->createFrame(url, frameName, Referrer(referrer, document().referrerPolicy()), this); document 110 Source/core/html/HTMLFrameOwnerElement.h if (owner.document().unloadStarted()) document 43 Source/core/html/HTMLFrameSetElement.cpp HTMLFrameSetElement::HTMLFrameSetElement(Document& document) document 44 Source/core/html/HTMLFrameSetElement.cpp : HTMLElement(framesetTag, document) document 56 Source/core/html/HTMLFrameSetElement.cpp PassRefPtr<HTMLFrameSetElement> HTMLFrameSetElement::create(Document& document) document 58 Source/core/html/HTMLFrameSetElement.cpp return adoptRef(new HTMLFrameSetElement(document)); document 111 Source/core/html/HTMLFrameSetElement.cpp document().setWindowAttributeEventListener(EventTypeNames::load, createAttributeEventListener(document().frame(), name, value)); document 113 Source/core/html/HTMLFrameSetElement.cpp document().setWindowAttributeEventListener(EventTypeNames::beforeunload, createAttributeEventListener(document().frame(), name, value)); document 115 Source/core/html/HTMLFrameSetElement.cpp document().setWindowAttributeEventListener(EventTypeNames::unload, createAttributeEventListener(document().frame(), name, value)); document 117 Source/core/html/HTMLFrameSetElement.cpp document().setWindowAttributeEventListener(EventTypeNames::pagehide, createAttributeEventListener(document().frame(), name, value)); document 119 Source/core/html/HTMLFrameSetElement.cpp document().setWindowAttributeEventListener(EventTypeNames::pageshow, createAttributeEventListener(document().frame(), name, value)); document 121 Source/core/html/HTMLFrameSetElement.cpp document().setWindowAttributeEventListener(EventTypeNames::blur, createAttributeEventListener(document().frame(), name, value)); document 123 Source/core/html/HTMLFrameSetElement.cpp document().setWindowAttributeEventListener(EventTypeNames::error, createAttributeEventListener(document().frame(), name, value)); document 125 Source/core/html/HTMLFrameSetElement.cpp document().setWindowAttributeEventListener(EventTypeNames::focus, createAttributeEventListener(document().frame(), name, value)); document 127 Source/core/html/HTMLFrameSetElement.cpp document().setWindowAttributeEventListener(EventTypeNames::focusin, createAttributeEventListener(document().frame(), name, value)); document 129 Source/core/html/HTMLFrameSetElement.cpp document().setWindowAttributeEventListener(EventTypeNames::focusout, createAttributeEventListener(document().frame(), name, value)); document 131 Source/core/html/HTMLFrameSetElement.cpp document().setWindowAttributeEventListener(EventTypeNames::orientationchange, createAttributeEventListener(document().frame(), name, value)); document 133 Source/core/html/HTMLFrameSetElement.cpp document().setWindowAttributeEventListener(EventTypeNames::hashchange, createAttributeEventListener(document().frame(), name, value)); document 135 Source/core/html/HTMLFrameSetElement.cpp document().setWindowAttributeEventListener(EventTypeNames::message, createAttributeEventListener(document().frame(), name, value)); document 137 Source/core/html/HTMLFrameSetElement.cpp document().setWindowAttributeEventListener(EventTypeNames::resize, createAttributeEventListener(document().frame(), name, value)); document 139 Source/core/html/HTMLFrameSetElement.cpp document().setWindowAttributeEventListener(EventTypeNames::scroll, createAttributeEventListener(document().frame(), name, value)); document 141 Source/core/html/HTMLFrameSetElement.cpp document().setWindowAttributeEventListener(EventTypeNames::storage, createAttributeEventListener(document().frame(), name, value)); document 143 Source/core/html/HTMLFrameSetElement.cpp document().setWindowAttributeEventListener(EventTypeNames::online, createAttributeEventListener(document().frame(), name, value)); document 145 Source/core/html/HTMLFrameSetElement.cpp document().setWindowAttributeEventListener(EventTypeNames::offline, createAttributeEventListener(document().frame(), name, value)); document 147 Source/core/html/HTMLFrameSetElement.cpp document().setWindowAttributeEventListener(EventTypeNames::popstate, createAttributeEventListener(document().frame(), name, value)); document 200 Source/core/html/HTMLFrameSetElement.cpp if (insertionPoint->inDocument() && document().frame()) { document 202 Source/core/html/HTMLFrameSetElement.cpp document().frame()->loader().client()->dispatchWillInsertBody(); document 220 Source/core/html/HTMLFrameSetElement.cpp Document* document = toHTMLFrameElement(frameElement)->contentDocument(); document 221 Source/core/html/HTMLFrameSetElement.cpp if (!document || !document->frame()) document 223 Source/core/html/HTMLFrameSetElement.cpp return document->domWindow(); document 36 Source/core/html/HTMLHRElement.cpp HTMLHRElement::HTMLHRElement(Document& document) document 37 Source/core/html/HTMLHRElement.cpp : HTMLElement(hrTag, document) document 42 Source/core/html/HTMLHRElement.cpp PassRefPtr<HTMLHRElement> HTMLHRElement::create(Document& document) document 44 Source/core/html/HTMLHRElement.cpp return adoptRef(new HTMLHRElement(document)); document 33 Source/core/html/HTMLHeadElement.cpp HTMLHeadElement::HTMLHeadElement(Document& document) document 34 Source/core/html/HTMLHeadElement.cpp : HTMLElement(headTag, document) document 39 Source/core/html/HTMLHeadElement.cpp PassRefPtr<HTMLHeadElement> HTMLHeadElement::create(Document& document) document 41 Source/core/html/HTMLHeadElement.cpp return adoptRef(new HTMLHeadElement(document)); document 28 Source/core/html/HTMLHeadingElement.cpp inline HTMLHeadingElement::HTMLHeadingElement(const QualifiedName& tagName, Document& document) document 29 Source/core/html/HTMLHeadingElement.cpp : HTMLElement(tagName, document) document 34 Source/core/html/HTMLHeadingElement.cpp PassRefPtr<HTMLHeadingElement> HTMLHeadingElement::create(const QualifiedName& tagName, Document& document) document 36 Source/core/html/HTMLHeadingElement.cpp return adoptRef(new HTMLHeadingElement(tagName, document)); document 39 Source/core/html/HTMLHtmlElement.cpp HTMLHtmlElement::HTMLHtmlElement(Document& document) document 40 Source/core/html/HTMLHtmlElement.cpp : HTMLElement(htmlTag, document) document 45 Source/core/html/HTMLHtmlElement.cpp PassRefPtr<HTMLHtmlElement> HTMLHtmlElement::create(Document& document) document 47 Source/core/html/HTMLHtmlElement.cpp return adoptRef(new HTMLHtmlElement(document)); document 58 Source/core/html/HTMLHtmlElement.cpp if (!document().parser() || !document().parser()->documentWasLoadedAsPartOfNavigation()) document 61 Source/core/html/HTMLHtmlElement.cpp if (!document().frame()) document 64 Source/core/html/HTMLHtmlElement.cpp DocumentLoader* documentLoader = document().frame()->loader().documentLoader(); document 72 Source/core/html/HTMLHtmlElement.cpp documentLoader->applicationCacheHost()->selectCacheWithManifest(document().completeURL(manifest)); document 37 Source/core/html/HTMLIFrameElement.cpp inline HTMLIFrameElement::HTMLIFrameElement(Document& document) document 38 Source/core/html/HTMLIFrameElement.cpp : HTMLFrameElementBase(iframeTag, document) document 44 Source/core/html/HTMLIFrameElement.cpp PassRefPtr<HTMLIFrameElement> HTMLIFrameElement::create(Document& document) document 46 Source/core/html/HTMLIFrameElement.cpp return adoptRef(new HTMLIFrameElement(document)); document 78 Source/core/html/HTMLIFrameElement.cpp if (inDocument() && document().isHTMLDocument() && !isInShadowTree()) { document 79 Source/core/html/HTMLIFrameElement.cpp HTMLDocument& document = toHTMLDocument(this->document()); document 80 Source/core/html/HTMLIFrameElement.cpp document.removeExtraNamedItem(m_name); document 81 Source/core/html/HTMLIFrameElement.cpp document.addExtraNamedItem(value); document 88 Source/core/html/HTMLIFrameElement.cpp document().addConsoleMessage(OtherMessageSource, ErrorMessageLevel, "Error while parsing the 'sandbox' attribute: " + invalidTokens); document 107 Source/core/html/HTMLIFrameElement.cpp if (insertionPoint->inDocument() && document().isHTMLDocument() && !insertionPoint->isInShadowTree()) document 108 Source/core/html/HTMLIFrameElement.cpp toHTMLDocument(document()).addExtraNamedItem(m_name); document 115 Source/core/html/HTMLIFrameElement.cpp if (insertionPoint->inDocument() && document().isHTMLDocument() && !insertionPoint->isInShadowTree()) document 116 Source/core/html/HTMLIFrameElement.cpp toHTMLDocument(document()).removeExtraNamedItem(m_name); document 46 Source/core/html/HTMLImageElement.cpp HTMLImageElement::HTMLImageElement(Document& document, HTMLFormElement* form) document 47 Source/core/html/HTMLImageElement.cpp : HTMLElement(imgTag, document) document 62 Source/core/html/HTMLImageElement.cpp PassRefPtr<HTMLImageElement> HTMLImageElement::create(Document& document) document 64 Source/core/html/HTMLImageElement.cpp return adoptRef(new HTMLImageElement(document)); document 67 Source/core/html/HTMLImageElement.cpp PassRefPtr<HTMLImageElement> HTMLImageElement::create(Document& document, HTMLFormElement* form) document 69 Source/core/html/HTMLImageElement.cpp return adoptRef(new HTMLImageElement(document, form)); document 78 Source/core/html/HTMLImageElement.cpp PassRefPtr<HTMLImageElement> HTMLImageElement::createForJSConstructor(Document& document, int width, int height) document 80 Source/core/html/HTMLImageElement.cpp RefPtr<HTMLImageElement> image = adoptRef(new HTMLImageElement(document)); document 158 Source/core/html/HTMLImageElement.cpp ImageCandidate candidate = bestFitSourceForImageAttributes(document().devicePixelRatio(), fastGetAttribute(srcAttr), fastGetAttribute(srcsetAttr)); document 265 Source/core/html/HTMLImageElement.cpp document().updateLayoutIgnorePendingStylesheets(); document 267 Source/core/html/HTMLImageElement.cpp document().updateLayout(); document 288 Source/core/html/HTMLImageElement.cpp document().updateLayoutIgnorePendingStylesheets(); document 290 Source/core/html/HTMLImageElement.cpp document().updateLayout(); document 349 Source/core/html/HTMLImageElement.cpp return document().completeURL(getAttribute(srcAttr)); document 406 Source/core/html/HTMLImageElement.cpp return document().completeURL(stripLeadingAndTrailingHTMLSpaces(usemap)).isEmpty(); document 105 Source/core/html/HTMLInputElement.cpp HTMLInputElement::HTMLInputElement(Document& document, HTMLFormElement* form, bool createdByParser) document 106 Source/core/html/HTMLInputElement.cpp : HTMLTextFormControlElement(inputTag, document, form) document 132 Source/core/html/HTMLInputElement.cpp PassRefPtr<HTMLInputElement> HTMLInputElement::create(Document& document, HTMLFormElement* form, bool createdByParser) document 134 Source/core/html/HTMLInputElement.cpp RefPtr<HTMLInputElement> inputElement = adoptRef(new HTMLInputElement(document, form, createdByParser)); document 168 Source/core/html/HTMLInputElement.cpp document().formController().radioButtonGroupScope().removeButton(this); document 170 Source/core/html/HTMLInputElement.cpp document().didRemoveTouchEventHandler(this); document 346 Source/core/html/HTMLInputElement.cpp if (document().frame()) document 347 Source/core/html/HTMLInputElement.cpp document().frame()->selection().revealSelection(); document 354 Source/core/html/HTMLInputElement.cpp ASSERT(document().isActive()); document 355 Source/core/html/HTMLInputElement.cpp if (!document().isActive()) document 361 Source/core/html/HTMLInputElement.cpp document().frame()->spellChecker().didBeginEditing(this); document 366 Source/core/html/HTMLInputElement.cpp ASSERT(document().isActive()); document 367 Source/core/html/HTMLInputElement.cpp if (!document().isActive()) document 373 Source/core/html/HTMLInputElement.cpp LocalFrame* frame = document().frame(); document 434 Source/core/html/HTMLInputElement.cpp document().didAddTouchEventHandler(this); document 436 Source/core/html/HTMLInputElement.cpp document().didRemoveTouchEventHandler(this); document 467 Source/core/html/HTMLInputElement.cpp if (document().focusedElement() == this) document 468 Source/core/html/HTMLInputElement.cpp document().updateFocusAppearanceSoon(true /* restore selection */); document 684 Source/core/html/HTMLInputElement.cpp UseCounter::count(document(), UseCounter::ResultsAttribute); document 687 Source/core/html/HTMLInputElement.cpp UseCounter::count(document(), UseCounter::IncrementalAttribute); document 692 Source/core/html/HTMLInputElement.cpp UseCounter::count(document(), UseCounter::MinAttribute); document 696 Source/core/html/HTMLInputElement.cpp UseCounter::count(document(), UseCounter::MaxAttribute); document 703 Source/core/html/HTMLInputElement.cpp UseCounter::count(document(), UseCounter::StepAttribute); document 706 Source/core/html/HTMLInputElement.cpp UseCounter::count(document(), UseCounter::PatternAttribute); document 709 Source/core/html/HTMLInputElement.cpp UseCounter::count(document(), UseCounter::PrecisionAttribute); document 722 Source/core/html/HTMLInputElement.cpp UseCounter::count(document(), UseCounter::ListAttribute); document 736 Source/core/html/HTMLInputElement.cpp UseCounter::countDeprecation(document(), UseCounter::PrefixedSpeechAttribute); document 742 Source/core/html/HTMLInputElement.cpp UseCounter::count(document(), UseCounter::PrefixedDirectoryAttribute); document 781 Source/core/html/HTMLInputElement.cpp if (document().focusedElement() == this) document 782 Source/core/html/HTMLInputElement.cpp document().updateFocusAppearanceSoon(true /* restore selection */); document 875 Source/core/html/HTMLInputElement.cpp if (AXObjectCache* cache = renderer()->document().existingAXObjectCache()) document 1325 Source/core/html/HTMLInputElement.cpp return document().completeURL(fastGetAttribute(srcAttr)); document 1455 Source/core/html/HTMLInputElement.cpp document().didAddTouchEventHandler(this); document 1713 Source/core/html/HTMLInputElement.cpp UseCounter::countDeprecation(document(), UseCounter::CaptureAttributeAsEnum); document 1715 Source/core/html/HTMLInputElement.cpp UseCounter::count(document(), UseCounter::CaptureAttributeAsBoolean); document 1743 Source/core/html/HTMLInputElement.cpp return &document().formController().radioButtonGroupScope(); document 1817 Source/core/html/HTMLInputElement.cpp if (!document().view()) document 1840 Source/core/html/HTMLInputElement.cpp parameters.anchorRectInRootView = document().view()->contentsToRootView(pixelSnappedBoundingBox()); document 45 Source/core/html/HTMLKeygenElement.cpp HTMLKeygenElement::HTMLKeygenElement(Document& document, HTMLFormElement* form) document 46 Source/core/html/HTMLKeygenElement.cpp : HTMLFormControlElementWithState(keygenTag, document, form) document 60 Source/core/html/HTMLKeygenElement.cpp RefPtr<HTMLSelectElement> select = HTMLSelectElement::create(document()); document 63 Source/core/html/HTMLKeygenElement.cpp RefPtr<HTMLOptionElement> option = HTMLOptionElement::create(document()); document 64 Source/core/html/HTMLKeygenElement.cpp option->appendChild(Text::create(document(), keys[i])); document 86 Source/core/html/HTMLKeygenElement.cpp String value = signedPublicKeyAndChallengeString(shadowSelect()->selectedIndex(), fastGetAttribute(challengeAttr), document().baseURL()); document 35 Source/core/html/HTMLKeygenElement.h static PassRefPtr<HTMLKeygenElement> create(Document& document, HTMLFormElement* form) document 37 Source/core/html/HTMLKeygenElement.h return adoptRef(new HTMLKeygenElement(document, form)); document 36 Source/core/html/HTMLLIElement.cpp HTMLLIElement::HTMLLIElement(Document& document) document 37 Source/core/html/HTMLLIElement.cpp : HTMLElement(liTag, document) document 42 Source/core/html/HTMLLIElement.cpp PassRefPtr<HTMLLIElement> HTMLLIElement::create(Document& document) document 44 Source/core/html/HTMLLIElement.cpp return adoptRef(new HTMLLIElement(document)); document 89 Source/core/html/HTMLLIElement.cpp ASSERT(!document().childNeedsDistributionRecalc()); document 46 Source/core/html/HTMLLabelElement.cpp inline HTMLLabelElement::HTMLLabelElement(Document& document) document 47 Source/core/html/HTMLLabelElement.cpp : HTMLElement(labelTag, document) document 52 Source/core/html/HTMLLabelElement.cpp PassRefPtr<HTMLLabelElement> HTMLLabelElement::create(Document& document) document 54 Source/core/html/HTMLLabelElement.cpp return adoptRef(new HTMLLabelElement(document)); document 151 Source/core/html/HTMLLabelElement.cpp document().updateLayoutIgnorePendingStylesheets(); document 38 Source/core/html/HTMLLegendElement.cpp inline HTMLLegendElement::HTMLLegendElement(Document& document) document 39 Source/core/html/HTMLLegendElement.cpp : HTMLElement(legendTag, document) document 44 Source/core/html/HTMLLegendElement.cpp PassRefPtr<HTMLLegendElement> HTMLLegendElement::create(Document& document) document 46 Source/core/html/HTMLLegendElement.cpp return adoptRef(new HTMLLegendElement(document)); document 133 Source/core/html/HTMLLinkElement.cpp inline HTMLLinkElement::HTMLLinkElement(Document& document, bool createdByParser) document 134 Source/core/html/HTMLLinkElement.cpp : HTMLElement(linkTag, document) document 143 Source/core/html/HTMLLinkElement.cpp PassRefPtr<HTMLLinkElement> HTMLLinkElement::create(Document& document, bool createdByParser) document 145 Source/core/html/HTMLLinkElement.cpp return adoptRef(new HTMLLinkElement(document, createdByParser)); document 153 Source/core/html/HTMLLinkElement.cpp document().styleEngine()->removeStyleSheetCandidateNode(this); document 195 Source/core/html/HTMLLinkElement.cpp return m_linkLoader.loadLink(m_relAttribute, fastGetAttribute(HTMLNames::crossoriginAttr), type, url, document()); document 265 Source/core/html/HTMLLinkElement.cpp document().styleEngine()->addStyleSheetCandidateNode(this, m_createdByParser); document 283 Source/core/html/HTMLLinkElement.cpp document().styleEngine()->removeStyleSheetCandidateNode(this); document 290 Source/core/html/HTMLLinkElement.cpp document().removedStyleSheet(removedSheet.get()); document 395 Source/core/html/HTMLLinkElement.cpp return document().completeURL(getAttribute(hrefAttr)); document 451 Source/core/html/HTMLLinkElement.cpp return m_owner->document(); document 464 Source/core/html/HTMLLinkElement.cpp CSSParserContext parserContext(m_owner->document(), 0, baseURL, charset); document 489 Source/core/html/HTMLLinkElement.cpp styleSheet->parseAuthorStyleSheet(cachedStyleSheet, m_owner->document().securityOrigin()); document 549 Source/core/html/HTMLLinkElement.cpp m_owner->document().styleEngine()->addPendingSheet(); document 561 Source/core/html/HTMLLinkElement.cpp m_owner->document().styleEngine()->modifiedStyleSheetCandidateNode(m_owner); document 565 Source/core/html/HTMLLinkElement.cpp m_owner->document().styleResolverChanged(RecalcStyleImmediately); document 569 Source/core/html/HTMLLinkElement.cpp m_owner->document().styleEngine()->removePendingSheet(m_owner, document 612 Source/core/html/HTMLLinkElement.cpp m_owner->document().styleResolverChanged(RecalcStyleDeferred); document 626 Source/core/html/HTMLLinkElement.cpp if (!document().securityOrigin()->canDisplay(builder.url())) document 628 Source/core/html/HTMLLinkElement.cpp if (!document().contentSecurityPolicy()->allowImageFromSource(builder.url())) document 630 Source/core/html/HTMLLinkElement.cpp if (document().frame() && document().frame()->loader().client()) document 631 Source/core/html/HTMLLinkElement.cpp document().frame()->loader().client()->dispatchDidChangeIcons(m_owner->relAttribute().iconType()); document 653 Source/core/html/HTMLLinkElement.cpp if (Document* document = loadingFrame()->document()) { document 654 Source/core/html/HTMLLinkElement.cpp RefPtr<RenderStyle> documentStyle = StyleResolver::styleForDocument(*document); document 670 Source/core/html/HTMLLinkElement.cpp request.setCrossOriginAccessControl(document().securityOrigin(), crossOriginMode); document 671 Source/core/html/HTMLLinkElement.cpp setResource(document().fetcher()->fetchCSSStyleSheet(request)); document 682 Source/core/html/HTMLLinkElement.cpp document().removedStyleSheet(removedSheet.get()); document 110 Source/core/html/HTMLLinkElement.h Document& document(); document 39 Source/core/html/HTMLMapElement.cpp HTMLMapElement::HTMLMapElement(Document& document) document 40 Source/core/html/HTMLMapElement.cpp : HTMLElement(mapTag, document) document 45 Source/core/html/HTMLMapElement.cpp PassRefPtr<HTMLMapElement> HTMLMapElement::create(Document& document) document 47 Source/core/html/HTMLMapElement.cpp return adoptRef(new HTMLMapElement(document)); document 75 Source/core/html/HTMLMapElement.cpp RefPtr<HTMLCollection> images = document().images(); document 99 Source/core/html/HTMLMapElement.cpp if (document().isHTMLDocument()) document 107 Source/core/html/HTMLMapElement.cpp m_name = AtomicString(document().isHTMLDocument() ? mapName.lower() : mapName); document 37 Source/core/html/HTMLMarqueeElement.cpp inline HTMLMarqueeElement::HTMLMarqueeElement(Document& document) document 38 Source/core/html/HTMLMarqueeElement.cpp : HTMLElement(marqueeTag, document) document 39 Source/core/html/HTMLMarqueeElement.cpp , ActiveDOMObject(&document) document 44 Source/core/html/HTMLMarqueeElement.cpp PassRefPtr<HTMLMarqueeElement> HTMLMarqueeElement::create(Document& document) document 46 Source/core/html/HTMLMarqueeElement.cpp RefPtr<HTMLMarqueeElement> marqueeElement(adoptRef(new HTMLMarqueeElement(document))); document 62 Source/core/html/HTMLMarqueeElement.cpp ActiveDOMObject::didMoveToNewExecutionContext(&document()); document 203 Source/core/html/HTMLMarqueeElement.cpp document().updateLayout(); document 132 Source/core/html/HTMLMediaElement.cpp static void addElementToDocumentMap(HTMLMediaElement* element, Document* document) document 135 Source/core/html/HTMLMediaElement.cpp HashSet<HTMLMediaElement*> set = map.take(document); document 137 Source/core/html/HTMLMediaElement.cpp map.add(document, set); document 140 Source/core/html/HTMLMediaElement.cpp static void removeElementFromDocumentMap(HTMLMediaElement* element, Document* document) document 143 Source/core/html/HTMLMediaElement.cpp HashSet<HTMLMediaElement*> set = map.take(document); document 146 Source/core/html/HTMLMediaElement.cpp map.add(document, set); document 231 Source/core/html/HTMLMediaElement.cpp HTMLMediaElement::HTMLMediaElement(const QualifiedName& tagName, Document& document) document 232 Source/core/html/HTMLMediaElement.cpp : HTMLElement(tagName, document) document 233 Source/core/html/HTMLMediaElement.cpp , ActiveDOMObject(&document) document 292 Source/core/html/HTMLMediaElement.cpp if (document.settings() && document.settings()->mediaPlaybackRequiresUserGesture()) document 299 Source/core/html/HTMLMediaElement.cpp addElementToDocumentMap(this, &document); document 320 Source/core/html/HTMLMediaElement.cpp removeElementFromDocumentMap(this, &document()); document 335 Source/core/html/HTMLMediaElement.cpp document().incrementLoadEventDelayCount(); document 339 Source/core/html/HTMLMediaElement.cpp document().decrementLoadEventDelayCount(); document 347 Source/core/html/HTMLMediaElement.cpp document().incrementLoadEventDelayCount(); document 358 Source/core/html/HTMLMediaElement.cpp addElementToDocumentMap(this, &document()); document 371 Source/core/html/HTMLMediaElement.cpp ActiveDOMObject::didMoveToNewExecutionContext(&document()); document 465 Source/core/html/HTMLMediaElement.cpp if (insertionPoint->inDocument() && insertionPoint->document().isActive()) { document 557 Source/core/html/HTMLMediaElement.cpp UseCounter::count(document(), UseCounter::CanPlayTypeKeySystem); document 804 Source/core/html/HTMLMediaElement.cpp LocalFrame* frame = document().frame(); document 1309 Source/core/html/HTMLMediaElement.cpp LocalFrame* frame = document().frame(); document 1310 Source/core/html/HTMLMediaElement.cpp if (!frame || !document().securityOrigin()->canDisplay(url)) { document 1317 Source/core/html/HTMLMediaElement.cpp if (!document().contentSecurityPolicy()->allowMediaFromSource(url)) { document 1621 Source/core/html/HTMLMediaElement.cpp if (m_autoplaying && m_paused && autoplay() && !document().isSandboxed(SandboxAutomaticFeatures) && !m_userGestureRequiredForPlay) { document 2073 Source/core/html/HTMLMediaElement.cpp LocalFrame* frame = document().frame(); document 2158 Source/core/html/HTMLMediaElement.cpp UseCounter::count(document(), UseCounter::HTMLMediaElementPauseAtFragmentEnd); document 2224 Source/core/html/HTMLMediaElement.cpp RefPtr<InbandTextTrack> textTrack = InbandTextTrack::create(document(), webTrack); document 2313 Source/core/html/HTMLMediaElement.cpp RefPtr<TextTrack> textTrack = TextTrack::create(document(), kind, label, language); document 2425 Source/core/html/HTMLMediaElement.cpp Settings* settings = document().settings(); document 3182 Source/core/html/HTMLMediaElement.cpp FullscreenElementStack::from(document()).requestFullScreenForElement(this, 0, FullscreenElementStack::ExemptIFrameAllowFullScreenRequirement); document 3189 Source/core/html/HTMLMediaElement.cpp FullscreenElementStack::from(document()).webkitCancelFullScreen(); document 3197 Source/core/html/HTMLMediaElement.cpp document().renderView()->compositor()->setCompositingLayersNeedRebuild(); document 3205 Source/core/html/HTMLMediaElement.cpp document().renderView()->compositor()->setCompositingLayersNeedRebuild(); document 3287 Source/core/html/HTMLMediaElement.cpp document().incrementLoadEventDelayCount(); document 3289 Source/core/html/HTMLMediaElement.cpp document().decrementLoadEventDelayCount(); document 3489 Source/core/html/HTMLMediaElement.cpp HashSet<HTMLMediaElement*> elements = documentToElementSetMap().get(&document()); document 3529 Source/core/html/HTMLMediaElement.cpp UseCounter::count(document(), UseCounter::HTMLMediaElementControllerNotNull); document 3600 Source/core/html/HTMLMediaElement.cpp UseCounter::count(document(), UseCounter::HTMLMediaElementSeekToFragmentStart); document 32 Source/core/html/HTMLMenuElement.cpp inline HTMLMenuElement::HTMLMenuElement(Document& document) document 33 Source/core/html/HTMLMenuElement.cpp : HTMLElement(menuTag, document) document 38 Source/core/html/HTMLMenuElement.cpp PassRefPtr<HTMLMenuElement> HTMLMenuElement::create(Document& document) document 40 Source/core/html/HTMLMenuElement.cpp return adoptRef(new HTMLMenuElement(document)); document 48 Source/core/html/HTMLMetaElement-in.cpp inline HTMLMetaElement::HTMLMetaElement(Document& document) document 49 Source/core/html/HTMLMetaElement-in.cpp : HTMLElement(metaTag, document) document 54 Source/core/html/HTMLMetaElement-in.cpp PassRefPtr<HTMLMetaElement> HTMLMetaElement::create(Document& document) document 56 Source/core/html/HTMLMetaElement-in.cpp return adoptRef(new HTMLMetaElement(document)); document 128 Source/core/html/HTMLMetaElement-in.cpp document().addConsoleMessage(RenderingMessageSource, WarningMessageLevel, message); document 228 Source/core/html/HTMLMetaElement-in.cpp if (!value && document().settings() && document().settings()->viewportMetaZeroValuesQuirk()) document 374 Source/core/html/HTMLMetaElement-in.cpp if (!document().frame()) document 384 Source/core/html/HTMLMetaElement-in.cpp document().addConsoleMessage(RenderingMessageSource, viewportErrorMessageLevel(errorCode), message); document 391 Source/core/html/HTMLMetaElement-in.cpp if (!document().shouldOverrideLegacyDescription(origin)) document 395 Source/core/html/HTMLMetaElement-in.cpp if (document().shouldMergeWithLegacyDescription(origin)) document 396 Source/core/html/HTMLMetaElement-in.cpp descriptionFromLegacyTag = document().viewportDescription(); document 408 Source/core/html/HTMLMetaElement-in.cpp document().setViewportDescription(descriptionFromLegacyTag); document 461 Source/core/html/HTMLMetaElement-in.cpp document().processReferrerPolicy(contentValue); document 474 Source/core/html/HTMLMetaElement-in.cpp document().processHttpEquiv(httpEquivValue, contentValue, inDocumentHead(this)); document 40 Source/core/html/HTMLMeterElement.cpp HTMLMeterElement::HTMLMeterElement(Document& document) document 41 Source/core/html/HTMLMeterElement.cpp : LabelableElement(meterTag, document) document 50 Source/core/html/HTMLMeterElement.cpp PassRefPtr<HTMLMeterElement> HTMLMeterElement::create(Document& document) document 52 Source/core/html/HTMLMeterElement.cpp RefPtr<HTMLMeterElement> meter = adoptRef(new HTMLMeterElement(document)); document 226 Source/core/html/HTMLMeterElement.cpp RefPtr<MeterInnerElement> inner = MeterInnerElement::create(document()); document 229 Source/core/html/HTMLMeterElement.cpp RefPtr<MeterBarElement> bar = MeterBarElement::create(document()); document 230 Source/core/html/HTMLMeterElement.cpp m_value = MeterValueElement::create(document()); document 32 Source/core/html/HTMLModElement.cpp inline HTMLModElement::HTMLModElement(const QualifiedName& tagName, Document& document) document 33 Source/core/html/HTMLModElement.cpp : HTMLElement(tagName, document) document 38 Source/core/html/HTMLModElement.cpp PassRefPtr<HTMLModElement> HTMLModElement::create(const QualifiedName& tagName, Document& document) document 40 Source/core/html/HTMLModElement.cpp return adoptRef(new HTMLModElement(tagName, document)); document 37 Source/core/html/HTMLNameCollection.cpp HTMLNameCollection::HTMLNameCollection(ContainerNode& document, CollectionType type, const AtomicString& name) document 38 Source/core/html/HTMLNameCollection.cpp : HTMLCollection(document, type, OverridesItemAfter) document 36 Source/core/html/HTMLNameCollection.h static PassRefPtr<HTMLNameCollection> create(ContainerNode& document, CollectionType type, const AtomicString& name) document 38 Source/core/html/HTMLNameCollection.h return adoptRef(new HTMLNameCollection(document, type, name)); document 42 Source/core/html/HTMLNoEmbedElement.cpp HTMLNoEmbedElement::HTMLNoEmbedElement(Document& document) document 43 Source/core/html/HTMLNoEmbedElement.cpp : HTMLElement(noembedTag, document) document 47 Source/core/html/HTMLNoEmbedElement.cpp PassRefPtr<HTMLNoEmbedElement> HTMLNoEmbedElement::create(Document& document) document 49 Source/core/html/HTMLNoEmbedElement.cpp return adoptRef(new HTMLNoEmbedElement(document)); document 54 Source/core/html/HTMLNoEmbedElement.cpp if (document().frame()->loader().allowPlugins(NotAboutToInstantiatePlugin)) document 42 Source/core/html/HTMLNoScriptElement.cpp HTMLNoScriptElement::HTMLNoScriptElement(Document& document) document 43 Source/core/html/HTMLNoScriptElement.cpp : HTMLElement(noscriptTag, document) document 47 Source/core/html/HTMLNoScriptElement.cpp PassRefPtr<HTMLNoScriptElement> HTMLNoScriptElement::create(Document& document) document 49 Source/core/html/HTMLNoScriptElement.cpp return adoptRef(new HTMLNoScriptElement(document)); document 54 Source/core/html/HTMLNoScriptElement.cpp if (document().frame()->script().canExecuteScripts(NotAboutToExecuteScript)) document 35 Source/core/html/HTMLOListElement.cpp HTMLOListElement::HTMLOListElement(Document& document) document 36 Source/core/html/HTMLOListElement.cpp : HTMLElement(olTag, document) document 46 Source/core/html/HTMLOListElement.cpp PassRefPtr<HTMLOListElement> HTMLOListElement::create(Document& document) document 48 Source/core/html/HTMLOListElement.cpp return adoptRef(new HTMLOListElement(document)); document 105 Source/core/html/HTMLOListElement.cpp document().updateDistributionForNodeIfNeeded(this); document 51 Source/core/html/HTMLObjectElement.cpp inline HTMLObjectElement::HTMLObjectElement(Document& document, HTMLFormElement* form, bool createdByParser) document 52 Source/core/html/HTMLObjectElement.cpp : HTMLPlugInElement(objectTag, document, createdByParser, ShouldNotPreferPlugInsForImages) document 64 Source/core/html/HTMLObjectElement.cpp PassRefPtr<HTMLObjectElement> HTMLObjectElement::create(Document& document, HTMLFormElement* form, bool createdByParser) document 66 Source/core/html/HTMLObjectElement.cpp RefPtr<HTMLObjectElement> element = adoptRef(new HTMLObjectElement(document, form, createdByParser)); document 201 Source/core/html/HTMLObjectElement.cpp KURL completedURL = document().completeURL(urlParameter); document 231 Source/core/html/HTMLObjectElement.cpp if (!document().settings() document 232 Source/core/html/HTMLObjectElement.cpp || !document().settings()->needsSiteSpecificQuirks() document 237 Source/core/html/HTMLObjectElement.cpp RefPtr<HTMLCollection> metaElements = document().getElementsByTagName(HTMLNames::metaTag.localName()); document 339 Source/core/html/HTMLObjectElement.cpp if (!document().frame()) document 393 Source/core/html/HTMLObjectElement.cpp if (document().inStyleRecalc()) document 38 Source/core/html/HTMLOptGroupElement.cpp inline HTMLOptGroupElement::HTMLOptGroupElement(Document& document) document 39 Source/core/html/HTMLOptGroupElement.cpp : HTMLElement(optgroupTag, document) document 45 Source/core/html/HTMLOptGroupElement.cpp PassRefPtr<HTMLOptGroupElement> HTMLOptGroupElement::create(Document& document) document 47 Source/core/html/HTMLOptGroupElement.cpp return adoptRef(new HTMLOptGroupElement(document)); document 48 Source/core/html/HTMLOptionElement.cpp HTMLOptionElement::HTMLOptionElement(Document& document) document 49 Source/core/html/HTMLOptionElement.cpp : HTMLElement(optionTag, document) document 57 Source/core/html/HTMLOptionElement.cpp PassRefPtr<HTMLOptionElement> HTMLOptionElement::create(Document& document) document 59 Source/core/html/HTMLOptionElement.cpp return adoptRef(new HTMLOptionElement(document)); document 62 Source/core/html/HTMLOptionElement.cpp PassRefPtr<HTMLOptionElement> HTMLOptionElement::createForJSConstructor(Document& document, const String& data, const AtomicString& value, document 65 Source/core/html/HTMLOptionElement.cpp RefPtr<HTMLOptionElement> element = adoptRef(new HTMLOptionElement(document)); document 67 Source/core/html/HTMLOptionElement.cpp RefPtr<Text> text = Text::create(document, data.isNull() ? "" : data); document 109 Source/core/html/HTMLOptionElement.cpp Document& document = this->document(); document 113 Source/core/html/HTMLOptionElement.cpp if (!document.inQuirksMode()) document 142 Source/core/html/HTMLOptionElement.cpp appendChild(Text::create(document(), text), exceptionState); document 39 Source/core/html/HTMLOutputElement.cpp inline HTMLOutputElement::HTMLOutputElement(Document& document, HTMLFormElement* form) document 40 Source/core/html/HTMLOutputElement.cpp : HTMLFormControlElement(HTMLNames::outputTag, document, form) document 48 Source/core/html/HTMLOutputElement.cpp PassRefPtr<HTMLOutputElement> HTMLOutputElement::create(Document& document, HTMLFormElement* form) document 50 Source/core/html/HTMLOutputElement.cpp return adoptRef(new HTMLOutputElement(document, form)); document 34 Source/core/html/HTMLParagraphElement.cpp inline HTMLParagraphElement::HTMLParagraphElement(Document& document) document 35 Source/core/html/HTMLParagraphElement.cpp : HTMLElement(pTag, document) document 40 Source/core/html/HTMLParagraphElement.cpp PassRefPtr<HTMLParagraphElement> HTMLParagraphElement::create(Document& document) document 42 Source/core/html/HTMLParagraphElement.cpp return adoptRef(new HTMLParagraphElement(document)); document 34 Source/core/html/HTMLParamElement.cpp inline HTMLParamElement::HTMLParamElement(Document& document) document 35 Source/core/html/HTMLParamElement.cpp : HTMLElement(paramTag, document) document 40 Source/core/html/HTMLParamElement.cpp PassRefPtr<HTMLParamElement> HTMLParamElement::create(Document& document) document 42 Source/core/html/HTMLParamElement.cpp return adoptRef(new HTMLParamElement(document)); document 49 Source/core/html/HTMLParamElement.cpp return document().isHTMLDocument() ? emptyAtom : getIdAttribute(); document 131 Source/core/html/HTMLPlugInElement.cpp document().incrementLoadEventDelayCount(); document 132 Source/core/html/HTMLPlugInElement.cpp document().loadPluginsSoon(); document 142 Source/core/html/HTMLPlugInElement.cpp document().decrementLoadEventDelayCount(); document 151 Source/core/html/HTMLPlugInElement.cpp if (!document().frame()->loader().client()->canCreatePluginWithoutRenderer(m_serviceType)) document 162 Source/core/html/HTMLPlugInElement.cpp ASSERT(document().frame()->loader().client()->canCreatePluginWithoutRenderer(m_serviceType)); document 183 Source/core/html/HTMLPlugInElement.cpp document().decrementLoadEventDelayCount(); document 195 Source/core/html/HTMLPlugInElement.cpp if (LocalFrame* frame = document().frame()) document 250 Source/core/html/HTMLPlugInElement.cpp LocalFrame* frame = document().frame(); document 339 Source/core/html/HTMLPlugInElement.cpp document().updateLayoutIgnorePendingStylesheets(Document::RunPostLayoutTasksSynchronously); document 345 Source/core/html/HTMLPlugInElement.cpp if (!document().isActive()) document 372 Source/core/html/HTMLPlugInElement.cpp ASSERT(document().frame()); document 374 Source/core/html/HTMLPlugInElement.cpp m_NPObject = document().frame()->script().createScriptObjectForPluginElement(this); document 383 Source/core/html/HTMLPlugInElement.cpp if (LocalFrame* frame = document().frame()) { document 384 Source/core/html/HTMLPlugInElement.cpp KURL completedURL = document().completeURL(m_url); document 412 Source/core/html/HTMLPlugInElement.cpp KURL completeURL = document().completeURL(url); document 414 Source/core/html/HTMLPlugInElement.cpp && !document().securityOrigin()->canAccess(contentDocument()->securityOrigin())) document 416 Source/core/html/HTMLPlugInElement.cpp return document().frame()->isURLAllowed(completeURL); document 423 Source/core/html/HTMLPlugInElement.cpp ASSERT(document().frame()); document 426 Source/core/html/HTMLPlugInElement.cpp completedURL = document().completeURL(url); document 427 Source/core/html/HTMLPlugInElement.cpp return document().frame()->loader().client()->objectContentType(completedURL, serviceType, shouldPreferPlugInsForImages()) == ObjectContentNetscapePlugin; document 441 Source/core/html/HTMLPlugInElement.cpp KURL completedURL = document().completeURL(url); document 459 Source/core/html/HTMLPlugInElement.cpp LocalFrame* frame = document().frame(); document 475 Source/core/html/HTMLPlugInElement.cpp bool loadManually = document().isPluginDocument() && !document().containsPlugins() && toPluginDocument(document()).shouldLoadPluginManually(); document 492 Source/core/html/HTMLPlugInElement.cpp document().setContainsPlugins(); document 502 Source/core/html/HTMLPlugInElement.cpp if (document().frame()->page() && (mimeType == "image/tiff" || mimeType == "image/tif" || mimeType == "image/x-tiff")) { document 503 Source/core/html/HTMLPlugInElement.cpp const PluginData* pluginData = document().frame()->page()->pluginData(); document 509 Source/core/html/HTMLPlugInElement.cpp ObjectContentType objectType = document().frame()->loader().client()->objectContentType(url, mimeType, shouldPreferPlugInsForImages()); document 519 Source/core/html/HTMLPlugInElement.cpp if (document().isPluginDocument() && document().ownerElement()) document 520 Source/core/html/HTMLPlugInElement.cpp document().ownerElement()->dispatchEvent(Event::create(EventTypeNames::error)); document 527 Source/core/html/HTMLPlugInElement.cpp LocalFrame* frame = document().frame(); document 535 Source/core/html/HTMLPlugInElement.cpp if (document().isSandboxed(SandboxPlugins)) document 538 Source/core/html/HTMLPlugInElement.cpp if (!document().securityOrigin()->canDisplay(url)) { document 543 Source/core/html/HTMLPlugInElement.cpp AtomicString declaredMimeType = document().isPluginDocument() && document().ownerElement() ? document 544 Source/core/html/HTMLPlugInElement.cpp document().ownerElement()->fastGetAttribute(HTMLNames::typeAttr) : document 546 Source/core/html/HTMLPlugInElement.cpp if (!document().contentSecurityPolicy()->allowObjectFromSource(url) document 547 Source/core/html/HTMLPlugInElement.cpp || !document().contentSecurityPolicy()->allowPluginType(mimeType, declaredMimeType, url)) { document 552 Source/core/html/HTMLPlugInElement.cpp return frame->loader().mixedContentChecker()->canRunInsecureContent(document().securityOrigin(), url); document 557 Source/core/html/HTMLPlugInElement.cpp userAgentShadowRoot()->appendChild(HTMLContentElement::create(document())); document 35 Source/core/html/HTMLPreElement.cpp inline HTMLPreElement::HTMLPreElement(const QualifiedName& tagName, Document& document) document 36 Source/core/html/HTMLPreElement.cpp : HTMLElement(tagName, document) document 41 Source/core/html/HTMLPreElement.cpp PassRefPtr<HTMLPreElement> HTMLPreElement::create(const QualifiedName& tagName, Document& document) document 43 Source/core/html/HTMLPreElement.cpp return adoptRef(new HTMLPreElement(tagName, document)); document 42 Source/core/html/HTMLProgressElement.cpp HTMLProgressElement::HTMLProgressElement(Document& document) document 43 Source/core/html/HTMLProgressElement.cpp : LabelableElement(progressTag, document) document 53 Source/core/html/HTMLProgressElement.cpp PassRefPtr<HTMLProgressElement> HTMLProgressElement::create(Document& document) document 55 Source/core/html/HTMLProgressElement.cpp RefPtr<HTMLProgressElement> progress = adoptRef(new HTMLProgressElement(document)); document 153 Source/core/html/HTMLProgressElement.cpp RefPtr<ProgressInnerElement> inner = ProgressInnerElement::create(document()); document 157 Source/core/html/HTMLProgressElement.cpp RefPtr<ProgressBarElement> bar = ProgressBarElement::create(document()); document 159 Source/core/html/HTMLProgressElement.cpp RefPtr<ProgressValueElement> value = ProgressValueElement::create(document()); document 34 Source/core/html/HTMLQuoteElement.cpp inline HTMLQuoteElement::HTMLQuoteElement(const QualifiedName& tagName, Document& document) document 35 Source/core/html/HTMLQuoteElement.cpp : HTMLElement(tagName, document) document 41 Source/core/html/HTMLQuoteElement.cpp PassRefPtr<HTMLQuoteElement> HTMLQuoteElement::create(const QualifiedName& tagName, Document& document) document 43 Source/core/html/HTMLQuoteElement.cpp return adoptRef(new HTMLQuoteElement(tagName, document)); document 15 Source/core/html/HTMLRTElement.cpp HTMLRTElement::HTMLRTElement(Document& document) document 16 Source/core/html/HTMLRTElement.cpp : HTMLElement(rtTag, document) document 20 Source/core/html/HTMLRTElement.cpp PassRefPtr<HTMLRTElement> HTMLRTElement::create(Document& document) document 22 Source/core/html/HTMLRTElement.cpp return adoptRef(new HTMLRTElement(document)); document 15 Source/core/html/HTMLRubyElement.cpp HTMLRubyElement::HTMLRubyElement(Document& document) document 16 Source/core/html/HTMLRubyElement.cpp : HTMLElement(rubyTag, document) document 20 Source/core/html/HTMLRubyElement.cpp PassRefPtr<HTMLRubyElement> HTMLRubyElement::create(Document& document) document 22 Source/core/html/HTMLRubyElement.cpp return adoptRef(new HTMLRubyElement(document)); document 39 Source/core/html/HTMLScriptElement.cpp inline HTMLScriptElement::HTMLScriptElement(Document& document, bool wasInsertedByParser, bool alreadyStarted) document 40 Source/core/html/HTMLScriptElement.cpp : HTMLElement(scriptTag, document) document 46 Source/core/html/HTMLScriptElement.cpp PassRefPtr<HTMLScriptElement> HTMLScriptElement::create(Document& document, bool wasInsertedByParser, bool alreadyStarted) document 48 Source/core/html/HTMLScriptElement.cpp return adoptRef(new HTMLScriptElement(document, wasInsertedByParser, alreadyStarted)); document 103 Source/core/html/HTMLScriptElement.cpp appendChild(document().createTextNode(value.impl()), IGNORE_EXCEPTION); document 119 Source/core/html/HTMLScriptElement.cpp return document().completeURL(sourceAttributeValue()); document 175 Source/core/html/HTMLScriptElement.cpp return adoptRef(new HTMLScriptElement(document(), false, m_loader->alreadyStarted())); document 65 Source/core/html/HTMLSelectElement.cpp HTMLSelectElement::HTMLSelectElement(Document& document, HTMLFormElement* form) document 66 Source/core/html/HTMLSelectElement.cpp : HTMLFormControlElementWithState(selectTag, document, form) document 81 Source/core/html/HTMLSelectElement.cpp PassRefPtr<HTMLSelectElement> HTMLSelectElement::create(Document& document) document 83 Source/core/html/HTMLSelectElement.cpp return adoptRef(new HTMLSelectElement(document, 0)); document 86 Source/core/html/HTMLSelectElement.cpp PassRefPtr<HTMLSelectElement> HTMLSelectElement::create(Document& document, HTMLFormElement* form) document 88 Source/core/html/HTMLSelectElement.cpp return adoptRef(new HTMLSelectElement(document, form)); document 409 Source/core/html/HTMLSelectElement.cpp if (AXObjectCache* cache = renderer()->document().existingAXObjectCache()) document 477 Source/core/html/HTMLSelectElement.cpp RefPtr<Element> option = document().createElement(optionTag, false); document 760 Source/core/html/HTMLSelectElement.cpp if (AXObjectCache* cache = renderer()->document().existingAXObjectCache()) document 1120 Source/core/html/HTMLSelectElement.cpp if (!isSpatialNavigationEnabled(document().frame())) { document 1159 Source/core/html/HTMLSelectElement.cpp if (isSpatialNavigationEnabled(document().frame())) { document 1200 Source/core/html/HTMLSelectElement.cpp if (keyCode == ' ' && isSpatialNavigationEnabled(document().frame())) { document 1369 Source/core/html/HTMLSelectElement.cpp if (LocalFrame* frame = document().frame()) document 1456 Source/core/html/HTMLSelectElement.cpp if (isSpatialNavigationEnabled(document().frame())) document 1470 Source/core/html/HTMLSelectElement.cpp bool selectNewItem = !m_multiple || toKeyboardEvent(event)->shiftKey() || !isSpatialNavigationEnabled(document().frame()); document 1500 Source/core/html/HTMLSelectElement.cpp } else if (m_multiple && keyCode == ' ' && isSpatialNavigationEnabled(document().frame())) { document 41 Source/core/html/HTMLShadowElement.cpp inline HTMLShadowElement::HTMLShadowElement(Document& document) document 42 Source/core/html/HTMLShadowElement.cpp : InsertionPoint(HTMLNames::shadowTag, document) document 47 Source/core/html/HTMLShadowElement.cpp PassRefPtr<HTMLShadowElement> HTMLShadowElement::create(Document& document) document 49 Source/core/html/HTMLShadowElement.cpp return adoptRef(new HTMLShadowElement(document)); document 62 Source/core/html/HTMLShadowElement.cpp document().updateDistributionForNodeIfNeeded(this); document 79 Source/core/html/HTMLShadowElement.cpp document().addConsoleMessage(RenderingMessageSource, WarningMessageLevel, message); document 40 Source/core/html/HTMLSourceElement.cpp inline HTMLSourceElement::HTMLSourceElement(Document& document) document 41 Source/core/html/HTMLSourceElement.cpp : HTMLElement(sourceTag, document) document 48 Source/core/html/HTMLSourceElement.cpp PassRefPtr<HTMLSourceElement> HTMLSourceElement::create(Document& document) document 50 Source/core/html/HTMLSourceElement.cpp return adoptRef(new HTMLSourceElement(document)); document 35 Source/core/html/HTMLSpanElement.cpp HTMLSpanElement::HTMLSpanElement(Document& document) document 36 Source/core/html/HTMLSpanElement.cpp : HTMLElement(spanTag, document) document 41 Source/core/html/HTMLSpanElement.cpp PassRefPtr<HTMLSpanElement> HTMLSpanElement::create(Document& document) document 43 Source/core/html/HTMLSpanElement.cpp return adoptRef(new HTMLSpanElement(document)); document 47 Source/core/html/HTMLStyleElement.cpp inline HTMLStyleElement::HTMLStyleElement(Document& document, bool createdByParser) document 48 Source/core/html/HTMLStyleElement.cpp : HTMLElement(styleTag, document) document 49 Source/core/html/HTMLStyleElement.cpp , StyleElement(&document, createdByParser) document 61 Source/core/html/HTMLStyleElement.cpp StyleElement::clearDocumentData(document(), this); document 66 Source/core/html/HTMLStyleElement.cpp PassRefPtr<HTMLStyleElement> HTMLStyleElement::create(Document& document, bool createdByParser) document 68 Source/core/html/HTMLStyleElement.cpp return adoptRef(new HTMLStyleElement(document, createdByParser)); document 75 Source/core/html/HTMLStyleElement.cpp } else if (name == scopedAttr && ContextFeatures::styleScopedEnabled(&document())) { document 77 Source/core/html/HTMLStyleElement.cpp } else if (name == mediaAttr && inDocument() && document().isActive() && m_sheet) { document 79 Source/core/html/HTMLStyleElement.cpp document().modifiedStyleSheet(m_sheet.get(), RecalcStyleDeferred); document 87 Source/core/html/HTMLStyleElement.cpp ASSERT(ContextFeatures::styleScopedEnabled(&document())); document 103 Source/core/html/HTMLStyleElement.cpp document().styleEngine()->removeStyleSheetCandidateNode(this, scopingNode, treeScope()); document 106 Source/core/html/HTMLStyleElement.cpp document().styleEngine()->addStyleSheetCandidateNode(this, false); document 107 Source/core/html/HTMLStyleElement.cpp document().modifiedStyleSheet(sheet()); document 117 Source/core/html/HTMLStyleElement.cpp document().styleEngine()->removeStyleSheetCandidateNode(this, parentNode(), treeScope()); document 124 Source/core/html/HTMLStyleElement.cpp document().styleEngine()->addStyleSheetCandidateNode(this, false); document 128 Source/core/html/HTMLStyleElement.cpp document().modifiedStyleSheet(sheet()); document 161 Source/core/html/HTMLStyleElement.cpp ASSERT(m_scopedStyleRegistrationState != NotRegistered || !ContextFeatures::styleScopedEnabled(&document())); document 207 Source/core/html/HTMLStyleElement.cpp StyleElement::removedFromDocument(document(), this, scopingNode, containingScope ? *containingScope : insertionPoint->treeScope()); document 213 Source/core/html/HTMLStyleElement.cpp StyleElement::processStyleSheet(document(), this); document 234 Source/core/html/HTMLStyleElement.cpp return fastHasAttribute(scopedAttr) && ContextFeatures::styleScopedEnabled(&document()); document 248 Source/core/html/HTMLStyleElement.cpp return &document(); document 81 Source/core/html/HTMLStyleElement.h virtual bool sheetLoaded() OVERRIDE { return StyleElement::sheetLoaded(document()); } document 83 Source/core/html/HTMLStyleElement.h virtual void startLoadingDynamicSheet() OVERRIDE { StyleElement::startLoadingDynamicSheet(document()); } document 38 Source/core/html/HTMLSummaryElement.cpp PassRefPtr<HTMLSummaryElement> HTMLSummaryElement::create(Document& document) document 40 Source/core/html/HTMLSummaryElement.cpp RefPtr<HTMLSummaryElement> summary = adoptRef(new HTMLSummaryElement(document)); document 45 Source/core/html/HTMLSummaryElement.cpp HTMLSummaryElement::HTMLSummaryElement(Document& document) document 46 Source/core/html/HTMLSummaryElement.cpp : HTMLElement(summaryTag, document) document 57 Source/core/html/HTMLSummaryElement.cpp root.appendChild(DetailsMarkerControl::create(document())); document 58 Source/core/html/HTMLSummaryElement.cpp root.appendChild(HTMLContentElement::create(document())); document 35 Source/core/html/HTMLTableCaptionElement.cpp inline HTMLTableCaptionElement::HTMLTableCaptionElement(Document& document) document 36 Source/core/html/HTMLTableCaptionElement.cpp : HTMLElement(captionTag, document) document 41 Source/core/html/HTMLTableCaptionElement.cpp PassRefPtr<HTMLTableCaptionElement> HTMLTableCaptionElement::create(Document& document) document 43 Source/core/html/HTMLTableCaptionElement.cpp return adoptRef(new HTMLTableCaptionElement(document)); document 45 Source/core/html/HTMLTableCellElement.cpp inline HTMLTableCellElement::HTMLTableCellElement(const QualifiedName& tagName, Document& document) document 46 Source/core/html/HTMLTableCellElement.cpp : HTMLTablePartElement(tagName, document) document 51 Source/core/html/HTMLTableCellElement.cpp PassRefPtr<HTMLTableCellElement> HTMLTableCellElement::create(const QualifiedName& tagName, Document& document) document 53 Source/core/html/HTMLTableCellElement.cpp return adoptRef(new HTMLTableCellElement(tagName, document)); document 37 Source/core/html/HTMLTableColElement.cpp inline HTMLTableColElement::HTMLTableColElement(const QualifiedName& tagName, Document& document) document 38 Source/core/html/HTMLTableColElement.cpp : HTMLTablePartElement(tagName, document) document 44 Source/core/html/HTMLTableColElement.cpp PassRefPtr<HTMLTableColElement> HTMLTableColElement::create(const QualifiedName& tagName, Document& document) document 46 Source/core/html/HTMLTableColElement.cpp return adoptRef(new HTMLTableColElement(tagName, document)); document 52 Source/core/html/HTMLTableElement.cpp HTMLTableElement::HTMLTableElement(Document& document) document 53 Source/core/html/HTMLTableElement.cpp : HTMLElement(tableTag, document) document 63 Source/core/html/HTMLTableElement.cpp PassRefPtr<HTMLTableElement> HTMLTableElement::create(Document& document) document 65 Source/core/html/HTMLTableElement.cpp return adoptRef(new HTMLTableElement(document)); document 127 Source/core/html/HTMLTableElement.cpp RefPtr<HTMLTableSectionElement> head = HTMLTableSectionElement::create(theadTag, document()); document 141 Source/core/html/HTMLTableElement.cpp RefPtr<HTMLTableSectionElement> foot = HTMLTableSectionElement::create(tfootTag, document()); document 153 Source/core/html/HTMLTableElement.cpp RefPtr<HTMLTableSectionElement> body = HTMLTableSectionElement::create(tbodyTag, document()); document 164 Source/core/html/HTMLTableElement.cpp RefPtr<HTMLTableCaptionElement> caption = HTMLTableCaptionElement::create(document()); document 216 Source/core/html/HTMLTableElement.cpp RefPtr<HTMLTableSectionElement> newBody = HTMLTableSectionElement::create(tbodyTag, document()); document 217 Source/core/html/HTMLTableElement.cpp RefPtr<HTMLTableRowElement> newRow = HTMLTableRowElement::create(document()); document 224 Source/core/html/HTMLTableElement.cpp RefPtr<HTMLTableRowElement> newRow = HTMLTableRowElement::create(document()); document 308 Source/core/html/HTMLTableElement.cpp style->setProperty(CSSProperty(CSSPropertyBackgroundImage, CSSImageValue::create(url, document().completeURL(url)))); document 56 Source/core/html/HTMLTablePartElement.cpp style->setProperty(CSSProperty(CSSPropertyBackgroundImage, CSSImageValue::create(url, document().completeURL(url)))); document 37 Source/core/html/HTMLTablePartElement.h HTMLTablePartElement(const QualifiedName& tagName, Document& document) document 38 Source/core/html/HTMLTablePartElement.h : HTMLElement(tagName, document) document 41 Source/core/html/HTMLTableRowElement.cpp HTMLTableRowElement::HTMLTableRowElement(Document& document) document 42 Source/core/html/HTMLTableRowElement.cpp : HTMLTablePartElement(trTag, document) document 57 Source/core/html/HTMLTableRowElement.cpp PassRefPtr<HTMLTableRowElement> HTMLTableRowElement::create(Document& document) document 59 Source/core/html/HTMLTableRowElement.cpp return adoptRef(new HTMLTableRowElement(document)); document 131 Source/core/html/HTMLTableRowElement.cpp RefPtr<HTMLTableCellElement> cell = HTMLTableCellElement::create(tdTag, document()); document 40 Source/core/html/HTMLTableSectionElement.cpp inline HTMLTableSectionElement::HTMLTableSectionElement(const QualifiedName& tagName, Document& document) document 41 Source/core/html/HTMLTableSectionElement.cpp : HTMLTablePartElement(tagName, document) document 46 Source/core/html/HTMLTableSectionElement.cpp PassRefPtr<HTMLTableSectionElement> HTMLTableSectionElement::create(const QualifiedName& tagName, Document& document) document 48 Source/core/html/HTMLTableSectionElement.cpp return adoptRef(new HTMLTableSectionElement(tagName, document)); document 68 Source/core/html/HTMLTableSectionElement.cpp row = HTMLTableRowElement::create(document()); document 42 Source/core/html/HTMLTemplateElement.cpp inline HTMLTemplateElement::HTMLTemplateElement(Document& document) document 43 Source/core/html/HTMLTemplateElement.cpp : HTMLElement(templateTag, document) document 54 Source/core/html/HTMLTemplateElement.cpp PassRefPtr<HTMLTemplateElement> HTMLTemplateElement::create(Document& document) document 56 Source/core/html/HTMLTemplateElement.cpp return adoptRef(new HTMLTemplateElement(document)); document 62 Source/core/html/HTMLTemplateElement.cpp m_content = TemplateContentDocumentFragment::create(document().ensureTemplateDocument(), const_cast<HTMLTemplateElement*>(this)); document 83 Source/core/html/HTMLTemplateElement.cpp document().ensureTemplateDocument().adoptIfNeeded(*m_content); document 80 Source/core/html/HTMLTextAreaElement.cpp HTMLTextAreaElement::HTMLTextAreaElement(Document& document, HTMLFormElement* form) document 81 Source/core/html/HTMLTextAreaElement.cpp : HTMLTextFormControlElement(textareaTag, document, form) document 91 Source/core/html/HTMLTextAreaElement.cpp PassRefPtr<HTMLTextAreaElement> HTMLTextAreaElement::create(Document& document, HTMLFormElement* form) document 93 Source/core/html/HTMLTextAreaElement.cpp RefPtr<HTMLTextAreaElement> textArea = adoptRef(new HTMLTextAreaElement(document, form)); document 100 Source/core/html/HTMLTextAreaElement.cpp root.appendChild(TextControlInnerTextElement::create(document())); document 209 Source/core/html/HTMLTextAreaElement.cpp document().updateLayout(); document 251 Source/core/html/HTMLTextAreaElement.cpp if (document().frame()) document 252 Source/core/html/HTMLTextAreaElement.cpp document().frame()->selection().revealSelection(); document 267 Source/core/html/HTMLTextAreaElement.cpp if (LocalFrame* frame = document().frame()) document 283 Source/core/html/HTMLTextAreaElement.cpp ASSERT(document().isActive()); document 284 Source/core/html/HTMLTextAreaElement.cpp document().frameHost()->chrome().client().didChangeValueInTextField(*this); document 306 Source/core/html/HTMLTextAreaElement.cpp unsigned selectionLength = focused() ? computeLengthForSubmission(plainText(document().frame()->selection().selection().toNormalizedRange().get())) : 0; document 377 Source/core/html/HTMLTextAreaElement.cpp if (document().focusedElement() == this) { document 424 Source/core/html/HTMLTextAreaElement.cpp insertBefore(document().createTextNode(value), firstChild(), IGNORE_EXCEPTION); document 547 Source/core/html/HTMLTextAreaElement.cpp RefPtr<HTMLDivElement> newElement = HTMLDivElement::create(document()); document 144 Source/core/html/HTMLTextFormControlElement.cpp && (document().focusedElement() != this || (RenderTheme::theme().shouldShowPlaceholderWhenFocused())) document 275 Source/core/html/HTMLTextFormControlElement.cpp document().updateLayoutIgnorePendingStylesheets(); document 307 Source/core/html/HTMLTextFormControlElement.cpp if (LocalFrame* frame = document().frame()) document 315 Source/core/html/HTMLTextFormControlElement.cpp RefPtrWillBeRawPtr<Range> range = Range::create(document()); document 327 Source/core/html/HTMLTextFormControlElement.cpp ASSERT(indexPosition.document()); document 328 Source/core/html/HTMLTextFormControlElement.cpp RefPtrWillBeRawPtr<Range> range = Range::create(*indexPosition.document()); document 338 Source/core/html/HTMLTextFormControlElement.cpp if (document().focusedElement() != this && hasCachedSelection()) document 347 Source/core/html/HTMLTextFormControlElement.cpp LocalFrame* frame = document().frame(); document 358 Source/core/html/HTMLTextFormControlElement.cpp if (document().focusedElement() != this && hasCachedSelection()) document 366 Source/core/html/HTMLTextFormControlElement.cpp LocalFrame* frame = document().frame(); document 396 Source/core/html/HTMLTextFormControlElement.cpp if (document().focusedElement() != this && hasCachedSelection()) document 405 Source/core/html/HTMLTextFormControlElement.cpp LocalFrame* frame = document().frame(); document 438 Source/core/html/HTMLTextFormControlElement.cpp return Range::create(document(), innerText, 0, innerText, 0); document 462 Source/core/html/HTMLTextFormControlElement.cpp return Range::create(document(), startNode, start, endNode, end); document 478 Source/core/html/HTMLTextFormControlElement.cpp if (LocalFrame* frame = document().frame()) { document 488 Source/core/html/HTMLTextFormControlElement.cpp UseCounter::count(document(), UseCounter::PlaceholderAttribute); document 509 Source/core/html/HTMLTextFormControlElement.cpp if (AXObjectCache* cache = document().existingAXObjectCache()) document 515 Source/core/html/HTMLTextFormControlElement.cpp innerTextElement()->appendChild(HTMLBRElement::create(document())); document 39 Source/core/html/HTMLTitleElement.cpp inline HTMLTitleElement::HTMLTitleElement(Document& document) document 40 Source/core/html/HTMLTitleElement.cpp : HTMLElement(titleTag, document) document 47 Source/core/html/HTMLTitleElement.cpp PassRefPtr<HTMLTitleElement> HTMLTitleElement::create(Document& document) document 49 Source/core/html/HTMLTitleElement.cpp return adoptRef(new HTMLTitleElement(document)); document 56 Source/core/html/HTMLTitleElement.cpp document().setTitleElement(text(), this); document 64 Source/core/html/HTMLTitleElement.cpp document().removeTitle(this); document 71 Source/core/html/HTMLTitleElement.cpp document().setTitleElement(text(), this); document 97 Source/core/html/HTMLTitleElement.cpp appendChild(document().createTextNode(value.impl()), IGNORE_EXCEPTION); document 53 Source/core/html/HTMLTrackElement.cpp inline HTMLTrackElement::HTMLTrackElement(Document& document) document 54 Source/core/html/HTMLTrackElement.cpp : HTMLElement(trackTag, document) document 67 Source/core/html/HTMLTrackElement.cpp PassRefPtr<HTMLTrackElement> HTMLTrackElement::create(Document& document) document 69 Source/core/html/HTMLTrackElement.cpp return adoptRef(new HTMLTrackElement(document)); document 205 Source/core/html/HTMLTrackElement.cpp if (!document().contentSecurityPolicy()->allowMediaFromSource(url)) { document 33 Source/core/html/HTMLUListElement.cpp HTMLUListElement::HTMLUListElement(Document& document) document 34 Source/core/html/HTMLUListElement.cpp : HTMLElement(ulTag, document) document 39 Source/core/html/HTMLUListElement.cpp PassRefPtr<HTMLUListElement> HTMLUListElement::create(Document& document) document 41 Source/core/html/HTMLUListElement.cpp return adoptRef(new HTMLUListElement(document)); document 39 Source/core/html/HTMLUnknownElement.h static PassRefPtr<HTMLUnknownElement> create(const QualifiedName& tagName, Document& document) document 41 Source/core/html/HTMLUnknownElement.h return adoptRef(new HTMLUnknownElement(tagName, document)); document 47 Source/core/html/HTMLUnknownElement.h HTMLUnknownElement(const QualifiedName& tagName, Document& document) document 48 Source/core/html/HTMLUnknownElement.h : HTMLElement(tagName, document) document 47 Source/core/html/HTMLVideoElement.cpp inline HTMLVideoElement::HTMLVideoElement(Document& document) document 48 Source/core/html/HTMLVideoElement.cpp : HTMLMediaElement(videoTag, document) document 51 Source/core/html/HTMLVideoElement.cpp if (document.settings()) document 52 Source/core/html/HTMLVideoElement.cpp m_defaultPosterURL = AtomicString(document.settings()->defaultVideoPosterURL()); document 55 Source/core/html/HTMLVideoElement.cpp PassRefPtr<HTMLVideoElement> HTMLVideoElement::create(Document& document) document 57 Source/core/html/HTMLVideoElement.cpp RefPtr<HTMLVideoElement> videoElement(adoptRef(new HTMLVideoElement(document))); document 126 Source/core/html/HTMLVideoElement.cpp if (!document().page()) document 268 Source/core/html/HTMLVideoElement.cpp return document().completeURL(url); document 41 Source/core/html/HTMLWBRElement.cpp HTMLWBRElement::HTMLWBRElement(Document& document) document 42 Source/core/html/HTMLWBRElement.cpp : HTMLElement(wbrTag, document) document 46 Source/core/html/HTMLWBRElement.cpp PassRefPtr<HTMLWBRElement> HTMLWBRElement::create(Document& document) document 48 Source/core/html/HTMLWBRElement.cpp return adoptRef(new HTMLWBRElement(document)); document 55 Source/core/html/ImageDocument.cpp static PassRefPtr<ImageEventListener> create(ImageDocument* document) { return adoptRef(new ImageEventListener(document)); } document 66 Source/core/html/ImageDocument.cpp ImageEventListener(ImageDocument* document) document 68 Source/core/html/ImageDocument.cpp , m_doc(document) document 79 Source/core/html/ImageDocument.cpp static PassRefPtr<ImageDocumentParser> create(ImageDocument* document) document 81 Source/core/html/ImageDocument.cpp return adoptRef(new ImageDocumentParser(document)); document 86 Source/core/html/ImageDocument.cpp return toImageDocument(RawDataDocumentParser::document()); document 90 Source/core/html/ImageDocument.cpp ImageDocumentParser(ImageDocument* document) document 91 Source/core/html/ImageDocument.cpp : RawDataDocumentParser(document) document 101 Source/core/html/ImageDocument.cpp static float pageZoomFactor(const Document* document) document 103 Source/core/html/ImageDocument.cpp LocalFrame* frame = document->frame(); document 126 Source/core/html/ImageDocument.cpp LocalFrame* frame = document()->frame(); document 128 Source/core/html/ImageDocument.cpp if (!frame->loader().client()->allowImage(!settings || settings->imagesEnabled(), document()->url())) document 131 Source/core/html/ImageDocument.cpp document()->cachedImage()->appendData(data, length); document 134 Source/core/html/ImageDocument.cpp document()->updateRenderTreeIfNeeded(); document 135 Source/core/html/ImageDocument.cpp document()->imageUpdated(); document 140 Source/core/html/ImageDocument.cpp if (!isStopped() && document()->imageElement()) { document 141 Source/core/html/ImageDocument.cpp ImageResource* cachedImage = document()->cachedImage(); document 143 Source/core/html/ImageDocument.cpp cachedImage->setResponse(document()->frame()->loader().documentLoader()->response()); document 147 Source/core/html/ImageDocument.cpp IntSize size = flooredIntSize(cachedImage->imageSizeForRenderer(document()->imageElement()->renderer(), 1.0f)); document 151 Source/core/html/ImageDocument.cpp String fileName = decodeURLEscapeSequences(document()->url().lastPathComponent()); document 153 Source/core/html/ImageDocument.cpp fileName = document()->url().host(); document 154 Source/core/html/ImageDocument.cpp document()->setTitle(imageTitle(fileName, size)); document 157 Source/core/html/ImageDocument.cpp document()->imageUpdated(); document 160 Source/core/html/ImageDocument.cpp document()->finishedParsing(); document 219 Source/core/html/ImageDocument.cpp if (!m_imageElement || m_imageElement->document() != this) document 237 Source/core/html/ImageDocument.cpp if (!m_imageElement || m_imageElement->document() != this || pageZoomFactor(this) > 1) document 292 Source/core/html/ImageDocument.cpp if (!m_imageElement || !m_imageSizeIsKnown || m_imageElement->document() != this || pageZoomFactor(this) < 1) document 309 Source/core/html/ImageDocument.cpp if (!m_imageElement || m_imageElement->document() != this) document 324 Source/core/html/ImageDocument.cpp if (!m_imageElement || !m_imageSizeIsKnown || m_imageElement->document() != this) document 33 Source/core/html/LabelableElement.cpp LabelableElement::LabelableElement(const QualifiedName& tagName, Document& document) document 34 Source/core/html/LabelableElement.cpp : HTMLElement(tagName, document) document 53 Source/core/html/LinkResource.cpp return m_owner->document().frame() || m_owner->document().import(); document 58 Source/core/html/LinkResource.cpp HTMLImport* import = m_owner->document().import(); document 60 Source/core/html/LinkResource.cpp return m_owner->document().frame(); document 69 Source/core/html/LinkResource.cpp if (m_charset.isEmpty() && m_owner->document().frame()) document 70 Source/core/html/LinkResource.cpp m_charset = m_owner->document().charset(); document 76 Source/core/html/LinkResource.cpp return FetchRequest(ResourceRequest(m_owner->document().completeURL(m_url)), m_owner->localName(), m_charset, priority); document 53 Source/core/html/MediaDocument.cpp static PassRefPtr<MediaDocumentParser> create(MediaDocument* document) document 55 Source/core/html/MediaDocument.cpp return adoptRef(new MediaDocumentParser(document)); document 59 Source/core/html/MediaDocument.cpp explicit MediaDocumentParser(Document* document) document 60 Source/core/html/MediaDocument.cpp : RawDataDocumentParser(document) document 74 Source/core/html/MediaDocument.cpp ASSERT(document()); document 75 Source/core/html/MediaDocument.cpp RefPtr<HTMLHtmlElement> rootElement = HTMLHtmlElement::create(*document()); document 77 Source/core/html/MediaDocument.cpp document()->appendChild(rootElement); document 79 Source/core/html/MediaDocument.cpp if (document()->frame()) document 80 Source/core/html/MediaDocument.cpp document()->frame()->loader().dispatchDocumentElementAvailable(); document 82 Source/core/html/MediaDocument.cpp RefPtr<HTMLHeadElement> head = HTMLHeadElement::create(*document()); document 83 Source/core/html/MediaDocument.cpp RefPtr<HTMLMetaElement> meta = HTMLMetaElement::create(*document()); document 88 Source/core/html/MediaDocument.cpp RefPtr<HTMLVideoElement> media = HTMLVideoElement::create(*document()); document 93 Source/core/html/MediaDocument.cpp RefPtr<HTMLSourceElement> source = HTMLSourceElement::create(*document()); document 94 Source/core/html/MediaDocument.cpp source->setSrc(document()->url()); document 96 Source/core/html/MediaDocument.cpp if (DocumentLoader* loader = document()->loader()) document 101 Source/core/html/MediaDocument.cpp RefPtr<HTMLBodyElement> body = HTMLBodyElement::create(*document()); document 49 Source/core/html/PluginDocument.cpp static PassRefPtr<PluginDocumentParser> create(PluginDocument* document) document 51 Source/core/html/PluginDocument.cpp return adoptRef(new PluginDocumentParser(document)); document 55 Source/core/html/PluginDocument.cpp PluginDocumentParser(Document* document) document 56 Source/core/html/PluginDocument.cpp : RawDataDocumentParser(document) document 76 Source/core/html/PluginDocument.cpp ASSERT(document()); document 77 Source/core/html/PluginDocument.cpp RELEASE_ASSERT(document()->loader()); document 79 Source/core/html/PluginDocument.cpp LocalFrame* frame = document()->frame(); document 87 Source/core/html/PluginDocument.cpp RefPtr<HTMLHtmlElement> rootElement = HTMLHtmlElement::create(*document()); document 89 Source/core/html/PluginDocument.cpp document()->appendChild(rootElement); document 92 Source/core/html/PluginDocument.cpp RefPtr<HTMLBodyElement> body = HTMLBodyElement::create(*document()); document 98 Source/core/html/PluginDocument.cpp m_embedElement = HTMLEmbedElement::create(*document()); document 102 Source/core/html/PluginDocument.cpp m_embedElement->setAttribute(srcAttr, AtomicString(document()->url().string())); document 103 Source/core/html/PluginDocument.cpp m_embedElement->setAttribute(typeAttr, document()->loader()->mimeType()); document 106 Source/core/html/PluginDocument.cpp toPluginDocument(document())->setPluginNode(m_embedElement.get()); document 108 Source/core/html/PluginDocument.cpp document()->updateLayout(); document 115 Source/core/html/PluginDocument.cpp view->didReceiveResponse(document()->loader()->response()); document 132 Source/core/html/PluginDocument.cpp const ResourceError& error = document()->loader()->mainDocumentError(); document 144 Source/core/html/PluginDocument.cpp if (Widget* widget = toPluginDocument(document())->pluginWidget()) { document 1235 Source/core/html/canvas/CanvasRenderingContext2D.cpp canvas()->document().updateLayoutIgnorePendingStylesheets(); document 2007 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (!canvas()->document().frame()) document 2063 Source/core/html/canvas/CanvasRenderingContext2D.cpp StyleResolver& styleResolver = canvas()->document().ensureStyleResolver(); document 2071 Source/core/html/canvas/CanvasRenderingContext2D.cpp modifiableState().m_font.update(canvas()->document().styleEngine()->fontSelector()); document 2073 Source/core/html/canvas/CanvasRenderingContext2D.cpp canvas()->document().styleEngine()->fontSelector()->registerForInvalidationCallbacks(&modifiableState()); document 2133 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (!canvas()->document().frame()) document 2137 Source/core/html/canvas/CanvasRenderingContext2D.cpp canvas()->document().updateRenderTreeIfNeeded(); document 2182 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (!canvas()->document().frame()) document 2188 Source/core/html/canvas/CanvasRenderingContext2D.cpp canvas()->document().updateRenderTreeIfNeeded(); document 2360 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (element->document().focusedElement() == element) document 2397 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (AXObjectCache* axObjectCache = element->document().existingAXObjectCache()) { document 63 Source/core/html/canvas/WebGLRenderingContext.cpp Document& document = canvas->document(); document 64 Source/core/html/canvas/WebGLRenderingContext.cpp LocalFrame* frame = document.frame(); document 84 Source/core/html/canvas/WebGLRenderingContext.cpp blink::WebGraphicsContext3D::Attributes attributes = attrs->attributes(document.topDocument().url().string(), settings); document 501 Source/core/html/canvas/WebGLRenderingContextBase.cpp , ActiveDOMObject(&passedCanvas->document()) document 626 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (Page* p = canvas()->document().page()) { document 642 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (Page* p = canvas()->document().page()) document 704 Source/core/html/canvas/WebGLRenderingContextBase.cpp Page* page = canvas()->document().page(); document 830 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (canvas()->document().printing()) document 4149 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (LocalFrame* frame = canvas()->document().frame()) document 4965 Source/core/html/canvas/WebGLRenderingContextBase.cpp canvas()->document().addConsoleMessage(RenderingMessageSource, WarningMessageLevel, message); document 5363 Source/core/html/canvas/WebGLRenderingContextBase.cpp LocalFrame* frame = canvas()->document().frame(); document 5372 Source/core/html/canvas/WebGLRenderingContextBase.cpp blink::WebGraphicsContext3D::Attributes attributes = m_requestedAttributes->attributes(canvas()->document().topDocument().url().string(), settings); document 48 Source/core/html/forms/BaseButtonInputType.cpp element().userAgentShadowRoot()->appendChild(Text::create(element().document(), element().valueWithDefault())); document 52 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp if (!element().document().isActive()) document 57 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp m_dateTimeChooser = element().document().frameHost()->chrome().openDateTimeChooser(this, parameters); document 64 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp RefPtr<HTMLDivElement> valueContainer = HTMLDivElement::create(element().document()); document 151 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp return element().userAgentShadowRoot()->contains(element().document().focusedElement()); document 338 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp Document& document = element().document(); document 341 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp container->appendChild(DateTimeEditElement::create(document, *this)); document 343 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp container->appendChild(ClearButtonElement::create(document, *this)); document 344 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp container->appendChild(SpinButtonElement::create(document, *this)); document 348 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp container->appendChild(PickerIndicatorElement::create(document, *this)); document 381 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp if (element().document().page()) document 382 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element().document().page()->focusController().advanceFocus(type); document 130 Source/core/html/forms/ColorInputType.cpp Document& document = element().document(); document 131 Source/core/html/forms/ColorInputType.cpp RefPtr<HTMLDivElement> wrapperElement = HTMLDivElement::create(document); document 133 Source/core/html/forms/ColorInputType.cpp RefPtr<HTMLDivElement> colorSwatch = HTMLDivElement::create(document); document 220 Source/core/html/forms/ColorInputType.cpp return element().document().view()->contentsToRootView(element().pixelSnappedBoundingBox()); document 157 Source/core/html/forms/FileInputType.cpp chrome->runOpenPanel(input.document().frame(), newFileChooser(settings)); document 254 Source/core/html/forms/FileInputType.cpp RefPtr<HTMLInputElement> button = HTMLInputElement::create(element().document(), 0, false); document 205 Source/core/html/forms/ImageInputType.cpp element->document().updateLayout(); document 229 Source/core/html/forms/ImageInputType.cpp element->document().updateLayout(); document 450 Source/core/html/forms/InputType.cpp if (FrameHost* host = element().document().frameHost()) document 854 Source/core/html/forms/InputType.cpp if (AXObjectCache* cache = element().document().existingAXObjectCache()) document 957 Source/core/html/forms/InputType.cpp UseCounter::count(element().document(), feature); document 66 Source/core/html/forms/PasswordInputType.cpp if (FrameHost* host = element().document().frameHost()) document 73 Source/core/html/forms/PasswordInputType.cpp if (Settings* settings = element().document().settings()) document 88 Source/core/html/forms/PasswordInputType.cpp RefPtr<PasswordGeneratorButtonElement> generatorButton = PasswordGeneratorButtonElement::create(element().document()); document 141 Source/core/html/forms/PasswordInputType.cpp if (element().document().frame()) document 142 Source/core/html/forms/PasswordInputType.cpp element().document().setUseSecureKeyboardEntryWhenActive(true); document 147 Source/core/html/forms/PasswordInputType.cpp if (element().document().frame()) document 148 Source/core/html/forms/PasswordInputType.cpp element().document().setUseSecureKeyboardEntryWhenActive(false); document 79 Source/core/html/forms/RadioInputType.cpp Document& document = element().document(); document 80 Source/core/html/forms/RadioInputType.cpp if (isSpatialNavigationEnabled(document.frame())) document 99 Source/core/html/forms/RadioInputType.cpp document.setFocusedElement(inputElement); document 125 Source/core/html/forms/RadioInputType.cpp if (isSpatialNavigationEnabled(element().document().frame())) document 130 Source/core/html/forms/RadioInputType.cpp Element* currentFocusedElement = element().document().focusedElement(); document 236 Source/core/html/forms/RangeInputType.cpp if (AXObjectCache* cache = element().document().existingAXObjectCache()) document 247 Source/core/html/forms/RangeInputType.cpp Document& document = element().document(); document 248 Source/core/html/forms/RangeInputType.cpp RefPtr<HTMLDivElement> track = HTMLDivElement::create(document); document 251 Source/core/html/forms/RangeInputType.cpp track->appendChild(SliderThumbElement::create(document)); document 252 Source/core/html/forms/RangeInputType.cpp RefPtr<HTMLElement> container = SliderContainerElement::create(document); document 98 Source/core/html/forms/SearchInputType.cpp container->insertBefore(SearchFieldDecorationElement::create(element().document()), viewPort); document 99 Source/core/html/forms/SearchInputType.cpp container->insertBefore(SearchFieldCancelButtonElement::create(element().document()), viewPort->nextSibling()); document 64 Source/core/html/forms/TextFieldInputType.cpp inline DataListIndicatorElement(Document& document) : HTMLDivElement(document) { } document 85 Source/core/html/forms/TextFieldInputType.cpp ASSERT(document().isActive()); document 90 Source/core/html/forms/TextFieldInputType.cpp document().frameHost()->chrome().openTextDataListChooser(*host); document 97 Source/core/html/forms/TextFieldInputType.cpp return hostInput() && !hostInput()->isDisabledOrReadOnly() && document().isActive(); document 101 Source/core/html/forms/TextFieldInputType.cpp static PassRefPtr<DataListIndicatorElement> create(Document& document) document 103 Source/core/html/forms/TextFieldInputType.cpp RefPtr<DataListIndicatorElement> element = adoptRef(new DataListIndicatorElement(document)); document 289 Source/core/html/forms/TextFieldInputType.cpp Document& document = element().document(); document 294 Source/core/html/forms/TextFieldInputType.cpp RefPtr<TextControlInnerTextElement> innerEditor = TextControlInnerTextElement::create(document); document 300 Source/core/html/forms/TextFieldInputType.cpp RefPtr<TextControlInnerContainer> container = TextControlInnerContainer::create(document); document 304 Source/core/html/forms/TextFieldInputType.cpp RefPtr<EditingViewPortElement> editingViewPort = EditingViewPortElement::create(document); document 310 Source/core/html/forms/TextFieldInputType.cpp container->appendChild(InputFieldSpeechButtonElement::create(document)); document 314 Source/core/html/forms/TextFieldInputType.cpp container->appendChild(DataListIndicatorElement::create(document)); document 319 Source/core/html/forms/TextFieldInputType.cpp container->appendChild(SpinButtonElement::create(document, *this)); document 344 Source/core/html/forms/TextFieldInputType.cpp Document& document = element().document(); document 346 Source/core/html/forms/TextFieldInputType.cpp container->insertBefore(DataListIndicatorElement::create(document), spinButtonElement()); document 351 Source/core/html/forms/TextFieldInputType.cpp RefPtr<Element> rpContainer = TextControlInnerContainer::create(document); document 355 Source/core/html/forms/TextFieldInputType.cpp RefPtr<Element> editingViewPort = EditingViewPortElement::create(document); document 358 Source/core/html/forms/TextFieldInputType.cpp rpContainer->appendChild(DataListIndicatorElement::create(document)); document 359 Source/core/html/forms/TextFieldInputType.cpp if (element().document().focusedElement() == element()) document 430 Source/core/html/forms/TextFieldInputType.cpp unsigned selectionLength = element().focused() ? plainText(element().document().frame()->selection().selection().toNormalizedRange().get()).length() : 0; document 468 Source/core/html/forms/TextFieldInputType.cpp RefPtr<HTMLElement> newElement = HTMLDivElement::create(element().document()); document 60 Source/core/html/forms/ValidationMessage.cpp Page* page = m_element->document().page(); document 88 Source/core/html/ime/InputMethodContext.cpp LocalFrame* frame = m_element->document().frame(); document 92 Source/core/html/ime/InputMethodContext.cpp const Element* element = frame->document()->focusedElement(); document 160 Source/core/html/ime/InputMethodContext.cpp return m_element->document().frame()->inputMethodController(); document 170 Source/core/html/ime/InputMethodContext.cpp return &m_element->document(); document 46 Source/core/html/imports/HTMLImport.cpp return root()->document(); document 69 Source/core/html/imports/HTMLImport.cpp if (Document* document = this->document()) document 70 Source/core/html/imports/HTMLImport.cpp document->didLoadAllImports(); document 112 Source/core/html/imports/HTMLImport.cpp bool HTMLImport::isMaster(Document* document) document 114 Source/core/html/imports/HTMLImport.cpp if (!document->import()) document 116 Source/core/html/imports/HTMLImport.cpp return (document->import()->master() == document); document 123 Source/core/html/imports/HTMLImport.h virtual Document* document() const = 0; document 140 Source/core/html/imports/HTMLImportChild.cpp return (m_loader && m_loader->isOwnedBy(this)) ? m_loader->document() : 0; document 72 Source/core/html/imports/HTMLImportChild.h virtual Document* document() const OVERRIDE; document 67 Source/core/html/imports/HTMLImportLoader.h Document* document() const { return m_importedDocument.get(); } document 95 Source/core/html/imports/HTMLImportsController.cpp ResourcePtr<RawResource> resource = parent->document()->fetcher()->fetchImport(request); document 61 Source/core/html/imports/HTMLImportsController.h virtual Document* document() const OVERRIDE; document 75 Source/core/html/imports/LinkImport.cpp if (!m_owner->document().import()) { document 76 Source/core/html/imports/LinkImport.cpp ASSERT(m_owner->document().frame()); // The document should be the master. document 77 Source/core/html/imports/LinkImport.cpp HTMLImportsController::provideTo(m_owner->document()); document 86 Source/core/html/imports/LinkImport.cpp HTMLImport* parent = m_owner->document().import(); document 258 Source/core/html/parser/HTMLConstructionSite.cpp task.child = Text::create(task.parent->document(), substring); document 317 Source/core/html/parser/HTMLConstructionSite.cpp HTMLConstructionSite::HTMLConstructionSite(Document* document, ParserContentPolicy parserContentPolicy) document 318 Source/core/html/parser/HTMLConstructionSite.cpp : m_document(document) document 319 Source/core/html/parser/HTMLConstructionSite.cpp , m_attachmentRoot(document) document 323 Source/core/html/parser/HTMLConstructionSite.cpp , m_inQuirksMode(document->inQuirksMode()) document 329 Source/core/html/parser/HTMLConstructionSite.cpp : m_document(&fragment->document()) document 334 Source/core/html/parser/HTMLConstructionSite.cpp , m_inQuirksMode(fragment->document().inQuirksMode()) document 578 Source/core/html/parser/HTMLConstructionSite.cpp attachLater(parent, Comment::create(parent->document(), token->comment())); document 732 Source/core/html/parser/HTMLConstructionSite.cpp return toHTMLTemplateElement(currentElement())->content()->document(); document 733 Source/core/html/parser/HTMLConstructionSite.cpp return currentNode()->document(); document 738 Source/core/html/parser/HTMLConstructionSite.cpp Document& document = ownerDocumentForCurrentNode(); document 741 Source/core/html/parser/HTMLConstructionSite.cpp HTMLFormElement* form = document.frame() ? m_form.get() : 0; document 745 Source/core/html/parser/HTMLConstructionSite.cpp RefPtr<Element> element = HTMLElementFactory::createHTMLElement(token->name(), document, form, true); document 101 Source/core/html/parser/HTMLDocumentParser.cpp HTMLDocumentParser::HTMLDocumentParser(HTMLDocument* document, bool reportErrors) document 102 Source/core/html/parser/HTMLDocumentParser.cpp : ScriptableDocumentParser(document) document 103 Source/core/html/parser/HTMLDocumentParser.cpp , m_options(document) document 106 Source/core/html/parser/HTMLDocumentParser.cpp , m_scriptRunner(HTMLScriptRunner::create(document, this)) document 107 Source/core/html/parser/HTMLDocumentParser.cpp , m_treeBuilder(HTMLTreeBuilder::create(this, document, parserContentPolicy(), reportErrors, m_options)) document 109 Source/core/html/parser/HTMLDocumentParser.cpp , m_xssAuditorDelegate(document) document 111 Source/core/html/parser/HTMLDocumentParser.cpp , m_preloader(adoptPtr(new HTMLResourcePreloader(document))) document 123 Source/core/html/parser/HTMLDocumentParser.cpp : ScriptableDocumentParser(&fragment->document(), parserContentPolicy) document 124 Source/core/html/parser/HTMLDocumentParser.cpp , m_options(&fragment->document()) document 128 Source/core/html/parser/HTMLDocumentParser.cpp , m_xssAuditorDelegate(&fragment->document()) document 214 Source/core/html/parser/HTMLDocumentParser.cpp document()->setReadyState(Document::Interactive); document 315 Source/core/html/parser/HTMLDocumentParser.cpp && document()->frame() && document()->frame()->navigationScheduler().locationChangePending()) document 331 Source/core/html/parser/HTMLDocumentParser.cpp if (isWaitingForScripts() || !m_speculations.isEmpty() || document()->activeParserCount() > 0) { document 349 Source/core/html/parser/HTMLDocumentParser.cpp document()->setEncodingData(data); document 414 Source/core/html/parser/HTMLDocumentParser.cpp ASSERT_WITH_SECURITY_IMPLICATION(!document()->activeParserCount()); document 443 Source/core/html/parser/HTMLDocumentParser.cpp && document()->frame() && document()->frame()->navigationScheduler().locationChangePending()) { document 496 Source/core/html/parser/HTMLDocumentParser.cpp InspectorInstrumentationCookie cookie = InspectorInstrumentation::willWriteHTML(document(), lineNumber().zeroBasedInt()); document 538 Source/core/html/parser/HTMLDocumentParser.cpp return document(); document 541 Source/core/html/parser/HTMLDocumentParser.cpp static PassRefPtr<MediaValues> createMediaValues(Document* document) document 543 Source/core/html/parser/HTMLDocumentParser.cpp RefPtr<MediaValues> mediaValues = MediaValues::create(document, MediaValues::CachingMode); document 565 Source/core/html/parser/HTMLDocumentParser.cpp InspectorInstrumentationCookie cookie = InspectorInstrumentation::willWriteHTML(document(), m_input.current().currentLine().zeroBasedInt()); document 567 Source/core/html/parser/HTMLDocumentParser.cpp m_xssAuditor.init(document(), &m_xssAuditorDelegate); document 608 Source/core/html/parser/HTMLDocumentParser.cpp m_preloadScanner = adoptPtr(new HTMLPreloadScanner(m_options, document()->url(), createMediaValues(document()))); document 611 Source/core/html/parser/HTMLDocumentParser.cpp m_preloadScanner->scan(m_preloader.get(), document()->baseElementURL()); document 685 Source/core/html/parser/HTMLDocumentParser.cpp m_insertionPreloadScanner = adoptPtr(new HTMLPreloadScanner(m_options, document()->url(), createMediaValues(document()))); document 688 Source/core/html/parser/HTMLDocumentParser.cpp m_insertionPreloadScanner->scan(m_preloader.get(), document()->baseElementURL()); document 704 Source/core/html/parser/HTMLDocumentParser.cpp document()->loader()->attachThreadedDataReceiver(adoptPtr(new ParserDataReceiver(m_backgroundParser))); document 710 Source/core/html/parser/HTMLDocumentParser.cpp config->xssAuditor->init(document(), &m_xssAuditorDelegate); document 711 Source/core/html/parser/HTMLDocumentParser.cpp config->preloadScanner = adoptPtr(new TokenPreloadScanner(document()->url().copy(), createMediaValues(document()))); document 752 Source/core/html/parser/HTMLDocumentParser.cpp m_preloadScanner->scan(m_preloader.get(), document()->baseElementURL()); document 941 Source/core/html/parser/HTMLDocumentParser.cpp m_preloadScanner->scan(m_preloader.get(), document()->baseElementURL()); document 71 Source/core/html/parser/HTMLDocumentParser.h static PassRefPtr<HTMLDocumentParser> create(HTMLDocument* document, bool reportErrors) document 73 Source/core/html/parser/HTMLDocumentParser.h return adoptRef(new HTMLDocumentParser(document, reportErrors)); document 37 Source/core/html/parser/HTMLParserOptions.cpp HTMLParserOptions::HTMLParserOptions(Document* document) document 39 Source/core/html/parser/HTMLParserOptions.cpp LocalFrame* frame = document ? document->frame() : 0; document 43 Source/core/html/parser/HTMLParserOptions.cpp Settings* settings = document ? document->settings() : 0; document 46 Source/core/html/parser/HTMLParserOptions.cpp useThreading = settings && settings->threadedHTMLParser() && !document->url().isBlankURL() document 47 Source/core/html/parser/HTMLParserOptions.cpp && (settings->useThreadedHTMLParserForDataURLs() || !document->url().protocolIsData()); document 44 Source/core/html/parser/HTMLParserScheduler.cpp ActiveParserSession::ActiveParserSession(Document* document) document 45 Source/core/html/parser/HTMLParserScheduler.cpp : m_document(document) document 59 Source/core/html/parser/HTMLParserScheduler.cpp PumpSession::PumpSession(unsigned& nestingLevel, Document* document) document 61 Source/core/html/parser/HTMLParserScheduler.cpp , ActiveParserSession(document) document 98 Source/core/html/parser/HTMLParserScheduler.cpp Document* document = m_parser->document(); document 99 Source/core/html/parser/HTMLParserScheduler.cpp bool needsFirstPaint = document->view() && !document->view()->hasEverPainted(); document 100 Source/core/html/parser/HTMLParserScheduler.cpp if (needsFirstPaint && document->shouldParserYieldAgressivelyBeforeScriptExecution()) document 46 Source/core/html/parser/HTMLResourcePreloader.cpp KURL PreloadRequest::completeURL(Document* document) document 48 Source/core/html/parser/HTMLResourcePreloader.cpp return document->completeURLWithOverride(m_resourceURL, m_baseURL.isEmpty() ? document->url() : m_baseURL); document 51 Source/core/html/parser/HTMLResourcePreloader.cpp FetchRequest PreloadRequest::resourceRequest(Document* document) document 57 Source/core/html/parser/HTMLResourcePreloader.cpp FetchRequest request(ResourceRequest(completeURL(document)), initiatorInfo); document 60 Source/core/html/parser/HTMLResourcePreloader.cpp request.setCrossOriginAccessControl(document->securityOrigin(), m_allowCredentials); document 89 Source/core/html/parser/HTMLResourcePreloader.h explicit HTMLResourcePreloader(Document* document) document 90 Source/core/html/parser/HTMLResourcePreloader.h : m_document(document) document 46 Source/core/html/parser/HTMLScriptRunner.cpp HTMLScriptRunner::HTMLScriptRunner(Document* document, HTMLScriptRunnerHost* host) document 47 Source/core/html/parser/HTMLScriptRunner.cpp : m_document(document) document 73 Source/core/html/parser/HTMLScriptRunner.cpp static KURL documentURLForScriptExecution(Document* document) document 75 Source/core/html/parser/HTMLScriptRunner.cpp if (!document) document 78 Source/core/html/parser/HTMLScriptRunner.cpp if (!document->frame()) { document 79 Source/core/html/parser/HTMLScriptRunner.cpp if (document->import()) document 80 Source/core/html/parser/HTMLScriptRunner.cpp return document->url(); document 85 Source/core/html/parser/HTMLScriptRunner.cpp return document->frame()->document()->url(); document 47 Source/core/html/parser/HTMLScriptRunner.h static PassOwnPtr<HTMLScriptRunner> create(Document* document, HTMLScriptRunnerHost* host) document 49 Source/core/html/parser/HTMLScriptRunner.h return adoptPtr(new HTMLScriptRunner(document, host)); document 266 Source/core/html/parser/HTMLTreeBuilder.cpp HTMLTreeBuilder::HTMLTreeBuilder(HTMLDocumentParser* parser, HTMLDocument* document, ParserContentPolicy parserContentPolicy, bool, const HTMLParserOptions& options) document 271 Source/core/html/parser/HTMLTreeBuilder.cpp , m_tree(document, parserContentPolicy) document 56 Source/core/html/parser/HTMLTreeBuilder.h static PassOwnPtr<HTMLTreeBuilder> create(HTMLDocumentParser* parser, HTMLDocument* document, ParserContentPolicy parserContentPolicy, bool reportErrors, const HTMLParserOptions& options) document 58 Source/core/html/parser/HTMLTreeBuilder.h return adoptPtr(new HTMLTreeBuilder(parser, document, parserContentPolicy, reportErrors, options)); document 36 Source/core/html/parser/HTMLViewSourceParser.cpp HTMLViewSourceParser::HTMLViewSourceParser(HTMLViewSourceDocument* document, const String& mimeType) document 37 Source/core/html/parser/HTMLViewSourceParser.cpp : DecodedDataDocumentParser(document) document 38 Source/core/html/parser/HTMLViewSourceParser.cpp , m_tokenizer(HTMLTokenizer::create(HTMLParserOptions(document))) document 52 Source/core/html/parser/HTMLViewSourceParser.cpp document()->addSource(m_sourceTracker.sourceForToken(m_token), m_token); document 72 Source/core/html/parser/HTMLViewSourceParser.cpp document()->finishedParsing(); document 39 Source/core/html/parser/HTMLViewSourceParser.h static PassRefPtr<HTMLViewSourceParser> create(HTMLViewSourceDocument* document, const String& mimeType) document 41 Source/core/html/parser/HTMLViewSourceParser.h return adoptRef(new HTMLViewSourceParser(document, mimeType)); document 53 Source/core/html/parser/HTMLViewSourceParser.h HTMLViewSourceDocument* document() const { return static_cast<HTMLViewSourceDocument*>(DecodedDataDocumentParser::document()); } document 35 Source/core/html/parser/TextDocumentParser.cpp TextDocumentParser::TextDocumentParser(HTMLDocument* document) document 36 Source/core/html/parser/TextDocumentParser.cpp : HTMLDocumentParser(document, false) document 35 Source/core/html/parser/TextDocumentParser.h static PassRefPtr<TextDocumentParser> create(HTMLDocument* document) document 37 Source/core/html/parser/TextDocumentParser.h return adoptRef(new TextDocumentParser(document)); document 241 Source/core/html/parser/XSSAuditor.cpp void XSSAuditor::init(Document* document, XSSAuditorDelegate* auditorDelegate) document 248 Source/core/html/parser/XSSAuditor.cpp if (Settings* settings = document->settings()) document 254 Source/core/html/parser/XSSAuditor.cpp m_documentURL = document->url().copy(); document 258 Source/core/html/parser/XSSAuditor.cpp if (!document->frame()) { document 274 Source/core/html/parser/XSSAuditor.cpp if (document->encoding().isValid()) document 275 Source/core/html/parser/XSSAuditor.cpp m_encoding = document->encoding(); document 277 Source/core/html/parser/XSSAuditor.cpp if (DocumentLoader* documentLoader = document->frame()->loader().documentLoader()) { document 289 Source/core/html/parser/XSSAuditor.cpp xssProtectionReportURL = document->completeURL(reportURL); document 290 Source/core/html/parser/XSSAuditor.cpp if (MixedContentChecker::isMixedContent(document->securityOrigin(), xssProtectionReportURL)) { document 297 Source/core/html/parser/XSSAuditor.cpp document->addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, "Error parsing header X-XSS-Protection: " + headerValue + ": " + errorDetails + " at character position " + String::format("%u", errorPosition) + ". The default protections will be applied."); document 299 Source/core/html/parser/XSSAuditor.cpp ReflectedXSSDisposition cspHeader = document->contentSecurityPolicy()->reflectedXSSDisposition(); document 68 Source/core/html/parser/XSSAuditorDelegate.cpp XSSAuditorDelegate::XSSAuditorDelegate(Document* document) document 69 Source/core/html/parser/XSSAuditorDelegate.cpp : m_document(document) document 39 Source/core/html/shadow/ClearButtonElement.cpp inline ClearButtonElement::ClearButtonElement(Document& document, ClearButtonOwner& clearButtonOwner) document 40 Source/core/html/shadow/ClearButtonElement.cpp : HTMLDivElement(document) document 46 Source/core/html/shadow/ClearButtonElement.cpp PassRefPtr<ClearButtonElement> ClearButtonElement::create(Document& document, ClearButtonOwner& clearButtonOwner) document 48 Source/core/html/shadow/ClearButtonElement.cpp RefPtr<ClearButtonElement> element = adoptRef(new ClearButtonElement(document, clearButtonOwner)); document 57 Source/core/html/shadow/ClearButtonElement.cpp if (LocalFrame* frame = document().frame()) document 68 Source/core/html/shadow/ClearButtonElement.cpp if (LocalFrame* frame = document().frame()) { document 90 Source/core/html/shadow/ClearButtonElement.cpp if (LocalFrame* frame = document().frame()) { document 100 Source/core/html/shadow/ClearButtonElement.cpp if (LocalFrame* frame = document().frame()) { document 146 Source/core/html/shadow/DateTimeEditElement.cpp Document& document = m_editElement.document(); document 150 Source/core/html/shadow/DateTimeEditElement.cpp RefPtr<DateTimeFieldElement> field = DateTimeDayFieldElement::create(document, m_editElement, m_parameters.placeholderForDay, m_dayRange); document 161 Source/core/html/shadow/DateTimeEditElement.cpp RefPtr<DateTimeFieldElement> field = DateTimeHour11FieldElement::create(document, m_editElement, m_hour23Range, step); document 172 Source/core/html/shadow/DateTimeEditElement.cpp RefPtr<DateTimeFieldElement> field = DateTimeHour12FieldElement::create(document, m_editElement, m_hour23Range, step); document 183 Source/core/html/shadow/DateTimeEditElement.cpp RefPtr<DateTimeFieldElement> field = DateTimeHour23FieldElement::create(document, m_editElement, m_hour23Range, step); document 194 Source/core/html/shadow/DateTimeEditElement.cpp RefPtr<DateTimeFieldElement> field = DateTimeHour24FieldElement::create(document, m_editElement, m_hour23Range, step); document 205 Source/core/html/shadow/DateTimeEditElement.cpp RefPtr<DateTimeNumericFieldElement> field = DateTimeMinuteFieldElement::create(document, m_editElement, m_minuteRange, step); document 228 Source/core/html/shadow/DateTimeEditElement.cpp field = DateTimeSymbolicMonthFieldElement::create(document, m_editElement, fieldType == DateTimeFormat::FieldTypeMonth ? m_parameters.locale.shortMonthLabels() : m_parameters.locale.shortStandAloneMonthLabels(), minMonth, maxMonth); document 231 Source/core/html/shadow/DateTimeEditElement.cpp field = DateTimeSymbolicMonthFieldElement::create(document, m_editElement, fieldType == DateTimeFormat::FieldTypeMonth ? m_parameters.locale.monthLabels() : m_parameters.locale.standAloneMonthLabels(), minMonth, maxMonth); document 234 Source/core/html/shadow/DateTimeEditElement.cpp field = DateTimeMonthFieldElement::create(document, m_editElement, m_parameters.placeholderForMonth, DateTimeNumericFieldElement::Range(minMonth + 1, maxMonth + 1)); document 246 Source/core/html/shadow/DateTimeEditElement.cpp RefPtr<DateTimeFieldElement> field = DateTimeAMPMFieldElement::create(document, m_editElement, m_parameters.locale.timeAMPMLabels()); document 257 Source/core/html/shadow/DateTimeEditElement.cpp RefPtr<DateTimeNumericFieldElement> field = DateTimeSecondFieldElement::create(document, m_editElement, m_secondRange, step); document 273 Source/core/html/shadow/DateTimeEditElement.cpp RefPtr<DateTimeNumericFieldElement> field = DateTimeMillisecondFieldElement::create(document, m_editElement, m_millisecondRange, step); document 291 Source/core/html/shadow/DateTimeEditElement.cpp m_editElement.addField(DateTimeWeekFieldElement::create(document, m_editElement, range)); document 316 Source/core/html/shadow/DateTimeEditElement.cpp RefPtr<DateTimeFieldElement> field = DateTimeYearFieldElement::create(document, m_editElement, yearParams); document 404 Source/core/html/shadow/DateTimeEditElement.cpp RefPtr<HTMLDivElement> element = HTMLDivElement::create(m_editElement.document()); document 409 Source/core/html/shadow/DateTimeEditElement.cpp element->appendChild(Text::create(m_editElement.document(), String(&rightToLeftMark, 1))); document 411 Source/core/html/shadow/DateTimeEditElement.cpp element->appendChild(Text::create(m_editElement.document(), text)); document 442 Source/core/html/shadow/DateTimeEditElement.cpp DateTimeEditElement::DateTimeEditElement(Document& document, EditControlOwner& editControlOwner) document 443 Source/core/html/shadow/DateTimeEditElement.cpp : HTMLDivElement(document) document 484 Source/core/html/shadow/DateTimeEditElement.cpp PassRefPtr<DateTimeEditElement> DateTimeEditElement::create(Document& document, EditControlOwner& editControlOwner) document 486 Source/core/html/shadow/DateTimeEditElement.cpp RefPtr<DateTimeEditElement> container = adoptRef(new DateTimeEditElement(document, editControlOwner)); document 576 Source/core/html/shadow/DateTimeEditElement.cpp Element* const focusedFieldElement = document().focusedElement(); document 654 Source/core/html/shadow/DateTimeEditElement.cpp RefPtr<HTMLDivElement> element = HTMLDivElement::create(document()); document 49 Source/core/html/shadow/DateTimeFieldElement.cpp DateTimeFieldElement::DateTimeFieldElement(Document& document, FieldOwner& fieldOwner) document 50 Source/core/html/shadow/DateTimeFieldElement.cpp : HTMLSpanElement(document) document 150 Source/core/html/shadow/DateTimeFieldElement.cpp appendChild(Text::create(document(), visibleValue())); document 175 Source/core/html/shadow/DateTimeFieldElement.cpp return document().getCachedLocale(localeIdentifier()); document 45 Source/core/html/shadow/DateTimeFieldElements.cpp DateTimeAMPMFieldElement::DateTimeAMPMFieldElement(Document& document, FieldOwner& fieldOwner, const Vector<String>& ampmLabels) document 46 Source/core/html/shadow/DateTimeFieldElements.cpp : DateTimeSymbolicFieldElement(document, fieldOwner, ampmLabels, 0, 1) document 50 Source/core/html/shadow/DateTimeFieldElements.cpp PassRefPtr<DateTimeAMPMFieldElement> DateTimeAMPMFieldElement::create(Document& document, FieldOwner& fieldOwner, const Vector<String>& ampmLabels) document 53 Source/core/html/shadow/DateTimeFieldElements.cpp RefPtr<DateTimeAMPMFieldElement> field = adoptRef(new DateTimeAMPMFieldElement(document, fieldOwner, ampmLabels)); document 81 Source/core/html/shadow/DateTimeFieldElements.cpp DateTimeDayFieldElement::DateTimeDayFieldElement(Document& document, FieldOwner& fieldOwner, const String& placeholder, const Range& range) document 82 Source/core/html/shadow/DateTimeFieldElements.cpp : DateTimeNumericFieldElement(document, fieldOwner, range, Range(1, 31), placeholder) document 86 Source/core/html/shadow/DateTimeFieldElements.cpp PassRefPtr<DateTimeDayFieldElement> DateTimeDayFieldElement::create(Document& document, FieldOwner& fieldOwner, const String& placeholder, const Range& range) document 89 Source/core/html/shadow/DateTimeFieldElements.cpp RefPtr<DateTimeDayFieldElement> field = adoptRef(new DateTimeDayFieldElement(document, fieldOwner, placeholder.isEmpty() ? "--" : placeholder, range)); document 122 Source/core/html/shadow/DateTimeFieldElements.cpp DateTimeHourFieldElementBase::DateTimeHourFieldElementBase(Document& document, FieldOwner& fieldOwner, const Range& range, const Range& hardLimits, const Step& step) document 123 Source/core/html/shadow/DateTimeFieldElements.cpp : DateTimeNumericFieldElement(document, fieldOwner, range, hardLimits, "--", step) document 157 Source/core/html/shadow/DateTimeFieldElements.cpp DateTimeHour11FieldElement::DateTimeHour11FieldElement(Document& document, FieldOwner& fieldOwner, const Range& range, const Step& step) document 158 Source/core/html/shadow/DateTimeFieldElements.cpp : DateTimeHourFieldElementBase(document, fieldOwner, range, Range(0, 11), step) document 162 Source/core/html/shadow/DateTimeFieldElements.cpp PassRefPtr<DateTimeHour11FieldElement> DateTimeHour11FieldElement::create(Document& document, FieldOwner& fieldOwner, const Range& hour23Range, const Step& step) document 175 Source/core/html/shadow/DateTimeFieldElements.cpp RefPtr<DateTimeHour11FieldElement> field = adoptRef(new DateTimeHour11FieldElement(document, fieldOwner, range, step)); document 198 Source/core/html/shadow/DateTimeFieldElements.cpp DateTimeHour12FieldElement::DateTimeHour12FieldElement(Document& document, FieldOwner& fieldOwner, const Range& range, const Step& step) document 199 Source/core/html/shadow/DateTimeFieldElements.cpp : DateTimeHourFieldElementBase(document, fieldOwner, range, Range(1, 12), step) document 203 Source/core/html/shadow/DateTimeFieldElements.cpp PassRefPtr<DateTimeHour12FieldElement> DateTimeHour12FieldElement::create(Document& document, FieldOwner& fieldOwner, const Range& hour23Range, const Step& step) document 223 Source/core/html/shadow/DateTimeFieldElements.cpp RefPtr<DateTimeHour12FieldElement> field = adoptRef(new DateTimeHour12FieldElement(document, fieldOwner, range, step)); document 241 Source/core/html/shadow/DateTimeFieldElements.cpp DateTimeHour23FieldElement::DateTimeHour23FieldElement(Document& document, FieldOwner& fieldOwner, const Range& range, const Step& step) document 242 Source/core/html/shadow/DateTimeFieldElements.cpp : DateTimeHourFieldElementBase(document, fieldOwner, range, Range(0, 23), step) document 246 Source/core/html/shadow/DateTimeFieldElements.cpp PassRefPtr<DateTimeHour23FieldElement> DateTimeHour23FieldElement::create(Document& document, FieldOwner& fieldOwner, const Range& hour23Range, const Step& step) document 251 Source/core/html/shadow/DateTimeFieldElements.cpp RefPtr<DateTimeHour23FieldElement> field = adoptRef(new DateTimeHour23FieldElement(document, fieldOwner, hour23Range, step)); document 277 Source/core/html/shadow/DateTimeFieldElements.cpp DateTimeHour24FieldElement::DateTimeHour24FieldElement(Document& document, FieldOwner& fieldOwner, const Range& range, const Step& step) document 278 Source/core/html/shadow/DateTimeFieldElements.cpp : DateTimeHourFieldElementBase(document, fieldOwner, range, Range(1, 24), step) document 282 Source/core/html/shadow/DateTimeFieldElements.cpp PassRefPtr<DateTimeHour24FieldElement> DateTimeHour24FieldElement::create(Document& document, FieldOwner& fieldOwner, const Range& hour23Range, const Step& step) document 293 Source/core/html/shadow/DateTimeFieldElements.cpp RefPtr<DateTimeHour24FieldElement> field = adoptRef(new DateTimeHour24FieldElement(document, fieldOwner, range, step)); document 324 Source/core/html/shadow/DateTimeFieldElements.cpp DateTimeMillisecondFieldElement::DateTimeMillisecondFieldElement(Document& document, FieldOwner& fieldOwner, const Range& range, const Step& step) document 325 Source/core/html/shadow/DateTimeFieldElements.cpp : DateTimeNumericFieldElement(document, fieldOwner, range, Range(0, 999), "---", step) document 329 Source/core/html/shadow/DateTimeFieldElements.cpp PassRefPtr<DateTimeMillisecondFieldElement> DateTimeMillisecondFieldElement::create(Document& document, FieldOwner& fieldOwner, const Range& range, const Step& step) document 332 Source/core/html/shadow/DateTimeFieldElements.cpp RefPtr<DateTimeMillisecondFieldElement> field = adoptRef(new DateTimeMillisecondFieldElement(document, fieldOwner, range, step)); document 365 Source/core/html/shadow/DateTimeFieldElements.cpp DateTimeMinuteFieldElement::DateTimeMinuteFieldElement(Document& document, FieldOwner& fieldOwner, const Range& range, const Step& step) document 366 Source/core/html/shadow/DateTimeFieldElements.cpp : DateTimeNumericFieldElement(document, fieldOwner, range, Range(0, 59), "--", step) document 370 Source/core/html/shadow/DateTimeFieldElements.cpp PassRefPtr<DateTimeMinuteFieldElement> DateTimeMinuteFieldElement::create(Document& document, FieldOwner& fieldOwner, const Range& range, const Step& step) document 373 Source/core/html/shadow/DateTimeFieldElements.cpp RefPtr<DateTimeMinuteFieldElement> field = adoptRef(new DateTimeMinuteFieldElement(document, fieldOwner, range, step)); document 406 Source/core/html/shadow/DateTimeFieldElements.cpp DateTimeMonthFieldElement::DateTimeMonthFieldElement(Document& document, FieldOwner& fieldOwner, const String& placeholder, const Range& range) document 407 Source/core/html/shadow/DateTimeFieldElements.cpp : DateTimeNumericFieldElement(document, fieldOwner, range, Range(1, 12), placeholder) document 411 Source/core/html/shadow/DateTimeFieldElements.cpp PassRefPtr<DateTimeMonthFieldElement> DateTimeMonthFieldElement::create(Document& document, FieldOwner& fieldOwner, const String& placeholder, const Range& range) document 414 Source/core/html/shadow/DateTimeFieldElements.cpp RefPtr<DateTimeMonthFieldElement> field = adoptRef(new DateTimeMonthFieldElement(document, fieldOwner, placeholder.isEmpty() ? "--" : placeholder, range)); document 447 Source/core/html/shadow/DateTimeFieldElements.cpp DateTimeSecondFieldElement::DateTimeSecondFieldElement(Document& document, FieldOwner& fieldOwner, const Range& range, const Step& step) document 448 Source/core/html/shadow/DateTimeFieldElements.cpp : DateTimeNumericFieldElement(document, fieldOwner, range, Range(0, 59), "--", step) document 452 Source/core/html/shadow/DateTimeFieldElements.cpp PassRefPtr<DateTimeSecondFieldElement> DateTimeSecondFieldElement::create(Document& document, FieldOwner& fieldOwner, const Range& range, const Step& step) document 455 Source/core/html/shadow/DateTimeFieldElements.cpp RefPtr<DateTimeSecondFieldElement> field = adoptRef(new DateTimeSecondFieldElement(document, fieldOwner, range, step)); document 488 Source/core/html/shadow/DateTimeFieldElements.cpp DateTimeSymbolicMonthFieldElement::DateTimeSymbolicMonthFieldElement(Document& document, FieldOwner& fieldOwner, const Vector<String>& labels, int minimum, int maximum) document 489 Source/core/html/shadow/DateTimeFieldElements.cpp : DateTimeSymbolicFieldElement(document, fieldOwner, labels, minimum, maximum) document 493 Source/core/html/shadow/DateTimeFieldElements.cpp PassRefPtr<DateTimeSymbolicMonthFieldElement> DateTimeSymbolicMonthFieldElement::create(Document& document, FieldOwner& fieldOwner, const Vector<String>& labels, int minimum, int maximum) document 496 Source/core/html/shadow/DateTimeFieldElements.cpp RefPtr<DateTimeSymbolicMonthFieldElement> field = adoptRef(new DateTimeSymbolicMonthFieldElement(document, fieldOwner, labels, minimum, maximum)); document 532 Source/core/html/shadow/DateTimeFieldElements.cpp DateTimeWeekFieldElement::DateTimeWeekFieldElement(Document& document, FieldOwner& fieldOwner, const Range& range) document 533 Source/core/html/shadow/DateTimeFieldElements.cpp : DateTimeNumericFieldElement(document, fieldOwner, range, Range(DateComponents::minimumWeekNumber, DateComponents::maximumWeekNumber), "--") document 537 Source/core/html/shadow/DateTimeFieldElements.cpp PassRefPtr<DateTimeWeekFieldElement> DateTimeWeekFieldElement::create(Document& document, FieldOwner& fieldOwner, const Range& range) document 540 Source/core/html/shadow/DateTimeFieldElements.cpp RefPtr<DateTimeWeekFieldElement> field = adoptRef(new DateTimeWeekFieldElement(document, fieldOwner, range)); document 573 Source/core/html/shadow/DateTimeFieldElements.cpp DateTimeYearFieldElement::DateTimeYearFieldElement(Document& document, FieldOwner& fieldOwner, const DateTimeYearFieldElement::Parameters& parameters) document 574 Source/core/html/shadow/DateTimeFieldElements.cpp : DateTimeNumericFieldElement(document, fieldOwner, Range(parameters.minimumYear, parameters.maximumYear), Range(DateComponents::minimumYear(), DateComponents::maximumYear()), parameters.placeholder.isEmpty() ? "----" : parameters.placeholder) document 582 Source/core/html/shadow/DateTimeFieldElements.cpp PassRefPtr<DateTimeYearFieldElement> DateTimeYearFieldElement::create(Document& document, FieldOwner& fieldOwner, const DateTimeYearFieldElement::Parameters& parameters) document 585 Source/core/html/shadow/DateTimeFieldElements.cpp RefPtr<DateTimeYearFieldElement> field = adoptRef(new DateTimeYearFieldElement(document, fieldOwner, parameters)); document 52 Source/core/html/shadow/DateTimeNumericFieldElement.cpp DateTimeNumericFieldElement::DateTimeNumericFieldElement(Document& document, FieldOwner& fieldOwner, const Range& range, const Range& hardLimits, const String& placeholder, const DateTimeNumericFieldElement::Step& step) document 53 Source/core/html/shadow/DateTimeNumericFieldElement.cpp : DateTimeFieldElement(document, fieldOwner) document 50 Source/core/html/shadow/DateTimeSymbolicFieldElement.cpp DateTimeSymbolicFieldElement::DateTimeSymbolicFieldElement(Document& document, FieldOwner& fieldOwner, const Vector<String>& symbols, int minimum, int maximum) document 51 Source/core/html/shadow/DateTimeSymbolicFieldElement.cpp : DateTimeFieldElement(document, fieldOwner) document 42 Source/core/html/shadow/DetailsMarkerControl.cpp DetailsMarkerControl::DetailsMarkerControl(Document& document) document 43 Source/core/html/shadow/DetailsMarkerControl.cpp : HTMLDivElement(document) document 53 Source/core/html/shadow/DetailsMarkerControl.h inline PassRefPtr<DetailsMarkerControl> DetailsMarkerControl::create(Document& document) document 55 Source/core/html/shadow/DetailsMarkerControl.h RefPtr<DetailsMarkerControl> element = adoptRef(new DetailsMarkerControl(document)); document 105 Source/core/html/shadow/MediaControlElementTypes.cpp : HTMLDivElement(mediaControls.document()) document 113 Source/core/html/shadow/MediaControlElementTypes.cpp : HTMLInputElement(mediaControls.document(), 0, false) document 351 Source/core/html/shadow/MediaControlElements.cpp if (!inDocument() || !document().isActive()) document 382 Source/core/html/shadow/MediaControlElements.cpp return inDocument() && document().isActive(); document 424 Source/core/html/shadow/MediaControlElements.cpp if (!inDocument() || !document().isActive()) document 439 Source/core/html/shadow/MediaControlElements.cpp if (!inDocument() || !document().isActive()) document 447 Source/core/html/shadow/MediaControlElements.cpp if (!inDocument() || !document().isActive()) document 485 Source/core/html/shadow/MediaControlElements.cpp FullscreenElementStack::from(document()).webkitCancelFullScreen(); document 487 Source/core/html/shadow/MediaControlElements.cpp FullscreenElementStack::from(document()).requestFullScreenForElement(&mediaElement(), 0, FullscreenElementStack::ExemptIFrameAllowFullScreenRequirement); document 651 Source/core/html/shadow/MediaControlElements.cpp if (!document().isActive()) document 49 Source/core/html/shadow/MediaControls.cpp : HTMLDivElement(mediaElement.document()) document 45 Source/core/html/shadow/MeterShadowElement.cpp inline MeterShadowElement::MeterShadowElement(Document& document) document 46 Source/core/html/shadow/MeterShadowElement.cpp : HTMLDivElement(document) document 61 Source/core/html/shadow/MeterShadowElement.cpp inline MeterInnerElement::MeterInnerElement(Document& document) document 62 Source/core/html/shadow/MeterShadowElement.cpp : MeterShadowElement(document) document 66 Source/core/html/shadow/MeterShadowElement.cpp PassRefPtr<MeterInnerElement> MeterInnerElement::create(Document& document) document 68 Source/core/html/shadow/MeterShadowElement.cpp RefPtr<MeterInnerElement> element = adoptRef(new MeterInnerElement(document)); document 87 Source/core/html/shadow/MeterShadowElement.cpp inline MeterBarElement::MeterBarElement(Document& document) document 88 Source/core/html/shadow/MeterShadowElement.cpp : MeterShadowElement(document) document 92 Source/core/html/shadow/MeterShadowElement.cpp PassRefPtr<MeterBarElement> MeterBarElement::create(Document& document) document 94 Source/core/html/shadow/MeterShadowElement.cpp RefPtr<MeterBarElement> element = adoptRef(new MeterBarElement(document)); document 99 Source/core/html/shadow/MeterShadowElement.cpp inline MeterValueElement::MeterValueElement(Document& document) document 100 Source/core/html/shadow/MeterShadowElement.cpp : MeterShadowElement(document) document 104 Source/core/html/shadow/MeterShadowElement.cpp PassRefPtr<MeterValueElement> MeterValueElement::create(Document& document) document 106 Source/core/html/shadow/MeterShadowElement.cpp RefPtr<MeterValueElement> element = adoptRef(new MeterValueElement(document)); document 49 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp PasswordGeneratorButtonElement::PasswordGeneratorButtonElement(Document& document) document 50 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp : HTMLDivElement(document) document 56 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp PassRefPtr<PasswordGeneratorButtonElement> PasswordGeneratorButtonElement::create(Document& document) document 58 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp RefPtr<PasswordGeneratorButtonElement> element = adoptRef(new PasswordGeneratorButtonElement(document)); document 126 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp ASSERT(document().isActive()); document 136 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp document().frameHost()->chrome().client().openPasswordGenerator(input.get()); document 47 Source/core/html/shadow/PickerIndicatorElement.cpp inline PickerIndicatorElement::PickerIndicatorElement(Document& document, PickerIndicatorOwner& pickerIndicatorOwner) document 48 Source/core/html/shadow/PickerIndicatorElement.cpp : HTMLDivElement(document) document 53 Source/core/html/shadow/PickerIndicatorElement.cpp PassRefPtr<PickerIndicatorElement> PickerIndicatorElement::create(Document& document, PickerIndicatorOwner& pickerIndicatorOwner) document 55 Source/core/html/shadow/PickerIndicatorElement.cpp RefPtr<PickerIndicatorElement> element = adoptRef(new PickerIndicatorElement(document, pickerIndicatorOwner)); document 118 Source/core/html/shadow/PickerIndicatorElement.cpp if (!document().page()) document 125 Source/core/html/shadow/PickerIndicatorElement.cpp m_chooser = document().page()->chrome().openDateTimeChooser(this, parameters); document 43 Source/core/html/shadow/ProgressShadowElement.cpp ProgressShadowElement::ProgressShadowElement(Document& document) document 44 Source/core/html/shadow/ProgressShadowElement.cpp : HTMLDivElement(document) document 59 Source/core/html/shadow/ProgressShadowElement.cpp ProgressInnerElement::ProgressInnerElement(Document& document) document 60 Source/core/html/shadow/ProgressShadowElement.cpp : ProgressShadowElement(document) document 78 Source/core/html/shadow/ProgressShadowElement.cpp ProgressBarElement::ProgressBarElement(Document& document) document 79 Source/core/html/shadow/ProgressShadowElement.cpp : ProgressShadowElement(document) document 83 Source/core/html/shadow/ProgressShadowElement.cpp ProgressValueElement::ProgressValueElement(Document& document) document 84 Source/core/html/shadow/ProgressShadowElement.cpp : ProgressShadowElement(document) document 62 Source/core/html/shadow/ProgressShadowElement.h inline PassRefPtr<ProgressInnerElement> ProgressInnerElement::create(Document& document) document 64 Source/core/html/shadow/ProgressShadowElement.h return adoptRef(new ProgressInnerElement(document)); document 75 Source/core/html/shadow/ProgressShadowElement.h inline PassRefPtr<ProgressBarElement> ProgressBarElement::create(Document& document) document 77 Source/core/html/shadow/ProgressShadowElement.h return adoptRef(new ProgressBarElement(document)); document 89 Source/core/html/shadow/ProgressShadowElement.h inline PassRefPtr<ProgressValueElement> ProgressValueElement::create(Document& document) document 91 Source/core/html/shadow/ProgressShadowElement.h return adoptRef(new ProgressValueElement(document)); document 195 Source/core/html/shadow/SliderThumbElement.cpp inline SliderThumbElement::SliderThumbElement(Document& document) document 196 Source/core/html/shadow/SliderThumbElement.cpp : HTMLDivElement(document) document 201 Source/core/html/shadow/SliderThumbElement.cpp PassRefPtr<SliderThumbElement> SliderThumbElement::create(Document& document) document 203 Source/core/html/shadow/SliderThumbElement.cpp RefPtr<SliderThumbElement> element = adoptRef(new SliderThumbElement(document)); document 309 Source/core/html/shadow/SliderThumbElement.cpp if (LocalFrame* frame = document().frame()) { document 320 Source/core/html/shadow/SliderThumbElement.cpp if (LocalFrame* frame = document().frame()) document 388 Source/core/html/shadow/SliderThumbElement.cpp if (LocalFrame* frame = document().frame()) document 435 Source/core/html/shadow/SliderThumbElement.cpp inline SliderContainerElement::SliderContainerElement(Document& document) document 436 Source/core/html/shadow/SliderThumbElement.cpp : HTMLDivElement(document) document 440 Source/core/html/shadow/SliderThumbElement.cpp PassRefPtr<SliderContainerElement> SliderContainerElement::create(Document& document) document 442 Source/core/html/shadow/SliderThumbElement.cpp return adoptRef(new SliderContainerElement(document)); document 78 Source/core/html/shadow/SliderThumbElement.h return create(document()); document 45 Source/core/html/shadow/SpinButtonElement.cpp inline SpinButtonElement::SpinButtonElement(Document& document, SpinButtonOwner& spinButtonOwner) document 46 Source/core/html/shadow/SpinButtonElement.cpp : HTMLDivElement(document) document 55 Source/core/html/shadow/SpinButtonElement.cpp PassRefPtr<SpinButtonElement> SpinButtonElement::create(Document& document, SpinButtonOwner& spinButtonOwner) document 57 Source/core/html/shadow/SpinButtonElement.cpp RefPtr<SpinButtonElement> element = adoptRef(new SpinButtonElement(document, spinButtonOwner)); document 118 Source/core/html/shadow/SpinButtonElement.cpp if (LocalFrame* frame = document().frame()) { document 121 Source/core/html/shadow/SpinButtonElement.cpp if (Page* page = document().page()) document 194 Source/core/html/shadow/SpinButtonElement.cpp if (LocalFrame* frame = document().frame()) { document 197 Source/core/html/shadow/SpinButtonElement.cpp if (Page* page = document().page()) document 50 Source/core/html/shadow/TextControlInnerElements.cpp TextControlInnerContainer::TextControlInnerContainer(Document& document) document 51 Source/core/html/shadow/TextControlInnerElements.cpp : HTMLDivElement(document) document 55 Source/core/html/shadow/TextControlInnerElements.cpp PassRefPtr<TextControlInnerContainer> TextControlInnerContainer::create(Document& document) document 57 Source/core/html/shadow/TextControlInnerElements.cpp RefPtr<TextControlInnerContainer> element = adoptRef(new TextControlInnerContainer(document)); document 69 Source/core/html/shadow/TextControlInnerElements.cpp EditingViewPortElement::EditingViewPortElement(Document& document) document 70 Source/core/html/shadow/TextControlInnerElements.cpp : HTMLDivElement(document) document 75 Source/core/html/shadow/TextControlInnerElements.cpp PassRefPtr<EditingViewPortElement> EditingViewPortElement::create(Document& document) document 77 Source/core/html/shadow/TextControlInnerElements.cpp RefPtr<EditingViewPortElement> element = adoptRef(new EditingViewPortElement(document)); document 103 Source/core/html/shadow/TextControlInnerElements.cpp inline TextControlInnerTextElement::TextControlInnerTextElement(Document& document) document 104 Source/core/html/shadow/TextControlInnerElements.cpp : HTMLDivElement(document) document 109 Source/core/html/shadow/TextControlInnerElements.cpp PassRefPtr<TextControlInnerTextElement> TextControlInnerTextElement::create(Document& document) document 111 Source/core/html/shadow/TextControlInnerElements.cpp RefPtr<TextControlInnerTextElement> element = adoptRef(new TextControlInnerTextElement(document)); document 151 Source/core/html/shadow/TextControlInnerElements.cpp inline SearchFieldDecorationElement::SearchFieldDecorationElement(Document& document) document 152 Source/core/html/shadow/TextControlInnerElements.cpp : HTMLDivElement(document) document 156 Source/core/html/shadow/TextControlInnerElements.cpp PassRefPtr<SearchFieldDecorationElement> SearchFieldDecorationElement::create(Document& document) document 158 Source/core/html/shadow/TextControlInnerElements.cpp RefPtr<SearchFieldDecorationElement> element = adoptRef(new SearchFieldDecorationElement(document)); document 199 Source/core/html/shadow/TextControlInnerElements.cpp inline SearchFieldCancelButtonElement::SearchFieldCancelButtonElement(Document& document) document 200 Source/core/html/shadow/TextControlInnerElements.cpp : HTMLDivElement(document) document 205 Source/core/html/shadow/TextControlInnerElements.cpp PassRefPtr<SearchFieldCancelButtonElement> SearchFieldCancelButtonElement::create(Document& document) document 207 Source/core/html/shadow/TextControlInnerElements.cpp RefPtr<SearchFieldCancelButtonElement> element = adoptRef(new SearchFieldCancelButtonElement(document)); document 216 Source/core/html/shadow/TextControlInnerElements.cpp if (LocalFrame* frame = document().frame()) document 257 Source/core/html/shadow/TextControlInnerElements.cpp inline InputFieldSpeechButtonElement::InputFieldSpeechButtonElement(Document& document) document 258 Source/core/html/shadow/TextControlInnerElements.cpp : HTMLDivElement(document) document 275 Source/core/html/shadow/TextControlInnerElements.cpp PassRefPtr<InputFieldSpeechButtonElement> InputFieldSpeechButtonElement::create(Document& document) document 277 Source/core/html/shadow/TextControlInnerElements.cpp RefPtr<InputFieldSpeechButtonElement> element = adoptRef(new InputFieldSpeechButtonElement(document)); document 305 Source/core/html/shadow/TextControlInnerElements.cpp if (LocalFrame* frame = document().frame()) { document 318 Source/core/html/shadow/TextControlInnerElements.cpp if (LocalFrame* frame = document().frame()) { document 363 Source/core/html/shadow/TextControlInnerElements.cpp return SpeechInput::from(document().page()); document 388 Source/core/html/shadow/TextControlInnerElements.cpp if (document().domWindow()) { document 393 Source/core/html/shadow/TextControlInnerElements.cpp input->dispatchEvent(TextEvent::create(document().domWindow(), results.isEmpty() ? "" : results[0]->utterance(), TextEventInputOther)); document 409 Source/core/html/shadow/TextControlInnerElements.cpp if (SpeechInput* input = SpeechInput::from(document().page())) document 417 Source/core/html/shadow/TextControlInnerElements.cpp if (LocalFrame* frame = document().frame()) document 439 Source/core/html/shadow/TextControlInnerElements.cpp IntRect rect = document().view()->contentsToRootView(pixelSnappedBoundingBox()); document 440 Source/core/html/shadow/TextControlInnerElements.cpp if (speechInput()->startRecognition(m_listenerId, rect, language, grammar, document().securityOrigin())) document 41 Source/core/html/track/InbandTextTrack.cpp PassRefPtr<InbandTextTrack> InbandTextTrack::create(Document& document, WebInbandTextTrack* webTrack) document 43 Source/core/html/track/InbandTextTrack.cpp return adoptRef(new InbandTextTrack(document, webTrack)); document 46 Source/core/html/track/InbandTextTrack.cpp InbandTextTrack::InbandTextTrack(Document& document, WebInbandTextTrack* webTrack) document 47 Source/core/html/track/InbandTextTrack.cpp : TextTrack(document, emptyAtom, webTrack->label(), webTrack->language(), webTrack->id(), InBand) document 100 Source/core/html/track/InbandTextTrack.cpp RefPtr<VTTCue> cue = VTTCue::create(document(), start, end, content); document 40 Source/core/html/track/LoadableTextTrack.cpp : TextTrack(track->document(), emptyAtom, emptyAtom, emptyAtom, emptyAtom, TrackElement) document 105 Source/core/html/track/LoadableTextTrack.cpp m_loader = TextTrackLoader::create(*this, m_trackElement->document()); document 98 Source/core/html/track/TextTrack.cpp TextTrack::TextTrack(Document& document, const AtomicString& kind, const AtomicString& label, const AtomicString& language, const AtomicString& id, TextTrackType type) document 102 Source/core/html/track/TextTrack.cpp , m_document(&document) document 50 Source/core/html/track/TextTrack.h static PassRefPtr<TextTrack> create(Document& document, const AtomicString& kind, const AtomicString& label, const AtomicString& language) document 52 Source/core/html/track/TextTrack.h return adoptRef(new TextTrack(document, kind, label, language, emptyAtom, AddTrack)); document 113 Source/core/html/track/TextTrack.h Document& document() const { return *m_document; } document 129 Source/core/html/track/vtt/VTTCue.cpp VTTCueBox::VTTCueBox(Document& document, VTTCue* cue) document 130 Source/core/html/track/vtt/VTTCue.cpp : HTMLDivElement(document) document 204 Source/core/html/track/vtt/VTTCue.cpp VTTCue::VTTCue(Document& document, double startTime, double endTime, const String& text) document 214 Source/core/html/track/vtt/VTTCue.cpp , m_cueBackgroundBox(HTMLDivElement::create(document)) document 239 Source/core/html/track/vtt/VTTCue.cpp m_displayTree = VTTCueBox::create(document(), this); document 419 Source/core/html/track/vtt/VTTCue.cpp m_vttNodeTree = VTTParser::createDocumentFragmentFromCueText(document(), m_text); document 427 Source/core/html/track/vtt/VTTCue.cpp clonedNode = toVTTElement(node)->createEquivalentHTMLElement(document()); document 439 Source/core/html/track/vtt/VTTCue.cpp RefPtr<DocumentFragment> clonedFragment = DocumentFragment::create(document()); document 448 Source/core/html/track/vtt/VTTCue.cpp clonedFragment = DocumentFragment::create(document()); document 789 Source/core/html/track/vtt/VTTCue.cpp RefPtr<HTMLDivElement> regionNode = region->getDisplayTree(document()); document 1071 Source/core/html/track/vtt/VTTCue.cpp return m_cueBackgroundBox->document(); document 45 Source/core/html/track/vtt/VTTCue.h static PassRefPtr<VTTCueBox> create(Document& document, VTTCue* cue) document 47 Source/core/html/track/vtt/VTTCue.h return adoptRef(new VTTCueBox(document, cue)); document 63 Source/core/html/track/vtt/VTTCue.h static PassRefPtr<VTTCue> create(Document& document, double startTime, double endTime, const String& text) document 65 Source/core/html/track/vtt/VTTCue.h return adoptRef(new VTTCue(document, startTime, endTime, text)); document 143 Source/core/html/track/vtt/VTTCue.h Document& document() const; document 67 Source/core/html/track/vtt/VTTElement.cpp VTTElement::VTTElement(VTTNodeType nodeType, Document* document) document 68 Source/core/html/track/vtt/VTTElement.cpp : Element(nodeTypeToTagName(nodeType), document, CreateElement) document 74 Source/core/html/track/vtt/VTTElement.cpp PassRefPtr<VTTElement> VTTElement::create(VTTNodeType nodeType, Document* document) document 76 Source/core/html/track/vtt/VTTElement.cpp return adoptRef(new VTTElement(nodeType, document)); document 81 Source/core/html/track/vtt/VTTElement.cpp RefPtr<VTTElement> clone = create(static_cast<VTTNodeType>(m_webVTTNodeType), &document()); document 86 Source/core/html/track/vtt/VTTElement.cpp PassRefPtr<HTMLElement> VTTElement::createEquivalentHTMLElement(Document& document) document 93 Source/core/html/track/vtt/VTTElement.cpp htmlElement = HTMLElementFactory::createHTMLElement(HTMLNames::spanTag.localName(), document); document 98 Source/core/html/track/vtt/VTTElement.cpp htmlElement = HTMLElementFactory::createHTMLElement(HTMLNames::iTag.localName(), document); document 101 Source/core/html/track/vtt/VTTElement.cpp htmlElement = HTMLElementFactory::createHTMLElement(HTMLNames::bTag.localName(), document); document 104 Source/core/html/track/vtt/VTTElement.cpp htmlElement = HTMLElementFactory::createHTMLElement(HTMLNames::uTag.localName(), document); document 107 Source/core/html/track/vtt/VTTElement.cpp htmlElement = HTMLElementFactory::createHTMLElement(HTMLNames::rubyTag.localName(), document); document 110 Source/core/html/track/vtt/VTTElement.cpp htmlElement = HTMLElementFactory::createHTMLElement(HTMLNames::rtTag.localName(), document); document 82 Source/core/html/track/vtt/VTTParser.cpp VTTParser::VTTParser(VTTParserClient* client, Document& document) document 83 Source/core/html/track/vtt/VTTParser.cpp : m_document(&document) document 320 Source/core/html/track/vtt/VTTParser.cpp VTTTreeBuilder(Document& document) document 321 Source/core/html/track/vtt/VTTParser.cpp : m_document(document) { } document 358 Source/core/html/track/vtt/VTTParser.cpp PassRefPtr<DocumentFragment> VTTParser::createDocumentFragmentFromCueText(Document& document, const String& cueText) document 360 Source/core/html/track/vtt/VTTParser.cpp VTTTreeBuilder treeBuilder(document); document 485 Source/core/html/track/vtt/VTTParser.cpp void VTTTreeBuilder::constructTreeFromToken(Document& document) document 491 Source/core/html/track/vtt/VTTParser.cpp RefPtr<Text> child = Text::create(document, m_token.characters()); document 505 Source/core/html/track/vtt/VTTParser.cpp RefPtr<VTTElement> child = VTTElement::create(nodeType, &document); document 552 Source/core/html/track/vtt/VTTParser.cpp m_currentNode->parserAppendChild(ProcessingInstruction::create(document, "timestamp", charactersString)); document 70 Source/core/html/track/vtt/VTTParser.h static PassOwnPtr<VTTParser> create(VTTParserClient* client, Document& document) document 72 Source/core/html/track/vtt/VTTParser.h return adoptPtr(new VTTParser(client, document)); document 325 Source/core/html/track/vtt/VTTRegion.cpp PassRefPtr<HTMLDivElement> VTTRegion::getDisplayTree(Document& document) document 328 Source/core/html/track/vtt/VTTRegion.cpp m_regionDisplayTree = HTMLDivElement::create(document); document 435 Source/core/html/track/vtt/VTTRegion.cpp m_cueContainer = HTMLDivElement::create(m_regionDisplayTree->document()); document 69 Source/core/inspector/DOMPatchSupport.cpp void DOMPatchSupport::patchDocument(Document& document, const String& markup) document 73 Source/core/inspector/DOMPatchSupport.cpp DOMPatchSupport patchSupport(&domEditor, document); document 77 Source/core/inspector/DOMPatchSupport.cpp DOMPatchSupport::DOMPatchSupport(DOMEditor* domEditor, Document& document) document 79 Source/core/inspector/DOMPatchSupport.cpp , m_document(document) document 506 Source/core/inspector/DOMPatchSupport.cpp if (node->document().isXHTMLDocument()) document 151 Source/core/inspector/InspectorCSSAgent.cpp Document* document = styleSheet->ownerDocument(); document 153 Source/core/inspector/InspectorCSSAgent.cpp ResourcePtr<Resource> resource = document->fetcher()->fetchCSSStyleSheet(request); document 477 Source/core/inspector/InspectorCSSAgent.cpp Document* document = styleSheet->ownerDocument(); document 478 Source/core/inspector/InspectorCSSAgent.cpp if (!document) document 480 Source/core/inspector/InspectorCSSAgent.cpp Resource* cachedResource = document->fetcher()->cachedResource(document->completeURL(url)); document 562 Source/core/inspector/InspectorCSSAgent.cpp void InspectorCSSAgent::activeStyleSheetsUpdated(Document* document) document 566 Source/core/inspector/InspectorCSSAgent.cpp m_invalidatedDocuments.add(document); document 571 Source/core/inspector/InspectorCSSAgent.cpp void InspectorCSSAgent::updateActiveStyleSheets(Document* document, StyleSheetsUpdateType styleSheetsUpdateType) document 574 Source/core/inspector/InspectorCSSAgent.cpp collectAllDocumentStyleSheets(document, newSheetsVector); document 575 Source/core/inspector/InspectorCSSAgent.cpp setActiveStyleSheets(document, newSheetsVector, styleSheetsUpdateType); document 578 Source/core/inspector/InspectorCSSAgent.cpp void InspectorCSSAgent::setActiveStyleSheets(Document* document, const Vector<CSSStyleSheet*>& allSheetsVector, StyleSheetsUpdateType styleSheetsUpdateType) document 582 Source/core/inspector/InspectorCSSAgent.cpp HashSet<CSSStyleSheet*>* documentCSSStyleSheets = m_documentToCSSStyleSheets.get(document); document 586 Source/core/inspector/InspectorCSSAgent.cpp m_documentToCSSStyleSheets.set(document, documentCSSStyleSheetsPtr.release()); document 628 Source/core/inspector/InspectorCSSAgent.cpp m_documentToCSSStyleSheets.remove(document); document 631 Source/core/inspector/InspectorCSSAgent.cpp void InspectorCSSAgent::documentDetached(Document* document) document 633 Source/core/inspector/InspectorCSSAgent.cpp m_invalidatedDocuments.remove(document); document 634 Source/core/inspector/InspectorCSSAgent.cpp setActiveStyleSheets(document, Vector<CSSStyleSheet*>(), ExistingFrontendRefresh); document 933 Source/core/inspector/InspectorCSSAgent.cpp Document* document = frame->document(); document 934 Source/core/inspector/InspectorCSSAgent.cpp if (!document) { document 939 Source/core/inspector/InspectorCSSAgent.cpp InspectorStyleSheet* inspectorStyleSheet = viaInspectorStyleSheet(document, true); document 945 Source/core/inspector/InspectorCSSAgent.cpp updateActiveStyleSheets(document, ExistingFrontendRefresh); document 1136 Source/core/inspector/InspectorCSSAgent.cpp void InspectorCSSAgent::collectAllDocumentStyleSheets(Document* document, Vector<CSSStyleSheet*>& result) document 1138 Source/core/inspector/InspectorCSSAgent.cpp const WillBeHeapVector<RefPtrWillBeMember<StyleSheet> > activeStyleSheets = document->styleEngine()->activeStyleSheetsForInspector(); document 1164 Source/core/inspector/InspectorCSSAgent.cpp Document* document = styleSheet->ownerDocument(); document 1165 Source/core/inspector/InspectorCSSAgent.cpp inspectorStyleSheet = InspectorStyleSheet::create(m_pageAgent, m_resourceAgent, id, styleSheet, detectOrigin(styleSheet, document), InspectorDOMAgent::documentURLString(document), this); document 1169 Source/core/inspector/InspectorCSSAgent.cpp m_documentToViaInspectorStyleSheet.add(document, inspectorStyleSheet); document 1183 Source/core/inspector/InspectorCSSAgent.cpp InspectorStyleSheet* InspectorCSSAgent::viaInspectorStyleSheet(Document* document, bool createIfAbsent) document 1185 Source/core/inspector/InspectorCSSAgent.cpp if (!document) { document 1190 Source/core/inspector/InspectorCSSAgent.cpp if (!document->isHTMLDocument() && !document->isSVGDocument()) document 1193 Source/core/inspector/InspectorCSSAgent.cpp RefPtr<InspectorStyleSheet> inspectorStyleSheet = m_documentToViaInspectorStyleSheet.get(document); document 1198 Source/core/inspector/InspectorCSSAgent.cpp RefPtr<Element> styleElement = document->createElement("style", exceptionState); document 1204 Source/core/inspector/InspectorCSSAgent.cpp if (document->head()) document 1205 Source/core/inspector/InspectorCSSAgent.cpp targetNode = document->head(); document 1206 Source/core/inspector/InspectorCSSAgent.cpp else if (document->body()) document 1207 Source/core/inspector/InspectorCSSAgent.cpp targetNode = document->body(); document 1211 Source/core/inspector/InspectorCSSAgent.cpp InlineStyleOverrideScope overrideScope(document); document 1221 Source/core/inspector/InspectorCSSAgent.cpp return m_documentToViaInspectorStyleSheet.get(document); document 1343 Source/core/inspector/InspectorCSSAgent.cpp void InspectorCSSAgent::didRemoveDocument(Document* document) document 1345 Source/core/inspector/InspectorCSSAgent.cpp if (document) document 1346 Source/core/inspector/InspectorCSSAgent.cpp m_documentToViaInspectorStyleSheet.remove(document); document 273 Source/core/inspector/InspectorCanvasAgent.cpp if (!isHTMLCanvasElement(*node) || !node->document().frame()) document 276 Source/core/inspector/InspectorCanvasAgent.cpp LocalFrame* frame = node->document().frame(); document 307 Source/core/inspector/InspectorController.cpp Document* document = node->ownerDocument(); document 308 Source/core/inspector/InspectorController.cpp if (!document) document 310 Source/core/inspector/InspectorController.cpp LocalFrame* frame = document->frame(); document 254 Source/core/inspector/InspectorDOMAgent.cpp m_document = m_pageAgent->mainFrame()->document(); document 278 Source/core/inspector/InspectorDOMAgent.cpp setDocument(m_pageAgent->mainFrame()->document()); document 285 Source/core/inspector/InspectorDOMAgent.cpp Document* document = frame->document(); document 286 Source/core/inspector/InspectorDOMAgent.cpp if (!document) document 288 Source/core/inspector/InspectorDOMAgent.cpp result.append(document); document 547 Source/core/inspector/InspectorDOMAgent.cpp Document* document = assertDocument(errorString, documentNodeId); document 548 Source/core/inspector/InspectorDOMAgent.cpp if (!document) document 550 Source/core/inspector/InspectorDOMAgent.cpp if (nodeToPush->document() != document) { document 723 Source/core/inspector/InspectorDOMAgent.cpp RefPtr<DocumentFragment> fragment = element->document().createDocumentFragment(); document 725 Source/core/inspector/InspectorDOMAgent.cpp bool shouldIgnoreCase = element->document().isHTMLDocument() && element->isHTMLElement(); document 727 Source/core/inspector/InspectorDOMAgent.cpp if (shouldIgnoreCase && element->document().body()) document 728 Source/core/inspector/InspectorDOMAgent.cpp fragment->parseHTML(markup, element->document().body(), AllowScriptingContent); document 795 Source/core/inspector/InspectorDOMAgent.cpp RefPtr<Element> newElem = oldNode->document().createElement(AtomicString(tagName), exceptionState); document 843 Source/core/inspector/InspectorDOMAgent.cpp Document* document = node->isDocumentNode() ? toDocument(node) : node->ownerDocument(); document 844 Source/core/inspector/InspectorDOMAgent.cpp if (!document || (!document->isHTMLDocument() && !document->isXMLDocument())) { document 977 Source/core/inspector/InspectorDOMAgent.cpp Document* document = *it; document 978 Source/core/inspector/InspectorDOMAgent.cpp Node* node = document->documentElement(); document 983 Source/core/inspector/InspectorDOMAgent.cpp while ((node = NodeTraversal::next(*node, document->documentElement()))) { document 1031 Source/core/inspector/InspectorDOMAgent.cpp Document* document = *it; document 1032 Source/core/inspector/InspectorDOMAgent.cpp ASSERT(document); document 1034 Source/core/inspector/InspectorDOMAgent.cpp RefPtrWillBeRawPtr<XPathResult> result = DocumentXPathEvaluator::evaluate(*document, whitespaceTrimmedQuery, document, nullptr, XPathResult::ORDERED_NODE_SNAPSHOT_TYPE, 0, exceptionState); document 1052 Source/core/inspector/InspectorDOMAgent.cpp Document* document = *it; document 1054 Source/core/inspector/InspectorDOMAgent.cpp RefPtr<NodeList> nodeList = document->querySelectorAll(AtomicString(whitespaceTrimmedQuery), exceptionState); document 1349 Source/core/inspector/InspectorDOMAgent.cpp element->document().updateLayoutIgnorePendingStylesheets(); document 1407 Source/core/inspector/InspectorDOMAgent.cpp LocalFrame* frame = node->document().frame(); document 1471 Source/core/inspector/InspectorDOMAgent.cpp String InspectorDOMAgent::documentURLString(Document* document) document 1473 Source/core/inspector/InspectorDOMAgent.cpp if (!document || document->url().isNull()) document 1475 Source/core/inspector/InspectorDOMAgent.cpp return document->url().string(); document 1478 Source/core/inspector/InspectorDOMAgent.cpp static String documentBaseURLString(Document* document) document 1480 Source/core/inspector/InspectorDOMAgent.cpp return document->completeURL("").string(); document 1581 Source/core/inspector/InspectorDOMAgent.cpp Document* document = toDocument(node); document 1582 Source/core/inspector/InspectorDOMAgent.cpp value->setDocumentURL(documentURLString(document)); document 1583 Source/core/inspector/InspectorDOMAgent.cpp value->setBaseURL(documentBaseURLString(document)); document 1584 Source/core/inspector/InspectorDOMAgent.cpp value->setXmlVersion(document->xmlVersion()); document 1659 Source/core/inspector/InspectorDOMAgent.cpp if (!eventListenerHandlerLocation(&node->document(), eventListener.get(), sourceName, scriptId, lineNumber)) document 1662 Source/core/inspector/InspectorDOMAgent.cpp Document& document = node->document(); document 1671 Source/core/inspector/InspectorDOMAgent.cpp .setHandlerBody(eventListenerHandlerBody(&document, eventListener.get())) document 1674 Source/core/inspector/InspectorDOMAgent.cpp ScriptValue functionValue = eventListenerHandler(&document, eventListener.get()); document 1676 Source/core/inspector/InspectorDOMAgent.cpp LocalFrame* frame = document.frame(); document 1745 Source/core/inspector/InspectorDOMAgent.cpp Document* document = toDocument(node); document 1746 Source/core/inspector/InspectorDOMAgent.cpp HTMLImportChild* importChild = toHTMLImportChild(document->import()); document 1749 Source/core/inspector/InspectorDOMAgent.cpp return document->ownerElement(); document 1773 Source/core/inspector/InspectorDOMAgent.cpp Element* frameOwner = frame->document()->ownerElement(); document 1803 Source/core/inspector/InspectorDOMAgent.cpp setDocument(mainFrame->document()); document 1962 Source/core/inspector/InspectorDOMAgent.cpp Document* document = frame->document(); document 1963 Source/core/inspector/InspectorDOMAgent.cpp if (!document) document 1973 Source/core/inspector/InspectorDOMAgent.cpp setDocument(document); document 2101 Source/core/inspector/InspectorDOMAgent.cpp Document* document = node->isDocumentNode() ? &node->document() : node->ownerDocument(); document 2102 Source/core/inspector/InspectorDOMAgent.cpp LocalFrame* frame = document ? document->frame() : 0; document 215 Source/core/inspector/InspectorDOMStorageAgent.cpp return StorageNamespace::localStorageArea(frame->document()->securityOrigin()); document 216 Source/core/inspector/InspectorDOMStorageAgent.cpp return m_pageAgent->page()->sessionStorage()->storageArea(frame->document()->securityOrigin()); document 697 Source/core/inspector/InspectorDebuggerAgent.cpp void InspectorDebuggerAgent::didRequestAnimationFrame(Document* document, int callbackId) document 700 Source/core/inspector/InspectorDebuggerAgent.cpp m_asyncCallStackTracker.didRequestAnimationFrame(document, callbackId, scriptDebugServer().currentCallFramesForAsyncStack()); document 703 Source/core/inspector/InspectorDebuggerAgent.cpp void InspectorDebuggerAgent::didCancelAnimationFrame(Document* document, int callbackId) document 706 Source/core/inspector/InspectorDebuggerAgent.cpp m_asyncCallStackTracker.didCancelAnimationFrame(document, callbackId); document 709 Source/core/inspector/InspectorDebuggerAgent.cpp bool InspectorDebuggerAgent::willFireAnimationFrame(Document* document, int callbackId) document 712 Source/core/inspector/InspectorDebuggerAgent.cpp m_asyncCallStackTracker.willFireAnimationFrame(document, callbackId); document 74 Source/core/inspector/InspectorInspectorAgent.cpp String origin = frame->document()->securityOrigin()->toRawString(); document 157 Source/core/inspector/InspectorInstrumentation.h inline InstrumentingAgents* instrumentingAgentsFor(Document& document) document 159 Source/core/inspector/InspectorInstrumentation.h Page* page = document.page(); document 160 Source/core/inspector/InspectorInstrumentation.h if (!page && document.templateDocumentHost()) document 161 Source/core/inspector/InspectorInstrumentation.h page = document.templateDocumentHost()->page(); document 165 Source/core/inspector/InspectorInstrumentation.h inline InstrumentingAgents* instrumentingAgentsFor(Document* document) document 167 Source/core/inspector/InspectorInstrumentation.h return document ? instrumentingAgentsFor(*document) : 0; document 177 Source/core/inspector/InspectorInstrumentation.h return node ? instrumentingAgentsFor(node->document()) : 0; document 141 Source/core/inspector/InspectorOverlay.cpp LocalFrame* containingFrame = node->document().frame(); document 216 Source/core/inspector/InspectorOverlay.cpp LocalFrame* containingFrame = node->document().frame(); document 302 Source/core/inspector/InspectorOverlay.cpp overlayPage()->mainFrame()->document()->updateLayout(); document 431 Source/core/inspector/InspectorOverlay.cpp overlayPage()->mainFrame()->document()->setNeedsStyleRecalc(SubtreeStyleChange); document 432 Source/core/inspector/InspectorOverlay.cpp overlayPage()->mainFrame()->document()->updateLayout(); document 509 Source/core/inspector/InspectorOverlay.cpp if (node->isElementNode() && m_nodeHighlightConfig.showInfo && node->renderer() && node->document().frame()) { document 518 Source/core/inspector/InspectorOverlay.cpp bool isXHTML = realElement->document().isXHTMLDocument(); document 544 Source/core/inspector/InspectorOverlay.cpp LocalFrame* containingFrame = node->document().frame(); document 266 Source/core/inspector/InspectorPageAgent.cpp Resource* cachedResource = frame->document()->fetcher()->cachedResource(url); document 484 Source/core/inspector/InspectorPageAgent.cpp FrameLoadRequest request(frame->document(), ResourceRequest(frame->document()->completeURL(url))); document 515 Source/core/inspector/InspectorPageAgent.cpp static void cachedResourcesForDocument(Document* document, Vector<Resource*>& result) document 517 Source/core/inspector/InspectorPageAgent.cpp const ResourceFetcher::DocumentResourceMap& allResources = document->fetcher()->allResources(); document 545 Source/core/inspector/InspectorPageAgent.cpp Document* rootDocument = frame->document(); document 550 Source/core/inspector/InspectorPageAgent.cpp if (Document* document = import->document()) document 551 Source/core/inspector/InspectorPageAgent.cpp cachedResourcesForDocument(document, result); document 564 Source/core/inspector/InspectorPageAgent.cpp Document* rootDocument = frame->document(); document 569 Source/core/inspector/InspectorPageAgent.cpp if (import->ownsLoader() && import->document()) document 595 Source/core/inspector/InspectorPageAgent.cpp Document* document = frame->document(); document 599 Source/core/inspector/InspectorPageAgent.cpp getRawCookies(document, *it, docCookiesList); document 615 Source/core/inspector/InspectorPageAgent.cpp WebCore::deleteCookie(frame->document(), parsedURL, cookieName); document 677 Source/core/inspector/InspectorPageAgent.cpp Document* document = frame->document(); document 678 Source/core/inspector/InspectorPageAgent.cpp if (!document) { document 682 Source/core/inspector/InspectorPageAgent.cpp DOMPatchSupport::patchDocument(*document, html); document 930 Source/core/inspector/InspectorPageAgent.cpp RefPtr<SecurityOrigin> documentOrigin = frame->document()->securityOrigin(); document 1074 Source/core/inspector/InspectorPageAgent.cpp .setUrl(urlWithoutFragment(frame->document()->url()).string()) document 1076 Source/core/inspector/InspectorPageAgent.cpp .setSecurityOrigin(frame->document()->securityOrigin()->toRawString()); document 1118 Source/core/inspector/InspectorPageAgent.cpp .setMimeType(import->document()->suggestedMIMEType()); document 1143 Source/core/inspector/InspectorPageAgent.cpp Document* document = mainFrame()->document(); document 1144 Source/core/inspector/InspectorPageAgent.cpp if (document) { document 1145 Source/core/inspector/InspectorPageAgent.cpp document->styleResolverChanged(RecalcStyleImmediately); document 1146 Source/core/inspector/InspectorPageAgent.cpp document->mediaQueryAffectingValueChanged(); document 1148 Source/core/inspector/InspectorPageAgent.cpp InspectorInstrumentation::mediaQueryResultChanged(document); document 1181 Source/core/inspector/InspectorPageAgent.cpp Document* document = 0; document 1183 Source/core/inspector/InspectorPageAgent.cpp document = m_page->mainFrame()->document(); document 1184 Source/core/inspector/InspectorPageAgent.cpp if (document) { document 1185 Source/core/inspector/InspectorPageAgent.cpp document->mediaQueryAffectingValueChanged(); document 1186 Source/core/inspector/InspectorPageAgent.cpp document->styleResolverChanged(RecalcStyleImmediately); document 1187 Source/core/inspector/InspectorPageAgent.cpp document->updateLayout(); document 324 Source/core/inspector/InspectorResourceAgent.cpp RefPtr<TypeBuilder::Network::Initiator> initiatorObject = buildInitiatorObject(loader->frame() ? loader->frame()->document() : 0, initiatorInfo); document 325 Source/core/inspector/InspectorResourceAgent.cpp if (initiatorInfo.name == FetchInitiatorTypeNames::document) { document 502 Source/core/inspector/InspectorResourceAgent.cpp void InspectorResourceAgent::didScheduleStyleRecalculation(Document* document) document 505 Source/core/inspector/InspectorResourceAgent.cpp m_styleRecalculationInitiator = buildInitiatorObject(document, FetchInitiatorInfo()); document 508 Source/core/inspector/InspectorResourceAgent.cpp PassRefPtr<TypeBuilder::Network::Initiator> InspectorResourceAgent::buildInitiatorObject(Document* document, const FetchInitiatorInfo& initiatorInfo) document 518 Source/core/inspector/InspectorResourceAgent.cpp if (document && document->scriptableDocumentParser()) { document 521 Source/core/inspector/InspectorResourceAgent.cpp initiatorObject->setUrl(urlWithoutFragment(document->url()).string()); document 525 Source/core/inspector/InspectorResourceAgent.cpp initiatorObject->setLineNumber(document->scriptableDocumentParser()->lineNumber().oneBasedInt()); document 719 Source/core/inspector/InspectorResourceAgent.cpp frame->document()->fetcher()->garbageCollectDocumentResources(); document 729 Source/core/inspector/InspectorResourceAgent.cpp Document* document = frame->document(); document 730 Source/core/inspector/InspectorResourceAgent.cpp if (!document) { document 755 Source/core/inspector/InspectorResourceAgent.cpp RefPtr<DocumentThreadableLoader> loader = DocumentThreadableLoader::create(document, inspectorThreadableLoaderClient, request, options); document 779 Source/core/inspector/InspectorResourceAgent.cpp RefPtr<TypeBuilder::Network::Initiator> initiator = buildInitiatorObject(frame->document(), FetchInitiatorInfo()); document 791 Source/core/inspector/InspectorResourceAgent.cpp Resource* cachedResource = frame->document()->fetcher()->cachedResource(url); document 66 Source/core/inspector/InspectorStyleSheet.cpp static CSSParserContext parserContextForDocument(Document *document) document 68 Source/core/inspector/InspectorStyleSheet.cpp return document ? CSSParserContext(*document, 0) : strictCSSParserContext(); document 73 Source/core/inspector/InspectorStyleSheet.cpp StyleSheetHandler(const String& parsedText, Document* document, StyleSheetContents* styleSheetContents, RuleSourceDataList* result) document 75 Source/core/inspector/InspectorStyleSheet.cpp , m_document(document) document 78 Source/core/inspector/InspectorStyleSheet.cpp , m_commentParser(parserContextForDocument(document)) document 1045 Source/core/inspector/InspectorStyleSheet.cpp static bool checkStyleRuleSelector(Document* document, const String& selector) document 1048 Source/core/inspector/InspectorStyleSheet.cpp BisonCSSParser(parserContextForDocument(document)).parseSelector(selector, selectorList); document 1144 Source/core/inspector/InspectorStyleSheet.cpp Document* document = styleSheet->ownerDocument(); document 1145 Source/core/inspector/InspectorStyleSheet.cpp LocalFrame* frame = document ? document->frame() : 0; document 1597 Source/core/inspector/InspectorStyleSheet.cpp return &m_element->document(); document 1654 Source/core/inspector/InspectorStyleSheet.cpp StyleSheetHandler handler(m_styleText, &m_element->document(), m_element->document().elementSheet().contents(), &ruleSourceDataResult); document 1655 Source/core/inspector/InspectorStyleSheet.cpp BisonCSSParser(parserContextForDocument(&m_element->document())).parseDeclaration(tempDeclaration.get(), m_styleText, &handler, m_element->document().elementSheet().contents()); document 473 Source/core/inspector/InspectorTimelineAgent.cpp bool InspectorTimelineAgent::willDispatchEvent(Document* document, const Event& event, DOMWindow* window, Node* node, const EventPath& eventPath) document 478 Source/core/inspector/InspectorTimelineAgent.cpp pushCurrentRecord(TimelineRecordFactory::createEventDispatchData(event), TimelineRecordType::EventDispatch, false, document->frame()); document 552 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::didScheduleStyleRecalculation(Document* document) document 554 Source/core/inspector/InspectorTimelineAgent.cpp appendRecord(JSONObject::create(), TimelineRecordType::ScheduleStyleRecalculation, true, document->frame()); document 557 Source/core/inspector/InspectorTimelineAgent.cpp bool InspectorTimelineAgent::willRecalculateStyle(Document* document) document 559 Source/core/inspector/InspectorTimelineAgent.cpp pushCurrentRecord(JSONObject::create(), TimelineRecordType::RecalculateStyles, true, document->frame()); document 677 Source/core/inspector/InspectorTimelineAgent.cpp bool InspectorTimelineAgent::willWriteHTML(Document* document, unsigned startLine) document 679 Source/core/inspector/InspectorTimelineAgent.cpp pushCurrentRecord(TimelineRecordFactory::createParseHTMLData(startLine), TimelineRecordType::ParseHTML, true, document->frame()); document 750 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::didScheduleResourceRequest(Document* document, const String& url) document 752 Source/core/inspector/InspectorTimelineAgent.cpp appendRecord(TimelineRecordFactory::createScheduleResourceRequestData(url), TimelineRecordType::ScheduleResourceRequest, true, document->frame()); document 867 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::didRequestAnimationFrame(Document* document, int callbackId) document 869 Source/core/inspector/InspectorTimelineAgent.cpp appendRecord(TimelineRecordFactory::createAnimationFrameData(callbackId), TimelineRecordType::RequestAnimationFrame, true, document->frame()); document 872 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::didCancelAnimationFrame(Document* document, int callbackId) document 874 Source/core/inspector/InspectorTimelineAgent.cpp appendRecord(TimelineRecordFactory::createAnimationFrameData(callbackId), TimelineRecordType::CancelAnimationFrame, true, document->frame()); document 877 Source/core/inspector/InspectorTimelineAgent.cpp bool InspectorTimelineAgent::willFireAnimationFrame(Document* document, int callbackId) document 879 Source/core/inspector/InspectorTimelineAgent.cpp pushCurrentRecord(TimelineRecordFactory::createAnimationFrameData(callbackId), TimelineRecordType::FireAnimationFrame, false, document->frame()); document 898 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::didCreateWebSocket(Document* document, unsigned long identifier, const KURL& url, const String& protocol) document 900 Source/core/inspector/InspectorTimelineAgent.cpp appendRecord(TimelineRecordFactory::createWebSocketCreateData(identifier, url, protocol), TimelineRecordType::WebSocketCreate, true, document->frame()); document 903 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::willSendWebSocketHandshakeRequest(Document* document, unsigned long identifier, const WebSocketHandshakeRequest*) document 905 Source/core/inspector/InspectorTimelineAgent.cpp appendRecord(TimelineRecordFactory::createGenericWebSocketData(identifier), TimelineRecordType::WebSocketSendHandshakeRequest, true, document->frame()); document 908 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::didReceiveWebSocketHandshakeResponse(Document* document, unsigned long identifier, const WebSocketHandshakeRequest*, const WebSocketHandshakeResponse*) document 910 Source/core/inspector/InspectorTimelineAgent.cpp appendRecord(TimelineRecordFactory::createGenericWebSocketData(identifier), TimelineRecordType::WebSocketReceiveHandshakeResponse, false, document->frame()); document 913 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::didCloseWebSocket(Document* document, unsigned long identifier) document 915 Source/core/inspector/InspectorTimelineAgent.cpp appendRecord(TimelineRecordFactory::createGenericWebSocketData(identifier), TimelineRecordType::WebSocketDestroy, true, document->frame()); document 145 Source/core/inspector/InspectorTimelineAgent.h bool willDispatchEvent(Document* document, const Event& event, DOMWindow* window, Node* node, const EventPath& eventPath); document 46 Source/core/loader/CookieJar.cpp static blink::WebCookieJar* toCookieJar(const Document* document) document 48 Source/core/loader/CookieJar.cpp if (!document || !document->frame()) document 50 Source/core/loader/CookieJar.cpp return document->frame()->loader().client()->cookieJar(); document 53 Source/core/loader/CookieJar.cpp String cookies(const Document* document, const KURL& url) document 55 Source/core/loader/CookieJar.cpp blink::WebCookieJar* cookieJar = toCookieJar(document); document 58 Source/core/loader/CookieJar.cpp return cookieJar->cookies(url, document->firstPartyForCookies()); document 61 Source/core/loader/CookieJar.cpp void setCookies(Document* document, const KURL& url, const String& cookieString) document 63 Source/core/loader/CookieJar.cpp blink::WebCookieJar* cookieJar = toCookieJar(document); document 66 Source/core/loader/CookieJar.cpp cookieJar->setCookie(url, document->firstPartyForCookies(), cookieString); document 69 Source/core/loader/CookieJar.cpp bool cookiesEnabled(const Document* document) document 71 Source/core/loader/CookieJar.cpp blink::WebCookieJar* cookieJar = toCookieJar(document); document 74 Source/core/loader/CookieJar.cpp return cookieJar->cookiesEnabled(document->cookieURL(), document->firstPartyForCookies()); document 77 Source/core/loader/CookieJar.cpp String cookieRequestHeaderFieldValue(const Document* document, const KURL& url) document 79 Source/core/loader/CookieJar.cpp blink::WebCookieJar* cookieJar = toCookieJar(document); document 82 Source/core/loader/CookieJar.cpp return cookieJar->cookieRequestHeaderFieldValue(url, document->firstPartyForCookies()); document 85 Source/core/loader/CookieJar.cpp bool getRawCookies(const Document* document, const KURL& url, Vector<Cookie>& cookies) document 88 Source/core/loader/CookieJar.cpp blink::WebCookieJar* cookieJar = toCookieJar(document); document 92 Source/core/loader/CookieJar.cpp cookieJar->rawCookies(url, document->firstPartyForCookies(), webCookies); document 101 Source/core/loader/CookieJar.cpp void deleteCookie(const Document* document, const KURL& url, const String& cookieName) document 103 Source/core/loader/CookieJar.cpp blink::WebCookieJar* cookieJar = toCookieJar(document); document 115 Source/core/loader/DocumentLoader.cpp return m_frame->document(); document 185 Source/core/loader/DocumentLoader.cpp Document* doc = m_frame->document(); document 220 Source/core/loader/DocumentLoader.cpp if (document() && document()->hasActiveParser()) document 276 Source/core/loader/DocumentLoader.cpp if (m_mainResource && m_frame->document()->hasManifest()) document 301 Source/core/loader/DocumentLoader.cpp if (m_frame->ownerElement() && !m_frame->ownerElement()->document().contentSecurityPolicy()->allowChildFrameFromSource(request.url())) { document 305 Source/core/loader/DocumentLoader.cpp m_frame->document()->enforceSandboxFlags(SandboxOrigin); document 346 Source/core/loader/DocumentLoader.cpp if (isFormSubmission(m_triggeringAction.type()) && !m_frame->document()->contentSecurityPolicy()->allowFormAction(newRequest.url())) { document 378 Source/core/loader/DocumentLoader.cpp if (!top->loader().mixedContentChecker()->canRunInsecureContent(top->document()->securityOrigin(), newRequest.url())) { document 454 Source/core/loader/DocumentLoader.cpp frame()->document()->addConsoleMessageWithRequestIdentifier(SecurityMessageSource, ErrorMessageLevel, message, identifier); document 455 Source/core/loader/DocumentLoader.cpp frame()->document()->enforceSandboxFlags(SandboxOrigin); document 500 Source/core/loader/DocumentLoader.cpp m_frame->document()->setBaseURLOverride(overridingURL); document 504 Source/core/loader/DocumentLoader.cpp m_frame->document()->maybeHandleHttpRefresh(m_response.httpHeaderField("Refresh"), Document::HttpRefreshFromHeader); document 510 Source/core/loader/DocumentLoader.cpp ASSERT(m_frame->document()->parsing()); document 539 Source/core/loader/DocumentLoader.cpp if (m_frame && m_frame->document()->isMediaDocument()) document 615 Source/core/loader/DocumentLoader.cpp document()->enforceSandboxFlags(SandboxAll); document 730 Source/core/loader/DocumentLoader.cpp FetchRequest cachedResourceRequest(request, FetchInitiatorTypeNames::document, mainResourceLoadOptions); document 791 Source/core/loader/DocumentLoader.cpp bool shouldReuseDefaultView = frame->loader().stateMachine()->isDisplayingInitialEmptyDocument() && frame->document()->isSecureTransitionTo(url); document 795 Source/core/loader/DocumentLoader.cpp if (frame->document()) document 796 Source/core/loader/DocumentLoader.cpp frame->document()->prepareForDestruction(); document 801 Source/core/loader/DocumentLoader.cpp RefPtr<Document> document = frame->domWindow()->installNewDocument(mimeType, init); document 803 Source/core/loader/DocumentLoader.cpp document->setCookieURL(ownerDocument->cookieURL()); document 804 Source/core/loader/DocumentLoader.cpp document->setSecurityOrigin(ownerDocument->securityOrigin()); document 809 Source/core/loader/DocumentLoader.cpp return DocumentWriter::create(document.get(), mimeType, encoding, userChosen); document 831 Source/core/loader/DocumentLoader.cpp m_writer = createWriterFor(m_frame, ownerDocument, m_frame->document()->url(), mimeType(), m_writer ? m_writer->encoding() : emptyAtom, m_writer ? m_writer->encodingWasChosenByUser() : false, true); document 151 Source/core/loader/DocumentLoader.h Document* document() const; document 55 Source/core/loader/DocumentThreadableLoader.cpp void DocumentThreadableLoader::loadResourceSynchronously(Document* document, const ResourceRequest& request, ThreadableLoaderClient& client, const ThreadableLoaderOptions& options) document 58 Source/core/loader/DocumentThreadableLoader.cpp RefPtr<DocumentThreadableLoader> loader = adoptRef(new DocumentThreadableLoader(document, &client, LoadSynchronously, request, options)); document 62 Source/core/loader/DocumentThreadableLoader.cpp PassRefPtr<DocumentThreadableLoader> DocumentThreadableLoader::create(Document* document, ThreadableLoaderClient* client, const ResourceRequest& request, const ThreadableLoaderOptions& options) document 64 Source/core/loader/DocumentThreadableLoader.cpp RefPtr<DocumentThreadableLoader> loader = adoptRef(new DocumentThreadableLoader(document, client, LoadAsynchronously, request, options)); document 70 Source/core/loader/DocumentThreadableLoader.cpp DocumentThreadableLoader::DocumentThreadableLoader(Document* document, ThreadableLoaderClient* client, BlockingBehavior blockingBehavior, const ResourceRequest& request, const ThreadableLoaderOptions& options) document 72 Source/core/loader/DocumentThreadableLoader.cpp , m_document(document) document 79 Source/core/loader/DocumentThreadableLoader.cpp ASSERT(document); document 47 Source/core/loader/DocumentWriter.cpp PassRefPtr<DocumentWriter> DocumentWriter::create(Document* document, const AtomicString& mimeType, const AtomicString& encoding, bool encodingUserChoosen) document 49 Source/core/loader/DocumentWriter.cpp return adoptRef(new DocumentWriter(document, mimeType, encoding, encodingUserChoosen)); document 52 Source/core/loader/DocumentWriter.cpp DocumentWriter::DocumentWriter(Document* document, const AtomicString& mimeType, const AtomicString& encoding, bool encodingUserChoosen) document 53 Source/core/loader/DocumentWriter.cpp : m_document(document) document 38 Source/core/loader/FormState.cpp , m_sourceDocument(form.document()) document 198 Source/core/loader/FormSubmission.cpp Document& document = form->document(); document 199 Source/core/loader/FormSubmission.cpp KURL actionURL = document.completeURL(copiedAttributes.action().isEmpty() ? document.url().string() : copiedAttributes.action()); document 211 Source/core/loader/FormSubmission.cpp WTF::TextEncoding dataEncoding = isMailtoForm ? UTF8Encoding() : FormDataBuilder::encodingFromAcceptCharset(copiedAttributes.acceptCharset(), document.inputEncoding(), document.defaultCharset()); document 245 Source/core/loader/FormSubmission.cpp AtomicString targetOrBaseTarget = copiedAttributes.target().isEmpty() ? document.baseTarget() : copiedAttributes.target(); document 59 Source/core/loader/FrameFetchContext.cpp void FrameFetchContext::addAdditionalRequestHeaders(Document* document, ResourceRequest& request, FetchResourceType type) document 66 Source/core/loader/FrameFetchContext.cpp outgoingReferrer = document->outgoingReferrer(); document 67 Source/core/loader/FrameFetchContext.cpp outgoingOrigin = document->outgoingOrigin(); document 73 Source/core/loader/FrameFetchContext.cpp outgoingReferrer = SecurityPolicy::generateReferrerHeader(document->referrerPolicy(), request.url(), outgoingReferrer); document 77 Source/core/loader/FrameFetchContext.cpp request.setHTTPReferrer(Referrer(outgoingReferrer, document->referrerPolicy())); document 85 Source/core/loader/FrameFetchContext.cpp request.setFirstPartyForCookies(m_frame->tree().top()->document()->firstPartyForCookies()); document 109 Source/core/loader/FrameFetchContext.cpp CachePolicy FrameFetchContext::cachePolicy(Document* document) const document 111 Source/core/loader/FrameFetchContext.cpp if (document && document->loadEventFinished()) document 119 Source/core/loader/FrameFetchContext.cpp CachePolicy parentCachePolicy = parentFrame->loader().fetchContext().cachePolicy(parentFrame->document()); document 127 Source/core/loader/FrameFetchContext.cpp DocumentLoader* loader = document ? document->loader() : 0; document 134 Source/core/loader/FrameLoader.cpp m_frame->document()->cancelParsing(); document 161 Source/core/loader/FrameLoader.cpp if (m_frame->document() && m_frame->document()->parsing()) { document 163 Source/core/loader/FrameLoader.cpp m_frame->document()->setParsing(false); document 166 Source/core/loader/FrameLoader.cpp if (Document* doc = m_frame->document()) { document 178 Source/core/loader/FrameLoader.cpp Document* document = m_frame->document(); document 179 Source/core/loader/FrameLoader.cpp document->setHistoryItemDocumentStateDirty(true); document 185 Source/core/loader/FrameLoader.cpp Document* document = m_frame->document(); document 186 Source/core/loader/FrameLoader.cpp if (!m_currentItem || !document->historyItemDocumentStateDirty()) document 189 Source/core/loader/FrameLoader.cpp if (m_currentItem->isCurrentDocument(document) && document->isActive()) document 190 Source/core/loader/FrameLoader.cpp m_currentItem->setDocumentState(document->formElementsState()); document 192 Source/core/loader/FrameLoader.cpp document->setHistoryItemDocumentStateDirty(false); document 226 Source/core/loader/FrameLoader.cpp if (m_frame->document()) document 227 Source/core/loader/FrameLoader.cpp m_frame->document()->dispatchUnloadEvents(); document 256 Source/core/loader/FrameLoader.cpp m_frame->document()->cancelParsing(); document 257 Source/core/loader/FrameLoader.cpp m_frame->document()->prepareForDestruction(); document 258 Source/core/loader/FrameLoader.cpp m_frame->document()->removeFocusedElementOfSubtree(m_frame->document()); document 332 Source/core/loader/FrameLoader.cpp frame->document()->enforceSandboxFlags(SandboxOrigin); document 345 Source/core/loader/FrameLoader.cpp m_frame->document()->setReadyState(Document::Loading); document 353 Source/core/loader/FrameLoader.cpp m_frame->document()->initContentSecurityPolicy(m_documentLoader ? ContentSecurityPolicyResponseHeaders(m_documentLoader->response()) : ContentSecurityPolicyResponseHeaders()); document 355 Source/core/loader/FrameLoader.cpp if (!m_frame->document()->contentSecurityPolicy()->allowAncestors(m_frame)) { document 360 Source/core/loader/FrameLoader.cpp Settings* settings = m_frame->document()->settings(); document 362 Source/core/loader/FrameLoader.cpp m_frame->document()->fetcher()->setImagesEnabled(settings->imagesEnabled()); document 363 Source/core/loader/FrameLoader.cpp m_frame->document()->fetcher()->setAutoLoadImages(settings->loadsImagesAutomatically()); document 369 Source/core/loader/FrameLoader.cpp m_frame->document()->parseDNSPrefetchControlHeader(dnsPrefetchControl); document 377 Source/core/loader/FrameLoader.cpp m_frame->document()->setContentLanguage(AtomicString(headerContentLanguage)); document 382 Source/core/loader/FrameLoader.cpp m_frame->document()->setStateForNewFormElements(m_provisionalItem->documentState()); document 406 Source/core/loader/FrameLoader.cpp scrollToFragmentWithParentBoundary(m_frame->document()->url()); document 426 Source/core/loader/FrameLoader.cpp if (!ancestor->document()->loadEventFinished()) document 445 Source/core/loader/FrameLoader.cpp if (m_frame->document()->parsing()) document 449 Source/core/loader/FrameLoader.cpp if (!m_frame->document()->haveImportsLoaded()) document 453 Source/core/loader/FrameLoader.cpp if (m_frame->document()->fetcher()->requestCount()) document 457 Source/core/loader/FrameLoader.cpp if (m_frame->document()->isDelayingLoadEvent()) document 466 Source/core/loader/FrameLoader.cpp m_frame->document()->setReadyState(Document::Complete); document 467 Source/core/loader/FrameLoader.cpp if (m_frame->document()->loadEventStillNeeded()) document 468 Source/core/loader/FrameLoader.cpp m_frame->document()->implicitClose(); document 532 Source/core/loader/FrameLoader.cpp m_frame->document()->setURL(newURL); document 538 Source/core/loader/FrameLoader.cpp if (m_frame->document()->loadEventFinished()) document 544 Source/core/loader/FrameLoader.cpp m_client->dispatchDidReceiveTitle(m_frame->document()->title()); document 545 Source/core/loader/FrameLoader.cpp if (m_frame->document()->loadEventFinished()) document 564 Source/core/loader/FrameLoader.cpp KURL oldURL = m_frame->document()->url(); document 677 Source/core/loader/FrameLoader.cpp request.setFrameName(m_frame->document()->baseTarget()); document 694 Source/core/loader/FrameLoader.cpp ASSERT(m_frame->document()); document 705 Source/core/loader/FrameLoader.cpp RefPtr<LocalFrame> targetFrame = request.formState() ? 0 : findFrameForNavigation(AtomicString(request.frameName()), request.formState() ? request.formState()->sourceDocument() : m_frame->document()); document 755 Source/core/loader/FrameLoader.cpp frame->document()->addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, "Not allowed to load local resource: " + url); document 790 Source/core/loader/FrameLoader.cpp if (m_frame->document()->pageDismissalEventBeingDispatched() != Document::NoDismissal) document 862 Source/core/loader/FrameLoader.cpp if (m_frame->document()) { document 864 Source/core/loader/FrameLoader.cpp pdl->timing()->setHasSameOriginAsPreviousDocument(securityOrigin->canRequest(m_frame->document()->url())); document 913 Source/core/loader/FrameLoader.cpp static bool isDocumentDoneLoading(Document* document) document 915 Source/core/loader/FrameLoader.cpp if (!document->loader()) document 917 Source/core/loader/FrameLoader.cpp if (document->loader()->isLoadingMainResource()) document 919 Source/core/loader/FrameLoader.cpp if (!document->loadEventFinished()) { document 920 Source/core/loader/FrameLoader.cpp if (document->loader()->isLoading() || document->isDelayingLoadEvent()) document 923 Source/core/loader/FrameLoader.cpp if (document->fetcher()->requestCount()) document 925 Source/core/loader/FrameLoader.cpp if (document->processingLoadEvent()) document 927 Source/core/loader/FrameLoader.cpp if (document->hasActiveParser()) document 962 Source/core/loader/FrameLoader.cpp if (!isDocumentDoneLoading(m_frame->document()) && !m_inStopAllLoaders) document 1153 Source/core/loader/FrameLoader.cpp if (m_frame->document()->parser()) document 1154 Source/core/loader/FrameLoader.cpp m_frame->document()->parser()->stopParsing(); document 1177 Source/core/loader/FrameLoader.cpp && equalIgnoringFragmentIdentifier(m_frame->document()->url(), url) document 1180 Source/core/loader/FrameLoader.cpp && !m_frame->document()->isFrameSet(); document 1190 Source/core/loader/FrameLoader.cpp RefPtr<LocalFrame> boundaryFrame(url.hasFragmentIdentifier() ? m_frame->document()->findUnsafeParentScrollPropagationBoundary() : 0); document 1222 Source/core/loader/FrameLoader.cpp if (!targetFrames[i]->document()->dispatchBeforeUnloadEvent(page->chrome(), didAllowNavigation)) document 1235 Source/core/loader/FrameLoader.cpp if (m_frame->document()->pageDismissalEventBeingDispatched() != Document::NoDismissal) document 1292 Source/core/loader/FrameLoader.cpp m_provisionalDocumentLoader->appendRedirect(m_frame->document()->url()); document 1308 Source/core/loader/FrameLoader.cpp UseCounter::count(m_frame->domWindow()->document(), UseCounter::XFrameOptions); document 1318 Source/core/loader/FrameLoader.cpp UseCounter::count(m_frame->domWindow()->document(), UseCounter::XFrameOptionsSameOrigin); document 1320 Source/core/loader/FrameLoader.cpp if (!origin->isSameSchemeHostPort(topFrame->document()->securityOrigin())) document 1323 Source/core/loader/FrameLoader.cpp if (!origin->isSameSchemeHostPort(frame->document()->securityOrigin())) { document 1324 Source/core/loader/FrameLoader.cpp UseCounter::count(m_frame->domWindow()->document(), UseCounter::XFrameOptionsSameOriginWithBadAncestorChain); document 1335 Source/core/loader/FrameLoader.cpp m_frame->document()->addConsoleMessageWithRequestIdentifier(JSMessageSource, ErrorMessageLevel, "Multiple 'X-Frame-Options' headers with conflicting values ('" + content + "') encountered when loading '" + url.elidedString() + "'. Falling back to 'DENY'.", requestIdentifier); document 1338 Source/core/loader/FrameLoader.cpp m_frame->document()->addConsoleMessageWithRequestIdentifier(JSMessageSource, ErrorMessageLevel, "Invalid 'X-Frame-Options' header encountered when loading '" + url.elidedString() + "': '" + content + "' is not a recognized directive. The header will be ignored.", requestIdentifier); document 1419 Source/core/loader/FrameLoader.cpp flags |= parentFrame->document()->sandboxFlags(); document 53 Source/core/loader/ImageLoader.cpp static inline bool pageIsBeingDismissed(Document* document) document 55 Source/core/loader/ImageLoader.cpp return document->pageDismissalEventBeingDispatched() != Document::NoDismissal; document 129 Source/core/loader/ImageLoader.cpp Document& document = m_element->document(); document 130 Source/core/loader/ImageLoader.cpp if (!document.isActive()) document 142 Source/core/loader/ImageLoader.cpp FetchRequest request(ResourceRequest(document.completeURL(sourceURI(attr))), element()->localName()); document 146 Source/core/loader/ImageLoader.cpp request.setCrossOriginAccessControl(document.securityOrigin(), crossOriginMode); document 149 Source/core/loader/ImageLoader.cpp bool autoLoadOtherImages = document.fetcher()->autoLoadImages(); document 150 Source/core/loader/ImageLoader.cpp document.fetcher()->setAutoLoadImages(false); document 153 Source/core/loader/ImageLoader.cpp document.fetcher()->m_documentResources.set(newImage->url(), newImage.get()); document 154 Source/core/loader/ImageLoader.cpp document.fetcher()->setAutoLoadImages(autoLoadOtherImages); document 156 Source/core/loader/ImageLoader.cpp newImage = document.fetcher()->fetchImage(request); document 163 Source/core/loader/ImageLoader.cpp if (!newImage && !pageIsBeingDismissed(&document)) { document 339 Source/core/loader/ImageLoader.cpp if (element()->document().frame()) document 352 Source/core/loader/ImageLoader.cpp if (element()->document().frame()) document 113 Source/core/loader/LinkLoader.cpp bool LinkLoader::loadLink(const LinkRelAttribute& relAttribute, const AtomicString& crossOriginMode, const String& type, const KURL& href, Document& document) document 116 Source/core/loader/LinkLoader.cpp Settings* settings = document.settings(); document 124 Source/core/loader/LinkLoader.cpp if ((relAttribute.isLinkPrefetch() || relAttribute.isLinkSubresource()) && href.isValid() && document.frame()) { document 128 Source/core/loader/LinkLoader.cpp FetchRequest linkRequest(ResourceRequest(document.completeURL(href)), FetchInitiatorTypeNames::link); document 130 Source/core/loader/LinkLoader.cpp linkRequest.setCrossOriginAccessControl(document.securityOrigin(), crossOriginMode); document 131 Source/core/loader/LinkLoader.cpp setResource(document.fetcher()->fetchLinkResource(type, linkRequest)); document 136 Source/core/loader/LinkLoader.cpp m_prerender = PrerenderHandle::create(document, this, href, prerenderRelTypes); document 139 Source/core/loader/LinkLoader.cpp m_prerender = PrerenderHandle::create(document, this, href, prerenderRelTypes); document 93 Source/core/loader/MixedContentChecker.cpp String message = String(allowed ? "" : "[blocked] ") + "The page at '" + m_frame->document()->url().elidedString() + "' was loaded over HTTPS, but " + action + " insecure content from '" + target.elidedString() + "': this content should also be loaded over HTTPS.\n"; document 95 Source/core/loader/MixedContentChecker.cpp m_frame->document()->addConsoleMessage(SecurityMessageSource, messageLevel, message); document 141 Source/core/loader/NavigationScheduler.cpp if (equalIgnoringFragmentIdentifier(frame->document()->url(), request.resourceRequest().url())) document 184 Source/core/loader/NavigationScheduler.cpp FrameLoadRequest frameRequest(frame->document(), ResourceRequest(frame->document()->url())); document 271 Source/core/loader/NavigationScheduler.cpp schedule(adoptPtr(new ScheduledRedirect(delay, m_frame->document(), url, delay <= 1))); document 278 Source/core/loader/NavigationScheduler.cpp if (!UserGestureIndicator::processingUserGesture() && !targetFrame->document()->loadEventFinished()) document 286 Source/core/loader/NavigationScheduler.cpp && equalIgnoringCase(targetFrame->document()->url(), blankURL())) document 308 Source/core/loader/NavigationScheduler.cpp if (originDocument->securityOrigin()->canAccess(m_frame->document()->securityOrigin())) { document 310 Source/core/loader/NavigationScheduler.cpp if (parsedURL.hasFragmentIdentifier() && equalIgnoringFragmentIdentifier(m_frame->document()->url(), parsedURL)) { document 311 Source/core/loader/NavigationScheduler.cpp FrameLoadRequest request(originDocument, ResourceRequest(m_frame->document()->completeURL(url), referrer), "_self"); document 333 Source/core/loader/NavigationScheduler.cpp const KURL& url = m_frame->document()->url(); document 337 Source/core/loader/NavigationScheduler.cpp schedule(adoptPtr(new ScheduledRefresh(m_frame->document(), url.string(), Referrer(m_frame->document()->outgoingReferrer(), m_frame->document()->referrerPolicy())))); document 60 Source/core/loader/PingLoader.cpp if (!frame->document()->securityOrigin()->canDisplay(url)) { document 68 Source/core/loader/PingLoader.cpp frame->loader().fetchContext().addAdditionalRequestHeaders(frame->document(), request, FetchSubresource); document 84 Source/core/loader/PingLoader.cpp frame->loader().fetchContext().addAdditionalRequestHeaders(frame->document(), request, FetchSubresource); document 89 Source/core/loader/PingLoader.cpp if (frame->document()->securityOrigin()->isSameSchemeHostPort(pingOrigin.get())) document 96 Source/core/loader/PingLoader.cpp if (!SecurityPolicy::shouldHideReferrer(pingURL, frame->document()->url().string())) document 97 Source/core/loader/PingLoader.cpp request.setHTTPHeaderField("Ping-From", AtomicString(frame->document()->url().string())); document 111 Source/core/loader/PingLoader.cpp frame->loader().fetchContext().addAdditionalRequestHeaders(frame->document(), request, FetchSubresource); document 115 Source/core/loader/PingLoader.cpp PingLoader::start(frame, request, initiatorInfo, SecurityOrigin::create(reportURL)->isSameSchemeHostPort(frame->document()->securityOrigin()) ? AllowStoredCredentials : DoNotAllowStoredCredentials); document 45 Source/core/loader/PrerenderHandle.cpp PassOwnPtr<PrerenderHandle> PrerenderHandle::create(Document& document, PrerenderClient* client, const KURL& url, const unsigned prerenderRelTypes) document 49 Source/core/loader/PrerenderHandle.cpp const ReferrerPolicy referrerPolicy = document.referrerPolicy(); document 51 Source/core/loader/PrerenderHandle.cpp if (!document.frame()) document 54 Source/core/loader/PrerenderHandle.cpp const String referrer = SecurityPolicy::generateReferrerHeader(referrerPolicy, url, document.outgoingReferrer()); document 58 Source/core/loader/PrerenderHandle.cpp PrerendererClient* prerendererClient = PrerendererClient::from(document.page()); document 63 Source/core/loader/PrerenderHandle.cpp return adoptPtr(new PrerenderHandle(document, prerender.release())); document 66 Source/core/loader/PrerenderHandle.cpp PrerenderHandle::PrerenderHandle(Document& document, PassRefPtr<Prerender> prerender) document 67 Source/core/loader/PrerenderHandle.cpp : DocumentLifecycleObserver(&document) document 167 Source/core/loader/ProgressTracker.cpp int numPendingOrLoadingRequests = m_frame->document()->fetcher()->requestCount(); document 35 Source/core/loader/SinkDocument.cpp static PassRefPtr<SinkDocumentParser> create(SinkDocument* document) document 37 Source/core/loader/SinkDocument.cpp return adoptRef(new SinkDocumentParser(document)); document 41 Source/core/loader/SinkDocument.cpp SinkDocumentParser(SinkDocument* document) document 42 Source/core/loader/SinkDocument.cpp : RawDataDocumentParser(document) document 43 Source/core/loader/TextResourceDecoderBuilder.cpp return parentFrame && parentFrame->document()->securityOrigin()->canAccess(frame->document()->securityOrigin()); document 59 Source/core/loader/TextResourceDecoderBuilder.cpp inline PassOwnPtr<TextResourceDecoder> TextResourceDecoderBuilder::createDecoderInstance(Document* document) document 61 Source/core/loader/TextResourceDecoderBuilder.cpp if (LocalFrame* frame = document->frame()) { document 69 Source/core/loader/TextResourceDecoderBuilder.cpp inline void TextResourceDecoderBuilder::setupEncoding(TextResourceDecoder* decoder, Document* document) document 71 Source/core/loader/TextResourceDecoderBuilder.cpp LocalFrame* frame = document->frame(); document 87 Source/core/loader/TextResourceDecoderBuilder.cpp if (parentFrame->document()->encodingWasDetectedHeuristically()) document 88 Source/core/loader/TextResourceDecoderBuilder.cpp decoder->setHintEncoding(parentFrame->document()->encoding()); document 91 Source/core/loader/TextResourceDecoderBuilder.cpp decoder->setEncoding(parentFrame->document()->inputEncoding().string(), TextResourceDecoder::EncodingFromParentFrame); document 95 Source/core/loader/TextResourceDecoderBuilder.cpp PassOwnPtr<TextResourceDecoder> TextResourceDecoderBuilder::buildFor(Document* document) document 97 Source/core/loader/TextResourceDecoderBuilder.cpp OwnPtr<TextResourceDecoder> decoder = createDecoderInstance(document); document 98 Source/core/loader/TextResourceDecoderBuilder.cpp setupEncoding(decoder.get(), document); document 41 Source/core/loader/TextTrackLoader.cpp TextTrackLoader::TextTrackLoader(TextTrackLoaderClient& client, Document& document) document 43 Source/core/loader/TextTrackLoader.cpp , m_document(document) document 53 Source/core/loader/TextTrackLoader.h static PassOwnPtr<TextTrackLoader> create(TextTrackLoaderClient& client, Document& document) document 55 Source/core/loader/TextTrackLoader.h return adoptPtr(new TextTrackLoader(client, document)); document 126 Source/core/loader/WorkerThreadableLoader.cpp Document* document = toDocument(context); document 131 Source/core/loader/WorkerThreadableLoader.cpp thisPtr->m_mainThreadLoader = DocumentThreadableLoader::create(document, thisPtr, *request, options); document 99 Source/core/loader/appcache/ApplicationCache.cpp return m_frame->document(); document 123 Source/core/loader/appcache/ApplicationCacheHost.cpp frame->navigationScheduler().scheduleLocationChange(frame->document(), frame->document()->url(), Referrer(frame->document()->referrer(), frame->document()->referrerPolicy())); document 146 Source/core/page/Chrome.cpp Document::PageDismissalType dismissal = frame->document()->pageDismissalEventBeingDispatched(); document 287 Source/core/page/Chrome.cpp if (result.innerNode()->document().isDNSPrefetchEnabled()) document 68 Source/core/page/ContextMenuController.cpp void ContextMenuController::documentDetached(Document* document) document 72 Source/core/page/ContextMenuController.cpp if (innerNode->document() == document) document 110 Source/core/page/ContextMenuController.cpp if (LocalFrame* frame = event->target()->toNode()->document().frame()) document 52 Source/core/page/CreateWindow.cpp if (LocalFrame* frame = lookupFrame.loader().findFrameForNavigation(request.frameName(), openerFrame.document())) { document 61 Source/core/page/CreateWindow.cpp if (openerFrame.document()->isSandboxed(SandboxPopups)) { document 63 Source/core/page/CreateWindow.cpp openerFrame.document()->addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, "Blocked opening '" + request.resourceRequest().url().elidedString() + "' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set."); document 121 Source/core/page/CreateWindow.cpp KURL completedURL = urlString.isEmpty() ? KURL(ParsedURLString, emptyString()) : firstFrame.document()->completeURL(urlString); document 129 Source/core/page/CreateWindow.cpp Referrer referrer(SecurityPolicy::generateReferrerHeader(firstFrame.document()->referrerPolicy(), completedURL, firstFrame.document()->outgoingReferrer()), firstFrame.document()->referrerPolicy()); document 132 Source/core/page/CreateWindow.cpp FrameLoader::addHTTPOriginIfNeeded(request, AtomicString(firstFrame.document()->outgoingOrigin())); document 133 Source/core/page/CreateWindow.cpp FrameLoadRequest frameRequest(callingWindow.document(), request, frameName); document 143 Source/core/page/CreateWindow.cpp newFrame->loader().forceSandboxFlags(openerFrame.document()->sandboxFlags()); document 155 Source/core/page/CreateWindow.cpp FrameLoadRequest request(callingWindow.document(), ResourceRequest(completedURL, referrer)); document 158 Source/core/page/CreateWindow.cpp newFrame->navigationScheduler().scheduleLocationChange(callingWindow.document(), completedURL.string(), referrer, false); document 165 Source/core/page/CreateWindow.cpp if (openerFrame.document()->pageDismissalEventBeingDispatched() != Document::NoDismissal) document 168 Source/core/page/CreateWindow.cpp if (openerFrame.document() && openerFrame.document()->isSandboxed(SandboxPopups)) document 185 Source/core/page/CreateWindow.cpp newFrame->document()->setReferrerPolicy(openerFrame.document()->referrerPolicy()); document 59 Source/core/page/DOMSelection.cpp return frame->document()->ancestorInThisScope(node); document 63 Source/core/page/DOMSelection.cpp : DOMWindowProperty(treeScope->rootNode().document().frame()) document 369 Source/core/page/DOMSelection.cpp return Range::create(shadowAncestor->document(), container, offset, container, offset); document 407 Source/core/page/DOMSelection.cpp if (originalRange->startContainer()->document() != newRange->startContainer()->document()) { document 429 Source/core/page/DOMSelection.cpp RefPtrWillBeRawPtr<Range> merged = Range::create(originalRange->startContainer()->document(), start->startContainer(), start->startOffset(), end->endContainer(), end->endOffset()); document 463 Source/core/page/DOMSelection.cpp if (!n || m_frame->document() != n->document() || selection.isNone()) document 547 Source/core/page/DOMSelection.cpp return node->document() == m_frame->document(); document 553 Source/core/page/DOMSelection.cpp m_treeScope->document().addConsoleMessage(JSMessageSource, ErrorMessageLevel, message); document 157 Source/core/page/DragController.cpp Document& document = context->ownerDocument(); document 166 Source/core/page/DragController.cpp RefPtr<HTMLAnchorElement> anchor = HTMLAnchorElement::create(document); document 175 Source/core/page/DragController.cpp RefPtr<Node> anchorText = document.createTextNode(title); document 177 Source/core/page/DragController.cpp RefPtr<DocumentFragment> fragment = document.createDocumentFragment(); document 381 Source/core/page/DragController.cpp LocalFrame* innerFrame = element->document().frame(); document 530 Source/core/page/DragController.cpp if (LocalFrame* frame = rootEditableElement->document().frame()) document 717 Source/core/page/DragController.cpp RefPtrWillBeRawPtr<Range> range = source->document()->createRange(); document 929 Source/core/page/DragController.cpp m_dragInitiator = frame->document(); document 156 Source/core/page/DragData.cpp ASSERT(frame->document()); document 157 Source/core/page/DragData.cpp if (RefPtr<DocumentFragment> fragment = createFragmentFromMarkup(*frame->document(), html, baseURL, DisallowScriptingAndPluginContent)) document 454 Source/core/page/EventHandler.cpp Vector<DocumentMarker*> markers = innerNode->document().markers().markersInRange(makeRange(pos, pos).get(), DocumentMarker::MisspellingMarkers()); document 546 Source/core/page/EventHandler.cpp RefPtrWillBeRawPtr<Range> range = Range::create(*start.document(), start, end); document 554 Source/core/page/EventHandler.cpp m_frame->document()->updateLayoutIgnorePendingStylesheets(); document 637 Source/core/page/EventHandler.cpp m_frame->document()->updateLayoutIgnorePendingStylesheets(); document 659 Source/core/page/EventHandler.cpp if (m_frame->document()->isSVGDocument() document 660 Source/core/page/EventHandler.cpp && toSVGDocument(m_frame->document())->zoomAndPanEnabled()) { document 663 Source/core/page/EventHandler.cpp toSVGDocument(m_frame->document())->startPan(m_frame->view()->windowToContents(event.event().position())); document 732 Source/core/page/EventHandler.cpp m_frame->document()->renderView()->hitTest(request, result); document 929 Source/core/page/EventHandler.cpp m_frame->document()->updateHoverActiveState(request, result.innerElement()); document 956 Source/core/page/EventHandler.cpp node = m_frame->document()->focusedElement(); document 991 Source/core/page/EventHandler.cpp m_frame->document()->updateLayoutIgnorePendingStylesheets(); document 1081 Source/core/page/EventHandler.cpp ASSERT(m_frame->document()); document 1105 Source/core/page/EventHandler.cpp m_frame->document()->updateLayout(); document 1334 Source/core/page/EventHandler.cpp MouseEventWithHitTestResults mev = m_frame->document()->prepareMouseEvent(request, documentPoint, mouseEvent); document 1394 Source/core/page/EventHandler.cpp mev = m_frame->document()->prepareMouseEvent(request, documentPoint, mouseEvent); document 1410 Source/core/page/EventHandler.cpp mev = m_frame->document()->prepareMouseEvent(request, documentPoint, mouseEvent); document 1523 Source/core/page/EventHandler.cpp toSVGDocument(m_frame->document())->updatePan(m_frame->view()->windowToContents(m_lastKnownMousePosition)); document 1657 Source/core/page/EventHandler.cpp toSVGDocument(m_frame->document())->updatePan(m_frame->view()->windowToContents(m_lastKnownMousePosition)); document 1753 Source/core/page/EventHandler.cpp true, true, m_frame->document()->domWindow(), document 1928 Source/core/page/EventHandler.cpp ASSERT(m_frame->document()); document 1930 Source/core/page/EventHandler.cpp return m_frame->document()->prepareMouseEvent(request, documentPointForWindowPoint(m_frame, mev.position()), mev); document 2001 Source/core/page/EventHandler.cpp if (m_lastNodeUnderMouse && (!m_nodeUnderMouse || m_nodeUnderMouse->document() != m_frame->document())) { document 2003 Source/core/page/EventHandler.cpp if (LocalFrame* frame = m_lastNodeUnderMouse->document().frame()) { document 2013 Source/core/page/EventHandler.cpp if (m_nodeUnderMouse && (!m_lastNodeUnderMouse || m_lastNodeUnderMouse->document() != m_frame->document())) { document 2015 Source/core/page/EventHandler.cpp if (LocalFrame* frame = m_nodeUnderMouse->document().frame()) { document 2025 Source/core/page/EventHandler.cpp if (m_lastNodeUnderMouse && m_lastNodeUnderMouse->document() != m_frame->document()) { document 2063 Source/core/page/EventHandler.cpp m_frame->document()->updateLayoutIgnorePendingStylesheets(); document 2084 Source/core/page/EventHandler.cpp && element->isDescendantOf(m_frame->document()->focusedElement())) document 2144 Source/core/page/EventHandler.cpp Document* doc = m_frame->document(); document 2316 Source/core/page/EventHandler.cpp if (!m_frame->document()->activeHoverElement()) document 2568 Source/core/page/EventHandler.cpp Document* document = m_frame->document(); document 2569 Source/core/page/EventHandler.cpp if (!document->renderView()) document 2579 Source/core/page/EventHandler.cpp document->renderView()->hitTest(request, result); document 2780 Source/core/page/EventHandler.cpp Document* doc = m_frame->document(); document 2817 Source/core/page/EventHandler.cpp Document* doc = m_frame->document(); document 3012 Source/core/page/EventHandler.cpp ASSERT(m_frame->document()); document 3019 Source/core/page/EventHandler.cpp m_frame->document()->updateHoverActiveState(request, result.innerElement()); document 3029 Source/core/page/EventHandler.cpp && m_frame->document() document 3034 Source/core/page/EventHandler.cpp m_frame->document()->updateHoverActiveState(request, m_lastDeferredTapElement.get()); document 3057 Source/core/page/EventHandler.cpp Element* elem = m_frame->document()->getElementByAccessKey(key.lower()); document 3087 Source/core/page/EventHandler.cpp ASSERT(m_frame->document()); document 3088 Source/core/page/EventHandler.cpp if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(*m_frame->document())) { document 3109 Source/core/page/EventHandler.cpp RefPtr<Node> node = eventTargetNodeForDocument(m_frame->document()); document 3131 Source/core/page/EventHandler.cpp RefPtrWillBeRawPtr<KeyboardEvent> keydown = KeyboardEvent::create(keyDownEvent, m_frame->document()->domWindow()); document 3152 Source/core/page/EventHandler.cpp node = eventTargetNodeForDocument(m_frame->document()); document 3160 Source/core/page/EventHandler.cpp RefPtrWillBeRawPtr<KeyboardEvent> keypress = KeyboardEvent::create(keyPressEvent, m_frame->document()->domWindow()); document 3408 Source/core/page/EventHandler.cpp target = eventTargetNodeForDocument(m_frame->document()); document 3480 Source/core/page/EventHandler.cpp if (m_frame->document()->inDesignMode()) document 3504 Source/core/page/EventHandler.cpp if (m_frame->document()->inDesignMode()) document 3513 Source/core/page/EventHandler.cpp if (HTMLDialogElement* dialog = m_frame->document()->activeModalDialog()) document 3519 Source/core/page/EventHandler.cpp if (Element* element = m_frame->document()->focusedElement()) { document 3687 Source/core/page/EventHandler.cpp Document& doc = node->document(); document 3712 Source/core/page/EventHandler.cpp Document& doc = touchTarget->toNode()->document(); document 3789 Source/core/page/EventHandler.cpp stateName, touchEventTarget->toNode()->document().domWindow(), document 91 Source/core/page/EventSource.cpp Document* document = toDocument(context); document 92 Source/core/page/EventSource.cpp shouldBypassMainWorldContentSecurityPolicy = document->frame()->script().shouldBypassMainWorldContentSecurityPolicy(); document 90 Source/core/page/FocusController.cpp if (Frame* frame = root->document().frame()) document 124 Source/core/page/FocusController.cpp return FocusNavigationScope(frame->contentFrame()->document()); document 133 Source/core/page/FocusController.cpp static inline void dispatchEventsOnWindowAndFocusedNode(Document* document, bool focused) document 140 Source/core/page/FocusController.cpp if (Page* page = document->page()) { document 145 Source/core/page/FocusController.cpp if (!focused && document->focusedElement()) { document 146 Source/core/page/FocusController.cpp RefPtr<Element> focusedElement(document->focusedElement()); document 149 Source/core/page/FocusController.cpp if (focusedElement == document->focusedElement()) { document 151 Source/core/page/FocusController.cpp if (focusedElement == document->focusedElement()) document 156 Source/core/page/FocusController.cpp if (DOMWindow* window = document->domWindow()) document 158 Source/core/page/FocusController.cpp if (focused && document->focusedElement()) { document 159 Source/core/page/FocusController.cpp RefPtr<Element> focusedElement(document->focusedElement()); document 162 Source/core/page/FocusController.cpp if (focusedElement == document->focusedElement()) { document 163 Source/core/page/FocusController.cpp document->focusedElement()->dispatchFocusInEvent(EventTypeNames::focusin, 0); document 164 Source/core/page/FocusController.cpp if (focusedElement == document->focusedElement()) document 165 Source/core/page/FocusController.cpp document->focusedElement()->dispatchFocusInEvent(EventTypeNames::DOMFocusIn, 0); document 289 Source/core/page/FocusController.cpp dispatchEventsOnWindowAndFocusedNode(toLocalFrame(m_focusedFrame.get())->document(), focused); document 318 Source/core/page/FocusController.cpp if (AXObjectCache* cache = focusedOrMainFrame()->document()->existingAXObjectCache()) document 319 Source/core/page/FocusController.cpp cache->postNotification(focusedOrMainFrame()->document(), AXObjectCache::AXFocusedUIElementChanged, true); document 350 Source/core/page/FocusController.cpp Document* document = frame->document(); document 352 Source/core/page/FocusController.cpp Node* currentNode = document->focusedElement(); document 359 Source/core/page/FocusController.cpp document->updateLayoutIgnorePendingStylesheets(); document 361 Source/core/page/FocusController.cpp RefPtr<Node> node = findFocusableNodeAcrossFocusScope(type, FocusNavigationScope::focusNavigationScopeOf(currentNode ? currentNode : document), currentNode); document 366 Source/core/page/FocusController.cpp document->setFocusedElement(nullptr); document 373 Source/core/page/FocusController.cpp node = findFocusableNodeRecursively(type, FocusNavigationScope::focusNavigationScopeOf(m_page->mainFrame()->document()), 0); document 382 Source/core/page/FocusController.cpp if (node == document->focusedElement()) document 398 Source/core/page/FocusController.cpp document->setFocusedElement(nullptr); document 406 Source/core/page/FocusController.cpp Document& newDocument = element->document(); document 408 Source/core/page/FocusController.cpp if (&newDocument != document) { document 410 Source/core/page/FocusController.cpp document->setFocusedElement(nullptr); document 594 Source/core/page/FocusController.cpp return node->document().frame() && node->rootEditableElement(); document 602 Source/core/page/FocusController.cpp if (oldFocusedFrame->document() != newFocusedFrame->document()) document 637 Source/core/page/FocusController.cpp RefPtr<Document> oldDocument = oldFocusedFrame ? oldFocusedFrame->document() : 0; document 651 Source/core/page/FocusController.cpp newDocument = &element->document(); document 653 Source/core/page/FocusController.cpp newDocument = newFocusedFrame->document(); document 762 Source/core/page/FocusController.cpp HitTestResult result = candidate.visibleNode->document().page()->mainFrame()->eventHandler().hitTestResultAtPoint(IntPoint(x, y), HitTestRequest::ReadOnly | HitTestRequest::Active | HitTestRequest::IgnoreClipping | HitTestRequest::ConfusingAndOftenMisusedDisallowShadowContent); document 783 Source/core/page/FocusController.cpp Element* focusedElement = (focusedFrame() && focusedFrame()->document()) ? focusedFrame()->document()->focusedElement() : 0; document 837 Source/core/page/FocusController.cpp scrollInDirection(&focusCandidate.visibleNode->document(), type); document 842 Source/core/page/FocusController.cpp Element* focusedElement = focusedOrMainFrame()->document()->focusedElement(); document 845 Source/core/page/FocusController.cpp frameElement->contentFrame()->document()->updateLayoutIgnorePendingStylesheets(); document 846 Source/core/page/FocusController.cpp if (!advanceFocusDirectionallyInContainer(frameElement->contentFrame()->document(), rect, type)) { document 860 Source/core/page/FocusController.cpp Element* focusedElement = focusedOrMainFrame()->document()->focusedElement(); document 887 Source/core/page/FocusController.cpp Document* focusedDocument = curFrame->document(); document 173 Source/core/page/FrameTree.cpp TreeScope* scope = m_thisFrame->document(); document 191 Source/core/page/FrameTree.cpp TreeScope* scope = m_thisFrame->document(); document 218 Source/core/page/FrameTree.cpp m_scopedChildCount = scopedChildCount(m_thisFrame->document()); document 400 Source/core/page/FrameTree.cpp printf(" document=%p\n", frame->document()); document 402 Source/core/page/FrameTree.cpp printf(" uri=%s\n\n", frame->document()->url().string().utf8().data()); document 59 Source/core/page/InjectedStyleSheets.cpp frame->document()->styleEngine()->invalidateInjectedStyleSheetCache(); document 182 Source/core/page/Page.cpp return mainFrame() && mainFrame()->document() ? mainFrame()->document()->viewportDescription() : ViewportDescription(); document 203 Source/core/page/Page.cpp if (Document* document = m_mainFrame->document()) document 204 Source/core/page/Page.cpp document->updateLayout(); document 222 Source/core/page/Page.cpp void Page::documentDetached(Document* document) document 225 Source/core/page/Page.cpp m_pointerLockController->documentDetached(document); document 226 Source/core/page/Page.cpp m_contextMenuController->documentDetached(document); document 228 Source/core/page/Page.cpp m_validationMessageClient->documentDetached(*document); document 246 Source/core/page/Page.cpp frame->document()->setNeedsStyleRecalc(SubtreeStyleChange); document 252 Source/core/page/Page.cpp frame->document()->styleResolverChanged(RecalcStyleDeferred); document 286 Source/core/page/Page.cpp if (frame->document()->containsPlugins()) document 318 Source/core/page/Page.cpp frame->document()->markers().removeMarkers(DocumentMarker::TextMatch); document 376 Source/core/page/Page.cpp frame->document()->visitedLinkState().invalidateStyleForAllLinks(); document 386 Source/core/page/Page.cpp frame->document()->visitedLinkState().invalidateStyleForLink(linkHash); document 404 Source/core/page/Page.cpp if (frame->document()) document 405 Source/core/page/Page.cpp frame->document()->didChangeTimerAlignmentInterval(); document 468 Source/core/page/Page.cpp mainFrame()->document()->updateViewportDescription(); document 476 Source/core/page/Page.cpp frame->document()->initDNSPrefetch(); document 486 Source/core/page/Page.cpp frame->document()->fetcher()->setImagesEnabled(settings().imagesEnabled()); document 487 Source/core/page/Page.cpp frame->document()->fetcher()->setAutoLoadImages(settings().loadsImagesAutomatically()); document 493 Source/core/page/Page.cpp if (FastTextAutosizer* textAutosizer = mainFrame()->document()->fastTextAutosizer()) { document 497 Source/core/page/Page.cpp if (TextAutosizer* textAutosizer = frame->document()->textAutosizer()) document 510 Source/core/page/Page.cpp frame->document()->styleEngine()->updateGenericFontFamilySettings(); document 34 Source/core/page/PageAnimator.cpp DocumentAnimations::updateAnimationTimingForAnimationFrame(*frame->document(), monotonicAnimationStartTime); document 35 Source/core/page/PageAnimator.cpp SVGDocumentExtensions::serviceOnAnimationFrame(*frame->document(), monotonicAnimationStartTime); document 40 Source/core/page/PageAnimator.cpp documents.append(frame->document()); document 118 Source/core/page/PageSerializer.cpp SerializerMarkupAccumulator::SerializerMarkupAccumulator(PageSerializer* serializer, const Document& document, Vector<Node*>* nodes) document 121 Source/core/page/PageSerializer.cpp , m_document(document) document 161 Source/core/page/PageSerializer.cpp KURL url = toLocalFrame(frame)->document()->url(); document 189 Source/core/page/PageSerializer.cpp ASSERT(frame->document()); document 190 Source/core/page/PageSerializer.cpp Document& document = *frame->document(); document 191 Source/core/page/PageSerializer.cpp KURL url = document.url(); document 204 Source/core/page/PageSerializer.cpp WTF::TextEncoding textEncoding(document.charset()); document 211 Source/core/page/PageSerializer.cpp SerializerMarkupAccumulator accumulator(this, document, &serializedNodes); document 212 Source/core/page/PageSerializer.cpp String text = accumulator.serializeNodes(document, IncludeNode); document 214 Source/core/page/PageSerializer.cpp m_resources->append(SerializedResource(url, document.suggestedMIMEType(), SharedBuffer::create(frameHTML.data(), frameHTML.length()))); document 226 Source/core/page/PageSerializer.cpp retrieveResourcesForProperties(element.inlineStyle(), document); document 230 Source/core/page/PageSerializer.cpp KURL url = document.completeURL(imageElement.getAttribute(HTMLNames::srcAttr)); document 243 Source/core/page/PageSerializer.cpp KURL url = document.completeURL(linkElement.getAttribute(HTMLNames::hrefAttr)); document 270 Source/core/page/PageSerializer.cpp Document& document = *styleSheet->ownerDocument(); document 274 Source/core/page/PageSerializer.cpp KURL importURL = document.completeURL(importRule->href()); document 279 Source/core/page/PageSerializer.cpp retrieveResourcesForProperties(&toCSSFontFaceRule(rule)->styleRule()->properties(), document); document 281 Source/core/page/PageSerializer.cpp retrieveResourcesForProperties(&toCSSStyleRule(rule)->styleRule()->properties(), document); document 338 Source/core/page/PageSerializer.cpp void PageSerializer::retrieveResourcesForProperties(const StylePropertySet* styleDeclaration, Document& document) document 349 Source/core/page/PageSerializer.cpp retrieveResourcesForCSSValue(cssValue.get(), document); document 353 Source/core/page/PageSerializer.cpp void PageSerializer::retrieveResourcesForCSSValue(CSSValue* cssValue, Document& document) document 369 Source/core/page/PageSerializer.cpp addFontToResources(fontFaceSrcValue->fetch(&document)); document 373 Source/core/page/PageSerializer.cpp retrieveResourcesForCSSValue(cssValueList->item(i), document); document 56 Source/core/page/PointerLockController.cpp if (target->document().isSandboxed(SandboxPointerLock)) { document 58 Source/core/page/PointerLockController.cpp target->document().addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, "Blocked pointer lock on an element because the element's frame is sandboxed and the 'allow-pointer-lock' permission is not set."); document 64 Source/core/page/PointerLockController.cpp if (m_element->document() != target->document()) { document 86 Source/core/page/PointerLockController.cpp m_documentOfRemovedElementWhileWaitingForUnlock = &m_element->document(); document 94 Source/core/page/PointerLockController.cpp void PointerLockController::documentDetached(Document* document) document 96 Source/core/page/PointerLockController.cpp if (m_element && m_element->document() == document) { document 126 Source/core/page/PointerLockController.cpp enqueueEvent(EventTypeNames::webkitpointerlockchange, m_element ? &m_element->document() : m_documentOfRemovedElementWhileWaitingForUnlock.get()); document 133 Source/core/page/PointerLockController.cpp if (!m_element || !m_element->document().frame()) document 152 Source/core/page/PointerLockController.cpp enqueueEvent(type, &element->document()); document 155 Source/core/page/PointerLockController.cpp void PointerLockController::enqueueEvent(const AtomicString& type, Document* document) document 157 Source/core/page/PointerLockController.cpp if (document && document->domWindow()) document 158 Source/core/page/PointerLockController.cpp document->domWindow()->enqueueDocumentEvent(Event::create(type)); document 62 Source/core/page/PrintContext.cpp if (!m_frame->document() || !m_frame->view() || !m_frame->document()->renderView()) document 70 Source/core/page/PrintContext.cpp RenderView* view = m_frame->document()->renderView(); document 95 Source/core/page/PrintContext.cpp if (!m_frame->document() || !m_frame->view() || !m_frame->document()->renderView()) document 98 Source/core/page/PrintContext.cpp RenderView* view = m_frame->document()->renderView(); document 180 Source/core/page/PrintContext.cpp if (m_frame->document() && m_frame->document()->renderView()) document 181 Source/core/page/PrintContext.cpp useViewWidth = m_frame->document()->renderView()->style()->isHorizontalWritingMode(); document 204 Source/core/page/PrintContext.cpp outputLinkedDestinations(ctx, m_frame->document(), pageRect); document 241 Source/core/page/PrintContext.cpp element->document().updateLayout(); document 247 Source/core/page/PrintContext.cpp LocalFrame* frame = element->document().frame(); document 276 Source/core/page/PrintContext.cpp KURL url = node->document().completeURL(href); document 279 Source/core/page/PrintContext.cpp if (url.hasFragmentIdentifier() && equalIgnoringFragmentIdentifier(url, node->document().baseURL())) { document 281 Source/core/page/PrintContext.cpp Element* element = node->document().findAnchor(name); document 310 Source/core/page/PrintContext.cpp Document* document = frame->document(); document 313 Source/core/page/PrintContext.cpp document->updateLayout(); document 314 Source/core/page/PrintContext.cpp RefPtr<RenderStyle> style = document->styleForPage(pageNumber); document 336 Source/core/page/PrintContext.cpp return frame->document()->isPageBoxVisible(pageNumber); document 342 Source/core/page/PrintContext.cpp frame->document()->pageSizeAndMarginsInPixels(pageNumber, pageSize, marginTop, marginRight, marginBottom, marginLeft); document 350 Source/core/page/PrintContext.cpp frame->document()->updateLayout(); document 364 Source/core/page/PrintContext.cpp if (!frame->document() || !frame->view() || !frame->document()->renderer()) document 367 Source/core/page/PrintContext.cpp frame->document()->updateLayout(); document 53 Source/core/page/ScopedPageLoadDeferrer.cpp frame->document()->suspendScheduledTasks(); document 70 Source/core/page/ScopedPageLoadDeferrer.cpp frame->document()->resumeScheduledTasks(); document 296 Source/core/page/SpatialNavigation.cpp FrameView* frameView = node->document().view(); document 341 Source/core/page/SpatialNavigation.cpp if (frame && canScrollInDirection(frame->document(), type)) { document 519 Source/core/page/SpatialNavigation.cpp ASSERT(node && node->renderer() && !node->document().view()->needsLayout()); document 523 Source/core/page/SpatialNavigation.cpp LayoutRect rect = rectToAbsoluteCoordinates(node->document().frame(), node->boundingBox()); document 675 Source/core/page/SpatialNavigation.cpp LayoutSize viewSize = candidate.visibleNode->document().page()->mainFrame()->view()->visibleContentRect().size(); document 730 Source/core/page/SpatialNavigation.cpp LayoutRect rect = virtualRectForDirection(type, rectToAbsoluteCoordinates(area.document().frame(), area.computeRect(area.imageElement()->renderer())), 1); document 119 Source/core/page/SpatialNavigation.h Document* document() const { return visibleNode ? &visibleNode->document() : 0; } document 323 Source/core/page/TouchAdjustment.cpp rect = subtarget.node()->document().view()->contentsToWindow(rect); document 346 Source/core/page/TouchAdjustment.cpp rect = subtarget.node()->document().view()->contentsToWindow(rect); document 387 Source/core/page/TouchAdjustment.cpp FrameView* view = geom.node()->document().view(); document 465 Source/core/page/TouchAdjustment.cpp targetArea = targetNode->document().view()->contentsToWindow(targetArea); document 54 Source/core/page/TouchDisambiguation.cpp if (!eventNode->document().view()) document 68 Source/core/page/TouchDisambiguation.cpp return eventNode->document().view()->contentsToWindow(result); document 109 Source/core/page/scrolling/ScrollingCoordinator.cpp Settings* settings = m_page->mainFrame()->document()->settings(); document 167 Source/core/page/scrolling/ScrollingCoordinator.cpp Element* fullscreenElement = FullscreenElementStack::fullscreenElementFrom(*(m_page->mainFrame()->document())); document 326 Source/core/page/scrolling/ScrollingCoordinator.cpp Settings* settings = m_page->mainFrame()->document()->settings(); document 358 Source/core/page/scrolling/ScrollingCoordinator.cpp bool pinchVirtualViewportEnabled = m_page->mainFrame()->document()->settings()->pinchVirtualViewportEnabled(); document 728 Source/core/page/scrolling/ScrollingCoordinator.cpp static void accumulateDocumentTouchEventTargetRects(LayerHitTestRects& rects, const Document* document) document 730 Source/core/page/scrolling/ScrollingCoordinator.cpp ASSERT(document); document 731 Source/core/page/scrolling/ScrollingCoordinator.cpp if (!document->touchEventTargets()) document 734 Source/core/page/scrolling/ScrollingCoordinator.cpp const TouchEventTargetSet* targets = document->touchEventTargets(); document 742 Source/core/page/scrolling/ScrollingCoordinator.cpp if (target == document || target == document->documentElement() || target == document->body()) { document 743 Source/core/page/scrolling/ScrollingCoordinator.cpp if (RenderObject* renderer = document->renderer()) { document 756 Source/core/page/scrolling/ScrollingCoordinator.cpp ASSERT(target != document); document 794 Source/core/page/scrolling/ScrollingCoordinator.cpp Document* document = m_page->mainFrame()->document(); document 795 Source/core/page/scrolling/ScrollingCoordinator.cpp if (!document || !document->view()) document 798 Source/core/page/scrolling/ScrollingCoordinator.cpp accumulateDocumentTouchEventTargetRects(rects, document); document 806 Source/core/page/scrolling/ScrollingCoordinator.cpp if (frame->document()) document 807 Source/core/page/scrolling/ScrollingCoordinator.cpp wheelEventHandlerCount += WheelController::from(*frame->document())->wheelEventHandlerCount(); document 949 Source/core/page/scrolling/ScrollingCoordinator.cpp ASSERT(m_page->mainFrame()->document()->lifecycle().state() >= DocumentLifecycle::CompositingClean); document 195 Source/core/plugins/PluginOcclusionSupport.cpp Document* document = parentFrameView->frame().document(); document 196 Source/core/plugins/PluginOcclusionSupport.cpp const Vector<RefPtr<Element> >& elements = document->topLayerElements(); document 152 Source/core/rendering/AbstractInlineTextBox.cpp RefPtrWillBeRawPtr<Range> range = Range::create(node->document()); document 129 Source/core/rendering/AutoTableLayout.cpp if (m_table->document().inQuirksMode() && columnLayout.maxLogicalWidth > columnLayout.logicalWidth.value() && fixedContributor != maxContributor) { document 62 Source/core/rendering/FastTextAutosizer.cpp static void writeDebugPageInfo(const Document* document, float baseMultiplier, int layoutWidth, int frameWidth) document 64 Source/core/rendering/FastTextAutosizer.cpp if (Element* element = document->documentElement()) { document 255 Source/core/rendering/FastTextAutosizer.cpp FastTextAutosizer::FastTextAutosizer(const Document* document) document 256 Source/core/rendering/FastTextAutosizer.cpp : m_document(document) document 467 Source/core/rendering/FastTextAutosizer.cpp if (FastTextAutosizer* textAutosizer = frame->document()->fastTextAutosizer()) document 502 Source/core/rendering/FastTextAutosizer.cpp const ViewportDescription& viewportDescription = m_document->page()->mainFrame()->document()->viewportDescription(); document 1036 Source/core/rendering/FastTextAutosizer.cpp : m_textAutosizer(block->document().fastTextAutosizer()) document 1057 Source/core/rendering/FastTextAutosizer.cpp if (FastTextAutosizer* textAutosizer = m_mainFrame->document()->fastTextAutosizer()) { document 1065 Source/core/rendering/FastTextAutosizer.cpp if (FastTextAutosizer* textAutosizer = m_mainFrame->document()->fastTextAutosizer()) { document 58 Source/core/rendering/FastTextAutosizer.h static PassOwnPtr<FastTextAutosizer> create(const Document* document) document 60 Source/core/rendering/FastTextAutosizer.h return adoptPtr(new FastTextAutosizer(document)); document 131 Source/core/rendering/HitTestResult.cpp node = node->document().ancestorInThisScope(node); document 136 Source/core/rendering/HitTestResult.cpp node = node->document().ancestorInThisScope(node); document 186 Source/core/rendering/HitTestResult.cpp return m_innerNonSharedNode->document().frame(); document 188 Source/core/rendering/HitTestResult.cpp return m_innerNode->document().frame(); document 197 Source/core/rendering/HitTestResult.cpp if (LocalFrame* frame = m_innerNonSharedNode->document().frame()) document 210 Source/core/rendering/HitTestResult.cpp DocumentMarker* marker = m_innerNonSharedNode->document().markers().markerContainingPoint(m_hitTestLocation.point(), DocumentMarker::Grammar); document 296 Source/core/rendering/HitTestResult.cpp return m_innerNonSharedNode->document().completeURL(stripLeadingAndTrailingHTMLSpaces(urlString)); document 332 Source/core/rendering/HitTestResult.cpp return m_innerURLElement->document().completeURL(stripLeadingAndTrailingHTMLSpaces(urlString)); document 356 Source/core/rendering/HitTestResult.cpp return m_innerNonSharedNode->document().markers().markersInRange( document 410 Source/core/rendering/HitTestResult.cpp node = node->document().ancestorInThisScope(node); document 430 Source/core/rendering/HitTestResult.cpp node = node->document().ancestorInThisScope(node); document 127 Source/core/rendering/ImageQualityController.cpp if (LocalFrame* frame = it->key->document().frame()) { document 177 Source/core/rendering/ImageQualityController.cpp if (LocalFrame* frame = object->document().frame()) { document 1064 Source/core/rendering/InlineFlowBox.cpp bool noQuirksMode = renderer().document().inNoQuirksMode(); document 1231 Source/core/rendering/InlineFlowBox.cpp bool noQuirksMode = renderer().document().inNoQuirksMode(); document 488 Source/core/rendering/InlineTextBox.cpp bool isPrinting = textRenderer().document().printing(); document 556 Source/core/rendering/InlineTextBox.cpp if (textRenderer().document().settings() && textRenderer().document().settings()->shouldPrintBackgrounds()) document 1120 Source/core/rendering/InlineTextBox.cpp bool isPrinting = textRenderer().document().printing(); document 1207 Source/core/rendering/InlineTextBox.cpp if (textRenderer().document().printing()) document 1305 Source/core/rendering/InlineTextBox.cpp Vector<DocumentMarker*> markers = renderer().document().markers().markersFor(renderer().node()); document 1397 Source/core/rendering/InlineTextBox.cpp ctx->drawLineForText(FloatPoint(boxOrigin.x() + start, boxOrigin.y() + logicalHeight() - lineThickness), width, textRenderer().document().printing()); document 34 Source/core/rendering/RenderApplet.cpp UseCounter::count(document(), UseCounter::HTMLAppletElement); document 48 Source/core/rendering/RenderBR.cpp if (firstLine && document().styleEngine()->usesFirstLineRules()) { document 122 Source/core/rendering/RenderBlock.cpp m_shouldDispatchEvent = !m_block->isAnonymous() && m_block->hasOverflowClip() && m_block->document().hasListenerType(Document::OVERFLOWCHANGED_LISTENER); document 145 Source/core/rendering/RenderBlock.cpp m_block->document().enqueueAnimationFrameEvent(event.release()); document 274 Source/core/rendering/RenderBlock.cpp if (FastTextAutosizer* textAutosizer = document().fastTextAutosizer()) document 341 Source/core/rendering/RenderBlock.cpp if (FastTextAutosizer* textAutosizer = document().fastTextAutosizer()) document 921 Source/core/rendering/RenderBlock.cpp if (AXObjectCache* cache = document().existingAXObjectCache()) document 1202 Source/core/rendering/RenderBlock.cpp if (logicalHeightLength.isPercent() && !document().inQuirksMode()) { document 1747 Source/core/rendering/RenderBlock.cpp bool shouldCull = document().settings()->containerCullingEnabled() && !pushedClip && !isRoot() document 1915 Source/core/rendering/RenderBlock.cpp if (document().didLayoutWithPendingStylesheets() && !isRenderView()) document 2045 Source/core/rendering/RenderBlock.cpp bool isPrinting = document().printing(); document 3030 Source/core/rendering/RenderBlock.cpp bool moveCaretToBoundary = document().frame()->editor().behavior().shouldMoveCaretToHorizontalBoundaryWhenPastTopOrBottom(); document 3164 Source/core/rendering/RenderBlock.cpp if (document().regionBasedColumnsEnabled()) document 3173 Source/core/rendering/RenderBlock.cpp if (document().paginated() || !style()->specifiesColumns()) { document 3200 Source/core/rendering/RenderBlock.cpp bool isPaginated = style()->isOverflowPaged() && node() != document().viewportDefiningElement(); document 3713 Source/core/rendering/RenderBlock.cpp if (firstLine && document().styleEngine()->usesFirstLineRules()) { document 3780 Source/core/rendering/RenderBlock.cpp if (!document().inNoQuirksMode() && replacedHeight) document 3935 Source/core/rendering/RenderBlock.cpp newFirstLetter = RenderInline::createAnonymous(&document()); document 3937 Source/core/rendering/RenderBlock.cpp newFirstLetter = RenderBlockFlow::createAnonymous(&document()); document 3979 Source/core/rendering/RenderBlock.cpp firstLetter = RenderInline::createAnonymous(&document()); document 3981 Source/core/rendering/RenderBlock.cpp firstLetter = RenderBlockFlow::createAnonymous(&document()); document 3996 Source/core/rendering/RenderBlock.cpp new RenderTextFragment(textObj->node() ? textObj->node() : &textObj->document(), oldText.impl(), length, oldText.length() - length); document 4008 Source/core/rendering/RenderBlock.cpp new RenderTextFragment(remainingText->node() ? remainingText->node() : &remainingText->document(), oldText.impl(), 0, length); document 4210 Source/core/rendering/RenderBlock.cpp if (!document().styleEngine()->usesFirstLetterRules()) document 4982 Source/core/rendering/RenderBlock.cpp newBox = RenderDeprecatedFlexibleBox::createAnonymous(&parent->document()); document 4985 Source/core/rendering/RenderBlock.cpp newBox = RenderFlexibleBox::createAnonymous(&parent->document()); document 4988 Source/core/rendering/RenderBlock.cpp newBox = RenderBlockFlow::createAnonymous(&parent->document()); document 5002 Source/core/rendering/RenderBlock.cpp RenderBlockFlow* newBox = RenderBlockFlow::createAnonymous(&parent->document()); document 5012 Source/core/rendering/RenderBlock.cpp RenderBlockFlow* newBox = RenderBlockFlow::createAnonymous(&parent->document()); document 167 Source/core/rendering/RenderBlockFlow.cpp RenderBlockFlow* RenderBlockFlow::createAnonymous(Document* document) document 170 Source/core/rendering/RenderBlockFlow.cpp renderer->setDocumentForAnonymous(document); document 1061 Source/core/rendering/RenderBlockFlow.cpp if (!document().inQuirksMode() || !marginInfo.quirkContainer() || !topQuirk) document 1145 Source/core/rendering/RenderBlockFlow.cpp && (!document().inQuirksMode() || !marginInfo.quirkContainer() || !marginInfo.hasMarginBeforeQuirk())))) { document 1326 Source/core/rendering/RenderBlockFlow.cpp if ((document().inQuirksMode() && hasMarginBeforeQuirk(child) && (isTableCell() || isBody())) || child->style()->marginBeforeCollapse() == MSEPARATE) document 1472 Source/core/rendering/RenderBlockFlow.cpp && (!document().inQuirksMode() || !marginInfo.quirkContainer() || !marginInfo.hasMarginAfterQuirk()))) document 1681 Source/core/rendering/RenderBlockFlow.cpp if (AXObjectCache* cache = document().existingAXObjectCache()) document 2783 Source/core/rendering/RenderBlockFlow.cpp if ((style()->hasAutoColumnCount() && style()->hasAutoColumnWidth()) || !document().regionBasedColumnsEnabled()) document 2790 Source/core/rendering/RenderBlockFlow.cpp RenderMultiColumnFlowThread* flowThread = RenderMultiColumnFlowThread::createAnonymous(document(), style()); document 115 Source/core/rendering/RenderBlockLineLayout.cpp textBox->setIsText(isOnlyRun || obj->document().inNoQuirksMode()); document 288 Source/core/rendering/RenderBlockLineLayout.cpp if (AXObjectCache* cache = document().existingAXObjectCache()) document 1384 Source/core/rendering/RenderBlockLineLayout.cpp bool allowImagesToBreak = !document().inQuirksMode() || !isTableCell() || !styleToUse->logicalWidth().isIntrinsicOrAuto(); document 86 Source/core/rendering/RenderBox.cpp RenderObject* documentElementRenderer = bodyElementRenderer->document().documentElement()->renderer(); document 223 Source/core/rendering/RenderBox.cpp document().view()->recalculateScrollbarOverlayStyle(); document 288 Source/core/rendering/RenderBox.cpp if (node() != document().viewportDefiningElement()) { document 487 Source/core/rendering/RenderBox.cpp Element* ownerElement = document().ownerElement(); document 812 Source/core/rendering/RenderBox.cpp if (!renderer->parent() && renderer->node() == renderer->document() && renderer->document().ownerElement()) document 813 Source/core/rendering/RenderBox.cpp renderer = renderer->document().ownerElement()->renderer(); document 1584 Source/core/rendering/RenderBox.cpp bool drawingRootBackground = drawingBackground && (isRoot() || (isBody() && !document().documentElement()->renderer()->hasBackground())); document 2590 Source/core/rendering/RenderBox.cpp bool paginatedContentNeedsBaseHeight = document().printing() && h.isPercent() document 2591 Source/core/rendering/RenderBox.cpp && (isRoot() || (isBody() && document().documentElement()->renderer()->style()->logicalHeight().isPercent())) && !isInline(); document 2606 Source/core/rendering/RenderBox.cpp if (document().printing()) document 2669 Source/core/rendering/RenderBox.cpp if (!document().inQuirksMode() && !containingBlock->isAnonymousBlock()) document 4307 Source/core/rendering/RenderBox.cpp bool inQuirksMode = cb->document().inQuirksMode(); document 432 Source/core/rendering/RenderBox.h return document().inQuirksMode() && style()->logicalHeight().isAuto() && !isFloatingOrOutOfFlowPositioned() && (isRoot() || isBody()) && !isInline(); document 167 Source/core/rendering/RenderBoxModelObject.cpp if (!logicalHeightLength.isPercent() || isOutOfFlowPositioned() || document().inQuirksMode()) document 505 Source/core/rendering/RenderBoxModelObject.cpp if (document().printing()) { document 508 Source/core/rendering/RenderBoxModelObject.cpp if (document().settings() && document().settings()->shouldPrintBackgrounds()) document 639 Source/core/rendering/RenderBoxModelObject.cpp Element* ownerElement = document().ownerElement(); document 646 Source/core/rendering/RenderBoxModelObject.cpp HTMLElement* body = document().body(); document 652 Source/core/rendering/RenderBoxModelObject.cpp isOpaqueRoot = !document().hasSVGRootNode(); document 678 Source/core/rendering/RenderBoxModelObject.cpp bool shouldClearDocumentBackground = document().settings() && document().settings()->shouldClearDocumentBackground(); document 129 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp const KURL& url = document().url(); document 131 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp UseCounter::count(document(), UseCounter::DeprecatedFlexboxChrome); document 133 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp UseCounter::count(document(), UseCounter::DeprecatedFlexboxChromeExtension); document 135 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp UseCounter::count(document(), UseCounter::DeprecatedFlexboxWebContent); document 143 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp RenderDeprecatedFlexibleBox* RenderDeprecatedFlexibleBox::createAnonymous(Document* document) document 146 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp renderer->setDocumentForAnonymous(document); document 878 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp UseCounter::count(document(), UseCounter::LineClamp); document 169 Source/core/rendering/RenderEmbeddedObject.cpp Settings* settings = document().settings(); document 83 Source/core/rendering/RenderFlexibleBox.cpp RenderFlexibleBox* RenderFlexibleBox::createAnonymous(Document* document) document 86 Source/core/rendering/RenderFlexibleBox.cpp renderer->setDocumentForAnonymous(document); document 201 Source/core/rendering/RenderFlowThread.cpp if (view()->document().printing() || r.isEmpty()) document 452 Source/core/rendering/RenderFrameSet.cpp if (!parent()->isFrameSet() && !document().printing()) { document 39 Source/core/rendering/RenderFullScreen.cpp setDocumentForAnonymous(&owner->document()); document 60 Source/core/rendering/RenderFullScreen.cpp RenderFullScreen* RenderFullScreen::createAnonymous(Document* document) document 63 Source/core/rendering/RenderFullScreen.cpp renderer->setDocumentForAnonymous(document); document 78 Source/core/rendering/RenderFullScreen.cpp FullscreenElementStack& controller = FullscreenElementStack::from(document()); document 111 Source/core/rendering/RenderFullScreen.cpp RenderObject* RenderFullScreen::wrapRenderer(RenderObject* object, RenderObject* parent, Document* document) document 113 Source/core/rendering/RenderFullScreen.cpp RenderFullScreen* fullscreenRenderer = RenderFullScreen::createAnonymous(document); document 142 Source/core/rendering/RenderFullScreen.cpp ASSERT(document); document 143 Source/core/rendering/RenderFullScreen.cpp FullscreenElementStack::from(*document).setFullScreenRenderer(fullscreenRenderer); document 165 Source/core/rendering/RenderFullScreen.cpp FullscreenElementStack::from(document()).setFullScreenRenderer(0); document 68 Source/core/rendering/RenderImage.cpp RenderImage* RenderImage::createAnonymous(Document* document) document 71 Source/core/rendering/RenderImage.cpp image->setDocumentForAnonymous(document); document 402 Source/core/rendering/RenderImage.cpp Document& document = this->document(); document 404 Source/core/rendering/RenderImage.cpp if (document.printing() || !document.frame()->selection().isFocusedAndActive()) document 410 Source/core/rendering/RenderImage.cpp Element* focusedElement = document.focusedElement(); document 56 Source/core/rendering/RenderInline.cpp RenderInline* RenderInline::createAnonymous(Document* document) document 59 Source/core/rendering/RenderInline.cpp renderer->setDocumentForAnonymous(document); document 212 Source/core/rendering/RenderInline.cpp bool checkFonts = document().inNoQuirksMode(); document 220 Source/core/rendering/RenderInline.cpp if (!alwaysCreateLineBoxes && checkFonts && document().styleEngine()->usesFirstLineRules()) { document 317 Source/core/rendering/RenderInline.cpp RenderBlockFlow* newBox = RenderBlockFlow::createAnonymous(&document()); document 352 Source/core/rendering/RenderInline.cpp if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(document())) { document 1286 Source/core/rendering/RenderInline.cpp if (firstLine && document().styleEngine()->usesFirstLineRules()) { document 645 Source/core/rendering/RenderLayer.cpp return renderer()->document().regionBasedColumnsEnabled(); document 1941 Source/core/rendering/RenderLayer.cpp if (layer->renderer()->document().didLayoutWithPendingStylesheets() && !layer->isRootLayer() && !layer->renderer()->isRoot()) document 2110 Source/core/rendering/RenderLayer.cpp Document& document = renderer()->document(); document 2112 Source/core/rendering/RenderLayer.cpp Element* element = document.getElementById(referenceClipPathOperation->fragment()); document 2718 Source/core/rendering/RenderLayer.cpp FrameView* frameView = renderer->document().view(); document 2736 Source/core/rendering/RenderLayer.cpp ASSERT(!renderer()->document().renderer()->needsLayout()); document 3542 Source/core/rendering/RenderLayer.cpp return renderer()->document().lifecycle().state() >= DocumentLifecycle::InCompositingUpdate; document 3547 Source/core/rendering/RenderLayer.cpp return renderer()->document().lifecycle().state() == DocumentLifecycle::InCompositingUpdate; document 4016 Source/core/rendering/RenderLayer.cpp renderer()->document().view()->setHasSoftwareFilters(true); document 4028 Source/core/rendering/RenderLayer.cpp DeprecatedScheduleStyleRecalcDuringLayout marker(renderer()->document().lifecycle()); document 124 Source/core/rendering/RenderLayerFilterInfo.cpp DocumentResource* cachedSVGDocument = documentReference ? documentReference->document() : 0; document 133 Source/core/rendering/RenderLayerFilterInfo.cpp Element* filter = m_layer->renderer()->node()->document().getElementById(referenceFilterOperation->fragment()); document 62 Source/core/rendering/RenderLayerReflectionInfo.cpp UseCounter::count(m_renderer->document(), UseCounter::Reflection); document 64 Source/core/rendering/RenderLayerReflectionInfo.cpp m_reflection = RenderReplica::createAnonymous(&(m_renderer->document())); document 83 Source/core/rendering/RenderLayerRepainter.cpp if (view && !view->document().printing()) { document 419 Source/core/rendering/RenderLayerScrollableArea.cpp m_box->node()->document().enqueueScrollEventForNode(m_box->node()); document 421 Source/core/rendering/RenderLayerScrollableArea.cpp if (AXObjectCache* cache = m_box->document().existingAXObjectCache()) document 621 Source/core/rendering/RenderLayerScrollableArea.cpp if (m_box->document().hasAnnotatedRegions()) document 622 Source/core/rendering/RenderLayerScrollableArea.cpp m_box->document().setAnnotatedRegionsDirty(true); document 848 Source/core/rendering/RenderLayerScrollableArea.cpp m_box->document().view()->addChild(widget.get()); document 887 Source/core/rendering/RenderLayerScrollableArea.cpp if (m_box->document().hasAnnotatedRegions()) document 888 Source/core/rendering/RenderLayerScrollableArea.cpp m_box->document().setAnnotatedRegionsDirty(true); document 911 Source/core/rendering/RenderLayerScrollableArea.cpp if (m_box->document().hasAnnotatedRegions()) document 912 Source/core/rendering/RenderLayerScrollableArea.cpp m_box->document().setAnnotatedRegionsDirty(true); document 991 Source/core/rendering/RenderLayerScrollableArea.cpp m_scrollCorner = RenderScrollbarPart::createAnonymous(&m_box->document()); document 1259 Source/core/rendering/RenderLayerScrollableArea.cpp m_resizer = RenderScrollbarPart::createAnonymous(&m_box->document()); document 1319 Source/core/rendering/RenderLayerScrollableArea.cpp Document& document = element->document(); document 1326 Source/core/rendering/RenderLayerScrollableArea.cpp if (!document.frame()->eventHandler().mousePressed()) document 1343 Source/core/rendering/RenderLayerScrollableArea.cpp LayoutSize newOffset = offsetFromResizeCorner(document.view()->windowToContents(pos)); document 1384 Source/core/rendering/RenderLayerScrollableArea.cpp document.updateLayout(); document 139 Source/core/rendering/RenderListBox.cpp itemFont.update(document().styleEngine()->fontSelector()); document 174 Source/core/rendering/RenderListBox.cpp if (AXObjectCache* cache = document().existingAXObjectCache()) document 430 Source/core/rendering/RenderListBox.cpp if (frame()->selection().isFocusedAndActive() && document().focusedElement() == node()) document 448 Source/core/rendering/RenderListBox.cpp itemFont.update(document().styleEngine()->fontSelector()); document 464 Source/core/rendering/RenderListBox.cpp if (frame()->selection().isFocusedAndActive() && document().focusedElement() == node()) document 661 Source/core/rendering/RenderListBox.cpp node()->document().enqueueScrollEventForNode(node()); document 918 Source/core/rendering/RenderListBox.cpp document().view()->addChild(widget.get()); document 948 Source/core/rendering/RenderListBox.cpp if (document().hasAnnotatedRegions()) document 949 Source/core/rendering/RenderListBox.cpp document().setAnnotatedRegionsDirty(true); document 127 Source/core/rendering/RenderListItem.cpp ASSERT(!current->document().childNeedsDistributionRecalc()); document 153 Source/core/rendering/RenderListItem.cpp ASSERT(!current->document().childNeedsDistributionRecalc()); document 230 Source/core/rendering/RenderListItem.cpp bool inQuirksMode = curr->document().inQuirksMode(); document 321 Source/core/rendering/RenderListItem.cpp FastTextAutosizer* textAutosizer = document().fastTextAutosizer(); document 510 Source/core/rendering/RenderListItem.cpp if (node()->document().childNeedsDistributionRecalc()) document 1075 Source/core/rendering/RenderListMarker.cpp Document& document = item->document(); document 1077 Source/core/rendering/RenderListMarker.cpp renderer->setDocumentForAnonymous(&document); document 76 Source/core/rendering/RenderMarquee.cpp UseCounter::count(document(), UseCounter::HTMLMarqueeElement); document 52 Source/core/rendering/RenderMediaControlElements.cpp DeprecatedScheduleStyleRecalcDuringLayout marker(node()->document().lifecycle()); document 135 Source/core/rendering/RenderMenuList.cpp if (AXObjectCache* cache = document().existingAXObjectCache()) document 240 Source/core/rendering/RenderMenuList.cpp m_buttonText = new RenderBR(&document()); document 250 Source/core/rendering/RenderMenuList.cpp m_buttonText = new RenderText(&document(), s.impl()); document 324 Source/core/rendering/RenderMenuList.cpp if (document().frameHost()->chrome().hasOpenedPopup()) document 332 Source/core/rendering/RenderMenuList.cpp m_popup = document().frameHost()->chrome().createPopupMenu(*document().frame(), this); document 351 Source/core/rendering/RenderMenuList.cpp Document& doc = toElement(node())->document(); document 352 Source/core/rendering/RenderMenuList.cpp if (&doc != doc.frame()->document()) document 376 Source/core/rendering/RenderMenuList.cpp if (!AXObjectCache::accessibilityEnabled() || !document().existingAXObjectCache()) document 387 Source/core/rendering/RenderMenuList.cpp if (AXMenuList* menuList = toAXMenuList(document().axObjectCache()->get(this))) document 47 Source/core/rendering/RenderMultiColumnFlowThread.cpp RenderMultiColumnFlowThread* RenderMultiColumnFlowThread::createAnonymous(Document& document, RenderStyle* parentStyle) document 50 Source/core/rendering/RenderMultiColumnFlowThread.cpp renderer->setDocumentForAnonymous(&document); document 50 Source/core/rendering/RenderMultiColumnSet.cpp Document& document = flowThread->document(); document 52 Source/core/rendering/RenderMultiColumnSet.cpp renderer->setDocumentForAnonymous(&document); document 1165 Source/core/rendering/RenderObject.cpp KURL url = n->document().completeURL(href); document 1168 Source/core/rendering/RenderObject.cpp if (context->supportsURLFragments() && url.hasFragmentIdentifier() && equalIgnoringFragmentIdentifier(url, n->document().baseURL())) { document 1170 Source/core/rendering/RenderObject.cpp if (document().findAnchor(name)) document 1345 Source/core/rendering/RenderObject.cpp if (document().view()->hasSoftwareFilters()) { document 1357 Source/core/rendering/RenderObject.cpp if (parentRenderFlowThread->document() != document()) document 1444 Source/core/rendering/RenderObject.cpp if (view->document().printing()) document 1461 Source/core/rendering/RenderObject.cpp if (view->document().printing()) document 1516 Source/core/rendering/RenderObject.cpp if (v->document().printing()) document 1650 Source/core/rendering/RenderObject.cpp return !document().view()->needsFullRepaint() && everHadLayout(); document 1652 Source/core/rendering/RenderObject.cpp return !document().view()->needsFullRepaint() && !hasLayer() && everHadLayout(); document 2013 Source/core/rendering/RenderObject.cpp document().setAnnotatedRegionsDirty(true); document 2014 Source/core/rendering/RenderObject.cpp if (AXObjectCache* cache = document().existingAXObjectCache()) document 2069 Source/core/rendering/RenderObject.cpp bool drawsRootBackground = isRoot() || (isBody() && !rendererHasBackground(document().documentElement()->renderer())); document 2097 Source/core/rendering/RenderObject.cpp document().didAddTouchEventHandler(node()); document 2099 Source/core/rendering/RenderObject.cpp document().didRemoveTouchEventHandler(node()); document 2498 Source/core/rendering/RenderObject.cpp HTMLElement* body = document().body(); document 2511 Source/core/rendering/RenderObject.cpp return document().isImageDocument() document 2512 Source/core/rendering/RenderObject.cpp || (document().settings() && document().settings()->shouldRespectImageOrientation() && isHTMLImageElement(node())) ? RespectImageOrientation : DoNotRespectImageOrientation; document 2517 Source/core/rendering/RenderObject.cpp return node() && node()->isLink() && document().printing(); document 2605 Source/core/rendering/RenderObject.cpp if (AXObjectCache* cache = document().existingAXObjectCache()) document 2612 Source/core/rendering/RenderObject.cpp if (AXObjectCache* cache = document().existingAXObjectCache()) document 2628 Source/core/rendering/RenderObject.cpp document().didRemoveTouchEventHandler(node()); document 2808 Source/core/rendering/RenderObject.cpp const Settings* settings = document().settings(); document 2816 Source/core/rendering/RenderObject.cpp const Settings* settings = document().settings(); document 2936 Source/core/rendering/RenderObject.cpp if (!document().styleEngine()->usesFirstLineRules()) document 2946 Source/core/rendering/RenderObject.cpp ASSERT(document().styleEngine()->usesFirstLineRules()); document 2988 Source/core/rendering/RenderObject.cpp RefPtr<RenderStyle> result = document().ensureStyleResolver().styleForElement(element, parentStyle, DisallowStyleSharing); document 2993 Source/core/rendering/RenderObject.cpp return document().ensureStyleResolver().pseudoStyleForElement(element, pseudoStyleRequest, parentStyle); document 3113 Source/core/rendering/RenderObject.cpp if (document().activeDOMObjectsAreSuspended()) document 3118 Source/core/rendering/RenderObject.cpp return document().view()->isVisible(); document 401 Source/core/rendering/RenderObject.h bool isRoot() const { return document().documentElement() == m_node; } document 593 Source/core/rendering/RenderObject.h RenderView* view() const { return document().renderView(); }; document 594 Source/core/rendering/RenderObject.h FrameView* frameView() const { return document().view(); }; document 617 Source/core/rendering/RenderObject.h Document& document() const { return m_node->document(); } document 618 Source/core/rendering/RenderObject.h LocalFrame* frame() const { return document().frame(); } document 783 Source/core/rendering/RenderObject.h RenderStyle* firstLineStyle() const { return document().styleEngine()->usesFirstLineRules() ? cachedFirstLineStyle() : style(); } document 1052 Source/core/rendering/RenderObject.h void setDocumentForAnonymous(Document* document) { ASSERT(isAnonymous()); m_node = document; } document 1259 Source/core/rendering/RenderObject.h return !document().renderer(); document 113 Source/core/rendering/RenderObjectChildList.cpp if (AXObjectCache* cache = owner->document().existingAXObjectCache()) document 165 Source/core/rendering/RenderObjectChildList.cpp if (AXObjectCache* cache = owner->document().axObjectCache()) document 269 Source/core/rendering/RenderQuote.cpp RenderTextFragment* fragment = new RenderTextFragment(&document(), m_text.impl()); document 140 Source/core/rendering/RenderReplaced.cpp bool drawSelectionTint = selectionState() != SelectionNone && !document().printing(); document 48 Source/core/rendering/RenderReplica.cpp RenderReplica* RenderReplica::createAnonymous(Document* document) document 51 Source/core/rendering/RenderReplica.cpp renderer->setDocumentForAnonymous(document); document 88 Source/core/rendering/RenderRuby.cpp RenderBlockFlow* newBlock = RenderBlockFlow::createAnonymous(&ruby->document()); document 50 Source/core/rendering/RenderRubyBase.cpp RenderRubyBase* RenderRubyBase::createAnonymous(Document* document) document 53 Source/core/rendering/RenderRubyBase.cpp renderer->setDocumentForAnonymous(document); document 201 Source/core/rendering/RenderRubyRun.cpp RenderRubyBase* renderer = RenderRubyBase::createAnonymous(&document()); document 212 Source/core/rendering/RenderRubyRun.cpp rr->setDocumentForAnonymous(&parentRuby->document()); document 255 Source/core/rendering/RenderScrollbar.cpp partRenderer = RenderScrollbarPart::createAnonymous(&owningRenderer()->document(), this, partType); document 51 Source/core/rendering/RenderScrollbarPart.cpp RenderScrollbarPart* RenderScrollbarPart::createAnonymous(Document* document, RenderScrollbar* scrollbar, ScrollbarPart part) document 54 Source/core/rendering/RenderScrollbarPart.cpp renderer->setDocumentForAnonymous(document); document 531 Source/core/rendering/RenderTable.cpp if (!topSection() && computedLogicalHeight > totalSectionLogicalHeight && !document().inQuirksMode()) { document 1442 Source/core/rendering/RenderTable.cpp newTable->setDocumentForAnonymous(&parent->document()); document 1266 Source/core/rendering/RenderTableCell.cpp RenderTableCell* RenderTableCell::createAnonymous(Document* document) document 1269 Source/core/rendering/RenderTableCell.cpp renderer->setDocumentForAnonymous(document); document 1275 Source/core/rendering/RenderTableCell.cpp RenderTableCell* newCell = RenderTableCell::createAnonymous(&parent->document()); document 104 Source/core/rendering/RenderTableCell.h if (!document().inQuirksMode() && style()->boxSizing() != BORDER_BOX) document 261 Source/core/rendering/RenderTableRow.cpp RenderTableRow* RenderTableRow::createAnonymous(Document* document) document 264 Source/core/rendering/RenderTableRow.cpp renderer->setDocumentForAnonymous(document); document 270 Source/core/rendering/RenderTableRow.cpp RenderTableRow* newRow = RenderTableRow::createAnonymous(&parent->document()); document 1723 Source/core/rendering/RenderTableSection.cpp newSection->setDocumentForAnonymous(&parent->document()); document 81 Source/core/rendering/RenderText.cpp if (Settings* settings = m_renderText->document().settings()) document 1432 Source/core/rendering/RenderText.cpp if (AXObjectCache* cache = document().existingAXObjectCache()) document 273 Source/core/rendering/RenderTextControlSingleLine.cpp if (LocalFrame* frame = document().frame()) document 274 Source/core/rendering/RenderTextControlSingleLine.cpp shouldDrawCapsLockIndicator = inputElement()->isPasswordField() && frame->selection().isFocusedAndActive() && document().focusedElement() == node() && PlatformKeyboardEvent::currentCapsLockState(); document 386 Source/core/rendering/RenderTextControlSingleLine.cpp return document().focusedElement() != node() && style()->textOverflow() == TextOverflowEllipsis; document 704 Source/core/rendering/RenderTheme.cpp Page* page = node->document().page(); document 740 Source/core/rendering/RenderTheme.cpp Document& document = node->document(); document 741 Source/core/rendering/RenderTheme.cpp LocalFrame* frame = document.frame(); document 742 Source/core/rendering/RenderTheme.cpp return node == document.focusedElement() && node->shouldHaveFocusAppearance() && frame && frame->selection().isFocusedAndActive(); document 637 Source/core/rendering/RenderTreeAsText.cpp Element* body = node->document().body(); document 704 Source/core/rendering/RenderTreeAsText.cpp frame->document()->updateLayout(); document 722 Source/core/rendering/RenderTreeAsText.cpp element->document().updateLayout(); document 748 Source/core/rendering/RenderTreeAsText.cpp element->document().updateLayout(); document 763 Source/core/rendering/RenderTreeAsText.cpp element->document().updateLayout(); document 173 Source/core/rendering/RenderVideo.cpp else if ((document().view() && document().view()->paintBehavior() & PaintBehaviorFlattenCompositingLayers) || !acceleratedRenderingInUse()) document 50 Source/core/rendering/RenderView.cpp RenderView::RenderView(Document* document) document 51 Source/core/rendering/RenderView.cpp : RenderBlockFlow(document) document 52 Source/core/rendering/RenderView.cpp , m_frameView(document->view()) document 141 Source/core/rendering/RenderView.cpp FrameView* frameView = document().view(); document 192 Source/core/rendering/RenderView.cpp if (!document().paginated()) document 215 Source/core/rendering/RenderView.cpp if (document().svgExtensions()) document 216 Source/core/rendering/RenderView.cpp document().accessSVGExtensions().invalidateSVGRootsWithRelativeLengthDescendents(&layoutScope); document 372 Source/core/rendering/RenderView.cpp for (elt = document().ownerElement(); view() && elt && elt->renderer(); elt = elt->document().ownerElement()) { document 385 Source/core/rendering/RenderView.cpp if (document().ownerElement() || !view()) document 392 Source/core/rendering/RenderView.cpp Node* documentElement = document().documentElement(); document 421 Source/core/rendering/RenderView.cpp if (document().printing()) document 433 Source/core/rendering/RenderView.cpp Element* elt = document().ownerElement(); document 467 Source/core/rendering/RenderView.cpp if (document().printing()) document 774 Source/core/rendering/RenderView.cpp if (!document().printing() || !m_frameView) document 797 Source/core/rendering/RenderView.cpp RenderObject* rootObject = document().documentElement() ? document().documentElement()->renderer() : 0; document 880 Source/core/rendering/RenderView.cpp Node* node = document().documentElement(); document 57 Source/core/rendering/RenderWidget.cpp if (AXObjectCache* cache = document().existingAXObjectCache()) { document 245 Source/core/rendering/RenderWidget.cpp if (isSelected() && !document().printing()) { document 226 Source/core/rendering/RootInlineBox.cpp bool noQuirksMode = renderer().document().inNoQuirksMode(); document 728 Source/core/rendering/RootInlineBox.cpp if (firstLine && !renderer->document().styleEngine()->usesFirstLineRules()) document 42 Source/core/rendering/SubtreeLayoutScope.cpp RELEASE_ASSERT(m_root->document().view()->isInPerformLayout()); document 149 Source/core/rendering/TextAutosizer.cpp TextAutosizer::TextAutosizer(Document* document) document 150 Source/core/rendering/TextAutosizer.cpp : m_document(document) document 200 Source/core/rendering/TextAutosizer.cpp if (!isApplicable() || layoutRoot->view()->document().printing()) document 264 Source/core/rendering/TextAutosizer.cpp const ViewportDescription& viewportDescription = m_document->page()->mainFrame()->document()->viewportDescription(); document 69 Source/core/rendering/TextAutosizer.h static PassOwnPtr<TextAutosizer> create(Document* document) { return adoptPtr(new TextAutosizer(document)); } document 1600 Source/core/rendering/compositing/CompositedLayerMapping.cpp RenderObject* rootObject = renderObject->document().documentElement() ? renderObject->document().documentElement()->renderer() : 0; document 1607 Source/core/rendering/compositing/CompositedLayerMapping.cpp HTMLElement* body = renderObject->document().body(); document 2052 Source/core/rendering/compositing/CompositedLayerMapping.cpp renderer()->node()->document().cssPendingAnimations().notifyCompositorAnimationStarted(monotonicTime); document 43 Source/core/rendering/compositing/CompositingReasonFinder.cpp m_compositingTriggers = m_renderView.document().page()->chrome().client().allowedCompositingTriggers(); document 59 Source/core/rendering/compositing/CompositingReasonFinder.cpp return !m_renderView.document().ownerElement(); document 229 Source/core/rendering/compositing/CompositingReasonFinder.cpp if (Settings* settings = m_renderView.document().settings()) { document 279 Source/core/rendering/compositing/CompositingReasonFinder.cpp if (m_renderView.document().lifecycle().state() < DocumentLifecycle::LayoutClean) { document 240 Source/core/rendering/compositing/RenderLayerCompositor.cpp if (Settings* settings = m_renderView.document().settings()) { document 271 Source/core/rendering/compositing/RenderLayerCompositor.cpp if (Settings* settings = m_renderView.document().settings()) document 313 Source/core/rendering/compositing/RenderLayerCompositor.cpp static RenderVideo* findFullscreenVideoRenderer(Document& document) document 315 Source/core/rendering/compositing/RenderLayerCompositor.cpp Element* fullscreenElement = FullscreenElementStack::fullscreenElementFrom(document); document 415 Source/core/rendering/compositing/RenderLayerCompositor.cpp DocumentAnimations::startPendingAnimations(m_renderView.document()); document 416 Source/core/rendering/compositing/RenderLayerCompositor.cpp ASSERT(m_renderView.document().lifecycle().state() == DocumentLifecycle::CompositingClean); document 540 Source/core/rendering/compositing/RenderLayerCompositor.cpp RenderVideo* video = findFullscreenVideoRenderer(m_renderView.document()); document 1281 Source/core/rendering/compositing/RenderLayerCompositor.cpp if (Settings* settings = m_renderView.document().settings()) { document 1341 Source/core/rendering/compositing/RenderLayerCompositor.cpp ASSERT(m_renderView.document().lifecycle().state() >= DocumentLifecycle::CompositingClean); document 1652 Source/core/rendering/compositing/RenderLayerCompositor.cpp if (Settings* settings = m_renderView.document().settings()) { document 1852 Source/core/rendering/compositing/RenderLayerCompositor.cpp if (Settings* settings = m_renderView.document().settings()) { document 1943 Source/core/rendering/compositing/RenderLayerCompositor.cpp HTMLFrameOwnerElement* ownerElement = m_renderView.document().ownerElement(); document 1945 Source/core/rendering/compositing/RenderLayerCompositor.cpp DeprecatedScheduleStyleRecalcDuringCompositingUpdate marker(ownerElement->document().lifecycle()); document 1970 Source/core/rendering/compositing/RenderLayerCompositor.cpp if (HTMLFrameOwnerElement* ownerElement = m_renderView.document().ownerElement()) { document 1971 Source/core/rendering/compositing/RenderLayerCompositor.cpp DeprecatedScheduleStyleRecalcDuringCompositingUpdate marker(ownerElement->document().lifecycle()); document 1999 Source/core/rendering/compositing/RenderLayerCompositor.cpp return !m_renderView.document().ownerElement(); document 2012 Source/core/rendering/compositing/RenderLayerCompositor.cpp if (!child->document()) document 2014 Source/core/rendering/compositing/RenderLayerCompositor.cpp if (HTMLFrameOwnerElement* ownerElement = child->document()->ownerElement()) { document 2015 Source/core/rendering/compositing/RenderLayerCompositor.cpp DeprecatedScheduleStyleRecalcDuringCompositingUpdate marker(ownerElement->document().lifecycle()); document 2022 Source/core/rendering/compositing/RenderLayerCompositor.cpp if (HTMLFrameOwnerElement* ownerElement = m_renderView.document().ownerElement()) { document 2023 Source/core/rendering/compositing/RenderLayerCompositor.cpp ownerElement->document().renderView()->compositor()->setNeedsToRecomputeCompositingRequirements(); document 2024 Source/core/rendering/compositing/RenderLayerCompositor.cpp DeprecatedScheduleStyleRecalcDuringCompositingUpdate marker(ownerElement->document().lifecycle()); document 2072 Source/core/rendering/compositing/RenderLayerCompositor.cpp return m_renderView.document().lifecycle(); document 92 Source/core/rendering/line/BreakingContextInlineHeaders.h , m_allowImagesToBreak(!block->document().inQuirksMode() || !block->isTableCell() || !m_blockStyle->logicalWidth().isIntrinsicOrAuto()) document 182 Source/core/rendering/line/BreakingContextInlineHeaders.h if (flow->document().inNoQuirksMode() document 74 Source/core/rendering/shapes/ShapeInfo.cpp bool checkShapeImageOrigin(Document& document, ImageResource& imageResource) document 76 Source/core/rendering/shapes/ShapeInfo.cpp if (imageResource.isAccessAllowed(document.securityOrigin())) document 81 Source/core/rendering/shapes/ShapeInfo.cpp document.addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, "Unsafe attempt to load URL " + urlString + "."); document 48 Source/core/rendering/shapes/ShapeOutsideInfo.cpp return shapeValue->isImageValid() && checkShapeImageOrigin(box.document(), *(shapeValue->image()->cachedImage())); document 117 Source/core/rendering/svg/ReferenceFilterBuilder.cpp Document* document = &renderer->document(); document 120 Source/core/rendering/svg/ReferenceFilterBuilder.cpp DocumentResource* cachedSVGDocument = documentResourceRef->document(); document 125 Source/core/rendering/svg/ReferenceFilterBuilder.cpp document = cachedSVGDocument->document(); document 128 Source/core/rendering/svg/ReferenceFilterBuilder.cpp if (!document) document 131 Source/core/rendering/svg/ReferenceFilterBuilder.cpp Element* filter = document->getElementById(filterOperation->fragment()); document 136 Source/core/rendering/svg/ReferenceFilterBuilder.cpp document->accessSVGExtensions().addPendingResource(filterOperation->fragment(), toElement(renderer->node())); document 141 Source/core/rendering/svg/RenderSVGContainer.cpp if (continueRendering && document().settings()->containerCullingEnabled()) document 233 Source/core/rendering/svg/RenderSVGInlineText.cpp Document& document = renderer->document(); document 235 Source/core/rendering/svg/RenderSVGInlineText.cpp fontDescription.setComputedSize(FontSize::getComputedSizeFromSpecifiedSize(&document, scalingFactor, fontDescription.isAbsoluteSize(), fontDescription.specifiedSize(), DoNotUseSmartMinimumForFontSize)); document 238 Source/core/rendering/svg/RenderSVGInlineText.cpp scaledFont.update(document.styleEngine()->fontSelector()); document 186 Source/core/rendering/svg/RenderSVGResource.cpp HashSet<SVGElement*>* dependencies = object->document().accessSVGExtensions().setOfElementsReferencingTarget(toSVGElement(object->node())); document 38 Source/core/rendering/svg/RenderSVGResourceContainer.cpp return element->document().accessSVGExtensions(); document 89 Source/core/rendering/svg/RenderSVGResourceContainer.h inline RenderSVGResourceContainer* getRenderSVGResourceContainerById(Document& document, const AtomicString& id) document 94 Source/core/rendering/svg/RenderSVGResourceContainer.h if (RenderSVGResourceContainer* renderResource = document.accessSVGExtensions().resourceById(id)) document 101 Source/core/rendering/svg/RenderSVGResourceContainer.h Renderer* getRenderSVGResourceById(Document& document, const AtomicString& id) document 103 Source/core/rendering/svg/RenderSVGResourceContainer.h if (RenderSVGResourceContainer* container = getRenderSVGResourceContainerById(document, id)) document 148 Source/core/rendering/svg/RenderSVGResourceFilter.cpp bool deferredFiltersEnabled = object->document().settings()->deferredFiltersEnabled(); document 294 Source/core/rendering/svg/RenderSVGResourceFilter.cpp if (object->document().settings()->deferredFiltersEnabled()) { document 368 Source/core/rendering/svg/RenderSVGResourceFilter.cpp if (object->document().settings()->deferredFiltersEnabled()) { document 121 Source/core/rendering/svg/RenderSVGRoot.cpp LocalFrame* frame = node()->document().frame(); document 129 Source/core/rendering/svg/RenderSVGRoot.cpp return frame->document()->isSVGDocument(); document 154 Source/core/rendering/svg/RenderSVGRoot.cpp return document().frame()->ownerRenderer()->availableLogicalWidth(); document 188 Source/core/rendering/svg/RenderSVGRoot.cpp return document().frame()->ownerRenderer()->availableLogicalHeight(IncludeMarginBorderPadding); document 55 Source/core/rendering/svg/RenderSVGTextPath.cpp Element* targetElement = SVGURIReference::targetElementFromIRIString(textPathElement->href()->currentValue()->value(), textPathElement->document()); document 198 Source/core/rendering/svg/SVGInlineTextBox.cpp ASSERT(!parentRenderer.document().printing()); document 262 Source/core/rendering/svg/SVGInlineTextBox.cpp bool hasSelection = !parentRenderer.document().printing() && selectionState() != RenderObject::SelectionNone; document 651 Source/core/rendering/svg/SVGRenderTreeAsText.cpp if (RenderSVGResourceMasker* masker = getRenderSVGResourceById<RenderSVGResourceMasker>(object.document(), svgStyle->maskerResource())) { document 661 Source/core/rendering/svg/SVGRenderTreeAsText.cpp if (RenderSVGResourceClipper* clipper = getRenderSVGResourceById<RenderSVGResourceClipper>(object.document(), svgStyle->clipperResource())) { document 671 Source/core/rendering/svg/SVGRenderTreeAsText.cpp if (RenderSVGResourceFilter* filter = getRenderSVGResourceById<RenderSVGResourceFilter>(object.document(), svgStyle->filterResource())) { document 187 Source/core/rendering/svg/SVGRenderingContext.cpp if (!m_object->document().settings()->deferredFiltersEnabled()) document 219 Source/core/rendering/svg/SVGRenderingContext.cpp float deviceScaleFactor = renderer->document().frameHost()->deviceScaleFactor(); document 152 Source/core/rendering/svg/SVGResources.cpp return SVGURIReference::fragmentIdentifierFromIRIString(target, element.document()); document 170 Source/core/rendering/svg/SVGResources.cpp static inline RenderSVGResourceContainer* paintingResourceFromSVGPaint(Document& document, const SVGPaint::SVGPaintType& paintType, const String& paintUri, AtomicString& id, bool& hasPendingResource) document 175 Source/core/rendering/svg/SVGResources.cpp id = SVGURIReference::fragmentIdentifierFromIRIString(paintUri, document); document 176 Source/core/rendering/svg/SVGResources.cpp RenderSVGResourceContainer* container = getRenderSVGResourceContainerById(document, id); document 224 Source/core/rendering/svg/SVGResources.cpp Document& document = object->document(); document 226 Source/core/rendering/svg/SVGResources.cpp SVGDocumentExtensions& extensions = document.accessSVGExtensions(); document 236 Source/core/rendering/svg/SVGResources.cpp if (!ensureResources(resources)->setClipper(getRenderSVGResourceById<RenderSVGResourceClipper>(document, id))) document 242 Source/core/rendering/svg/SVGResources.cpp if (!ensureResources(resources)->setFilter(getRenderSVGResourceById<RenderSVGResourceFilter>(document, id))) document 248 Source/core/rendering/svg/SVGResources.cpp if (!ensureResources(resources)->setMasker(getRenderSVGResourceById<RenderSVGResourceMasker>(document, id))) document 255 Source/core/rendering/svg/SVGResources.cpp if (!ensureResources(resources)->setMarkerStart(getRenderSVGResourceById<RenderSVGResourceMarker>(document, markerStartId))) document 259 Source/core/rendering/svg/SVGResources.cpp if (!ensureResources(resources)->setMarkerMid(getRenderSVGResourceById<RenderSVGResourceMarker>(document, markerMidId))) document 263 Source/core/rendering/svg/SVGResources.cpp if (!ensureResources(resources)->setMarkerEnd(getRenderSVGResourceById<RenderSVGResourceMarker>(document, style->markerEndResource()))) document 271 Source/core/rendering/svg/SVGResources.cpp RenderSVGResourceContainer* resource = paintingResourceFromSVGPaint(document, style->fillPaintType(), style->fillPaintUri(), id, hasPendingResource); document 280 Source/core/rendering/svg/SVGResources.cpp RenderSVGResourceContainer* resource = paintingResourceFromSVGPaint(document, style->strokePaintType(), style->strokePaintUri(), id, hasPendingResource); document 289 Source/core/rendering/svg/SVGResources.cpp if (!ensureResources(resources)->setLinkedResource(getRenderSVGResourceContainerById(document, id))) document 86 Source/core/rendering/svg/SVGResourcesCache.cpp Document& document = renderer->document(); document 88 Source/core/rendering/svg/SVGResourcesCache.cpp SVGDocumentExtensions& extensions = document.accessSVGExtensions(); document 195 Source/core/rendering/svg/SVGResourcesCache.cpp SVGDocumentExtensions& extensions = clientElement->document().accessSVGExtensions(); document 41 Source/core/rendering/svg/SVGRootInlineBox.cpp bool isPrinting = renderer().document().printing(); document 94 Source/core/storage/StorageArea.cpp m_storageArea->setItem(key, value, frame->document()->url(), result); document 105 Source/core/storage/StorageArea.cpp m_storageArea->removeItem(key, frame->document()->url()); document 114 Source/core/storage/StorageArea.cpp m_storageArea->clear(frame->document()->url()); document 150 Source/core/storage/StorageArea.cpp if (storage && frame->document()->securityOrigin()->canAccess(securityOrigin) && !isEventSource(storage, sourceAreaInstance)) document 178 Source/core/storage/StorageArea.cpp if (storage && frame->document()->securityOrigin()->canAccess(securityOrigin) && !isEventSource(storage, sourceAreaInstance)) document 56 Source/core/svg/SVGAElement.cpp inline SVGAElement::SVGAElement(Document& document) document 57 Source/core/svg/SVGAElement.cpp : SVGGraphicsElement(SVGNames::aTag, document) document 65 Source/core/svg/SVGAElement.cpp PassRefPtr<SVGAElement> SVGAElement::create(Document& document) document 67 Source/core/svg/SVGAElement.cpp return adoptRef(new SVGAElement(document)); document 167 Source/core/svg/SVGAElement.cpp LocalFrame* frame = document().frame(); document 170 Source/core/svg/SVGAElement.cpp FrameLoadRequest frameRequest(&document(), ResourceRequest(document().completeURL(url)), target); document 202 Source/core/svg/SVGAElement.cpp if (Page* page = document().page()) document 32 Source/core/svg/SVGAltGlyphDefElement.cpp inline SVGAltGlyphDefElement::SVGAltGlyphDefElement(Document& document) document 33 Source/core/svg/SVGAltGlyphDefElement.cpp : SVGElement(SVGNames::altGlyphDefTag, document) document 38 Source/core/svg/SVGAltGlyphDefElement.cpp PassRefPtr<SVGAltGlyphDefElement> SVGAltGlyphDefElement::create(Document& document) document 40 Source/core/svg/SVGAltGlyphDefElement.cpp return adoptRef(new SVGAltGlyphDefElement(document)); document 38 Source/core/svg/SVGAltGlyphElement.cpp inline SVGAltGlyphElement::SVGAltGlyphElement(Document& document) document 39 Source/core/svg/SVGAltGlyphElement.cpp : SVGTextPositioningElement(SVGNames::altGlyphTag, document) document 45 Source/core/svg/SVGAltGlyphElement.cpp PassRefPtr<SVGAltGlyphElement> SVGAltGlyphElement::create(Document& document) document 47 Source/core/svg/SVGAltGlyphElement.cpp return adoptRef(new SVGAltGlyphElement(document)); document 78 Source/core/svg/SVGAltGlyphElement.cpp Element* element = targetElementFromIRIString(getAttribute(XLinkNames::hrefAttr), document(), &target); document 30 Source/core/svg/SVGAltGlyphItemElement.cpp inline SVGAltGlyphItemElement::SVGAltGlyphItemElement(Document& document) document 31 Source/core/svg/SVGAltGlyphItemElement.cpp : SVGElement(SVGNames::altGlyphItemTag, document) document 36 Source/core/svg/SVGAltGlyphItemElement.cpp PassRefPtr<SVGAltGlyphItemElement> SVGAltGlyphItemElement::create(Document& document) document 38 Source/core/svg/SVGAltGlyphItemElement.cpp return adoptRef(new SVGAltGlyphItemElement(document)); document 37 Source/core/svg/SVGAnimateElement.cpp SVGAnimateElement::SVGAnimateElement(const QualifiedName& tagName, Document& document) document 38 Source/core/svg/SVGAnimateElement.cpp : SVGAnimationElement(tagName, document) document 45 Source/core/svg/SVGAnimateElement.cpp PassRefPtr<SVGAnimateElement> SVGAnimateElement::create(Document& document) document 47 Source/core/svg/SVGAnimateElement.cpp return adoptRef(new SVGAnimateElement(SVGNames::animateTag, document)); document 182 Source/core/svg/SVGAnimateElement.cpp document().accessSVGExtensions().addElementReferencingTarget(this, *it); document 43 Source/core/svg/SVGAnimateMotionElement.cpp inline SVGAnimateMotionElement::SVGAnimateMotionElement(Document& document) document 44 Source/core/svg/SVGAnimateMotionElement.cpp : SVGAnimationElement(animateMotionTag, document) document 57 Source/core/svg/SVGAnimateMotionElement.cpp PassRefPtr<SVGAnimateMotionElement> SVGAnimateMotionElement::create(Document& document) document 59 Source/core/svg/SVGAnimateMotionElement.cpp return adoptRef(new SVGAnimateMotionElement(document)); document 32 Source/core/svg/SVGAnimateTransformElement.cpp inline SVGAnimateTransformElement::SVGAnimateTransformElement(Document& document) document 33 Source/core/svg/SVGAnimateTransformElement.cpp : SVGAnimateElement(SVGNames::animateTransformTag, document) document 39 Source/core/svg/SVGAnimateTransformElement.cpp PassRefPtr<SVGAnimateTransformElement> SVGAnimateTransformElement::create(Document& document) document 41 Source/core/svg/SVGAnimateTransformElement.cpp return adoptRef(new SVGAnimateTransformElement(document)); document 42 Source/core/svg/SVGAnimationElement.cpp SVGAnimationElement::SVGAnimationElement(const QualifiedName& tagName, Document& document) document 43 Source/core/svg/SVGAnimationElement.cpp : SVGSMILElement(tagName, document) document 55 Source/core/svg/SVGAnimationElement.cpp UseCounter::count(document, UseCounter::SVGAnimationElement); document 32 Source/core/svg/SVGCircleElement.cpp inline SVGCircleElement::SVGCircleElement(Document& document) document 33 Source/core/svg/SVGCircleElement.cpp : SVGGeometryElement(SVGNames::circleTag, document) document 45 Source/core/svg/SVGCircleElement.cpp PassRefPtr<SVGCircleElement> SVGCircleElement::create(Document& document) document 47 Source/core/svg/SVGCircleElement.cpp return adoptRef(new SVGCircleElement(document)); document 31 Source/core/svg/SVGClipPathElement.cpp inline SVGClipPathElement::SVGClipPathElement(Document& document) document 32 Source/core/svg/SVGClipPathElement.cpp : SVGGraphicsElement(SVGNames::clipPathTag, document) document 39 Source/core/svg/SVGClipPathElement.cpp PassRefPtr<SVGClipPathElement> SVGClipPathElement::create(Document& document) document 41 Source/core/svg/SVGClipPathElement.cpp return adoptRef(new SVGClipPathElement(document)); document 47 Source/core/svg/SVGComponentTransferFunctionElement.cpp SVGComponentTransferFunctionElement::SVGComponentTransferFunctionElement(const QualifiedName& tagName, Document& document) document 48 Source/core/svg/SVGComponentTransferFunctionElement.cpp : SVGElement(tagName, document) document 32 Source/core/svg/SVGCursorElement.cpp inline SVGCursorElement::SVGCursorElement(Document& document) document 33 Source/core/svg/SVGCursorElement.cpp : SVGElement(SVGNames::cursorTag, document) document 45 Source/core/svg/SVGCursorElement.cpp PassRefPtr<SVGCursorElement> SVGCursorElement::create(Document& document) document 47 Source/core/svg/SVGCursorElement.cpp return adoptRef(new SVGCursorElement(document)); document 30 Source/core/svg/SVGDefsElement.cpp inline SVGDefsElement::SVGDefsElement(Document& document) document 31 Source/core/svg/SVGDefsElement.cpp : SVGGraphicsElement(SVGNames::defsTag, document) document 36 Source/core/svg/SVGDefsElement.cpp PassRefPtr<SVGDefsElement> SVGDefsElement::create(Document& document) document 38 Source/core/svg/SVGDefsElement.cpp return adoptRef(new SVGDefsElement(document)); document 27 Source/core/svg/SVGDescElement.cpp inline SVGDescElement::SVGDescElement(Document& document) document 28 Source/core/svg/SVGDescElement.cpp : SVGElement(SVGNames::descTag, document) document 33 Source/core/svg/SVGDescElement.cpp PassRefPtr<SVGDescElement> SVGDescElement::create(Document& document) document 35 Source/core/svg/SVGDescElement.cpp return adoptRef(new SVGDescElement(document)); document 38 Source/core/svg/SVGDiscardElement.cpp SVGDiscardElement::SVGDiscardElement(Document& document) document 39 Source/core/svg/SVGDiscardElement.cpp : SVGSMILElement(SVGNames::discardTag, document) document 44 Source/core/svg/SVGDiscardElement.cpp PassRefPtr<SVGDiscardElement> SVGDiscardElement::create(Document& document) document 46 Source/core/svg/SVGDiscardElement.cpp return adoptRef(new SVGDiscardElement(document)); document 41 Source/core/svg/SVGDocument.cpp SVGSVGElement* SVGDocument::rootElement(const Document& document) document 43 Source/core/svg/SVGDocument.cpp Element* elem = document.documentElement(); document 37 Source/core/svg/SVGDocumentExtensions.cpp SVGDocumentExtensions::SVGDocumentExtensions(Document* document) document 38 Source/core/svg/SVGDocumentExtensions.cpp : m_document(document) document 87 Source/core/svg/SVGDocumentExtensions.cpp void SVGDocumentExtensions::serviceOnAnimationFrame(Document& document, double monotonicAnimationStartTime) document 89 Source/core/svg/SVGDocumentExtensions.cpp if (!document.svgExtensions()) document 91 Source/core/svg/SVGDocumentExtensions.cpp document.accessSVGExtensions().serviceAnimations(monotonicAnimationStartTime); document 142 Source/core/svg/SVGDocumentExtensions.cpp if (outerSVG->document().wellFormed() || !outerSVG->document().isSVGDocument()) document 147 Source/core/svg/SVGDocumentExtensions.cpp static void reportMessage(Document* document, MessageLevel level, const String& message) document 149 Source/core/svg/SVGDocumentExtensions.cpp if (document->frame()) document 150 Source/core/svg/SVGDocumentExtensions.cpp document->addConsoleMessage(RenderingMessageSource, level, message); document 72 Source/core/svg/SVGElement.cpp SVGElement::SVGElement(const QualifiedName& tagName, Document& document, ConstructionType constructionType) document 73 Source/core/svg/SVGElement.cpp : Element(tagName, &document, constructionType) document 116 Source/core/svg/SVGElement.cpp document().accessSVGExtensions().rebuildAllElementReferencesForTarget(this); document 117 Source/core/svg/SVGElement.cpp document().accessSVGExtensions().removeAllElementReferencesForTarget(this); document 132 Source/core/svg/SVGElement.cpp Document& document = this->document(); document 136 Source/core/svg/SVGElement.cpp SVGDocumentExtensions& extensions = document.accessSVGExtensions(); document 214 Source/core/svg/SVGElement.cpp SVGDocumentExtensions& extensions = document().accessSVGExtensions(); document 335 Source/core/svg/SVGElement.cpp document().accessSVGExtensions().rebuildAllElementReferencesForTarget(this); document 336 Source/core/svg/SVGElement.cpp document().accessSVGExtensions().removeAllElementReferencesForTarget(this); document 524 Source/core/svg/SVGElement.cpp return document().accessSVGExtensions(); document 861 Source/core/svg/SVGElement.cpp if (!document().loadEventFinished()) document 901 Source/core/svg/SVGElement.cpp document().accessSVGExtensions().rebuildAllElementReferencesForTarget(this); document 959 Source/core/svg/SVGElement.cpp return document().ensureStyleResolver().styleForElement(this); document 967 Source/core/svg/SVGElement.cpp return document().ensureStyleResolver().styleForElement(correspondingElement(), style, DisallowStyleSharing); document 199 Source/core/svg/SVGElementInstance.cpp element->document().updateRenderTreeIfNeeded(); document 209 Source/core/svg/SVGElementInstance.cpp return &m_element->document(); document 97 Source/core/svg/SVGElementRareData.h m_overrideComputedStyle = element->document().ensureStyleResolver().styleForElement(element, parentStyle, DisallowStyleSharing, MatchAllRulesExcludingSMIL); document 32 Source/core/svg/SVGEllipseElement.cpp inline SVGEllipseElement::SVGEllipseElement(Document& document) document 33 Source/core/svg/SVGEllipseElement.cpp : SVGGeometryElement(SVGNames::ellipseTag, document) document 47 Source/core/svg/SVGEllipseElement.cpp PassRefPtr<SVGEllipseElement> SVGEllipseElement::create(Document& document) document 49 Source/core/svg/SVGEllipseElement.cpp return adoptRef(new SVGEllipseElement(document)); document 46 Source/core/svg/SVGFEBlendElement.cpp inline SVGFEBlendElement::SVGFEBlendElement(Document& document) document 47 Source/core/svg/SVGFEBlendElement.cpp : SVGFilterPrimitiveStandardAttributes(SVGNames::feBlendTag, document) document 58 Source/core/svg/SVGFEBlendElement.cpp PassRefPtr<SVGFEBlendElement> SVGFEBlendElement::create(Document& document) document 60 Source/core/svg/SVGFEBlendElement.cpp return adoptRef(new SVGFEBlendElement(document)); document 45 Source/core/svg/SVGFEColorMatrixElement.cpp inline SVGFEColorMatrixElement::SVGFEColorMatrixElement(Document& document) document 46 Source/core/svg/SVGFEColorMatrixElement.cpp : SVGFilterPrimitiveStandardAttributes(SVGNames::feColorMatrixTag, document) document 58 Source/core/svg/SVGFEColorMatrixElement.cpp PassRefPtr<SVGFEColorMatrixElement> SVGFEColorMatrixElement::create(Document& document) document 60 Source/core/svg/SVGFEColorMatrixElement.cpp return adoptRef(new SVGFEColorMatrixElement(document)); document 36 Source/core/svg/SVGFEComponentTransferElement.cpp inline SVGFEComponentTransferElement::SVGFEComponentTransferElement(Document& document) document 37 Source/core/svg/SVGFEComponentTransferElement.cpp : SVGFilterPrimitiveStandardAttributes(SVGNames::feComponentTransferTag, document) document 44 Source/core/svg/SVGFEComponentTransferElement.cpp PassRefPtr<SVGFEComponentTransferElement> SVGFEComponentTransferElement::create(Document& document) document 46 Source/core/svg/SVGFEComponentTransferElement.cpp return adoptRef(new SVGFEComponentTransferElement(document)); document 47 Source/core/svg/SVGFECompositeElement.cpp inline SVGFECompositeElement::SVGFECompositeElement(Document& document) document 48 Source/core/svg/SVGFECompositeElement.cpp : SVGFilterPrimitiveStandardAttributes(SVGNames::feCompositeTag, document) document 68 Source/core/svg/SVGFECompositeElement.cpp PassRefPtr<SVGFECompositeElement> SVGFECompositeElement::create(Document& document) document 70 Source/core/svg/SVGFECompositeElement.cpp return adoptRef(new SVGFECompositeElement(document)); document 47 Source/core/svg/SVGFEConvolveMatrixElement.cpp inline SVGFEConvolveMatrixElement::SVGFEConvolveMatrixElement(Document& document) document 48 Source/core/svg/SVGFEConvolveMatrixElement.cpp : SVGFilterPrimitiveStandardAttributes(SVGNames::feConvolveMatrixTag, document) document 74 Source/core/svg/SVGFEConvolveMatrixElement.cpp PassRefPtr<SVGFEConvolveMatrixElement> SVGFEConvolveMatrixElement::create(Document& document) document 76 Source/core/svg/SVGFEConvolveMatrixElement.cpp return adoptRef(new SVGFEConvolveMatrixElement(document)); document 127 Source/core/svg/SVGFEConvolveMatrixElement.cpp document().accessSVGExtensions().reportWarning( document 33 Source/core/svg/SVGFEDiffuseLightingElement.cpp inline SVGFEDiffuseLightingElement::SVGFEDiffuseLightingElement(Document& document) document 34 Source/core/svg/SVGFEDiffuseLightingElement.cpp : SVGFilterPrimitiveStandardAttributes(SVGNames::feDiffuseLightingTag, document) document 48 Source/core/svg/SVGFEDiffuseLightingElement.cpp PassRefPtr<SVGFEDiffuseLightingElement> SVGFEDiffuseLightingElement::create(Document& document) document 50 Source/core/svg/SVGFEDiffuseLightingElement.cpp return adoptRef(new SVGFEDiffuseLightingElement(document)); document 44 Source/core/svg/SVGFEDisplacementMapElement.cpp inline SVGFEDisplacementMapElement::SVGFEDisplacementMapElement(Document& document) document 45 Source/core/svg/SVGFEDisplacementMapElement.cpp : SVGFilterPrimitiveStandardAttributes(SVGNames::feDisplacementMapTag, document) document 61 Source/core/svg/SVGFEDisplacementMapElement.cpp PassRefPtr<SVGFEDisplacementMapElement> SVGFEDisplacementMapElement::create(Document& document) document 63 Source/core/svg/SVGFEDisplacementMapElement.cpp return adoptRef(new SVGFEDisplacementMapElement(document)); document 28 Source/core/svg/SVGFEDistantLightElement.cpp inline SVGFEDistantLightElement::SVGFEDistantLightElement(Document& document) document 29 Source/core/svg/SVGFEDistantLightElement.cpp : SVGFELightElement(SVGNames::feDistantLightTag, document) document 34 Source/core/svg/SVGFEDistantLightElement.cpp PassRefPtr<SVGFEDistantLightElement> SVGFEDistantLightElement::create(Document& document) document 36 Source/core/svg/SVGFEDistantLightElement.cpp return adoptRef(new SVGFEDistantLightElement(document)); document 33 Source/core/svg/SVGFEDropShadowElement.cpp inline SVGFEDropShadowElement::SVGFEDropShadowElement(Document& document) document 34 Source/core/svg/SVGFEDropShadowElement.cpp : SVGFilterPrimitiveStandardAttributes(SVGNames::feDropShadowTag, document) document 48 Source/core/svg/SVGFEDropShadowElement.cpp PassRefPtr<SVGFEDropShadowElement> SVGFEDropShadowElement::create(Document& document) document 50 Source/core/svg/SVGFEDropShadowElement.cpp return adoptRef(new SVGFEDropShadowElement(document)); document 31 Source/core/svg/SVGFEFloodElement.cpp inline SVGFEFloodElement::SVGFEFloodElement(Document& document) document 32 Source/core/svg/SVGFEFloodElement.cpp : SVGFilterPrimitiveStandardAttributes(SVGNames::feFloodTag, document) document 37 Source/core/svg/SVGFEFloodElement.cpp PassRefPtr<SVGFEFloodElement> SVGFEFloodElement::create(Document& document) document 39 Source/core/svg/SVGFEFloodElement.cpp return adoptRef(new SVGFEFloodElement(document)); document 27 Source/core/svg/SVGFEFuncAElement.cpp inline SVGFEFuncAElement::SVGFEFuncAElement(Document& document) document 28 Source/core/svg/SVGFEFuncAElement.cpp : SVGComponentTransferFunctionElement(SVGNames::feFuncATag, document) document 33 Source/core/svg/SVGFEFuncAElement.cpp PassRefPtr<SVGFEFuncAElement> SVGFEFuncAElement::create(Document& document) document 35 Source/core/svg/SVGFEFuncAElement.cpp return adoptRef(new SVGFEFuncAElement(document)); document 27 Source/core/svg/SVGFEFuncBElement.cpp inline SVGFEFuncBElement::SVGFEFuncBElement(Document& document) document 28 Source/core/svg/SVGFEFuncBElement.cpp : SVGComponentTransferFunctionElement(SVGNames::feFuncBTag, document) document 33 Source/core/svg/SVGFEFuncBElement.cpp PassRefPtr<SVGFEFuncBElement> SVGFEFuncBElement::create(Document& document) document 35 Source/core/svg/SVGFEFuncBElement.cpp return adoptRef(new SVGFEFuncBElement(document)); document 27 Source/core/svg/SVGFEFuncGElement.cpp inline SVGFEFuncGElement::SVGFEFuncGElement(Document& document) document 28 Source/core/svg/SVGFEFuncGElement.cpp : SVGComponentTransferFunctionElement(SVGNames::feFuncGTag, document) document 33 Source/core/svg/SVGFEFuncGElement.cpp PassRefPtr<SVGFEFuncGElement> SVGFEFuncGElement::create(Document& document) document 35 Source/core/svg/SVGFEFuncGElement.cpp return adoptRef(new SVGFEFuncGElement(document)); document 27 Source/core/svg/SVGFEFuncRElement.cpp inline SVGFEFuncRElement::SVGFEFuncRElement(Document& document) document 28 Source/core/svg/SVGFEFuncRElement.cpp : SVGComponentTransferFunctionElement(SVGNames::feFuncRTag, document) document 33 Source/core/svg/SVGFEFuncRElement.cpp PassRefPtr<SVGFEFuncRElement> SVGFEFuncRElement::create(Document& document) document 35 Source/core/svg/SVGFEFuncRElement.cpp return adoptRef(new SVGFEFuncRElement(document)); document 33 Source/core/svg/SVGFEGaussianBlurElement.cpp inline SVGFEGaussianBlurElement::SVGFEGaussianBlurElement(Document& document) document 34 Source/core/svg/SVGFEGaussianBlurElement.cpp : SVGFilterPrimitiveStandardAttributes(SVGNames::feGaussianBlurTag, document) document 44 Source/core/svg/SVGFEGaussianBlurElement.cpp PassRefPtr<SVGFEGaussianBlurElement> SVGFEGaussianBlurElement::create(Document& document) document 46 Source/core/svg/SVGFEGaussianBlurElement.cpp return adoptRef(new SVGFEGaussianBlurElement(document)); document 37 Source/core/svg/SVGFEImageElement.cpp inline SVGFEImageElement::SVGFEImageElement(Document& document) document 38 Source/core/svg/SVGFEImageElement.cpp : SVGFilterPrimitiveStandardAttributes(SVGNames::feImageTag, document) document 46 Source/core/svg/SVGFEImageElement.cpp PassRefPtr<SVGFEImageElement> SVGFEImageElement::create(Document& document) document 48 Source/core/svg/SVGFEImageElement.cpp return adoptRef(new SVGFEImageElement(document)); document 71 Source/core/svg/SVGFEImageElement.cpp document().accessSVGExtensions().removeAllTargetReferencesForElement(this); document 77 Source/core/svg/SVGFEImageElement.cpp m_cachedImage = document().fetcher()->fetchImage(request); document 90 Source/core/svg/SVGFEImageElement.cpp Element* target = SVGURIReference::targetElementFromIRIString(hrefString(), document(), &id); document 95 Source/core/svg/SVGFEImageElement.cpp document().accessSVGExtensions().addPendingResource(id, this); document 101 Source/core/svg/SVGFEImageElement.cpp document().accessSVGExtensions().addElementReferencingTarget(this, toSVGElement(target)); document 191 Source/core/svg/SVGFEImageElement.cpp return FEImage::createWithIRIReference(filter, document(), hrefString(), m_preserveAspectRatio->currentValue()); document 35 Source/core/svg/SVGFELightElement.cpp SVGFELightElement::SVGFELightElement(const QualifiedName& tagName, Document& document) document 36 Source/core/svg/SVGFELightElement.cpp : SVGElement(tagName, document) document 32 Source/core/svg/SVGFEMergeElement.cpp inline SVGFEMergeElement::SVGFEMergeElement(Document& document) document 33 Source/core/svg/SVGFEMergeElement.cpp : SVGFilterPrimitiveStandardAttributes(SVGNames::feMergeTag, document) document 38 Source/core/svg/SVGFEMergeElement.cpp PassRefPtr<SVGFEMergeElement> SVGFEMergeElement::create(Document& document) document 40 Source/core/svg/SVGFEMergeElement.cpp return adoptRef(new SVGFEMergeElement(document)); document 30 Source/core/svg/SVGFEMergeNodeElement.cpp inline SVGFEMergeNodeElement::SVGFEMergeNodeElement(Document& document) document 31 Source/core/svg/SVGFEMergeNodeElement.cpp : SVGElement(SVGNames::feMergeNodeTag, document) document 38 Source/core/svg/SVGFEMergeNodeElement.cpp PassRefPtr<SVGFEMergeNodeElement> SVGFEMergeNodeElement::create(Document& document) document 40 Source/core/svg/SVGFEMergeNodeElement.cpp return adoptRef(new SVGFEMergeNodeElement(document)); document 43 Source/core/svg/SVGFEMorphologyElement.cpp inline SVGFEMorphologyElement::SVGFEMorphologyElement(Document& document) document 44 Source/core/svg/SVGFEMorphologyElement.cpp : SVGFilterPrimitiveStandardAttributes(SVGNames::feMorphologyTag, document) document 56 Source/core/svg/SVGFEMorphologyElement.cpp PassRefPtr<SVGFEMorphologyElement> SVGFEMorphologyElement::create(Document& document) document 58 Source/core/svg/SVGFEMorphologyElement.cpp return adoptRef(new SVGFEMorphologyElement(document)); document 32 Source/core/svg/SVGFEOffsetElement.cpp inline SVGFEOffsetElement::SVGFEOffsetElement(Document& document) document 33 Source/core/svg/SVGFEOffsetElement.cpp : SVGFilterPrimitiveStandardAttributes(SVGNames::feOffsetTag, document) document 45 Source/core/svg/SVGFEOffsetElement.cpp PassRefPtr<SVGFEOffsetElement> SVGFEOffsetElement::create(Document& document) document 47 Source/core/svg/SVGFEOffsetElement.cpp return adoptRef(new SVGFEOffsetElement(document)); document 28 Source/core/svg/SVGFEPointLightElement.cpp inline SVGFEPointLightElement::SVGFEPointLightElement(Document& document) document 29 Source/core/svg/SVGFEPointLightElement.cpp : SVGFELightElement(SVGNames::fePointLightTag, document) document 34 Source/core/svg/SVGFEPointLightElement.cpp PassRefPtr<SVGFEPointLightElement> SVGFEPointLightElement::create(Document& document) document 36 Source/core/svg/SVGFEPointLightElement.cpp return adoptRef(new SVGFEPointLightElement(document)); document 34 Source/core/svg/SVGFESpecularLightingElement.cpp inline SVGFESpecularLightingElement::SVGFESpecularLightingElement(Document& document) document 35 Source/core/svg/SVGFESpecularLightingElement.cpp : SVGFilterPrimitiveStandardAttributes(SVGNames::feSpecularLightingTag, document) document 51 Source/core/svg/SVGFESpecularLightingElement.cpp PassRefPtr<SVGFESpecularLightingElement> SVGFESpecularLightingElement::create(Document& document) document 53 Source/core/svg/SVGFESpecularLightingElement.cpp return adoptRef(new SVGFESpecularLightingElement(document)); document 28 Source/core/svg/SVGFESpotLightElement.cpp inline SVGFESpotLightElement::SVGFESpotLightElement(Document& document) document 29 Source/core/svg/SVGFESpotLightElement.cpp : SVGFELightElement(SVGNames::feSpotLightTag, document) document 34 Source/core/svg/SVGFESpotLightElement.cpp PassRefPtr<SVGFESpotLightElement> SVGFESpotLightElement::create(Document& document) document 36 Source/core/svg/SVGFESpotLightElement.cpp return adoptRef(new SVGFESpotLightElement(document)); document 32 Source/core/svg/SVGFETileElement.cpp inline SVGFETileElement::SVGFETileElement(Document& document) document 33 Source/core/svg/SVGFETileElement.cpp : SVGFilterPrimitiveStandardAttributes(SVGNames::feTileTag, document) document 40 Source/core/svg/SVGFETileElement.cpp PassRefPtr<SVGFETileElement> SVGFETileElement::create(Document& document) document 42 Source/core/svg/SVGFETileElement.cpp return adoptRef(new SVGFETileElement(document)); document 53 Source/core/svg/SVGFETurbulenceElement.cpp inline SVGFETurbulenceElement::SVGFETurbulenceElement(Document& document) document 54 Source/core/svg/SVGFETurbulenceElement.cpp : SVGFilterPrimitiveStandardAttributes(SVGNames::feTurbulenceTag, document) document 70 Source/core/svg/SVGFETurbulenceElement.cpp PassRefPtr<SVGFETurbulenceElement> SVGFETurbulenceElement::create(Document& document) document 72 Source/core/svg/SVGFETurbulenceElement.cpp return adoptRef(new SVGFETurbulenceElement(document)); document 35 Source/core/svg/SVGFilterElement.cpp inline SVGFilterElement::SVGFilterElement(Document& document) document 36 Source/core/svg/SVGFilterElement.cpp : SVGElement(SVGNames::filterTag, document) document 64 Source/core/svg/SVGFilterElement.cpp PassRefPtr<SVGFilterElement> SVGFilterElement::create(Document& document) document 66 Source/core/svg/SVGFilterElement.cpp return adoptRef(new SVGFilterElement(document)); document 34 Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp SVGFilterPrimitiveStandardAttributes::SVGFilterPrimitiveStandardAttributes(const QualifiedName& tagName, Document& document) document 35 Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp : SVGElement(tagName, document) document 53 Source/core/svg/SVGFitToViewBox.h bool parseAttribute(const QualifiedName& name, const AtomicString& value, Document& document, SVGParsingError& parseError) document 58 Source/core/svg/SVGFitToViewBox.h document.accessSVGExtensions().reportError("A negative value for ViewBox width is not allowed"); document 62 Source/core/svg/SVGFitToViewBox.h document.accessSVGExtensions().reportError("A negative value for ViewBox height is not allowed"); document 37 Source/core/svg/SVGFontElement.cpp inline SVGFontElement::SVGFontElement(Document& document) document 38 Source/core/svg/SVGFontElement.cpp : SVGElement(SVGNames::fontTag, document) document 44 Source/core/svg/SVGFontElement.cpp UseCounter::count(document, UseCounter::SVGFontElement); document 47 Source/core/svg/SVGFontElement.cpp PassRefPtr<SVGFontElement> SVGFontElement::create(Document& document) document 49 Source/core/svg/SVGFontElement.cpp return adoptRef(new SVGFontElement(document)); document 49 Source/core/svg/SVGFontFaceElement.cpp inline SVGFontFaceElement::SVGFontFaceElement(Document& document) document 50 Source/core/svg/SVGFontFaceElement.cpp : SVGElement(font_faceTag, document) document 59 Source/core/svg/SVGFontFaceElement.cpp PassRefPtr<SVGFontFaceElement> SVGFontFaceElement::create(Document& document) document 61 Source/core/svg/SVGFontFaceElement.cpp return adoptRef(new SVGFontFaceElement(document)); document 311 Source/core/svg/SVGFontFaceElement.cpp document().styleResolverChanged(RecalcStyleDeferred); document 321 Source/core/svg/SVGFontFaceElement.cpp document().accessSVGExtensions().registerSVGFontFaceElement(this); document 333 Source/core/svg/SVGFontFaceElement.cpp document().accessSVGExtensions().unregisterSVGFontFaceElement(this); document 338 Source/core/svg/SVGFontFaceElement.cpp if (document().isActive() && document().styleEngine()->fontSelector()) { document 339 Source/core/svg/SVGFontFaceElement.cpp document().styleEngine()->fontSelector()->fontFaceCache()->remove(m_fontFaceRule.get()); document 340 Source/core/svg/SVGFontFaceElement.cpp document().accessSVGExtensions().registerPendingSVGFontFaceElementsForRemoval(this); document 343 Source/core/svg/SVGFontFaceElement.cpp document().styleResolverChanged(RecalcStyleDeferred); document 32 Source/core/svg/SVGFontFaceFormatElement.cpp inline SVGFontFaceFormatElement::SVGFontFaceFormatElement(Document& document) document 33 Source/core/svg/SVGFontFaceFormatElement.cpp : SVGElement(font_face_formatTag, document) document 38 Source/core/svg/SVGFontFaceFormatElement.cpp PassRefPtr<SVGFontFaceFormatElement> SVGFontFaceFormatElement::create(Document& document) document 40 Source/core/svg/SVGFontFaceFormatElement.cpp return adoptRef(new SVGFontFaceFormatElement(document)); document 29 Source/core/svg/SVGFontFaceNameElement.cpp inline SVGFontFaceNameElement::SVGFontFaceNameElement(Document& document) document 30 Source/core/svg/SVGFontFaceNameElement.cpp : SVGElement(SVGNames::font_face_nameTag, document) document 35 Source/core/svg/SVGFontFaceNameElement.cpp PassRefPtr<SVGFontFaceNameElement> SVGFontFaceNameElement::create(Document& document) document 37 Source/core/svg/SVGFontFaceNameElement.cpp return adoptRef(new SVGFontFaceNameElement(document)); document 37 Source/core/svg/SVGFontFaceSrcElement.cpp inline SVGFontFaceSrcElement::SVGFontFaceSrcElement(Document& document) document 38 Source/core/svg/SVGFontFaceSrcElement.cpp : SVGElement(font_face_srcTag, document) document 43 Source/core/svg/SVGFontFaceSrcElement.cpp PassRefPtr<SVGFontFaceSrcElement> SVGFontFaceSrcElement::create(Document& document) document 45 Source/core/svg/SVGFontFaceSrcElement.cpp return adoptRef(new SVGFontFaceSrcElement(document)); document 37 Source/core/svg/SVGFontFaceUriElement.cpp inline SVGFontFaceUriElement::SVGFontFaceUriElement(Document& document) document 38 Source/core/svg/SVGFontFaceUriElement.cpp : SVGElement(font_face_uriTag, document) document 43 Source/core/svg/SVGFontFaceUriElement.cpp PassRefPtr<SVGFontFaceUriElement> SVGFontFaceUriElement::create(Document& document) document 45 Source/core/svg/SVGFontFaceUriElement.cpp return adoptRef(new SVGFontFaceUriElement(document)); document 95 Source/core/svg/SVGFontFaceUriElement.cpp ResourceFetcher* fetcher = document().fetcher(); document 96 Source/core/svg/SVGFontFaceUriElement.cpp FetchRequest request(ResourceRequest(document().completeURL(href)), localName()); document 34 Source/core/svg/SVGForeignObjectElement.cpp inline SVGForeignObjectElement::SVGForeignObjectElement(Document& document) document 35 Source/core/svg/SVGForeignObjectElement.cpp : SVGGraphicsElement(SVGNames::foreignObjectTag, document) document 48 Source/core/svg/SVGForeignObjectElement.cpp UseCounter::count(document, UseCounter::SVGForeignObjectElement); document 51 Source/core/svg/SVGForeignObjectElement.cpp PassRefPtr<SVGForeignObjectElement> SVGForeignObjectElement::create(Document& document) document 53 Source/core/svg/SVGForeignObjectElement.cpp return adoptRef(new SVGForeignObjectElement(document)); document 33 Source/core/svg/SVGGElement.cpp SVGGElement::SVGGElement(Document& document, ConstructionType constructionType) document 34 Source/core/svg/SVGGElement.cpp : SVGGraphicsElement(SVGNames::gTag, document, constructionType) document 39 Source/core/svg/SVGGElement.cpp PassRefPtr<SVGGElement> SVGGElement::create(Document& document) document 41 Source/core/svg/SVGGElement.cpp return adoptRef(new SVGGElement(document)); document 42 Source/core/svg/SVGGeometryElement.cpp SVGGeometryElement::SVGGeometryElement(const QualifiedName& tagName, Document& document, ConstructionType constructionType) document 43 Source/core/svg/SVGGeometryElement.cpp : SVGGraphicsElement(tagName, document, constructionType) document 49 Source/core/svg/SVGGeometryElement.cpp document().updateLayoutIgnorePendingStylesheets(); document 63 Source/core/svg/SVGGeometryElement.cpp document().updateLayoutIgnorePendingStylesheets(); document 33 Source/core/svg/SVGGlyphElement.cpp inline SVGGlyphElement::SVGGlyphElement(Document& document) document 34 Source/core/svg/SVGGlyphElement.cpp : SVGElement(SVGNames::glyphTag, document) document 39 Source/core/svg/SVGGlyphElement.cpp PassRefPtr<SVGGlyphElement> SVGGlyphElement::create(Document& document) document 41 Source/core/svg/SVGGlyphElement.cpp return adoptRef(new SVGGlyphElement(document)); document 31 Source/core/svg/SVGGlyphRefElement.cpp inline SVGGlyphRefElement::SVGGlyphRefElement(Document& document) document 32 Source/core/svg/SVGGlyphRefElement.cpp : SVGElement(SVGNames::glyphRefTag, document) document 42 Source/core/svg/SVGGlyphRefElement.cpp PassRefPtr<SVGGlyphRefElement> SVGGlyphRefElement::create(Document& document) document 44 Source/core/svg/SVGGlyphRefElement.cpp return adoptRef(new SVGGlyphRefElement(document)); document 51 Source/core/svg/SVGGlyphRefElement.cpp Element* element = targetElementFromIRIString(getAttribute(XLinkNames::hrefAttr), document(), &glyphName); document 50 Source/core/svg/SVGGradientElement.cpp SVGGradientElement::SVGGradientElement(const QualifiedName& tagName, Document& document) document 51 Source/core/svg/SVGGradientElement.cpp : SVGElement(tagName, document) document 35 Source/core/svg/SVGGraphicsElement.cpp SVGGraphicsElement::SVGGraphicsElement(const QualifiedName& tagName, Document& document, ConstructionType constructionType) document 36 Source/core/svg/SVGGraphicsElement.cpp : SVGElement(tagName, document, constructionType) document 75 Source/core/svg/SVGGraphicsElement.cpp document().updateLayoutIgnorePendingStylesheets(); document 242 Source/core/svg/SVGGraphicsElement.cpp document().updateLayoutIgnorePendingStylesheets(); document 30 Source/core/svg/SVGHKernElement.cpp inline SVGHKernElement::SVGHKernElement(Document& document) document 31 Source/core/svg/SVGHKernElement.cpp : SVGElement(SVGNames::hkernTag, document) document 36 Source/core/svg/SVGHKernElement.cpp PassRefPtr<SVGHKernElement> SVGHKernElement::create(Document& document) document 38 Source/core/svg/SVGHKernElement.cpp return adoptRef(new SVGHKernElement(document)); document 35 Source/core/svg/SVGImageElement.cpp inline SVGImageElement::SVGImageElement(Document& document) document 36 Source/core/svg/SVGImageElement.cpp : SVGGraphicsElement(SVGNames::imageTag, document) document 55 Source/core/svg/SVGImageElement.cpp PassRefPtr<SVGImageElement> SVGImageElement::create(Document& document) document 57 Source/core/svg/SVGImageElement.cpp return adoptRef(new SVGImageElement(document)); document 52 Source/core/svg/SVGImageLoader.cpp return element()->document().completeURL(stripLeadingAndTrailingHTMLSpaces(attribute)); document 31 Source/core/svg/SVGLineElement.cpp inline SVGLineElement::SVGLineElement(Document& document) document 32 Source/core/svg/SVGLineElement.cpp : SVGGeometryElement(SVGNames::lineTag, document) document 46 Source/core/svg/SVGLineElement.cpp PassRefPtr<SVGLineElement> SVGLineElement::create(Document& document) document 48 Source/core/svg/SVGLineElement.cpp return adoptRef(new SVGLineElement(document)); document 36 Source/core/svg/SVGLinearGradientElement.cpp inline SVGLinearGradientElement::SVGLinearGradientElement(Document& document) document 37 Source/core/svg/SVGLinearGradientElement.cpp : SVGGradientElement(SVGNames::linearGradientTag, document) document 54 Source/core/svg/SVGLinearGradientElement.cpp PassRefPtr<SVGLinearGradientElement> SVGLinearGradientElement::create(Document& document) document 56 Source/core/svg/SVGLinearGradientElement.cpp return adoptRef(new SVGLinearGradientElement(document)); document 162 Source/core/svg/SVGLinearGradientElement.cpp Node* refNode = SVGURIReference::targetElementFromIRIString(current->href()->currentValue()->value(), document()); document 33 Source/core/svg/SVGMPathElement.cpp inline SVGMPathElement::SVGMPathElement(Document& document) document 34 Source/core/svg/SVGMPathElement.cpp : SVGElement(SVGNames::mpathTag, document) document 40 Source/core/svg/SVGMPathElement.cpp PassRefPtr<SVGMPathElement> SVGMPathElement::create(Document& document) document 42 Source/core/svg/SVGMPathElement.cpp return adoptRef(new SVGMPathElement(document)); document 57 Source/core/svg/SVGMPathElement.cpp Element* target = SVGURIReference::targetElementFromIRIString(hrefString(), document(), &id); document 60 Source/core/svg/SVGMPathElement.cpp if (document().accessSVGExtensions().isElementPendingResource(this, id)) document 64 Source/core/svg/SVGMPathElement.cpp document().accessSVGExtensions().addPendingResource(id, this); document 70 Source/core/svg/SVGMPathElement.cpp document().accessSVGExtensions().addElementReferencingTarget(this, toSVGElement(target)); document 78 Source/core/svg/SVGMPathElement.cpp document().accessSVGExtensions().removeAllTargetReferencesForElement(this); document 139 Source/core/svg/SVGMPathElement.cpp Element* target = targetElementFromIRIString(hrefString(), document()); document 45 Source/core/svg/SVGMarkerElement.cpp inline SVGMarkerElement::SVGMarkerElement(Document& document) document 46 Source/core/svg/SVGMarkerElement.cpp : SVGElement(SVGNames::markerTag, document) document 69 Source/core/svg/SVGMarkerElement.cpp PassRefPtr<SVGMarkerElement> SVGMarkerElement::create(Document& document) document 71 Source/core/svg/SVGMarkerElement.cpp return adoptRef(new SVGMarkerElement(document)); document 112 Source/core/svg/SVGMarkerElement.cpp else if (SVGFitToViewBox::parseAttribute(name, value, document(), parseError)) { document 33 Source/core/svg/SVGMaskElement.cpp inline SVGMaskElement::SVGMaskElement(Document& document) document 34 Source/core/svg/SVGMaskElement.cpp : SVGElement(SVGNames::maskTag, document) document 61 Source/core/svg/SVGMaskElement.cpp PassRefPtr<SVGMaskElement> SVGMaskElement::create(Document& document) document 63 Source/core/svg/SVGMaskElement.cpp return adoptRef(new SVGMaskElement(document)); document 27 Source/core/svg/SVGMetadataElement.cpp inline SVGMetadataElement::SVGMetadataElement(Document& document) document 28 Source/core/svg/SVGMetadataElement.cpp : SVGElement(SVGNames::metadataTag, document) document 33 Source/core/svg/SVGMetadataElement.cpp PassRefPtr<SVGMetadataElement> SVGMetadataElement::create(Document& document) document 35 Source/core/svg/SVGMetadataElement.cpp return adoptRef(new SVGMetadataElement(document)); document 27 Source/core/svg/SVGMissingGlyphElement.cpp inline SVGMissingGlyphElement::SVGMissingGlyphElement(Document& document) document 28 Source/core/svg/SVGMissingGlyphElement.cpp : SVGElement(SVGNames::missing_glyphTag, document) document 33 Source/core/svg/SVGMissingGlyphElement.cpp PassRefPtr<SVGMissingGlyphElement> SVGMissingGlyphElement::create(Document& document) document 35 Source/core/svg/SVGMissingGlyphElement.cpp return adoptRef(new SVGMissingGlyphElement(document)); document 53 Source/core/svg/SVGPathElement.cpp inline SVGPathElement::SVGPathElement(Document& document) document 54 Source/core/svg/SVGPathElement.cpp : SVGGeometryElement(SVGNames::pathTag, document) document 64 Source/core/svg/SVGPathElement.cpp PassRefPtr<SVGPathElement> SVGPathElement::create(Document& document) document 66 Source/core/svg/SVGPathElement.cpp return adoptRef(new SVGPathElement(document)); document 209 Source/core/svg/SVGPathElement.cpp document().accessSVGExtensions().reportError("A negative value for path attribute <pathLength> is not allowed"); document 243 Source/core/svg/SVGPathElement.cpp if (HashSet<SVGElement*>* dependencies = document().accessSVGExtensions().setOfElementsReferencingTarget(this)) { document 284 Source/core/svg/SVGPathElement.cpp document().updateLayoutIgnorePendingStylesheets(); document 35 Source/core/svg/SVGPatternElement.cpp inline SVGPatternElement::SVGPatternElement(Document& document) document 36 Source/core/svg/SVGPatternElement.cpp : SVGElement(SVGNames::patternTag, document) document 59 Source/core/svg/SVGPatternElement.cpp PassRefPtr<SVGPatternElement> SVGPatternElement::create(Document& document) document 61 Source/core/svg/SVGPatternElement.cpp return adoptRef(new SVGPatternElement(document)); document 104 Source/core/svg/SVGPatternElement.cpp } else if (SVGFitToViewBox::parseAttribute(name, value, document(), parseError)) { document 194 Source/core/svg/SVGPatternElement.cpp Node* refNode = SVGURIReference::targetElementFromIRIString(current->hrefString(), document()); document 33 Source/core/svg/SVGPolyElement.cpp SVGPolyElement::SVGPolyElement(const QualifiedName& tagName, Document& document) document 34 Source/core/svg/SVGPolyElement.cpp : SVGGeometryElement(tagName, document) document 27 Source/core/svg/SVGPolygonElement.cpp inline SVGPolygonElement::SVGPolygonElement(Document& document) document 28 Source/core/svg/SVGPolygonElement.cpp : SVGPolyElement(SVGNames::polygonTag, document) document 33 Source/core/svg/SVGPolygonElement.cpp PassRefPtr<SVGPolygonElement> SVGPolygonElement::create(Document& document) document 35 Source/core/svg/SVGPolygonElement.cpp return adoptRef(new SVGPolygonElement(document)); document 27 Source/core/svg/SVGPolylineElement.cpp inline SVGPolylineElement::SVGPolylineElement(Document& document) document 28 Source/core/svg/SVGPolylineElement.cpp : SVGPolyElement(SVGNames::polylineTag, document) document 33 Source/core/svg/SVGPolylineElement.cpp PassRefPtr<SVGPolylineElement> SVGPolylineElement::create(Document& document) document 35 Source/core/svg/SVGPolylineElement.cpp return adoptRef(new SVGPolylineElement(document)); document 35 Source/core/svg/SVGRadialGradientElement.cpp inline SVGRadialGradientElement::SVGRadialGradientElement(Document& document) document 36 Source/core/svg/SVGRadialGradientElement.cpp : SVGGradientElement(SVGNames::radialGradientTag, document) document 62 Source/core/svg/SVGRadialGradientElement.cpp PassRefPtr<SVGRadialGradientElement> SVGRadialGradientElement::create(Document& document) document 64 Source/core/svg/SVGRadialGradientElement.cpp return adoptRef(new SVGRadialGradientElement(document)); document 182 Source/core/svg/SVGRadialGradientElement.cpp Node* refNode = SVGURIReference::targetElementFromIRIString(current->href()->currentValue()->value(), document()); document 32 Source/core/svg/SVGRectElement.cpp inline SVGRectElement::SVGRectElement(Document& document) document 33 Source/core/svg/SVGRectElement.cpp : SVGGeometryElement(SVGNames::rectTag, document) document 51 Source/core/svg/SVGRectElement.cpp PassRefPtr<SVGRectElement> SVGRectElement::create(Document& document) document 53 Source/core/svg/SVGRectElement.cpp return adoptRef(new SVGRectElement(document)); document 89 Source/core/svg/SVGSVGElement.cpp PassRefPtr<SVGSVGElement> SVGSVGElement::create(Document& document) document 91 Source/core/svg/SVGSVGElement.cpp return adoptRef(new SVGSVGElement(document)); document 101 Source/core/svg/SVGSVGElement.cpp document().accessSVGExtensions().removeTimeContainer(this); document 169 Source/core/svg/SVGSVGElement.cpp LocalFrame* frame = document().frame(); document 186 Source/core/svg/SVGSVGElement.cpp LocalFrame* frame = document().frame(); document 237 Source/core/svg/SVGSVGElement.cpp if (parentNode() == document() && document().renderer()) document 238 Source/core/svg/SVGSVGElement.cpp document().renderer()->repaint(); document 250 Source/core/svg/SVGSVGElement.cpp document().setWindowAttributeEventListener(EventTypeNames::unload, createAttributeEventListener(document().frame(), name, value)); document 252 Source/core/svg/SVGSVGElement.cpp document().setWindowAttributeEventListener(EventTypeNames::resize, createAttributeEventListener(document().frame(), name, value)); document 254 Source/core/svg/SVGSVGElement.cpp document().setWindowAttributeEventListener(EventTypeNames::scroll, createAttributeEventListener(document().frame(), name, value)); document 256 Source/core/svg/SVGSVGElement.cpp document().setWindowAttributeEventListener(EventTypeNames::zoom, createAttributeEventListener(document().frame(), name, value)); document 265 Source/core/svg/SVGSVGElement.cpp document().setWindowAttributeEventListener(EventTypeNames::abort, createAttributeEventListener(document().frame(), name, value)); document 267 Source/core/svg/SVGSVGElement.cpp document().setWindowAttributeEventListener(EventTypeNames::error, createAttributeEventListener(document().frame(), name, value)); document 276 Source/core/svg/SVGSVGElement.cpp } else if (SVGFitToViewBox::parseAttribute(name, value, document(), parseError)) { document 401 Source/core/svg/SVGSVGElement.cpp document().updateLayoutIgnorePendingStylesheets(); document 408 Source/core/svg/SVGSVGElement.cpp document().updateLayoutIgnorePendingStylesheets(); document 416 Source/core/svg/SVGSVGElement.cpp document().updateLayoutIgnorePendingStylesheets(); document 424 Source/core/svg/SVGSVGElement.cpp document().updateLayoutIgnorePendingStylesheets(); document 431 Source/core/svg/SVGSVGElement.cpp if (LocalFrame* frame = document().frame()) document 511 Source/core/svg/SVGSVGElement.cpp if (FrameView* view = document().view()) { document 528 Source/core/svg/SVGSVGElement.cpp if (document().documentElement() == this) document 544 Source/core/svg/SVGSVGElement.cpp UseCounter::count(document(), UseCounter::SVGSVGElementInDocument); document 546 Source/core/svg/SVGSVGElement.cpp document().accessSVGExtensions().addTimeContainer(this); document 551 Source/core/svg/SVGSVGElement.cpp if (!document().parsing() && !document().processingLoadEvent() && document().loadEventFinished() && !timeContainer()->isStarted()) document 560 Source/core/svg/SVGSVGElement.cpp SVGDocumentExtensions& svgExtensions = document().accessSVGExtensions(); document 666 Source/core/svg/SVGSVGElement.cpp return !root->hasReplacedLogicalWidth() && !document().frame()->ownerRenderer()->hasReplacedLogicalWidth(); document 669 Source/core/svg/SVGSVGElement.cpp if (root->isEmbeddedThroughSVGImage() || document().documentElement() != this) document 688 Source/core/svg/SVGSVGElement.cpp return !root->hasReplacedLogicalHeight() && !document().frame()->ownerRenderer()->hasReplacedLogicalHeight(); document 691 Source/core/svg/SVGSVGElement.cpp if (root->isEmbeddedThroughSVGImage() || document().documentElement() != this) document 35 Source/core/svg/SVGScriptElement.cpp inline SVGScriptElement::SVGScriptElement(Document& document, bool wasInsertedByParser, bool alreadyStarted) document 36 Source/core/svg/SVGScriptElement.cpp : SVGElement(SVGNames::scriptTag, document) document 44 Source/core/svg/SVGScriptElement.cpp PassRefPtr<SVGScriptElement> SVGScriptElement::create(Document& document, bool insertedByParser) document 46 Source/core/svg/SVGScriptElement.cpp return adoptRef(new SVGScriptElement(document, insertedByParser, false)); document 186 Source/core/svg/SVGScriptElement.cpp return adoptRef(new SVGScriptElement(document(), false, m_loader->alreadyStarted())); document 27 Source/core/svg/SVGSetElement.cpp inline SVGSetElement::SVGSetElement(Document& document) document 28 Source/core/svg/SVGSetElement.cpp : SVGAnimateElement(SVGNames::setTag, document) document 34 Source/core/svg/SVGSetElement.cpp PassRefPtr<SVGSetElement> SVGSetElement::create(Document& document) document 36 Source/core/svg/SVGSetElement.cpp return adoptRef(new SVGSetElement(document)); document 31 Source/core/svg/SVGStopElement.cpp inline SVGStopElement::SVGStopElement(Document& document) document 32 Source/core/svg/SVGStopElement.cpp : SVGElement(SVGNames::stopTag, document) document 40 Source/core/svg/SVGStopElement.cpp PassRefPtr<SVGStopElement> SVGStopElement::create(Document& document) document 42 Source/core/svg/SVGStopElement.cpp return adoptRef(new SVGStopElement(document)); document 31 Source/core/svg/SVGStyleElement.cpp inline SVGStyleElement::SVGStyleElement(Document& document, bool createdByParser) document 32 Source/core/svg/SVGStyleElement.cpp : SVGElement(SVGNames::styleTag, document) document 33 Source/core/svg/SVGStyleElement.cpp , StyleElement(&document, createdByParser) document 41 Source/core/svg/SVGStyleElement.cpp StyleElement::clearDocumentData(document(), this); document 44 Source/core/svg/SVGStyleElement.cpp PassRefPtr<SVGStyleElement> SVGStyleElement::create(Document& document, bool createdByParser) document 46 Source/core/svg/SVGStyleElement.cpp return adoptRef(new SVGStyleElement(document, createdByParser)); document 135 Source/core/svg/SVGStyleElement.cpp StyleElement::processStyleSheet(document(), this); document 142 Source/core/svg/SVGStyleElement.cpp StyleElement::removedFromDocument(document(), this); document 63 Source/core/svg/SVGStyleElement.h virtual bool sheetLoaded() OVERRIDE { return StyleElement::sheetLoaded(document()); } document 64 Source/core/svg/SVGStyleElement.h virtual void startLoadingDynamicSheet() OVERRIDE { StyleElement::startLoadingDynamicSheet(document()); } document 31 Source/core/svg/SVGSwitchElement.cpp inline SVGSwitchElement::SVGSwitchElement(Document& document) document 32 Source/core/svg/SVGSwitchElement.cpp : SVGGraphicsElement(SVGNames::switchTag, document) document 36 Source/core/svg/SVGSwitchElement.cpp UseCounter::count(document, UseCounter::SVGSwitchElement); document 39 Source/core/svg/SVGSwitchElement.cpp PassRefPtr<SVGSwitchElement> SVGSwitchElement::create(Document& document) document 41 Source/core/svg/SVGSwitchElement.cpp return adoptRef(new SVGSwitchElement(document)); document 31 Source/core/svg/SVGSymbolElement.cpp inline SVGSymbolElement::SVGSymbolElement(Document& document) document 32 Source/core/svg/SVGSymbolElement.cpp : SVGElement(SVGNames::symbolTag, document) document 38 Source/core/svg/SVGSymbolElement.cpp PassRefPtr<SVGSymbolElement> SVGSymbolElement::create(Document& document) document 40 Source/core/svg/SVGSymbolElement.cpp return adoptRef(new SVGSymbolElement(document)); document 60 Source/core/svg/SVGSymbolElement.cpp if (SVGFitToViewBox::parseAttribute(name, value, document(), parseError)) { document 30 Source/core/svg/SVGTSpanElement.cpp inline SVGTSpanElement::SVGTSpanElement(Document& document) document 31 Source/core/svg/SVGTSpanElement.cpp : SVGTextPositioningElement(SVGNames::tspanTag, document) document 36 Source/core/svg/SVGTSpanElement.cpp PassRefPtr<SVGTSpanElement> SVGTSpanElement::create(Document& document) document 38 Source/core/svg/SVGTSpanElement.cpp return adoptRef(new SVGTSpanElement(document)); document 77 Source/core/svg/SVGTextContentElement.cpp SVGTextContentElement::SVGTextContentElement(const QualifiedName& tagName, Document& document) document 78 Source/core/svg/SVGTextContentElement.cpp : SVGGraphicsElement(tagName, document) document 91 Source/core/svg/SVGTextContentElement.cpp document().updateLayoutIgnorePendingStylesheets(); document 97 Source/core/svg/SVGTextContentElement.cpp document().updateLayoutIgnorePendingStylesheets(); document 103 Source/core/svg/SVGTextContentElement.cpp document().updateLayoutIgnorePendingStylesheets(); document 119 Source/core/svg/SVGTextContentElement.cpp document().updateLayoutIgnorePendingStylesheets(); document 132 Source/core/svg/SVGTextContentElement.cpp document().updateLayoutIgnorePendingStylesheets(); document 145 Source/core/svg/SVGTextContentElement.cpp document().updateLayoutIgnorePendingStylesheets(); document 158 Source/core/svg/SVGTextContentElement.cpp document().updateLayoutIgnorePendingStylesheets(); document 170 Source/core/svg/SVGTextContentElement.cpp document().updateLayoutIgnorePendingStylesheets(); document 185 Source/core/svg/SVGTextContentElement.cpp ASSERT(document().frame()); document 197 Source/core/svg/SVGTextContentElement.cpp document().frame()->selection().setSelection(VisibleSelection(start, end)); document 37 Source/core/svg/SVGTextElement.cpp PassRefPtr<SVGTextElement> SVGTextElement::create(Document& document) document 39 Source/core/svg/SVGTextElement.cpp return adoptRef(new SVGTextElement(document)); document 54 Source/core/svg/SVGTextPathElement.cpp inline SVGTextPathElement::SVGTextPathElement(Document& document) document 55 Source/core/svg/SVGTextPathElement.cpp : SVGTextContentElement(SVGNames::textPathTag, document) document 68 Source/core/svg/SVGTextPathElement.cpp PassRefPtr<SVGTextPathElement> SVGTextPathElement::create(Document& document) document 70 Source/core/svg/SVGTextPathElement.cpp return adoptRef(new SVGTextPathElement(document)); document 80 Source/core/svg/SVGTextPathElement.cpp document().accessSVGExtensions().removeAllTargetReferencesForElement(this); document 155 Source/core/svg/SVGTextPathElement.cpp Element* target = SVGURIReference::targetElementFromIRIString(hrefString(), document(), &id); document 158 Source/core/svg/SVGTextPathElement.cpp if (document().accessSVGExtensions().isElementPendingResource(this, id)) document 162 Source/core/svg/SVGTextPathElement.cpp document().accessSVGExtensions().addPendingResource(id, this); document 168 Source/core/svg/SVGTextPathElement.cpp document().accessSVGExtensions().addElementReferencingTarget(this, toSVGElement((target))); document 34 Source/core/svg/SVGTextPositioningElement.cpp SVGTextPositioningElement::SVGTextPositioningElement(const QualifiedName& tagName, Document& document) document 35 Source/core/svg/SVGTextPositioningElement.cpp : SVGTextContentElement(tagName, document) document 29 Source/core/svg/SVGTitleElement.cpp inline SVGTitleElement::SVGTitleElement(Document& document) document 30 Source/core/svg/SVGTitleElement.cpp : SVGElement(SVGNames::titleTag, document) document 35 Source/core/svg/SVGTitleElement.cpp PassRefPtr<SVGTitleElement> SVGTitleElement::create(Document& document) document 37 Source/core/svg/SVGTitleElement.cpp return adoptRef(new SVGTitleElement(document)); document 47 Source/core/svg/SVGTitleElement.cpp document().setTitleElement(textContent(), this); document 55 Source/core/svg/SVGTitleElement.cpp document().removeTitle(this); document 62 Source/core/svg/SVGTitleElement.cpp document().setTitleElement(textContent(), this); document 42 Source/core/svg/SVGURIReference.cpp AtomicString SVGURIReference::fragmentIdentifierFromIRIString(const String& url, const Document& document) document 48 Source/core/svg/SVGURIReference.cpp KURL base = start ? KURL(document.baseURI(), url.substring(0, start)) : document.baseURI(); document 49 Source/core/svg/SVGURIReference.cpp if (equalIgnoringFragmentIdentifier(base, document.url())) document 55 Source/core/svg/SVGURIReference.cpp static inline KURL urlFromIRIStringWithFragmentIdentifier(const String& url, const Document& document, AtomicString& fragmentIdentifier) document 64 Source/core/svg/SVGURIReference.cpp KURL base(document.baseURI(), url.substring(0, startOfFragmentIdentifier)); document 68 Source/core/svg/SVGURIReference.cpp return KURL(document.baseURI(), url.substring(startOfFragmentIdentifier)); document 71 Source/core/svg/SVGURIReference.cpp Element* SVGURIReference::targetElementFromIRIString(const String& iri, const Document& document, AtomicString* fragmentIdentifier, Document* externalDocument) document 75 Source/core/svg/SVGURIReference.cpp KURL url = urlFromIRIStringWithFragmentIdentifier(iri, document, id); document 92 Source/core/svg/SVGURIReference.cpp if (isExternalURIReference(iri, document)) document 95 Source/core/svg/SVGURIReference.cpp return document.getElementById(id); document 42 Source/core/svg/SVGURIReference.h static inline bool isExternalURIReference(const String& uri, const Document& document) document 49 Source/core/svg/SVGURIReference.h KURL url = document.completeURL(uri); document 50 Source/core/svg/SVGURIReference.h return !equalIgnoringFragmentIdentifier(url, document.url()); document 36 Source/core/svg/SVGUnknownElement.cpp SVGUnknownElement::SVGUnknownElement(const QualifiedName& tagName, Document& document) document 37 Source/core/svg/SVGUnknownElement.cpp : SVGElement(tagName, document) document 46 Source/core/svg/SVGUnknownElement.h static PassRefPtr<SVGUnknownElement> create(const QualifiedName& tagName, Document& document) document 48 Source/core/svg/SVGUnknownElement.h return adoptRef(new SVGUnknownElement(tagName, document)); document 54 Source/core/svg/SVGUseElement.cpp inline SVGUseElement::SVGUseElement(Document& document, bool wasInsertedByParser) document 55 Source/core/svg/SVGUseElement.cpp : SVGGraphicsElement(SVGNames::useTag, document) document 75 Source/core/svg/SVGUseElement.cpp PassRefPtr<SVGUseElement> SVGUseElement::create(Document& document, bool wasInsertedByParser) document 78 Source/core/svg/SVGUseElement.cpp RefPtr<SVGUseElement> use = adoptRef(new SVGUseElement(document, wasInsertedByParser)); document 97 Source/core/svg/SVGUseElement.cpp document().updateRenderTreeIfNeeded(); document 144 Source/core/svg/SVGUseElement.cpp static inline bool isWellFormedDocument(Document* document) document 146 Source/core/svg/SVGUseElement.cpp if (document->isXMLDocument()) document 147 Source/core/svg/SVGUseElement.cpp return static_cast<XMLDocumentParser*>(document->parser())->wellFormed(); document 158 Source/core/svg/SVGUseElement.cpp ASSERT(!m_targetElementInstance || !isWellFormedDocument(&document())); document 159 Source/core/svg/SVGUseElement.cpp ASSERT(!hasPendingResources() || !isWellFormedDocument(&document())); document 179 Source/core/svg/SVGUseElement.cpp if (!isExternalURIReference(hrefString(), document())) document 180 Source/core/svg/SVGUseElement.cpp return &document(); document 190 Source/core/svg/SVGUseElement.cpp ASSERT(m_resource->document()); document 191 Source/core/svg/SVGUseElement.cpp return m_resource->document(); document 217 Source/core/svg/SVGUseElement.cpp bool isExternalReference = isExternalURIReference(hrefString(), document()); document 219 Source/core/svg/SVGUseElement.cpp KURL url = document().completeURL(hrefString()); document 222 Source/core/svg/SVGUseElement.cpp setDocumentResource(document().fetcher()->fetchSVGDocument(request)); document 351 Source/core/svg/SVGUseElement.cpp document().scheduleUseShadowTreeUpdate(*this); document 366 Source/core/svg/SVGUseElement.cpp document().unscheduleUseShadowTreeUpdate(*this); document 368 Source/core/svg/SVGUseElement.cpp document().accessSVGExtensions().removeAllTargetReferencesForElement(this); document 380 Source/core/svg/SVGUseElement.cpp Element* target = SVGURIReference::targetElementFromIRIString(hrefString(), document(), &id, externalDocument()); document 529 Source/core/svg/SVGUseElement.cpp document().accessSVGExtensions().reportError("Not allowed to use indirect reference in <clip-path>"); document 569 Source/core/svg/SVGUseElement.cpp document().accessSVGExtensions().addElementReferencingTarget(this, target); document 629 Source/core/svg/SVGUseElement.cpp if (element->hasID() && element->getIdAttribute() == targetId && element->document() == newTarget->document()) document 61 Source/core/svg/SVGUseElement.h virtual bool isStructurallyExternal() const OVERRIDE { return !hrefString().isNull() && isExternalURIReference(hrefString(), document()); } document 29 Source/core/svg/SVGVKernElement.cpp inline SVGVKernElement::SVGVKernElement(Document& document) document 30 Source/core/svg/SVGVKernElement.cpp : SVGElement(SVGNames::vkernTag, document) document 35 Source/core/svg/SVGVKernElement.cpp PassRefPtr<SVGVKernElement> SVGVKernElement::create(Document& document) document 37 Source/core/svg/SVGVKernElement.cpp return adoptRef(new SVGVKernElement(document)); document 27 Source/core/svg/SVGViewElement.cpp inline SVGViewElement::SVGViewElement(Document& document) document 28 Source/core/svg/SVGViewElement.cpp : SVGElement(SVGNames::viewTag, document) document 37 Source/core/svg/SVGViewElement.cpp PassRefPtr<SVGViewElement> SVGViewElement::create(Document& document) document 39 Source/core/svg/SVGViewElement.cpp return adoptRef(new SVGViewElement(document)); document 62 Source/core/svg/SVGViewElement.cpp if (SVGFitToViewBox::parseAttribute(name, value, document(), parseError)) { document 317 Source/core/svg/animation/SMILTimeContainer.cpp return m_ownerSVGElement.document(); document 322 Source/core/svg/animation/SMILTimeContainer.cpp return document().animationClock().currentTime(); document 327 Source/core/svg/animation/SMILTimeContainer.cpp if (document().view()) { document 328 Source/core/svg/animation/SMILTimeContainer.cpp document().view()->scheduleAnimation(); document 97 Source/core/svg/animation/SMILTimeContainer.h Document& document() const; document 207 Source/core/svg/animation/SVGSMILElement.cpp document().accessSVGExtensions().removeAllTargetReferencesForElement(this); document 233 Source/core/svg/animation/SVGSMILElement.cpp target = SVGURIReference::targetElementFromIRIString(href, document(), &id); document 244 Source/core/svg/animation/SVGSMILElement.cpp if (document().accessSVGExtensions().isElementPendingResource(this, id)) document 248 Source/core/svg/animation/SVGSMILElement.cpp document().accessSVGExtensions().addPendingResource(id, this); document 254 Source/core/svg/animation/SVGSMILElement.cpp document().accessSVGExtensions().addElementReferencingTarget(this, svgTarget); document 630 Source/core/svg/animation/SVGSMILElement.cpp if (!condition.m_baseID.isEmpty() && !document().accessSVGExtensions().isElementPendingResource(this, AtomicString(condition.m_baseID))) document 631 Source/core/svg/animation/SVGSMILElement.cpp document().accessSVGExtensions().addPendingResource(AtomicString(condition.m_baseID), this); document 637 Source/core/svg/animation/SVGSMILElement.cpp document().accessSVGExtensions().addElementReferencingTarget(this, eventBase); document 78 Source/core/svg/graphics/SVGImage.cpp Page* page = element->document().page(); document 92 Source/core/svg/graphics/SVGImage.cpp RELEASE_ASSERT(frame->document()->loadEventFinished()); document 94 Source/core/svg/graphics/SVGImage.cpp SVGSVGElement* rootElement = toSVGDocument(frame->document())->rootElement(); document 124 Source/core/svg/graphics/SVGImage.cpp return toSVGDocument(frame->document())->rootElement(); document 376 Source/core/svg/graphics/SVGImage.cpp return rootElement->timeContainer()->hasAnimations() || m_page->mainFrame()->document()->timeline().hasPendingUpdates(); document 51 Source/core/svg/graphics/filters/SVGFEImage.cpp FEImage::FEImage(Filter* filter, Document& document, const String& href, PassRefPtr<SVGPreserveAspectRatio> preserveAspectRatio) document 53 Source/core/svg/graphics/filters/SVGFEImage.cpp , m_document(&document) document 64 Source/core/svg/graphics/filters/SVGFEImage.cpp PassRefPtr<FEImage> FEImage::createWithIRIReference(Filter* filter, Document& document, const String& href, PassRefPtr<SVGPreserveAspectRatio> preserveAspectRatio) document 66 Source/core/svg/graphics/filters/SVGFEImage.cpp return adoptRef(new FEImage(filter, document, href, preserveAspectRatio)); document 86 Source/core/testing/DummyPageHolder.cpp return *m_frame->domWindow()->document(); document 68 Source/core/testing/DummyPageHolder.h Document& document() const; document 183 Source/core/testing/Internals.cpp static SpellCheckRequester* spellCheckRequester(Document* document) document 185 Source/core/testing/Internals.cpp if (!document || !document->frame()) document 187 Source/core/testing/Internals.cpp return &document->frame()->spellChecker().spellCheckRequester(); document 192 Source/core/testing/Internals.cpp PassRefPtrWillBeRawPtr<Internals> Internals::create(Document* document) document 194 Source/core/testing/Internals.cpp return adoptRefWillBeNoop(new Internals(document)); document 224 Source/core/testing/Internals.cpp Internals::Internals(Document* document) document 225 Source/core/testing/Internals.cpp : ContextLifecycleObserver(document) document 244 Source/core/testing/Internals.cpp Document* document = contextDocument(); document 245 Source/core/testing/Internals.cpp if (!document) document 247 Source/core/testing/Internals.cpp Page* page = document->page(); document 292 Source/core/testing/Internals.cpp Document* document = contextDocument(); document 293 Source/core/testing/Internals.cpp if (!document) { document 298 Source/core/testing/Internals.cpp unsigned beforeCount = document->styleEngine()->resolverAccessCount(); document 299 Source/core/testing/Internals.cpp document->updateRenderTreeIfNeeded(); document 300 Source/core/testing/Internals.cpp return document->styleEngine()->resolverAccessCount() - beforeCount; document 320 Source/core/testing/Internals.cpp Document* document = contextDocument(); document 321 Source/core/testing/Internals.cpp return document->fetcher()->isPreloaded(url); document 339 Source/core/testing/Internals.cpp Document* document = contextDocument(); document 341 Source/core/testing/Internals.cpp document->ensureStyleResolver().enableStats(StyleResolver::ReportSlowStats); document 343 Source/core/testing/Internals.cpp document->ensureStyleResolver().disableStats(); document 348 Source/core/testing/Internals.cpp Document* document = contextDocument(); document 349 Source/core/testing/Internals.cpp if (!document->ensureStyleResolver().stats()) { document 353 Source/core/testing/Internals.cpp return document->ensureStyleResolver().stats()->report(); document 358 Source/core/testing/Internals.cpp Document* document = contextDocument(); document 359 Source/core/testing/Internals.cpp if (!document->ensureStyleResolver().statsTotals()) { document 363 Source/core/testing/Internals.cpp return document->ensureStyleResolver().statsTotals()->report(); document 482 Source/core/testing/Internals.cpp Document* document = contextFrame->document(); document 483 Source/core/testing/Internals.cpp return document->timeline().numberOfActiveAnimationsForTesting() + document->transitionTimeline().numberOfActiveAnimationsForTesting(); document 494 Source/core/testing/Internals.cpp frame()->document()->timeline().pauseAnimationsForTesting(pauseTime); document 495 Source/core/testing/Internals.cpp frame()->document()->transitionTimeline().pauseAnimationsForTesting(pauseTime); document 716 Source/core/testing/Internals.cpp bool Internals::hasAutofocusRequest(Document* document) document 718 Source/core/testing/Internals.cpp if (!document) document 719 Source/core/testing/Internals.cpp document = contextDocument(); document 720 Source/core/testing/Internals.cpp return document->autofocusElement(); document 750 Source/core/testing/Internals.cpp Document* document = contextDocument(); document 751 Source/core/testing/Internals.cpp if (!document || !document->page()) document 753 Source/core/testing/Internals.cpp Page* page = document->page(); document 770 Source/core/testing/Internals.cpp Document* document = contextDocument(); document 771 Source/core/testing/Internals.cpp if (!document || !document->view()) { document 772 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidAccessError, document ? "The document's viewport cannot be retrieved." : "No context document can be obtained."); document 776 Source/core/testing/Internals.cpp return ClientRect::create(document->view()->visibleContentRect()); document 781 Source/core/testing/Internals.cpp Document* document = contextDocument(); document 782 Source/core/testing/Internals.cpp if (!document || !document->frame()) { document 783 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidAccessError, document ? "The document's frame cannot be retrieved." : "No context document can be obtained."); document 787 Source/core/testing/Internals.cpp return ClientRect::create(document->frame()->selection().absoluteCaretBounds()); document 797 Source/core/testing/Internals.cpp element->document().updateLayoutIgnorePendingStylesheets(); document 804 Source/core/testing/Internals.cpp PassRefPtr<ClientRectList> Internals::inspectorHighlightRects(Document* document, ExceptionState& exceptionState) document 806 Source/core/testing/Internals.cpp if (!document || !document->page()) { document 807 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidAccessError, document ? "The document's Page cannot be retrieved." : "No context document can be obtained."); document 812 Source/core/testing/Internals.cpp document->page()->inspectorController().getHighlight(&highlight); document 829 Source/core/testing/Internals.cpp return node->document().markers().markersFor(node, markerTypes).size(); document 841 Source/core/testing/Internals.cpp Vector<DocumentMarker*> markers = node->document().markers().markersFor(node, markerType); document 865 Source/core/testing/Internals.cpp Vector<DocumentMarker*> markers = node->document().markers().markersFor(node, markerTypes); document 876 Source/core/testing/Internals.cpp return Range::create(node->document(), node, marker->startOffset(), node, marker->endOffset()); document 900 Source/core/testing/Internals.cpp node->document().markers().setMarkersActive(node, startOffset, endOffset, active); document 903 Source/core/testing/Internals.cpp void Internals::setMarkedTextMatchesAreHighlighted(Document* document, bool highlight, ExceptionState&) document 905 Source/core/testing/Internals.cpp if (!document || !document->frame()) document 908 Source/core/testing/Internals.cpp document->frame()->editor().setMarkedTextMatchesAreHighlighted(highlight); document 911 Source/core/testing/Internals.cpp void Internals::setScrollViewPosition(Document* document, long x, long y, ExceptionState& exceptionState) document 913 Source/core/testing/Internals.cpp if (!document || !document->view()) { document 914 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidAccessError, document ? "The document's view cannot be retrieved." : "The document provided is invalid."); document 918 Source/core/testing/Internals.cpp FrameView* frameView = document->view(); document 929 Source/core/testing/Internals.cpp String Internals::viewportAsText(Document* document, float, int availableWidth, int availableHeight, ExceptionState& exceptionState) document 931 Source/core/testing/Internals.cpp if (!document || !document->page()) { document 932 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidAccessError, document ? "The document's page cannot be retrieved." : "The document provided is invalid."); document 936 Source/core/testing/Internals.cpp document->updateLayoutIgnorePendingStylesheets(); document 938 Source/core/testing/Internals.cpp Page* page = document->page(); document 942 Source/core/testing/Internals.cpp document->page()->mainFrame()->view()->setFrameRect(IntRect(IntPoint::zero(), initialViewportSize)); document 1073 Source/core/testing/Internals.cpp if (!element || !element->document().view()) { document 1077 Source/core/testing/Internals.cpp FrameView* frameView = element->document().view(); document 1089 Source/core/testing/Internals.cpp scope->document().updateLayoutIgnorePendingStylesheets(); document 1102 Source/core/testing/Internals.cpp scope->document().updateLayoutIgnorePendingStylesheets(); document 1115 Source/core/testing/Internals.cpp scope->document().updateLayoutIgnorePendingStylesheets(); document 1130 Source/core/testing/Internals.cpp PassRefPtrWillBeRawPtr<DOMPoint> Internals::touchPositionAdjustedToBestClickableNode(long x, long y, long width, long height, Document* document, ExceptionState& exceptionState) document 1132 Source/core/testing/Internals.cpp if (!document || !document->frame()) { document 1133 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidAccessError, document ? "The document's frame cannot be retrieved." : "The document provided is invalid."); document 1137 Source/core/testing/Internals.cpp document->updateLayout(); document 1145 Source/core/testing/Internals.cpp bool foundNode = document->frame()->eventHandler().bestClickableNodeForTouchPoint(point, radius, adjustedPoint, targetNode); document 1152 Source/core/testing/Internals.cpp Node* Internals::touchNodeAdjustedToBestClickableNode(long x, long y, long width, long height, Document* document, ExceptionState& exceptionState) document 1154 Source/core/testing/Internals.cpp if (!document || !document->frame()) { document 1155 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidAccessError, document ? "The document's frame cannot be retrieved." : "The document provided is invalid."); document 1159 Source/core/testing/Internals.cpp document->updateLayout(); document 1166 Source/core/testing/Internals.cpp document->frame()->eventHandler().bestClickableNodeForTouchPoint(point, radius, adjustedPoint, targetNode); document 1170 Source/core/testing/Internals.cpp PassRefPtrWillBeRawPtr<DOMPoint> Internals::touchPositionAdjustedToBestContextMenuNode(long x, long y, long width, long height, Document* document, ExceptionState& exceptionState) document 1172 Source/core/testing/Internals.cpp if (!document || !document->frame()) { document 1173 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidAccessError, document ? "The document's frame cannot be retrieved." : "The document provided is invalid."); document 1177 Source/core/testing/Internals.cpp document->updateLayout(); document 1185 Source/core/testing/Internals.cpp bool foundNode = document->frame()->eventHandler().bestContextMenuNodeForTouchPoint(point, radius, adjustedPoint, targetNode); document 1192 Source/core/testing/Internals.cpp Node* Internals::touchNodeAdjustedToBestContextMenuNode(long x, long y, long width, long height, Document* document, ExceptionState& exceptionState) document 1194 Source/core/testing/Internals.cpp if (!document || !document->frame()) { document 1195 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidAccessError, document ? "The document's frame cannot be retrieved." : "The document provided is invalid."); document 1199 Source/core/testing/Internals.cpp document->updateLayout(); document 1206 Source/core/testing/Internals.cpp document->frame()->eventHandler().bestContextMenuNodeForTouchPoint(point, radius, adjustedPoint, targetNode); document 1210 Source/core/testing/Internals.cpp PassRefPtr<ClientRect> Internals::bestZoomableAreaForTouchPoint(long x, long y, long width, long height, Document* document, ExceptionState& exceptionState) document 1212 Source/core/testing/Internals.cpp if (!document || !document->frame()) { document 1213 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidAccessError, document ? "The document's frame cannot be retrieved." : "The document provided is invalid."); document 1217 Source/core/testing/Internals.cpp document->updateLayout(); document 1224 Source/core/testing/Internals.cpp bool foundNode = document->frame()->eventHandler().bestZoomableAreaForTouchPoint(point, radius, zoomableArea, targetNode); document 1232 Source/core/testing/Internals.cpp int Internals::lastSpellCheckRequestSequence(Document* document, ExceptionState& exceptionState) document 1234 Source/core/testing/Internals.cpp SpellCheckRequester* requester = spellCheckRequester(document); document 1244 Source/core/testing/Internals.cpp int Internals::lastSpellCheckProcessedSequence(Document* document, ExceptionState& exceptionState) document 1246 Source/core/testing/Internals.cpp SpellCheckRequester* requester = spellCheckRequester(document); document 1271 Source/core/testing/Internals.cpp unsigned Internals::activeDOMObjectCount(Document* document, ExceptionState& exceptionState) document 1273 Source/core/testing/Internals.cpp if (!document) { document 1278 Source/core/testing/Internals.cpp return document->activeDOMObjectCount(); document 1281 Source/core/testing/Internals.cpp unsigned Internals::wheelEventHandlerCount(Document* document, ExceptionState& exceptionState) document 1283 Source/core/testing/Internals.cpp if (!document) { document 1288 Source/core/testing/Internals.cpp return WheelController::from(*document)->wheelEventHandlerCount(); document 1291 Source/core/testing/Internals.cpp unsigned Internals::touchEventHandlerCount(Document* document, ExceptionState& exceptionState) document 1293 Source/core/testing/Internals.cpp if (!document) { document 1298 Source/core/testing/Internals.cpp const TouchEventTargetSet* touchHandlers = document->touchEventTargets(); document 1410 Source/core/testing/Internals.cpp PassRefPtrWillBeRawPtr<LayerRectList> Internals::touchEventTargetLayerRects(Document* document, ExceptionState& exceptionState) document 1412 Source/core/testing/Internals.cpp if (!document || !document->view() || !document->page() || document != contextDocument()) { document 1419 Source/core/testing/Internals.cpp forceCompositingUpdate(document, exceptionState); document 1423 Source/core/testing/Internals.cpp if (RenderView* view = document->renderView()) { document 1436 Source/core/testing/Internals.cpp PassRefPtr<NodeList> Internals::nodesFromRect(Document* document, int centerX, int centerY, unsigned topPadding, unsigned rightPadding, document 1439 Source/core/testing/Internals.cpp if (!document || !document->frame() || !document->frame()->view()) { document 1444 Source/core/testing/Internals.cpp LocalFrame* frame = document->frame(); document 1445 Source/core/testing/Internals.cpp FrameView* frameView = document->view(); document 1446 Source/core/testing/Internals.cpp RenderView* renderView = document->renderView(); document 1496 Source/core/testing/Internals.cpp bool Internals::hasSpellingMarker(Document* document, int from, int length, ExceptionState&) document 1498 Source/core/testing/Internals.cpp if (!document || !document->frame()) document 1501 Source/core/testing/Internals.cpp return document->frame()->spellChecker().selectionStartHasMarkerFor(DocumentMarker::Spelling, from, length); document 1513 Source/core/testing/Internals.cpp bool Internals::isOverwriteModeEnabled(Document* document, ExceptionState&) document 1515 Source/core/testing/Internals.cpp if (!document || !document->frame()) document 1518 Source/core/testing/Internals.cpp return document->frame()->editor().isOverwriteModeEnabled(); document 1521 Source/core/testing/Internals.cpp void Internals::toggleOverwriteModeEnabled(Document* document, ExceptionState&) document 1523 Source/core/testing/Internals.cpp if (!document || !document->frame()) document 1526 Source/core/testing/Internals.cpp document->frame()->editor().toggleOverwriteModeEnabled(); document 1544 Source/core/testing/Internals.cpp Vector<String> Internals::consoleMessageArgumentCounts(Document* document) const document 1546 Source/core/testing/Internals.cpp InstrumentingAgents* instrumentingAgents = instrumentationForPage(document->page()); document 1570 Source/core/testing/Internals.cpp Page* frontendPage = m_frontendWindow->document()->page(); document 1618 Source/core/testing/Internals.cpp bool Internals::hasGrammarMarker(Document* document, int from, int length, ExceptionState&) document 1620 Source/core/testing/Internals.cpp if (!document || !document->frame()) document 1623 Source/core/testing/Internals.cpp return document->frame()->spellChecker().selectionStartHasMarkerFor(DocumentMarker::Grammar, from, length); document 1626 Source/core/testing/Internals.cpp unsigned Internals::numberOfScrollableAreas(Document* document, ExceptionState&) document 1629 Source/core/testing/Internals.cpp LocalFrame* frame = document->frame(); document 1641 Source/core/testing/Internals.cpp bool Internals::isPageBoxVisible(Document* document, int pageNumber, ExceptionState& exceptionState) document 1643 Source/core/testing/Internals.cpp if (!document) { document 1648 Source/core/testing/Internals.cpp return document->isPageBoxVisible(pageNumber); document 1651 Source/core/testing/Internals.cpp String Internals::layerTreeAsText(Document* document, ExceptionState& exceptionState) const document 1653 Source/core/testing/Internals.cpp return layerTreeAsText(document, 0, exceptionState); document 1663 Source/core/testing/Internals.cpp FrameView* frameView = element->document().view(); document 1676 Source/core/testing/Internals.cpp element->document().updateLayout(); document 1712 Source/core/testing/Internals.cpp element1->document().updateLayout(); document 1742 Source/core/testing/Internals.cpp element->document().updateLayout(); document 1766 Source/core/testing/Internals.cpp element->document().updateLayout(); document 1783 Source/core/testing/Internals.cpp String Internals::layerTreeAsText(Document* document, unsigned flags, ExceptionState& exceptionState) const document 1785 Source/core/testing/Internals.cpp if (!document || !document->frame()) { document 1786 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidAccessError, document ? "The document's frame cannot be retrieved." : "The document provided is invalid."); document 1790 Source/core/testing/Internals.cpp document->view()->updateLayoutAndStyleForPainting(); document 1792 Source/core/testing/Internals.cpp return document->frame()->layerTreeAsText(flags); document 1802 Source/core/testing/Internals.cpp element->document().updateLayout(); document 1850 Source/core/testing/Internals.cpp element->document().updateLayout(); document 1856 Source/core/testing/Internals.cpp String Internals::repaintRectsAsText(Document* document, ExceptionState& exceptionState) const document 1858 Source/core/testing/Internals.cpp if (!document || !document->frame()) { document 1859 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidAccessError, document ? "The document's frame cannot be retrieved." : "The document provided is invalid."); document 1863 Source/core/testing/Internals.cpp return document->frame()->trackedRepaintRectsAsText(); document 1888 Source/core/testing/Internals.cpp String Internals::scrollingStateTreeAsText(Document* document, ExceptionState& exceptionState) const document 1893 Source/core/testing/Internals.cpp String Internals::mainThreadScrollingReasons(Document* document, ExceptionState& exceptionState) const document 1895 Source/core/testing/Internals.cpp if (!document || !document->frame()) { document 1896 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidAccessError, document ? "The document's frame cannot be retrieved." : "The document provided is invalid."); document 1901 Source/core/testing/Internals.cpp document->updateLayout(); document 1902 Source/core/testing/Internals.cpp RenderView* view = document->renderView(); document 1906 Source/core/testing/Internals.cpp Page* page = document->page(); document 1913 Source/core/testing/Internals.cpp PassRefPtr<ClientRectList> Internals::nonFastScrollableRects(Document* document, ExceptionState& exceptionState) const document 1915 Source/core/testing/Internals.cpp if (!document || !document->frame()) { document 1916 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidAccessError, document ? "The document's frame cannot be retrieved." : "The document provided is invalid."); document 1920 Source/core/testing/Internals.cpp Page* page = document->page(); document 1924 Source/core/testing/Internals.cpp return page->nonFastScrollableRects(document->frame()); document 1927 Source/core/testing/Internals.cpp void Internals::garbageCollectDocumentResources(Document* document, ExceptionState& exceptionState) const document 1929 Source/core/testing/Internals.cpp if (!document) { document 1933 Source/core/testing/Internals.cpp ResourceFetcher* fetcher = document->fetcher(); document 1965 Source/core/testing/Internals.cpp Vector<String> Internals::iconURLs(Document* document, int iconTypesMask) const document 1967 Source/core/testing/Internals.cpp Vector<IconURL> iconURLs = document->iconURLs(iconTypesMask); document 1977 Source/core/testing/Internals.cpp Vector<String> Internals::shortcutIconURLs(Document* document) const document 1979 Source/core/testing/Internals.cpp return iconURLs(document, Favicon); document 1982 Source/core/testing/Internals.cpp Vector<String> Internals::allIconURLs(Document* document) const document 1984 Source/core/testing/Internals.cpp return iconURLs(document, Favicon | TouchIcon | TouchPrecomposedIcon); document 2017 Source/core/testing/Internals.cpp Document* document = contextDocument(); document 2018 Source/core/testing/Internals.cpp if (!document || !document->page()) { document 2019 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidAccessError, document ? "The document's page cannot be retrieved." : "No context document can be obtained."); document 2022 Source/core/testing/Internals.cpp Page* page = document->page(); document 2026 Source/core/testing/Internals.cpp void Internals::setIsCursorVisible(Document* document, bool isVisible, ExceptionState& exceptionState) document 2028 Source/core/testing/Internals.cpp if (!document || !document->page()) { document 2029 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidAccessError, document ? "The document's page cannot be retrieved." : "No context document can be obtained."); document 2032 Source/core/testing/Internals.cpp document->page()->setIsCursorVisible(isVisible); document 2035 Source/core/testing/Internals.cpp void Internals::webkitWillEnterFullScreenForElement(Document* document, Element* element) document 2037 Source/core/testing/Internals.cpp if (!document) document 2039 Source/core/testing/Internals.cpp FullscreenElementStack::from(*document).webkitWillEnterFullScreenForElement(element); document 2042 Source/core/testing/Internals.cpp void Internals::webkitDidEnterFullScreenForElement(Document* document, Element* element) document 2044 Source/core/testing/Internals.cpp if (!document) document 2046 Source/core/testing/Internals.cpp FullscreenElementStack::from(*document).webkitDidEnterFullScreenForElement(element); document 2049 Source/core/testing/Internals.cpp void Internals::webkitWillExitFullScreenForElement(Document* document, Element* element) document 2051 Source/core/testing/Internals.cpp if (!document) document 2053 Source/core/testing/Internals.cpp FullscreenElementStack::from(*document).webkitWillExitFullScreenForElement(element); document 2056 Source/core/testing/Internals.cpp void Internals::webkitDidExitFullScreenForElement(Document* document, Element* element) document 2058 Source/core/testing/Internals.cpp if (!document) document 2060 Source/core/testing/Internals.cpp FullscreenElementStack::from(*document).webkitDidExitFullScreenForElement(element); document 2094 Source/core/testing/Internals.cpp void Internals::startTrackingRepaints(Document* document, ExceptionState& exceptionState) document 2096 Source/core/testing/Internals.cpp if (!document || !document->view()) { document 2097 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidAccessError, document ? "The document's view cannot be retrieved." : "The document provided is invalid."); document 2101 Source/core/testing/Internals.cpp FrameView* frameView = document->view(); document 2105 Source/core/testing/Internals.cpp void Internals::stopTrackingRepaints(Document* document, ExceptionState& exceptionState) document 2107 Source/core/testing/Internals.cpp if (!document || !document->view()) { document 2108 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidAccessError, document ? "The document's view cannot be retrieved." : "The document provided is invalid."); document 2112 Source/core/testing/Internals.cpp FrameView* frameView = document->view(); document 2123 Source/core/testing/Internals.cpp Document* document; document 2125 Source/core/testing/Internals.cpp document = contextDocument(); document 2127 Source/core/testing/Internals.cpp document = toDocument(node); document 2129 Source/core/testing/Internals.cpp document = toHTMLIFrameElement(*node).contentDocument(); document 2134 Source/core/testing/Internals.cpp document->updateLayoutIgnorePendingStylesheets(Document::RunPostLayoutTasksSynchronously); document 2137 Source/core/testing/Internals.cpp PassRefPtr<ClientRectList> Internals::draggableRegions(Document* document, ExceptionState& exceptionState) document 2139 Source/core/testing/Internals.cpp return annotatedRegions(document, true, exceptionState); document 2142 Source/core/testing/Internals.cpp PassRefPtr<ClientRectList> Internals::nonDraggableRegions(Document* document, ExceptionState& exceptionState) document 2144 Source/core/testing/Internals.cpp return annotatedRegions(document, false, exceptionState); document 2147 Source/core/testing/Internals.cpp PassRefPtr<ClientRectList> Internals::annotatedRegions(Document* document, bool draggable, ExceptionState& exceptionState) document 2149 Source/core/testing/Internals.cpp if (!document || !document->view()) { document 2150 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidAccessError, document ? "The document's view cannot be retrieved." : "The document provided is invalid."); document 2154 Source/core/testing/Internals.cpp document->updateLayout(); document 2155 Source/core/testing/Internals.cpp document->view()->updateAnnotatedRegions(); document 2156 Source/core/testing/Internals.cpp Vector<AnnotatedRegionValue> regions = document->annotatedRegions(); document 2219 Source/core/testing/Internals.cpp String Internals::getCurrentCursorInfo(Document* document, ExceptionState& exceptionState) document 2221 Source/core/testing/Internals.cpp if (!document || !document->frame()) { document 2222 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidAccessError, document ? "The document's frame cannot be retrieved." : "The document provided is invalid."); document 2226 Source/core/testing/Internals.cpp Cursor cursor = document->frame()->eventHandler().currentMouseCursor(); document 2272 Source/core/testing/Internals.cpp Document* document = contextDocument(); document 2273 Source/core/testing/Internals.cpp if (!document || !document->frame()) { document 2274 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidAccessError, document ? "The document's frame cannot be retrieved." : "No context document can be obtained."); document 2278 Source/core/testing/Internals.cpp return ClientRect::create(document->frame()->selection().bounds()); document 2299 Source/core/testing/Internals.cpp String Internals::baseURL(Document* document, ExceptionState& exceptionState) document 2301 Source/core/testing/Internals.cpp if (!document) { document 2306 Source/core/testing/Internals.cpp return document->baseURL().string(); document 2339 Source/core/testing/Internals.cpp void Internals::forceCompositingUpdate(Document* document, ExceptionState& exceptionState) document 2341 Source/core/testing/Internals.cpp if (!document || !document->renderView()) { document 2342 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidAccessError, document ? "The document's render view cannot be retrieved." : "The document provided is invalid."); document 2346 Source/core/testing/Internals.cpp document->updateLayout(); document 2348 Source/core/testing/Internals.cpp RenderView* view = document->renderView(); document 2353 Source/core/testing/Internals.cpp bool Internals::isCompositorFramePending(Document* document, ExceptionState& exceptionState) document 2355 Source/core/testing/Internals.cpp if (!document || !document->renderView()) { document 2356 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidAccessError, document ? "The document's render view cannot be retrieved." : "The document provided is invalid."); document 2360 Source/core/testing/Internals.cpp return document->page()->chrome().client().isCompositorFramePending(); document 61 Source/core/testing/MockPagePopupDriver.cpp Document* document = mainFrame->document(); document 62 Source/core/testing/MockPagePopupDriver.cpp ASSERT(document); document 63 Source/core/testing/MockPagePopupDriver.cpp m_iframe = HTMLIFrameElement::create(*document); document 69 Source/core/testing/MockPagePopupDriver.cpp if (document->body()) document 70 Source/core/testing/MockPagePopupDriver.cpp document->body()->appendChild(m_iframe.get()); document 51 Source/core/timing/Performance.cpp , m_referenceTime(frame && frame->host() ? frame->document()->loader()->timing()->referenceMonotonicTime() : 0.0) document 70 Source/core/timing/Performance.cpp return frame()->document(); document 44 Source/core/timing/PerformanceResourceTiming.cpp static double monotonicTimeToDocumentMilliseconds(Document* document, double seconds) document 47 Source/core/timing/PerformanceResourceTiming.cpp return document->loader()->timing()->monotonicTimeToZeroBasedDocumentTime(seconds) * 1000.0; document 323 Source/core/timing/PerformanceTiming.cpp Document* document = m_frame->document(); document 324 Source/core/timing/PerformanceTiming.cpp if (!document) document 327 Source/core/timing/PerformanceTiming.cpp return &document->timing(); document 74 Source/core/workers/SharedWorker.cpp Document* document = toDocument(context); document 75 Source/core/workers/SharedWorker.cpp if (!document->securityOrigin()->canAccessSharedWorkers()) { document 76 Source/core/workers/SharedWorker.cpp exceptionState.throwSecurityError("Access to shared workers is denied to origin '" + document->securityOrigin()->toString() + "'."); document 84 Source/core/workers/SharedWorker.cpp if (document->frame()->loader().client()->sharedWorkerRepositoryClient()) document 85 Source/core/workers/SharedWorker.cpp document->frame()->loader().client()->sharedWorkerRepositoryClient()->connect(worker.get(), remotePort.release(), scriptURL, name, exceptionState); document 56 Source/core/workers/Worker.cpp Document* document = toDocument(context); document 58 Source/core/workers/Worker.cpp if (!document->page()) { document 62 Source/core/workers/Worker.cpp WorkerGlobalScopeProxyProvider* proxyProvider = WorkerGlobalScopeProxyProvider::from(*document->page()); document 112 Source/core/workers/WorkerMessagingProxy.cpp Document* document = toDocument(m_executionContext.get()); document 114 Source/core/workers/WorkerMessagingProxy.cpp OwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData = WorkerThreadStartupData::create(scriptURL, userAgent, sourceCode, startMode, document->contentSecurityPolicy()->deprecatedHeader(), document->contentSecurityPolicy()->deprecatedHeaderType(), m_workerClients.release()); document 115 Source/core/workers/WorkerMessagingProxy.cpp double originTime = document->loader() ? document->loader()->timing()->referenceMonotonicTime() : monotonicallyIncreasingTime(); document 44 Source/core/xml/DocumentXPathEvaluator.cpp DocumentXPathEvaluator& DocumentXPathEvaluator::from(DocumentSupplementable& document) document 46 Source/core/xml/DocumentXPathEvaluator.cpp DocumentXPathEvaluator* cache = static_cast<DocumentXPathEvaluator*>(DocumentSupplement::from(document, supplementName())); document 49 Source/core/xml/DocumentXPathEvaluator.cpp DocumentSupplement::provideTo(document, supplementName(), adoptPtr(cache)); document 54 Source/core/xml/DocumentXPathEvaluator.cpp PassRefPtrWillBeRawPtr<XPathExpression> DocumentXPathEvaluator::createExpression(DocumentSupplementable& document, document 57 Source/core/xml/DocumentXPathEvaluator.cpp DocumentXPathEvaluator& suplement = from(document); document 63 Source/core/xml/DocumentXPathEvaluator.cpp PassRefPtrWillBeRawPtr<XPathNSResolver> DocumentXPathEvaluator::createNSResolver(DocumentSupplementable& document, Node* nodeResolver) document 65 Source/core/xml/DocumentXPathEvaluator.cpp DocumentXPathEvaluator& suplement = from(document); document 71 Source/core/xml/DocumentXPathEvaluator.cpp PassRefPtrWillBeRawPtr<XPathResult> DocumentXPathEvaluator::evaluate(DocumentSupplementable& document, const String& expression, document 75 Source/core/xml/DocumentXPathEvaluator.cpp DocumentXPathEvaluator& suplement = from(document); document 45 Source/core/xml/XMLErrors.cpp XMLErrors::XMLErrors(Document* document) document 46 Source/core/xml/XMLErrors.cpp : m_document(document) document 255 Source/core/xml/XMLHttpRequest.cpp DocumentInit init = DocumentInit::fromContext(document()->contextDocument(), m_url); document 263 Source/core/xml/XMLHttpRequest.cpp m_responseDocument->setContextFeatures(document()->contextFeatures()); document 553 Source/core/xml/XMLHttpRequest.cpp if (document()->settings() && !document()->settings()->syncXHRInDocumentsEnabled()) { document 629 Source/core/xml/XMLHttpRequest.cpp void XMLHttpRequest::send(Document* document, ExceptionState& exceptionState) document 631 Source/core/xml/XMLHttpRequest.cpp WTF_LOG(Network, "XMLHttpRequest %p send() Document %p", this, document); document 633 Source/core/xml/XMLHttpRequest.cpp ASSERT(document); document 646 Source/core/xml/XMLHttpRequest.cpp String body = createMarkup(document); document 151 Source/core/xml/XMLHttpRequest.h Document* document() const; document 46 Source/core/xml/XMLTreeViewer.cpp XMLTreeViewer::XMLTreeViewer(Document* document) document 47 Source/core/xml/XMLTreeViewer.cpp : m_document(document) document 77 Source/core/xml/XPathExpression.cpp RefPtrWillBeRawPtr<XPathResult> result = XPathResult::create(&contextNode->document(), m_topExpression->evaluate()); document 184 Source/core/xml/XPathNodeSet.cpp node = &node->document(); document 39 Source/core/xml/XPathResult.cpp XPathResult::XPathResult(Document* document, const Value& value) document 59 Source/core/xml/XPathResult.cpp m_document = document; document 60 Source/core/xml/XPathResult.cpp m_domTreeVersion = document->domTreeVersion(); document 57 Source/core/xml/XPathResult.h static PassRefPtrWillBeRawPtr<XPathResult> create(Document* document, const XPath::Value& value) document 59 Source/core/xml/XPathResult.h return adoptRefWillBeNoop(new XPathResult(document, value)); document 200 Source/core/xml/XPathStep.cpp if (node->document().isHTMLDocument()) { document 100 Source/core/xml/XSLImportRule.cpp FetchRequest request(ResourceRequest(fetcher->document()->completeURL(absHref)), FetchInitiatorTypeNames::xml); document 82 Source/core/xml/XSLStyleSheet.h xmlDocPtr document(); document 118 Source/core/xml/XSLStyleSheetLibxslt.cpp Document* document = ownerDocument(); document 119 Source/core/xml/XSLStyleSheetLibxslt.cpp if (!document) document 121 Source/core/xml/XSLStyleSheetLibxslt.cpp return document->fetcher(); document 166 Source/core/xml/XSLStyleSheetLibxslt.cpp if (!document()) document 169 Source/core/xml/XSLStyleSheetLibxslt.cpp xmlNodePtr stylesheetRoot = document()->children; document 178 Source/core/xml/XSLStyleSheetLibxslt.cpp xmlAttrPtr idNode = xmlGetID(document(), (const xmlChar*)(finalURL().string().utf8().data())); document 229 Source/core/xml/XSLStyleSheetLibxslt.cpp return xsltLoadStylesheetPI(document()); document 257 Source/core/xml/XSLStyleSheetLibxslt.cpp return &node->document(); document 264 Source/core/xml/XSLStyleSheetLibxslt.cpp bool matchedParent = (parentDoc == document()); document 286 Source/core/xml/XSLStyleSheetLibxslt.cpp return child->document(); document 66 Source/core/xml/XSLTProcessor.cpp RefPtr<Document> ownerDocument(sourceNode->document()); document 78 Source/core/xml/XSLTProcessor.cpp RefPtr<Document> oldDocument = frame->document(); document 100 Source/core/xml/XSLTProcessorLibxslt.cpp xmlChar* base = xmlNodeGetBase(context->document->doc, context->node); document 226 Source/core/xml/XSLTProcessorLibxslt.cpp stylesheetRootNode->document().url().string(), document 227 Source/core/xml/XSLTProcessorLibxslt.cpp stylesheetRootNode->document().url()); // FIXME: Should we use baseURL here? document 234 Source/core/xml/XSLTProcessorLibxslt.cpp if (!cachedStylesheet || !cachedStylesheet->document()) document 242 Source/core/xml/XSLTProcessorLibxslt.cpp RefPtr<Document> ownerDocument(sourceNode->document()); document 277 Source/core/xml/XSLTProcessorLibxslt.cpp RefPtr<Document> ownerDocument(sourceNode->document()); document 103 Source/core/xml/parser/XMLDocumentParser.cpp static inline bool hasNoStyleInformation(Document* document) document 105 Source/core/xml/parser/XMLDocumentParser.cpp if (document->sawElementsInKnownNamespaces() || document->transformSourceDocument()) document 108 Source/core/xml/parser/XMLDocumentParser.cpp if (!document->frame() || !document->frame()->page()) document 111 Source/core/xml/parser/XMLDocumentParser.cpp if (document->frame()->tree().parent()) document 298 Source/core/xml/parser/XMLDocumentParser.cpp if (n != document()) document 312 Source/core/xml/parser/XMLDocumentParser.cpp if (m_currentNode != document()) document 321 Source/core/xml/parser/XMLDocumentParser.cpp if (m_currentNode && m_currentNode != document()) document 329 Source/core/xml/parser/XMLDocumentParser.cpp if (m_currentNodeStack[0] && m_currentNodeStack[0] != document()) document 374 Source/core/xml/parser/XMLDocumentParser.cpp m_leafTextNode = Text::create(m_currentNode->document(), ""); document 418 Source/core/xml/parser/XMLDocumentParser.cpp document()->styleResolverChanged(RecalcStyleImmediately); document 423 Source/core/xml/parser/XMLDocumentParser.cpp document()->setReadyState(Document::Interactive); document 425 Source/core/xml/parser/XMLDocumentParser.cpp document()->finishedParsing(); document 500 Source/core/xml/parser/XMLDocumentParser.cpp fragment->parserAppendChild(fragment->document().createTextNode(chunk)); document 599 Source/core/xml/parser/XMLDocumentParser.cpp if (!XMLDocumentParserScope::currentFetcher->document()->securityOrigin()->canRequest(url)) { document 738 Source/core/xml/parser/XMLDocumentParser.cpp XMLDocumentParser::XMLDocumentParser(Document* document, FrameView* frameView) document 739 Source/core/xml/parser/XMLDocumentParser.cpp : ScriptableDocumentParser(document) document 742 Source/core/xml/parser/XMLDocumentParser.cpp , m_currentNode(document) document 752 Source/core/xml/parser/XMLDocumentParser.cpp , m_xmlErrors(document) document 758 Source/core/xml/parser/XMLDocumentParser.cpp UseCounter::count(*document, UseCounter::XMLDocument); document 762 Source/core/xml/parser/XMLDocumentParser.cpp : ScriptableDocumentParser(&fragment->document(), parserContentPolicy) document 775 Source/core/xml/parser/XMLDocumentParser.cpp , m_xmlErrors(&fragment->document()) document 848 Source/core/xml/parser/XMLDocumentParser.cpp XMLDocumentParserScope scope(document()->fetcher()); document 859 Source/core/xml/parser/XMLDocumentParser.cpp if (document()->sawDecodingError()) { document 942 Source/core/xml/parser/XMLDocumentParser.cpp RefPtr<Element> newElement = m_currentNode->document().createElement(qName, true); document 980 Source/core/xml/parser/XMLDocumentParser.cpp if (!m_parsingFragment && isFirstElement && document()->frame()) document 981 Source/core/xml/parser/XMLDocumentParser.cpp document()->frame()->loader().dispatchDocumentElementAvailable(); document 1039 Source/core/xml/parser/XMLDocumentParser.cpp scriptLoader->executeScript(ScriptSourceCode(scriptLoader->scriptContent(), document()->url(), m_scriptStartPosition)); document 1105 Source/core/xml/parser/XMLDocumentParser.cpp RefPtr<ProcessingInstruction> pi = m_currentNode->document().createProcessingInstruction(target, data, exceptionState); document 1122 Source/core/xml/parser/XMLDocumentParser.cpp if (m_sawXSLTransform && !document()->transformSourceDocument()) { document 1144 Source/core/xml/parser/XMLDocumentParser.cpp RefPtr<CDATASection> newNode = CDATASection::create(m_currentNode->document(), text); document 1160 Source/core/xml/parser/XMLDocumentParser.cpp RefPtr<Comment> newNode = Comment::create(m_currentNode->document(), text); document 1175 Source/core/xml/parser/XMLDocumentParser.cpp document()->setHasXMLDeclaration(false); document 1180 Source/core/xml/parser/XMLDocumentParser.cpp document()->setXMLVersion(version, ASSERT_NO_EXCEPTION); document 1182 Source/core/xml/parser/XMLDocumentParser.cpp document()->setXMLStandalone(standaloneInfo == StandaloneYes, ASSERT_NO_EXCEPTION); document 1184 Source/core/xml/parser/XMLDocumentParser.cpp document()->setXMLEncoding(encoding); document 1185 Source/core/xml/parser/XMLDocumentParser.cpp document()->setHasXMLDeclaration(true); document 1203 Source/core/xml/parser/XMLDocumentParser.cpp if (document()) document 1204 Source/core/xml/parser/XMLDocumentParser.cpp document()->parserAppendChild(DocumentType::create(document(), name, externalID, systemID)); document 1411 Source/core/xml/parser/XMLDocumentParser.cpp XMLDocumentParserScope scope(document()->fetcher()); document 1426 Source/core/xml/parser/XMLDocumentParser.cpp XMLDocumentParserScope scope(document()->fetcher()); document 1434 Source/core/xml/parser/XMLDocumentParser.cpp bool xmlViewerMode = !m_sawError && !m_sawCSS && !m_sawXSLTransform && hasNoStyleInformation(document()); document 1436 Source/core/xml/parser/XMLDocumentParser.cpp XMLTreeViewer xmlTreeViewer(document()); document 1439 Source/core/xml/parser/XMLDocumentParser.cpp xmlDocPtr doc = xmlDocPtrForString(document()->fetcher(), m_originalSourceForTransform.toString(), document()->url().string()); document 1440 Source/core/xml/parser/XMLDocumentParser.cpp document()->setTransformSource(adoptPtr(new TransformSource(doc))); document 1442 Source/core/xml/parser/XMLDocumentParser.cpp document()->setParsing(false); // Make the document think it's done, so it will apply XSL stylesheets. document 1443 Source/core/xml/parser/XMLDocumentParser.cpp document()->styleResolverChanged(RecalcStyleImmediately); document 1450 Source/core/xml/parser/XMLDocumentParser.cpp document()->setParsing(true); document 69 Source/core/xml/parser/XMLDocumentParser.h static PassRefPtr<XMLDocumentParser> create(Document* document, FrameView* view) document 71 Source/core/xml/parser/XMLDocumentParser.h return adoptRef(new XMLDocumentParser(document, view)); document 29 Source/modules/battery/NavigatorBattery.cpp m_batteryManager = BatteryManager::create(navigator.frame()->document()); document 39 Source/modules/device_orientation/DeviceMotionController.cpp DeviceMotionController::DeviceMotionController(Document& document) document 40 Source/modules/device_orientation/DeviceMotionController.cpp : DeviceSensorEventController(document) document 41 Source/modules/device_orientation/DeviceMotionController.cpp , DOMWindowLifecycleObserver(document.domWindow()) document 60 Source/modules/device_orientation/DeviceMotionController.cpp DeviceMotionController& DeviceMotionController::from(Document& document) document 62 Source/modules/device_orientation/DeviceMotionController.cpp DeviceMotionController* controller = static_cast<DeviceMotionController*>(DocumentSupplement::from(document, supplementName())); document 64 Source/modules/device_orientation/DeviceMotionController.cpp controller = new DeviceMotionController(document); document 65 Source/modules/device_orientation/DeviceMotionController.cpp DocumentSupplement::provideTo(document, supplementName(), adoptPtr(controller)); document 39 Source/modules/device_orientation/DeviceOrientationController.cpp DeviceOrientationController::DeviceOrientationController(Document& document) document 40 Source/modules/device_orientation/DeviceOrientationController.cpp : DeviceSensorEventController(document) document 41 Source/modules/device_orientation/DeviceOrientationController.cpp , DOMWindowLifecycleObserver(document.domWindow()) document 62 Source/modules/device_orientation/DeviceOrientationController.cpp DeviceOrientationController& DeviceOrientationController::from(Document& document) document 64 Source/modules/device_orientation/DeviceOrientationController.cpp DeviceOrientationController* controller = static_cast<DeviceOrientationController*>(DocumentSupplement::from(document, supplementName())); document 66 Source/modules/device_orientation/DeviceOrientationController.cpp controller = new DeviceOrientationController(document); document 67 Source/modules/device_orientation/DeviceOrientationController.cpp DocumentSupplement::provideTo(document, supplementName(), adoptPtr(controller)); document 44 Source/modules/device_orientation/DeviceOrientationInspectorAgent.cpp ASSERT(m_page.mainFrame()->document()); document 45 Source/modules/device_orientation/DeviceOrientationInspectorAgent.cpp return DeviceOrientationController::from(*m_page.mainFrame()->document()); document 75 Source/modules/encryptedmedia/MediaKeys.cpp Document* document = toDocument(context); document 76 Source/modules/encryptedmedia/MediaKeys.cpp MediaKeysController* controller = MediaKeysController::from(document->page()); document 56 Source/modules/filesystem/DOMWindowFileSystem.cpp Document* document = window.document(); document 57 Source/modules/filesystem/DOMWindowFileSystem.cpp if (!document) document 60 Source/modules/filesystem/DOMWindowFileSystem.cpp if (!document->securityOrigin()->canAccessFileSystem()) { document 61 Source/modules/filesystem/DOMWindowFileSystem.cpp DOMFileSystem::scheduleCallback(document, errorCallback, FileError::create(FileError::SECURITY_ERR)); document 67 Source/modules/filesystem/DOMWindowFileSystem.cpp DOMFileSystem::scheduleCallback(document, errorCallback, FileError::create(FileError::INVALID_MODIFICATION_ERR)); document 71 Source/modules/filesystem/DOMWindowFileSystem.cpp LocalFileSystem::from(*document)->requestFileSystem(document, fileSystemType, size, FileSystemCallbacks::create(successCallback, errorCallback, document, fileSystemType)); document 79 Source/modules/filesystem/DOMWindowFileSystem.cpp Document* document = window.document(); document 80 Source/modules/filesystem/DOMWindowFileSystem.cpp if (!document) document 83 Source/modules/filesystem/DOMWindowFileSystem.cpp SecurityOrigin* securityOrigin = document->securityOrigin(); document 84 Source/modules/filesystem/DOMWindowFileSystem.cpp KURL completedURL = document->completeURL(url); document 86 Source/modules/filesystem/DOMWindowFileSystem.cpp DOMFileSystem::scheduleCallback(document, errorCallback, FileError::create(FileError::SECURITY_ERR)); document 91 Source/modules/filesystem/DOMWindowFileSystem.cpp DOMFileSystem::scheduleCallback(document, errorCallback, FileError::create(FileError::ENCODING_ERR)); document 95 Source/modules/filesystem/DOMWindowFileSystem.cpp LocalFileSystem::from(*document)->resolveURL(document, completedURL, ResolveURICallbacks::create(successCallback, errorCallback, document)); document 719 Source/modules/filesystem/InspectorFileSystemAgent.cpp if (frame->document() && frame->document()->securityOrigin()->isSameSchemeHostPort(origin)) document 720 Source/modules/filesystem/InspectorFileSystemAgent.cpp return frame->document(); document 19 Source/modules/filesystem/InspectorFrontendHostFileSystem.cpp ExecutionContext* context = host.frontendPage()->mainFrame()->document(); document 75 Source/modules/gamepad/NavigatorGamepad.cpp NavigatorGamepad* NavigatorGamepad::from(Document& document) document 77 Source/modules/gamepad/NavigatorGamepad.cpp if (!document.frame() || !document.frame()->domWindow()) document 79 Source/modules/gamepad/NavigatorGamepad.cpp Navigator& navigator = document.frame()->domWindow()->navigator(); document 87 Source/modules/gamepad/NavigatorGamepad.cpp supplement = new NavigatorGamepad(*navigator.frame()->document()); document 139 Source/modules/gamepad/NavigatorGamepad.cpp if (window()->document()->activeDOMObjectsAreStopped() || window()->document()->activeDOMObjectsAreSuspended()) document 156 Source/modules/gamepad/NavigatorGamepad.cpp NavigatorGamepad::NavigatorGamepad(Document& document) document 157 Source/modules/gamepad/NavigatorGamepad.cpp : DOMWindowProperty(document.frame()) document 158 Source/modules/gamepad/NavigatorGamepad.cpp , DeviceSensorEventController(document) document 159 Source/modules/gamepad/NavigatorGamepad.cpp , DOMWindowLifecycleObserver(document.frame()->domWindow()) document 287 Source/modules/geolocation/Geolocation.cpp return document() ? document()->frame() : 0; document 292 Source/modules/geolocation/Geolocation.cpp return document() ? document()->page() : 0; document 58 Source/modules/geolocation/Geolocation.h Document* document() const; document 65 Source/modules/geolocation/NavigatorGeolocation.cpp m_geolocation = Geolocation::create(frame()->document()); document 44 Source/modules/geolocation/testing/InternalsGeolocation.cpp void InternalsGeolocation::setGeolocationClientMock(Internals&, Document* document) document 46 Source/modules/geolocation/testing/InternalsGeolocation.cpp ASSERT(document && document->page()); document 47 Source/modules/geolocation/testing/InternalsGeolocation.cpp GeolocationController* controller = GeolocationController::from(document->page()); document 53 Source/modules/geolocation/testing/InternalsGeolocation.cpp void InternalsGeolocation::setGeolocationPosition(Internals&, Document* document, double latitude, double longitude, double accuracy) document 55 Source/modules/geolocation/testing/InternalsGeolocation.cpp ASSERT(document && document->page()); document 56 Source/modules/geolocation/testing/InternalsGeolocation.cpp GeolocationClientMock* client = geolocationClient(document); document 62 Source/modules/geolocation/testing/InternalsGeolocation.cpp void InternalsGeolocation::setGeolocationPositionUnavailableError(Internals&, Document* document, const String& message) document 64 Source/modules/geolocation/testing/InternalsGeolocation.cpp ASSERT(document && document->page()); document 65 Source/modules/geolocation/testing/InternalsGeolocation.cpp GeolocationClientMock* client = geolocationClient(document); document 71 Source/modules/geolocation/testing/InternalsGeolocation.cpp void InternalsGeolocation::setGeolocationPermission(Internals&, Document* document, bool allowed) document 73 Source/modules/geolocation/testing/InternalsGeolocation.cpp ASSERT(document && document->page()); document 74 Source/modules/geolocation/testing/InternalsGeolocation.cpp GeolocationClientMock* client = geolocationClient(document); document 80 Source/modules/geolocation/testing/InternalsGeolocation.cpp int InternalsGeolocation::numberOfPendingGeolocationPermissionRequests(Internals&, Document* document) document 82 Source/modules/geolocation/testing/InternalsGeolocation.cpp ASSERT(document && document->page()); document 83 Source/modules/geolocation/testing/InternalsGeolocation.cpp GeolocationClientMock* client = geolocationClient(document); document 89 Source/modules/geolocation/testing/InternalsGeolocation.cpp GeolocationClientMock* InternalsGeolocation::geolocationClient(Document* document) document 91 Source/modules/geolocation/testing/InternalsGeolocation.cpp GeolocationController* controller = GeolocationController::from(document->page()); document 109 Source/modules/imagebitmap/ImageBitmapFactories.cpp if (!image->cachedImage()->passesAccessControlCheck(eventTarget.toDOMWindow()->document()->securityOrigin()) && eventTarget.toDOMWindow()->document()->securityOrigin()->taintsCanvas(image->src())) { document 152 Source/modules/imagebitmap/ImageBitmapFactories.cpp if (!video->player()->didPassCORSAccessCheck() && eventTarget.toDOMWindow()->document()->securityOrigin()->taintsCanvas(video->currentSrc())) { document 80 Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp Document* document = m_window.document(); document 81 Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp if (!document) document 84 Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp Page* page = document->page(); document 69 Source/modules/indexeddb/IDBFactory.cpp Document* document = toDocument(context); document 70 Source/modules/indexeddb/IDBFactory.cpp return document->frame() && document->page(); document 445 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp Document* document = toDocument(context); document 446 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp if (!document) document 448 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp ScriptState* scriptState = mainWorldScriptState(document->frame()); document 542 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp RefPtr<SecurityOrigin> documentOrigin = frame->document()->securityOrigin(); document 592 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp Document* document = frame ? frame->document() : 0; document 594 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp if (!document) document 597 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp return document; document 600 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp static IDBFactory* assertIDBFactory(ErrorString* errorString, Document* document) document 602 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp DOMWindow* domWindow = document->domWindow(); document 618 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp Document* document = assertDocument(errorString, frame); document 619 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp if (!document) document 621 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp IDBFactory* idbFactory = assertIDBFactory(errorString, document); document 628 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp v8::Handle<v8::Context> context = toV8Context(isolate, document->frame(), DOMWrapperWorld::mainWorld()); document 633 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp RefPtr<IDBRequest> idbRequest = idbFactory->getDatabaseNames(document, exceptionState); document 638 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp idbRequest->addEventListener(EventTypeNames::success, GetDatabaseNamesCallback::create(requestCallback, document->securityOrigin()->toRawString()), false); document 644 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp Document* document = assertDocument(errorString, frame); document 645 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp if (!document) document 647 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp IDBFactory* idbFactory = assertIDBFactory(errorString, document); document 654 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp v8::Handle<v8::Context> context = toV8Context(isolate, document->frame(), DOMWrapperWorld::mainWorld()); document 658 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp RefPtr<DatabaseLoader> databaseLoader = DatabaseLoader::create(document, requestCallback); document 659 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp databaseLoader->start(idbFactory, document->securityOrigin(), databaseName); document 665 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp Document* document = assertDocument(errorString, frame); document 666 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp if (!document) document 668 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp IDBFactory* idbFactory = assertIDBFactory(errorString, document); document 681 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp v8::Handle<v8::Context> context = toV8Context(isolate, document->frame(), DOMWrapperWorld::mainWorld()); document 685 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp RefPtr<DataLoader> dataLoader = DataLoader::create(document, requestCallback, objectStoreName, indexName, idbKeyRange, skipCount, pageSize); document 686 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp dataLoader->start(idbFactory, document->securityOrigin(), databaseName); document 776 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp Document* document = assertDocument(errorString, frame); document 777 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp if (!document) document 779 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp IDBFactory* idbFactory = assertIDBFactory(errorString, document); document 786 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp v8::Handle<v8::Context> context = toV8Context(isolate, document->frame(), DOMWrapperWorld::mainWorld()); document 790 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp RefPtr<ClearObjectStore> clearObjectStore = ClearObjectStore::create(document, objectStoreName, requestCallback); document 791 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp clearObjectStore->start(idbFactory, document->securityOrigin(), databaseName); document 55 Source/modules/mediasource/HTMLVideoElementMediaSource.cpp return VideoPlaybackQuality::create(videoElement.document(), total, dropped, corrupted); document 41 Source/modules/mediasource/VideoPlaybackQuality.cpp const Document& document, unsigned totalVideoFrames, unsigned droppedVideoFrames, unsigned corruptedVideoFrames) document 43 Source/modules/mediasource/VideoPlaybackQuality.cpp return adoptRefWillBeNoop(new VideoPlaybackQuality(document, totalVideoFrames, droppedVideoFrames, corruptedVideoFrames)); document 47 Source/modules/mediasource/VideoPlaybackQuality.cpp const Document& document, unsigned totalVideoFrames, unsigned droppedVideoFrames, unsigned corruptedVideoFrames) document 53 Source/modules/mediasource/VideoPlaybackQuality.cpp if (document.domWindow()) document 54 Source/modules/mediasource/VideoPlaybackQuality.cpp m_creationTime = document.domWindow()->performance().now(); document 61 Source/modules/mediastream/NavigatorMediaStream.cpp RefPtr<UserMediaRequest> request = UserMediaRequest::create(navigator.frame()->document(), userMedia, options, successCallback, errorCallback, exceptionState); document 78 Source/modules/mediastream/NavigatorMediaStream.cpp RefPtr<MediaDevicesRequest> request = MediaDevicesRequest::create(navigator.frame()->document(), userMedia, callback, exceptionState); document 188 Source/modules/mediastream/RTCPeerConnection.cpp Document* document = toDocument(executionContext()); document 190 Source/modules/mediastream/RTCPeerConnection.cpp if (!document->frame()) { document 201 Source/modules/mediastream/RTCPeerConnection.cpp document->frame()->loader().client()->dispatchWillStartUsingPeerConnectionHandler(m_peerHandler.get()); document 141 Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp Document* document = navigator.frame()->document(); document 142 Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp if (!document) document 145 Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp KURL baseURL = document->baseURL(); document 183 Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp Document* document = navigator.frame()->document(); document 184 Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp KURL baseURL = document->baseURL(); document 201 Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp Document* document = navigator.frame()->document(); document 202 Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp KURL baseURL = document->baseURL(); document 70 Source/modules/performance/SharedWorkerPerformance.cpp Document* document = toDocument(context); document 71 Source/modules/performance/SharedWorkerPerformance.cpp if (!document->loader()) document 74 Source/modules/performance/SharedWorkerPerformance.cpp double navigationStart = document->loader()->timing()->navigationStart(); document 111 Source/modules/screen_orientation/ScreenOrientation.cpp ASSERT(m_associatedDOMWindow->document()); document 112 Source/modules/screen_orientation/ScreenOrientation.cpp return m_associatedDOMWindow->document(); document 132 Source/modules/screen_orientation/ScreenOrientation.cpp if (!screenOrientation.document()) { document 136 Source/modules/screen_orientation/ScreenOrientation.cpp ScreenOrientationController& controller = ScreenOrientationController::from(*screenOrientation.document()); document 43 Source/modules/screen_orientation/ScreenOrientation.h Document* document() const; document 21 Source/modules/screen_orientation/ScreenOrientationController.cpp ScreenOrientationController& ScreenOrientationController::from(Document& document) document 23 Source/modules/screen_orientation/ScreenOrientationController.cpp ScreenOrientationController* controller = static_cast<ScreenOrientationController*>(DocumentSupplement::from(document, supplementName())); document 25 Source/modules/screen_orientation/ScreenOrientationController.cpp controller = new ScreenOrientationController(document); document 26 Source/modules/screen_orientation/ScreenOrientationController.cpp DocumentSupplement::provideTo(document, supplementName(), adoptPtr(controller)); document 31 Source/modules/screen_orientation/ScreenOrientationController.cpp ScreenOrientationController::ScreenOrientationController(Document& document) document 32 Source/modules/screen_orientation/ScreenOrientationController.cpp : m_document(document) document 34 Source/modules/serviceworkers/ServiceWorkerContainerClient.cpp Document* document = toDocument(context); document 35 Source/modules/serviceworkers/ServiceWorkerContainerClient.cpp if (!document->frame()) document 38 Source/modules/serviceworkers/ServiceWorkerContainerClient.cpp ServiceWorkerContainerClient* client = static_cast<ServiceWorkerContainerClient*>(DocumentSupplement::from(document, supplementName())); document 43 Source/modules/serviceworkers/ServiceWorkerContainerClient.cpp document->provideSupplement(ServiceWorkerContainerClient::supplementName(), ServiceWorkerContainerClient::create(document->frame()->loader().client()->createServiceWorkerProvider())); document 44 Source/modules/serviceworkers/ServiceWorkerContainerClient.cpp return static_cast<ServiceWorkerContainerClient*>(DocumentSupplement::from(document, supplementName())); document 46 Source/modules/speech/SpeechGrammar.cpp Document* document = toDocument(executionContext); document 47 Source/modules/speech/SpeechGrammar.cpp m_src = document->completeURL(src); document 49 Source/modules/speech/SpeechGrammarList.cpp Document* document = toDocument(executionContext); document 50 Source/modules/speech/SpeechGrammarList.cpp m_grammars.append(SpeechGrammar::create(document->completeURL(src), weight)); document 180 Source/modules/speech/SpeechRecognition.cpp Document* document = toDocument(executionContext()); document 182 Source/modules/speech/SpeechRecognition.cpp Page* page = document->page(); document 42 Source/modules/speech/testing/InternalsSpeechSynthesis.cpp void InternalsSpeechSynthesis::enableMockSpeechSynthesizer(Internals&, Document* document) document 44 Source/modules/speech/testing/InternalsSpeechSynthesis.cpp ASSERT(document && document->domWindow()); document 46 Source/modules/speech/testing/InternalsSpeechSynthesis.cpp SpeechSynthesis* synthesis = DOMWindowSpeechSynthesis::speechSynthesis(*document->domWindow()); document 40 Source/modules/vibration/testing/InternalsVibration.cpp bool InternalsVibration::isVibrating(Internals&, Document* document) document 42 Source/modules/vibration/testing/InternalsVibration.cpp ASSERT(document && document->page()); document 43 Source/modules/vibration/testing/InternalsVibration.cpp return NavigatorVibration::from(*document->page()).isVibrating(); document 46 Source/modules/vibration/testing/InternalsVibration.cpp Vector<unsigned> InternalsVibration::pendingVibrationPattern(Internals&, Document* document) document 48 Source/modules/vibration/testing/InternalsVibration.cpp ASSERT(document && document->page()); document 49 Source/modules/vibration/testing/InternalsVibration.cpp return NavigatorVibration::from(*document->page()).pattern(); document 92 Source/modules/webaudio/AudioContext.cpp PassRefPtr<AudioContext> AudioContext::create(Document& document, ExceptionState& exceptionState) document 102 Source/modules/webaudio/AudioContext.cpp RefPtr<AudioContext> audioContext(adoptRef(new AudioContext(&document))); document 107 Source/modules/webaudio/AudioContext.cpp PassRefPtr<AudioContext> AudioContext::create(Document& document, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState& exceptionState) document 109 Source/modules/webaudio/AudioContext.cpp document.addConsoleMessage(JSMessageSource, WarningMessageLevel, "Deprecated AudioContext constructor: use OfflineAudioContext instead"); document 110 Source/modules/webaudio/AudioContext.cpp return OfflineAudioContext::create(&document, numberOfChannels, numberOfFrames, sampleRate, exceptionState); document 114 Source/modules/webaudio/AudioContext.cpp AudioContext::AudioContext(Document* document) document 115 Source/modules/webaudio/AudioContext.cpp : ActiveDOMObject(document) document 135 Source/modules/webaudio/AudioContext.cpp AudioContext::AudioContext(Document* document, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate) document 136 Source/modules/webaudio/AudioContext.cpp : ActiveDOMObject(document) document 49 Source/modules/webaudio/OfflineAudioContext.cpp Document* document = toDocument(context); document 66 Source/modules/webaudio/OfflineAudioContext.cpp RefPtr<OfflineAudioContext> audioContext(adoptRef(new OfflineAudioContext(document, numberOfChannels, numberOfFrames, sampleRate))); document 81 Source/modules/webaudio/OfflineAudioContext.cpp OfflineAudioContext::OfflineAudioContext(Document* document, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate) document 82 Source/modules/webaudio/OfflineAudioContext.cpp : AudioContext(document, numberOfChannels, numberOfFrames, sampleRate) document 51 Source/modules/webdatabase/DOMWindowWebDatabase.cpp if (RuntimeEnabledFeatures::databaseEnabled() && window.document()->securityOrigin()->canAccessDatabase()) { document 53 Source/modules/webdatabase/DOMWindowWebDatabase.cpp database = dbManager.openDatabase(window.document(), name, version, displayName, estimatedSize, creationCallback, error, errorMessage); document 138 Source/modules/webmidi/MIDIAccess.cpp Document* document = toDocument(executionContext()); document 139 Source/modules/webmidi/MIDIAccess.cpp ASSERT(document); document 141 Source/modules/webmidi/MIDIAccess.cpp double timeStampInMilliseconds = 1000 * document->loader()->timing()->monotonicTimeToZeroBasedDocumentTime(timeStamp); document 159 Source/modules/webmidi/MIDIAccess.cpp Document* document = toDocument(executionContext()); document 160 Source/modules/webmidi/MIDIAccess.cpp ASSERT(document); document 161 Source/modules/webmidi/MIDIAccess.cpp double documentStartTime = document->loader()->timing()->referenceMonotonicTime(); document 191 Source/modules/webmidi/MIDIAccess.cpp Document* document = toDocument(executionContext()); document 192 Source/modules/webmidi/MIDIAccess.cpp ASSERT(document); document 193 Source/modules/webmidi/MIDIAccess.cpp MIDIController* controller = MIDIController::from(document->page()); document 222 Source/modules/webmidi/MIDIAccess.cpp Document* document = toDocument(executionContext()); document 223 Source/modules/webmidi/MIDIAccess.cpp ASSERT(document); document 224 Source/modules/webmidi/MIDIAccess.cpp MIDIController* controller = MIDIController::from(document->page()); document 84 Source/modules/webmidi/NavigatorWebMIDI.cpp return MIDIAccess::request(MIDIOptions(options), frame()->document()); document 62 Source/modules/websockets/MainThreadWebSocketChannel.cpp MainThreadWebSocketChannel::MainThreadWebSocketChannel(Document* document, WebSocketChannelClient* client, const String& sourceURL, unsigned lineNumber) document 63 Source/modules/websockets/MainThreadWebSocketChannel.cpp : m_document(document) document 67 Source/modules/websockets/MainThreadWebSocketChannel.h static PassRefPtr<MainThreadWebSocketChannel> create(Document* document, WebSocketChannelClient* client, const String& sourceURL = String(), unsigned lineNumber = 0) { return adoptRef(new MainThreadWebSocketChannel(document, client, sourceURL, lineNumber)); } document 143 Source/modules/websockets/NewWebSocketChannelImpl.cpp InspectorInstrumentation::didCreateWebSocket(document(), m_identifier, url, protocol); document 166 Source/modules/websockets/NewWebSocketChannelImpl.cpp InspectorInstrumentation::didSendWebSocketFrame(document(), m_identifier, frame.opCode, frame.masked, frame.payload, frame.payloadLength); document 183 Source/modules/websockets/NewWebSocketChannelImpl.cpp InspectorInstrumentation::didSendWebSocketFrame(document(), m_identifier, frame.opCode, frame.masked, frame.payload, frame.payloadLength); document 197 Source/modules/websockets/NewWebSocketChannelImpl.cpp InspectorInstrumentation::didSendWebSocketFrame(document(), m_identifier, frame.opCode, frame.masked, frame.payload, frame.payloadLength); document 225 Source/modules/websockets/NewWebSocketChannelImpl.cpp InspectorInstrumentation::didReceiveWebSocketFrameError(document(), m_identifier, reason); document 241 Source/modules/websockets/NewWebSocketChannelImpl.cpp InspectorInstrumentation::didCloseWebSocket(document(), m_identifier); document 373 Source/modules/websockets/NewWebSocketChannelImpl.cpp InspectorInstrumentation::willSendWebSocketHandshakeRequest(document(), m_identifier, &request.toCoreRequest()); document 382 Source/modules/websockets/NewWebSocketChannelImpl.cpp InspectorInstrumentation::didReceiveWebSocketHandshakeResponse(document(), m_identifier, m_handshakeRequest.get(), &response.toCoreResponse()); document 430 Source/modules/websockets/NewWebSocketChannelImpl.cpp InspectorInstrumentation::didReceiveWebSocketFrame(document(), m_identifier, frame.opCode, frame.masked, frame.payload, frame.payloadLength); document 454 Source/modules/websockets/NewWebSocketChannelImpl.cpp InspectorInstrumentation::didCloseWebSocket(document(), m_identifier); document 130 Source/modules/websockets/NewWebSocketChannelImpl.h Document* document(); // can be called only when m_identifier > 0. document 322 Source/modules/websockets/WebSocket.cpp Document* document = toDocument(executionContext()); document 323 Source/modules/websockets/WebSocket.cpp shouldBypassMainWorldContentSecurityPolicy = document->frame()->script().shouldBypassMainWorldContentSecurityPolicy(); document 69 Source/modules/websockets/WebSocketChannel.cpp Document* document = toDocument(context); document 71 Source/modules/websockets/WebSocketChannel.cpp return NewWebSocketChannelImpl::create(document, client, sourceURL, lineNumber); document 73 Source/modules/websockets/WebSocketChannel.cpp return MainThreadWebSocketChannel::create(document, client, sourceURL, lineNumber); document 132 Source/modules/websockets/WebSocketHandshake.cpp WebSocketHandshake::WebSocketHandshake(const KURL& url, const String& protocol, Document* document) document 136 Source/modules/websockets/WebSocketHandshake.cpp , m_document(document) document 230 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp Document* document = toDocument(context); document 232 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp m_mainWebSocketChannel = NewWebSocketChannelImpl::create(document, this, sourceURL, lineNumber); document 234 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp m_mainWebSocketChannel = MainThreadWebSocketChannel::create(document, this, sourceURL, lineNumber); document 353 Source/web/AssociatedURLLoader.cpp Document* webcoreDocument = m_frameImpl->frame()->document(); document 233 Source/web/ChromeClientImpl.cpp ASSERT(frame->document()); document 234 Source/web/ChromeClientImpl.cpp DocumentFullscreen::webkitCancelFullScreen(*frame->document()); document 903 Source/web/ChromeClientImpl.cpp WebCore::Document* document, WebCore::Event* event) document 905 Source/web/ChromeClientImpl.cpp WebFrameImpl* webFrame = WebFrameImpl::fromFrame(document->frame()); document 914 Source/web/ChromeClientImpl.cpp WebMouseEventBuilder webEvent(webFrame->frameView(), document->renderer(), *static_cast<WebCore::MouseEvent*>(event)); document 921 Source/web/ChromeClientImpl.cpp WebMouseWheelEventBuilder webEvent(webFrame->frameView(), document->renderer(), *static_cast<WebCore::WheelEvent*>(event)); document 103 Source/web/ContextFeaturesClientImpl.cpp ContextFeaturesCache& ContextFeaturesCache::from(Document& document) document 105 Source/web/ContextFeaturesClientImpl.cpp ContextFeaturesCache* cache = static_cast<ContextFeaturesCache*>(DocumentSupplement::from(document, supplementName())); document 108 Source/web/ContextFeaturesClientImpl.cpp DocumentSupplement::provideTo(document, supplementName(), adoptPtr(cache)); document 114 Source/web/ContextFeaturesClientImpl.cpp void ContextFeaturesCache::validateAgainst(Document* document) document 116 Source/web/ContextFeaturesClientImpl.cpp String currentDomain = document->securityOrigin()->domain(); document 124 Source/web/ContextFeaturesClientImpl.cpp bool ContextFeaturesClientImpl::isEnabled(Document* document, ContextFeatures::FeatureType type, bool defaultValue) document 126 Source/web/ContextFeaturesClientImpl.cpp ASSERT(document); document 127 Source/web/ContextFeaturesClientImpl.cpp ContextFeaturesCache::Entry& cache = ContextFeaturesCache::from(*document).entryFor(type); document 129 Source/web/ContextFeaturesClientImpl.cpp cache.set(askIfIsEnabled(document, type, defaultValue), defaultValue); document 133 Source/web/ContextFeaturesClientImpl.cpp void ContextFeaturesClientImpl::urlDidChange(Document* document) document 135 Source/web/ContextFeaturesClientImpl.cpp ASSERT(document); document 136 Source/web/ContextFeaturesClientImpl.cpp ContextFeaturesCache::from(*document).validateAgainst(document); document 139 Source/web/ContextFeaturesClientImpl.cpp bool ContextFeaturesClientImpl::askIfIsEnabled(Document* document, ContextFeatures::FeatureType type, bool defaultValue) document 141 Source/web/ContextFeaturesClientImpl.cpp WebFrameImpl* frame = WebFrameImpl::fromFrame(document->frame()); document 162 Source/web/ContextMenuClientImpl.cpp Vector<DocumentMarker*> markers = selectedFrame->document()->markers().markersInRange(selectionRange.get(), DocumentMarker::MisspellingMarkers()); document 271 Source/web/ContextMenuClientImpl.cpp data.srcURL = pluginElement->document().completeURL(pluginElement->url()); document 289 Source/web/ContextMenuClientImpl.cpp if (selectedFrame->document()->loader()) document 290 Source/web/ContextMenuClientImpl.cpp data.frameEncoding = selectedFrame->document()->encodingName(); document 363 Source/web/ContextMenuClientImpl.cpp data.referrerPolicy = static_cast<WebReferrerPolicy>(selectedFrame->document()->referrerPolicy()); document 59 Source/web/DatabaseClientImpl.cpp Document* document = toDocument(executionContext); document 60 Source/web/DatabaseClientImpl.cpp WebFrameImpl* webFrame = WebFrameImpl::fromFrame(document->frame()); document 117 Source/web/FrameLoaderClientImpl.cpp Document* document = m_webFrame->frame()->document(); document 118 Source/web/FrameLoaderClientImpl.cpp if (document) { document 119 Source/web/FrameLoaderClientImpl.cpp WheelController::from(*document); document 121 Source/web/FrameLoaderClientImpl.cpp DeviceMotionController::from(*document); document 123 Source/web/FrameLoaderClientImpl.cpp DeviceOrientationController::from(*document); document 125 Source/web/FrameLoaderClientImpl.cpp ScreenOrientationController::from(*document); document 127 Source/web/FrameLoaderClientImpl.cpp NavigatorGamepad::from(*document); document 516 Source/web/FrameLoaderClientImpl.cpp ASSERT(m_webFrame->frame()->document()); document 517 Source/web/FrameLoaderClientImpl.cpp DocumentFullscreen::webkitCancelFullScreen(*m_webFrame->frame()->document()); document 613 Source/web/FrameLoaderClientImpl.cpp FrameLoadRequest frameRequest(m_webFrame->frame()->document(), document 734 Source/web/FrameLoaderClientImpl.cpp if (event && event->source() && event->source()->toDOMWindow() && event->source()->toDOMWindow()->document()) document 735 Source/web/FrameLoaderClientImpl.cpp source = WebFrameImpl::fromFrame(event->source()->toDOMWindow()->document()->frame()); document 66 Source/web/FullscreenController.cpp Document& doc = m_provisionalFullScreenElement->document(); document 79 Source/web/FullscreenController.cpp if (Document* doc = m_fullScreenFrame->document()) { document 103 Source/web/FullscreenController.cpp if (Document* doc = m_fullScreenFrame->document()) { document 125 Source/web/FullscreenController.cpp if (Document* doc = m_fullScreenFrame->document()) { document 58 Source/web/IDBFactoryBackendProxy.cpp Document* document = toDocument(context); document 59 Source/web/IDBFactoryBackendProxy.cpp WebFrameImpl* webFrame = WebFrameImpl::fromFrame(document->frame()); document 148 Source/web/InspectorFrontendClientImpl.cpp m_frontendPage->mainFrame()->document()->setTitle("Developer Tools - " + url); document 61 Source/web/LocalFileSystemClient.cpp Document* document = toDocument(context); document 62 Source/web/LocalFileSystemClient.cpp WebFrameImpl* webFrame = WebFrameImpl::fromFrame(document->frame()); document 73 Source/web/LocalFileSystemClient.cpp Document* document = toDocument(context); document 74 Source/web/LocalFileSystemClient.cpp WebFrameImpl* webFrame = WebFrameImpl::fromFrame(document->frame()); document 24 Source/web/MediaKeysClientImpl.cpp Document* document = toDocument(executionContext); document 25 Source/web/MediaKeysClientImpl.cpp WebFrameImpl* webFrame = WebFrameImpl::fromFrame(document->frame()); document 88 Source/web/PageWidgetDelegate.cpp if (view && page->mainFrame()->document()) { document 217 Source/web/PopupContainer.cpp listBox()->m_focusedElement = m_frameView->frame().document()->focusedElement(); document 107 Source/web/SharedWorkerRepositoryClientImpl.cpp static WebSharedWorkerRepositoryClient::DocumentID getId(void* document) document 109 Source/web/SharedWorkerRepositoryClientImpl.cpp ASSERT(document); document 110 Source/web/SharedWorkerRepositoryClientImpl.cpp return reinterpret_cast<WebSharedWorkerRepositoryClient::DocumentID>(document); document 119 Source/web/SharedWorkerRepositoryClientImpl.cpp Document* document = toDocument(worker->executionContext()); document 120 Source/web/SharedWorkerRepositoryClientImpl.cpp OwnPtr<WebSharedWorkerConnector> webWorkerConnector = adoptPtr(m_client->createSharedWorkerConnector(url, name, getId(document), worker->executionContext()->contentSecurityPolicy()->deprecatedHeader(), static_cast<blink::WebContentSecurityPolicyType>(worker->executionContext()->contentSecurityPolicy()->deprecatedHeaderType()))); document 133 Source/web/SharedWorkerRepositoryClientImpl.cpp void SharedWorkerRepositoryClientImpl::documentDetached(Document* document) document 136 Source/web/SharedWorkerRepositoryClientImpl.cpp m_client->documentDetached(getId(document)); document 66 Source/web/SpellCheckerClientImpl.cpp const Document* document = frame->document(); document 67 Source/web/SpellCheckerClientImpl.cpp if (!document) document 69 Source/web/SpellCheckerClientImpl.cpp const Element* element = document->focusedElement(); document 99 Source/web/SpellCheckerClientImpl.cpp for (LocalFrame* frame = page->mainFrame(); frame && frame->document(); frame = frame->tree().traverseNext()) { document 100 Source/web/SpellCheckerClientImpl.cpp frame->document()->markers().removeMarkers(DocumentMarker::MisspellingMarkers()); document 68 Source/web/StorageQuotaClientImpl.cpp Document* document = toDocument(executionContext); document 69 Source/web/StorageQuotaClientImpl.cpp WebFrameImpl* webFrame = WebFrameImpl::fromFrame(document->frame()); document 86 Source/web/StorageQuotaClientImpl.cpp Document* document = toDocument(executionContext); document 87 Source/web/StorageQuotaClientImpl.cpp WebFrameImpl* webFrame = WebFrameImpl::fromFrame(document->frame()); document 107 Source/web/TextFinder.cpp if (m_activeMatch && &m_activeMatch->ownerDocument() != m_ownerFrame.frame()->document()) document 148 Source/web/TextFinder.cpp m_ownerFrame.frame()->document()->setFocusedElement(nullptr); document 186 Source/web/TextFinder.cpp m_ownerFrame.frame()->document()->markers().removeMarkers(DocumentMarker::TextMatch); document 236 Source/web/TextFinder.cpp RefPtrWillBeRawPtr<Range> searchRange(rangeOfContents(m_ownerFrame.frame()->document())); document 578 Source/web/TextFinder.cpp m_ownerFrame.frame()->document()->setFocusedElement(nullptr); document 631 Source/web/TextFinder.cpp m_ownerFrame.frame()->document()->markers().addTextMatchMarker(range, activeMatch); document 638 Source/web/TextFinder.cpp m_ownerFrame.frame()->document()->markers().setMarkersActive(range, active); document 664 Source/web/TextFinder.cpp ASSERT(frame->document() && frame->view()); document 66 Source/web/ValidationMessageClientImpl.cpp return m_currentAnchor->document().view(); document 114 Source/web/ValidationMessageClientImpl.cpp void ValidationMessageClientImpl::documentDetached(const Document& document) document 116 Source/web/ValidationMessageClientImpl.cpp if (m_currentAnchor && m_currentAnchor->document() == document) document 850 Source/web/WebAXObject.cpp Document* document = m_private->document(); document 851 Source/web/WebAXObject.cpp if (!document) document 854 Source/web/WebAXObject.cpp return WebDocument(document); document 862 Source/web/WebAXObject.cpp Document* document = m_private->document(); document 863 Source/web/WebAXObject.cpp if (document) document 864 Source/web/WebAXObject.cpp document->updateRenderTreeIfNeeded(); document 878 Source/web/WebAXObject.cpp Document* document = m_private->document(); document 879 Source/web/WebAXObject.cpp if (document) document 880 Source/web/WebAXObject.cpp document->updateRenderTreeIfNeeded(); document 56 Source/web/WebDOMActivityLogger.cpp if (Document* document = currentDOMWindow(v8::Isolate::GetCurrent())->document()) { document 57 Source/web/WebDOMActivityLogger.cpp url = document->url(); document 58 Source/web/WebDOMActivityLogger.cpp title = document->title(); document 67 Source/web/WebDOMFileSystem.cpp RefPtrWillBeRawPtr<DOMFileSystem> domFileSystem = DOMFileSystem::create(toWebFrameImpl(frame)->frame()->document(), name, static_cast<WebCore::FileSystemType>(type), rootURL); document 57 Source/web/WebDOMMessageEvent.cpp ports = MessagePort::toMessagePortArray(window->document(), webChannels); document 67 Source/web/WebDevToolsFrontendImpl.cpp InspectorFrontendResumeObserver(WebDevToolsFrontendImpl* webDevToolsFrontendImpl, Document* document) document 68 Source/web/WebDevToolsFrontendImpl.cpp : ActiveDOMObject(document) document 124 Source/web/WebDevToolsFrontendImpl.cpp Document* document = m_webViewImpl->page()->mainFrame()->document(); document 125 Source/web/WebDevToolsFrontendImpl.cpp if (document->activeDOMObjectsAreSuspended()) { document 126 Source/web/WebDevToolsFrontendImpl.cpp m_inspectorFrontendResumeObserver = adoptPtr(new InspectorFrontendResumeObserver(this, document)); document 167 Source/web/WebDevToolsFrontendImpl.cpp ScriptController::callFunction(frame->frame()->document(), function, dispatcherObject, args.size(), args.data(), isolate); document 211 Source/web/WebDocument.cpp RefPtr<Document> document = unwrap<Document>(); document 212 Source/web/WebDocument.cpp ASSERT(document); document 213 Source/web/WebDocument.cpp RefPtrWillBeRawPtr<StyleSheetContents> parsedSheet = StyleSheetContents::create(CSSParserContext(*document.get(), 0)); document 215 Source/web/WebDocument.cpp document->styleEngine()->addAuthorSheet(parsedSheet); document 220 Source/web/WebDocument.cpp RefPtr<Document> document = unwrap<Document>(); document 223 Source/web/WebDocument.cpp CSSSelectorWatch::from(*document).watchCSSSelectors(selectors); document 265 Source/web/WebDocument.cpp const Document* document = constUnwrap<Document>(); document 266 Source/web/WebDocument.cpp return WebAXObject(document->axObjectCache()->getOrCreate(document->renderer())); document 271 Source/web/WebDocument.cpp const Document* document = constUnwrap<Document>(); document 272 Source/web/WebDocument.cpp return WebAXObject(document->axObjectCache()->objectFromAXID(axID)); document 278 Source/web/WebDocument.cpp const Document* document = constUnwrap<Document>(); document 279 Source/web/WebDocument.cpp if (document->hasAnnotatedRegions()) { document 280 Source/web/WebDocument.cpp const Vector<AnnotatedRegionValue>& regions = document->annotatedRegions(); document 294 Source/web/WebDocument.cpp Document* document = unwrap<Document>(); document 297 Source/web/WebDocument.cpp ScriptValue constructor = document->registerElement(NewScriptState::current(isolate), name, dictionary, exceptionState, CustomElement::EmbedderNames); document 115 Source/web/WebEmbeddedWorkerImpl.cpp toWebFrameImpl(m_embeddedWorker.m_mainFrame)->frame()->document()->postTask(task); document 225 Source/web/WebEmbeddedWorkerImpl.cpp toWebFrameImpl(m_mainFrame)->frame()->document(), document 266 Source/web/WebEmbeddedWorkerImpl.cpp m_workerGlobalScopeProxy = ServiceWorkerGlobalScopeProxy::create(*this, *toWebFrameImpl(m_mainFrame)->frame()->document(), *contextClient); document 202 Source/web/WebFrameImpl.cpp Document* document = frame->document(); document 203 Source/web/WebFrameImpl.cpp if (!document) document 211 Source/web/WebFrameImpl.cpp document->updateLayout(); document 214 Source/web/WebFrameImpl.cpp RefPtrWillBeRawPtr<Range> range(document->createRange()); document 216 Source/web/WebFrameImpl.cpp range->selectNodeContents(document->body(), exceptionState); document 265 Source/web/WebFrameImpl.cpp if (!frame->document() || !frame->document()->isPluginDocument()) document 267 Source/web/WebFrameImpl.cpp PluginDocument* pluginDocument = toPluginDocument(frame->document()); document 328 Source/web/WebFrameImpl.cpp outputLinkedDestinations(context, frame()->document(), pageRect); document 335 Source/web/WebFrameImpl.cpp if (!frame()->document() || !frame()->view() || !frame()->document()->renderer()) document 338 Source/web/WebFrameImpl.cpp frame()->document()->updateLayout(); document 504 Source/web/WebFrameImpl.cpp return frame()->document()->iconURLs(iconTypesMask); document 616 Source/web/WebFrameImpl.cpp if (m_frame && m_frame->document()) document 617 Source/web/WebFrameImpl.cpp m_frame->document()->initSecurityContext(); document 717 Source/web/WebFrameImpl.cpp if (!frame() || !frame()->document()) document 719 Source/web/WebFrameImpl.cpp return WebDocument(frame()->document()); document 819 Source/web/WebFrameImpl.cpp frame()->document()->addConsoleMessage(OtherMessageSource, webCoreMessageLevel, message.text); document 834 Source/web/WebFrameImpl.cpp return frame()->loader().mixedContentChecker()->canRunInsecureContent(frame()->document()->securityOrigin(), url); document 1022 Source/web/WebFrameImpl.cpp String referrer = referrerURL.isEmpty() ? frame()->document()->outgoingReferrer() : String(referrerURL.spec().utf16()); document 1023 Source/web/WebFrameImpl.cpp referrer = SecurityPolicy::generateReferrerHeader(frame()->document()->referrerPolicy(), request.url(), referrer); document 1026 Source/web/WebFrameImpl.cpp request.setHTTPReferrer(referrer, static_cast<WebReferrerPolicy>(frame()->document()->referrerPolicy())); document 1217 Source/web/WebFrameImpl.cpp Vector<DocumentMarker*> markers = frame()->document()->markers().markersInRange(caretRange.get(), DocumentMarker::MisspellingMarkers()); document 1229 Source/web/WebFrameImpl.cpp frame()->document()->markers().removeMarkers(DocumentMarker::MisspellingMarkers()); document 1368 Source/web/WebFrameImpl.cpp frame()->document()->renderView()->layer()->hitTest(request, result); document 1377 Source/web/WebFrameImpl.cpp WebPluginContainerImpl* container = WebFrameImpl::pluginContainerFromNode(frame(), WebNode(frame()->document()->focusedElement())); document 1385 Source/web/WebFrameImpl.cpp ASSERT(!frame()->document()->isFrameSet()); document 1420 Source/web/WebFrameImpl.cpp ASSERT(m_printContext && page >= 0 && frame() && frame()->document()); document 1449 Source/web/WebFrameImpl.cpp return frame()->document()->styleForPage(pageIndex)->pageSizeType() != PAGE_SIZE_AUTO; document 1454 Source/web/WebFrameImpl.cpp return frame()->document()->isPageBoxVisible(pageIndex); document 1460 Source/web/WebFrameImpl.cpp frame()->document()->pageSizeAndMarginsInPixels(pageIndex, size, marginTop, marginRight, marginBottom, marginLeft); document 1577 Source/web/WebFrameImpl.cpp return createFullMarkup(frame()->document()); document 1716 Source/web/WebFrameImpl.cpp if (isBackForwardLoadType(frame()->loader().loadType()) && !frame()->document()->loadEventFinished()) { document 1833 Source/web/WebFrameImpl.cpp frame()->document()->setFocusedElement(element); document 1847 Source/web/WebFrameImpl.cpp frame()->document()->setFocusedElement(element); document 1858 Source/web/WebFrameImpl.cpp frame()->document()->setFocusedElement(nullptr); document 1904 Source/web/WebFrameImpl.cpp if (!frame()->document() || !frame()->page()) document 1907 Source/web/WebFrameImpl.cpp RefPtr<Document> ownerDocument(frame()->document()); document 1910 Source/web/WebFrameImpl.cpp if (SchemeRegistry::shouldTreatURLSchemeAsNotAllowingJavascriptURLs(frame()->document()->url().protocol())) document 1922 Source/web/WebFrameImpl.cpp frame()->document()->loader()->replaceDocument(scriptResult, ownerDocument.get()); document 114 Source/web/WebFrameImpl.h virtual WebDocument document() const OVERRIDE; document 70 Source/web/WebHelperPluginImpl.cpp m_objectElement = HTMLObjectElement::create(*frame->frame()->document(), 0, false); document 73 Source/web/WebHelperPluginImpl.cpp ASSERT(frame->frame()->document()->url().isValid()); document 76 Source/web/WebHelperPluginImpl.cpp frame->frame()->document()->url(), document 57 Source/web/WebLeakDetector.cpp ResourceFetcher* fetcher = currentDOMWindow(context->GetIsolate())->document()->fetcher(); document 186 Source/web/WebMediaPlayerClientImpl.cpp LocalFrame* frame = mediaElement().document().frame(); document 106 Source/web/WebNode.cpp return WebDocument(&m_private->document()); document 158 Source/web/WebNode.cpp m_private->document().updateLayoutIgnorePendingStylesheets(); document 232 Source/web/WebNode.cpp m_private->document().updateLayoutIgnorePendingStylesheets(); document 317 Source/web/WebPagePopupImpl.cpp m_page->mainFrame()->document()->setNeedsStyleRecalc(SubtreeStyleChange); document 77 Source/web/WebPageSerializer.cpp return element->document().completeURL(value); document 142 Source/web/WebPageSerializer.cpp RefPtr<HTMLCollection> allElements = frame->document()->all(); document 179 Source/web/WebPageSerializer.cpp Document* document = page->mainFrame()->document(); document 180 Source/web/WebPageSerializer.cpp return MHTMLArchive::generateMHTMLData(resources, encodingPolicy, document->title(), document->suggestedMIMEType()); document 108 Source/web/WebPageSerializerImpl.cpp Document* document, document 112 Source/web/WebPageSerializerImpl.cpp , document(document) document 114 Source/web/WebPageSerializerImpl.cpp , isHTMLDocument(document->isHTMLDocument()) document 153 Source/web/WebPageSerializerImpl.cpp result.append(createMarkup(param->document->doctype())); document 168 Source/web/WebPageSerializerImpl.cpp String xmlEncoding = param->document->xmlEncoding(); document 170 Source/web/WebPageSerializerImpl.cpp xmlEncoding = param->document->encodingName(); document 174 Source/web/WebPageSerializerImpl.cpp result.append(param->document->xmlVersion()); document 177 Source/web/WebPageSerializerImpl.cpp if (param->document->xmlStandalone()) document 184 Source/web/WebPageSerializerImpl.cpp result.append(createMarkup(param->document->doctype())); document 257 Source/web/WebPageSerializerImpl.cpp param->document->baseTarget())); document 326 Source/web/WebPageSerializerImpl.cpp String completeURL = subFrame ? subFrame->frame()->document()->url() : document 327 Source/web/WebPageSerializerImpl.cpp param->document->completeURL(attrValue); document 474 Source/web/WebPageSerializerImpl.cpp Document* currentDoc = currentFrame->frame()->document(); document 495 Source/web/WebPageSerializerImpl.cpp KURL mainURL = m_specifiedWebFrameImpl->frame()->document()->url(); document 499 Source/web/WebPageSerializerImpl.cpp Document* document = webFrame->frame()->document(); document 500 Source/web/WebPageSerializerImpl.cpp const KURL& url = document->url(); document 507 Source/web/WebPageSerializerImpl.cpp const WTF::TextEncoding& textEncoding = document->encoding().isValid() ? document->encoding() : UTF8Encoding(); document 510 Source/web/WebPageSerializerImpl.cpp SerializeDomParam param(url, textEncoding, document, directoryName); document 512 Source/web/WebPageSerializerImpl.cpp Element* documentElement = document->documentElement(); document 124 Source/web/WebPageSerializerImpl.h WebCore::Document* document; document 160 Source/web/WebPasswordFormData.cpp KURL fullOrigin = form->document().url(); document 166 Source/web/WebPasswordFormData.cpp KURL fullAction = form->document().completeURL(action); document 287 Source/web/WebPluginContainerImpl.cpp Page* page = m_element->document().page(); document 295 Source/web/WebPluginContainerImpl.cpp Page* page = m_element->document().page(); document 303 Source/web/WebPluginContainerImpl.cpp LocalFrame* frame = m_element->document().frame(); document 437 Source/web/WebPluginContainerImpl.cpp LocalFrame* frame = m_element->document().frame(); document 450 Source/web/WebPluginContainerImpl.cpp LocalFrame* frame = m_element->document().frame(); document 471 Source/web/WebPluginContainerImpl.cpp LocalFrame* frame = m_element->document().frame(); document 485 Source/web/WebPluginContainerImpl.cpp FrameLoadRequest frameRequest(frame->document(), request.toResourceRequest(), target); document 492 Source/web/WebPluginContainerImpl.cpp WebViewImpl* view = WebViewImpl::fromPage(m_element->document().frame()->page()); document 498 Source/web/WebPluginContainerImpl.cpp LocalFrame* frame = m_element->document().frame(); document 521 Source/web/WebPluginContainerImpl.cpp m_element->document().didAddTouchEventHandler(m_element); document 523 Source/web/WebPluginContainerImpl.cpp m_element->document().didRemoveTouchEventHandler(m_element); document 532 Source/web/WebPluginContainerImpl.cpp if (Page* page = m_element->document().page()) { document 634 Source/web/WebPluginContainerImpl.cpp m_scrollbarGroup = adoptPtr(new ScrollbarGroup(m_element->document().frame()->view(), frameRect())); document 674 Source/web/WebPluginContainerImpl.cpp m_element->document().didRemoveTouchEventHandler(m_element); document 800 Source/web/WebPluginContainerImpl.cpp WebViewImpl* view = WebViewImpl::fromPage(m_element->document().frame()->page()); document 881 Source/web/WebPluginContainerImpl.cpp containingFrame.document()->setFocusedElement(m_element); document 910 Source/web/WebPluginContainerImpl.cpp if (m_element->renderer()->document().renderer()) { document 914 Source/web/WebPluginContainerImpl.cpp m_element->document().view()->windowClipRectForFrameOwner(m_element)); document 115 Source/web/WebRange.cpp ContainerNode* scope = selectionRoot ? selectionRoot : webFrame->document()->documentElement(); document 64 Source/web/WebSearchableFormData.cpp if (!form->document().loader()) document 66 Source/web/WebSearchableFormData.cpp *encoding = WTF::TextEncoding(form->document().encoding()); document 75 Source/web/WebSearchableFormData.cpp return form->document().completeURL(action.isNull() ? "" : action).protocolIs("http"); document 286 Source/web/WebSearchableFormData.cpp KURL url(formElement->document().completeURL(action.isNull() ? "" : action)); document 220 Source/web/WebSharedWorkerImpl.cpp m_loadingDocument = toWebFrameImpl(frame)->frame()->document(); document 292 Source/web/WebSharedWorkerImpl.cpp toWebFrameImpl(m_mainFrame)->frame()->document()->postTask(task); document 38 Source/web/WebSocket.cpp WebSocket* WebSocket::create(const WebDocument& document, WebSocketClient* client) document 43 Source/web/WebSocket.cpp OwnPtr<WebSocketImpl> websocket = adoptPtr(new WebSocketImpl(document, client)); document 50 Source/web/WebSocketImpl.cpp WebSocketImpl::WebSocketImpl(const WebDocument& document, WebSocketClient* client) document 54 Source/web/WebSocketImpl.cpp RefPtr<Document> coreDocument = PassRefPtr<Document>(document); document 524 Source/web/WebViewImpl.cpp targetFrame = result.innerNonSharedNode()->document().frame(); document 877 Source/web/WebViewImpl.cpp boundingBox = root->document().frame()->view()->contentsToWindow(boundingBox); document 1016 Source/web/WebViewImpl.cpp LocalFrame* frame = node->document().frame(); document 1448 Source/web/WebViewImpl.cpp ASSERT(mainFrameImpl()->frame()->document()); document 1449 Source/web/WebViewImpl.cpp Document& document = *mainFrameImpl()->frame()->document(); document 1450 Source/web/WebViewImpl.cpp WheelController::from(document)->didAddWheelEventHandler(document); document 1457 Source/web/WebViewImpl.cpp ASSERT(mainFrameImpl()->frame()->document()); document 1458 Source/web/WebViewImpl.cpp Document& document = *mainFrameImpl()->frame()->document(); document 1459 Source/web/WebViewImpl.cpp WheelController::from(document)->didRemoveWheelEventHandler(document); document 1570 Source/web/WebViewImpl.cpp updatePageDefinedViewportConstraints(mainFrameImpl()->frame()->document()->viewportDescription()); document 1878 Source/web/WebViewImpl.cpp Element* element = localFrame->document()->focusedElement(); document 2168 Source/web/WebViewImpl.cpp RefPtrWillBeRawPtr<Range> range(Range::create(selectedRange->startContainer()->document(), document 2175 Source/web/WebViewImpl.cpp range = Range::create(selectedRange->endContainer()->document(), document 2204 Source/web/WebViewImpl.cpp Element* target = focusedFrame->document()->focusedElement(); document 2387 Source/web/WebViewImpl.cpp if (!m_page->mainFrame()->document()->loader()) document 2390 Source/web/WebViewImpl.cpp return m_page->mainFrame()->document()->encodingName(); document 2445 Source/web/WebViewImpl.cpp if (Document* document = toLocalFrame(frame)->document()) document 2446 Source/web/WebViewImpl.cpp document->setFocusedElement(nullptr); document 2459 Source/web/WebViewImpl.cpp RefPtr<Document> document = localFrame->document(); document 2460 Source/web/WebViewImpl.cpp if (!document) document 2463 Source/web/WebViewImpl.cpp RefPtr<Element> oldFocusedElement = document->focusedElement(); document 2466 Source/web/WebViewImpl.cpp document->setFocusedElement(nullptr); document 2507 Source/web/WebViewImpl.cpp focusedNode->document().updateLayoutIgnorePendingStylesheets(); document 2510 Source/web/WebViewImpl.cpp IntRect textboxRect = focusedNode->document().view()->contentsToWindow(pixelSnappedIntRect(focusedNode->Node::boundingBox())); document 2770 Source/web/WebViewImpl.cpp updatePageDefinedViewportConstraints(mainFrameImpl()->frame()->document()->viewportDescription()); document 2800 Source/web/WebViewImpl.cpp Document* document = page()->mainFrame()->document(); document 2802 Source/web/WebViewImpl.cpp Length defaultMinWidth = document->viewportDefaultMinWidth(); document 2839 Source/web/WebViewImpl.cpp if (FastTextAutosizer* textAutosizer = frame->document()->fastTextAutosizer()) document 2860 Source/web/WebViewImpl.cpp if (TextAutosizer* textAutosizer = page()->mainFrame()->document()->textAutosizer()) document 2878 Source/web/WebViewImpl.cpp Document* document = m_page->mainFrame()->document(); document 2879 Source/web/WebViewImpl.cpp if (!document || !document->renderView() || !document->documentElement()) document 2884 Source/web/WebViewImpl.cpp IntSize preferredMinimumSize(document->renderView()->minPreferredLogicalWidth(), document->documentElement()->scrollHeight()); document 2930 Source/web/WebViewImpl.cpp if (FrameView* view = page()->mainFrame()->document()->view()) document 3152 Source/web/WebViewImpl.cpp const Vector<DocumentMarker*>& documentMarkers = frame->document()->markers().markers(); document 3194 Source/web/WebViewImpl.cpp mainFrameImpl()->frame()->document()->enqueueResizeEvent(); document 3240 Source/web/WebViewImpl.cpp if (!node && m_page->mainFrame()->document()) document 3241 Source/web/WebViewImpl.cpp node = m_page->mainFrame()->document()->documentElement(); document 3301 Source/web/WebViewImpl.cpp Document* document = mainFrameImpl()->frame()->document(); document 3303 Source/web/WebViewImpl.cpp document->axObjectCache()->getOrCreate(document->renderer())); document 3443 Source/web/WebViewImpl.cpp if (m_page->mainFrame()->document()->haveStylesheetsLoaded()) document 3570 Source/web/WebViewImpl.cpp Document* document = toLocalFrame(frame)->document(); document 3571 Source/web/WebViewImpl.cpp if (!document) document 3574 Source/web/WebViewImpl.cpp return document->focusedElement(); document 3685 Source/web/WebViewImpl.cpp || !page()->mainFrame()->document() document 3686 Source/web/WebViewImpl.cpp || !page()->mainFrame()->document()->renderView()) document 3688 Source/web/WebViewImpl.cpp return page()->mainFrame()->document()->renderView()->compositor(); document 3841 Source/web/WebViewImpl.cpp m_page->mainFrame()->document()->setNeedsStyleRecalc(SubtreeStyleChange); document 58 Source/web/WorkerGlobalScopeProxyProviderImpl.cpp Document* document = toDocument(worker->executionContext()); document 59 Source/web/WorkerGlobalScopeProxyProviderImpl.cpp WebFrameImpl* webFrame = WebFrameImpl::fromFrame(document->frame()); document 123 Source/web/tests/CompositedLayerMappingTest.cpp Document* document = m_webViewImpl->mainFrameImpl()->frame()->document(); document 124 Source/web/tests/CompositedLayerMappingTest.cpp Element* layerElement = document->getElementById("layer"); document 129 Source/web/tests/CompositedLayerMappingTest.cpp layerElement = document->getElementById("layer-solid-color"); document 107 Source/web/tests/CustomEventTest.cpp WebDOMEvent event = frame->frame()->document()->createEvent("CustomEvent", IGNORE_EXCEPTION); document 115 Source/web/tests/CustomEventTest.cpp frame->frame()->document()->addEventListener("blah", listener, false); document 116 Source/web/tests/CustomEventTest.cpp frame->frame()->document()->dispatchEvent(event); document 112 Source/web/tests/MHTMLTest.cpp Document* document = frame->document(); document 113 Source/web/tests/MHTMLTest.cpp ASSERT_TRUE(document); document 117 Source/web/tests/MHTMLTest.cpp WebCore::SecurityOrigin* origin = document->securityOrigin(); document 410 Source/web/tests/PopupMenuTest.cpp m_popupMenuClient.setFocusedNode(mainFrame()->frame()->document()->focusedElement()); document 420 Source/web/tests/PopupMenuTest.cpp WebElement element = webView()->mainFrame()->document().getElementById("message"); document 455 Source/web/tests/PopupMenuTest.cpp m_popupMenuClient.setFocusedNode(mainFrame()->frame()->document()->focusedElement()); document 464 Source/web/tests/PopupMenuTest.cpp WebElement element = webView()->mainFrame()->document().getElementById("message"); document 477 Source/web/tests/PopupMenuTest.cpp m_popupMenuClient.setFocusedNode(mainFrame()->frame()->document()->focusedElement()); document 487 Source/web/tests/PopupMenuTest.cpp WebElement element = webView()->mainFrame()->document().getElementById("message"); document 499 Source/web/tests/PopupMenuTest.cpp m_popupMenuClient.setFocusedNode(mainFrame()->frame()->document()->focusedElement()); document 509 Source/web/tests/PopupMenuTest.cpp WebElement element = webView()->mainFrame()->document().getElementById("message"); document 211 Source/web/tests/PrerenderingTest.cpp WebElement console = m_webViewHelper.webView()->mainFrame()->document().getElementById("console"); document 63 Source/web/tests/RenderTableCellTest.cpp return toWebFrameImpl(s_webViewHelper->webView()->mainFrame())->frame()->document(); document 68 Source/web/tests/RenderTableCellTest.cpp m_cell = RenderTableCell::createAnonymous(document()); document 63 Source/web/tests/RenderTableRowTest.cpp return toWebFrameImpl(s_webViewHelper->webView()->mainFrame())->frame()->document(); document 68 Source/web/tests/RenderTableRowTest.cpp m_row = RenderTableRow::createAnonymous(document()); document 179 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp Document* document = frame()->document(); document 181 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp Element* element = document->getElementById("div-tl"); document 190 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp Element* element = document->getElementById("div-tr"); document 199 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp Element* element = document->getElementById("div-bl"); document 208 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp Element* element = document->getElementById("div-br"); document 217 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp Element* element = document->getElementById("span-tl"); document 226 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp Element* element = document->getElementById("span-tr"); document 235 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp Element* element = document->getElementById("span-bl"); document 244 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp Element* element = document->getElementById("span-br"); document 295 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp Element* scrollableElement = frame()->document()->getElementById("scrollable"); document 335 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp Element* overflowElement = frame()->document()->getElementById("unscrollable-y"); document 358 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp overflowElement = frame()->document()->getElementById("unscrollable-x"); document 391 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp Element* scrollableFrame = frame()->document()->getElementById("scrollable"); document 435 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp Element* scrollableFrame = frame()->document()->getElementById("scrollable"); document 136 Source/web/tests/TouchActionTest.cpp RefPtr<WebCore::Document> document = static_cast<PassRefPtr<WebCore::Document> >(webView->mainFrame()->document()); document 137 Source/web/tests/TouchActionTest.cpp runTestOnTree(document.get(), webView, client); document 149 Source/web/tests/TouchActionTest.cpp RefPtr<WebCore::Document> document = static_cast<PassRefPtr<WebCore::Document> >(webView->mainFrame()->document()); document 150 Source/web/tests/TouchActionTest.cpp RefPtr<WebCore::NodeList> hostNodes = document->querySelectorAll("[shadow-host]", es); document 160 Source/web/tests/TouchActionTest.cpp runTestOnTree(document.get(), webView, client); document 176 Source/web/tests/TouchActionTest.cpp RefPtr<WebCore::Document> document = static_cast<PassRefPtr<WebCore::Document> >(webView->mainFrame()->document()); document 177 Source/web/tests/TouchActionTest.cpp document->frame()->view()->setScrollOffset(WebCore::IntPoint(0, kScrollOffset)); document 238 Source/web/tests/TouchActionTest.cpp WebCore::LocalFrame* frame = root->document().frame(); document 253 Source/web/tests/TouchActionTest.cpp << std::endl << "Document render tree:" << std::endl << externalRepresentation(root->document().frame()).utf8().data(); document 170 Source/web/tests/WebFrameTest.cpp Document* document = webViewHelper->webViewImpl()->page()->mainFrame()->document(); document 171 Source/web/tests/WebFrameTest.cpp document->ensureStyleResolver().viewportStyleResolver()->collectViewportRules(ruleSet.get(), WebCore::ViewportStyleResolver::UserAgentOrigin); document 172 Source/web/tests/WebFrameTest.cpp document->ensureStyleResolver().viewportStyleResolver()->resolve(); document 254 Source/web/tests/WebFrameTest.cpp webViewHelper.webView()->mainFrame()->document().forms(forms); document 393 Source/web/tests/WebFrameTest.cpp return m_frame->document(); document 438 Source/web/tests/WebFrameTest.cpp m_frame->document().watchCSSSelectors(WebVector<WebString>(selectors)); document 632 Source/web/tests/WebFrameTest.cpp WebDOMEvent event = webViewHelper.webView()->mainFrame()->document().createEvent("MessageEvent"); document 708 Source/web/tests/WebFrameTest.cpp static bool checkOrSetTextAutosizingMultiplier(Document* document, float multiplier, bool setMultiplier) document 711 Source/web/tests/WebFrameTest.cpp for (WebCore::RenderObject* renderer = document->renderer(); renderer; renderer = renderer->nextInPreOrder()) { document 723 Source/web/tests/WebFrameTest.cpp static bool setTextAutosizingMultiplier(Document* document, float multiplier) document 725 Source/web/tests/WebFrameTest.cpp return checkOrSetTextAutosizingMultiplier(document, multiplier, true); document 728 Source/web/tests/WebFrameTest.cpp static bool checkTextAutosizingMultiplier(Document* document, float multiplier) document 730 Source/web/tests/WebFrameTest.cpp return checkOrSetTextAutosizingMultiplier(document, multiplier, false); document 745 Source/web/tests/WebFrameTest.cpp WebCore::Document* document = webViewHelper.webViewImpl()->page()->mainFrame()->document(); document 746 Source/web/tests/WebFrameTest.cpp document->settings()->setTextAutosizingEnabled(true); document 747 Source/web/tests/WebFrameTest.cpp EXPECT_TRUE(document->settings()->textAutosizingEnabled()); document 751 Source/web/tests/WebFrameTest.cpp EXPECT_TRUE(setTextAutosizingMultiplier(document, 2)); document 753 Source/web/tests/WebFrameTest.cpp WebCore::ViewportDescription description = document->viewportDescription(); document 759 Source/web/tests/WebFrameTest.cpp EXPECT_TRUE(checkTextAutosizingMultiplier(document, 1)); document 776 Source/web/tests/WebFrameTest.cpp WebCore::Document* document = mainFrame->document(); document 778 Source/web/tests/WebFrameTest.cpp document->settings()->setTextAutosizingEnabled(true); document 779 Source/web/tests/WebFrameTest.cpp EXPECT_TRUE(document->settings()->textAutosizingEnabled()); document 784 Source/web/tests/WebFrameTest.cpp EXPECT_TRUE(setTextAutosizingMultiplier(frame->document(), 2)); document 789 Source/web/tests/WebFrameTest.cpp EXPECT_TRUE(checkTextAutosizingMultiplier(frame->document(), 1)); document 1052 Source/web/tests/WebFrameTest.cpp WebCore::Document* document = webViewHelper.webViewImpl()->page()->mainFrame()->document(); document 1053 Source/web/tests/WebFrameTest.cpp WebCore::ViewportDescription description = document->viewportDescription(); document 1055 Source/web/tests/WebFrameTest.cpp document->setViewportDescription(description); document 1458 Source/web/tests/WebFrameTest.cpp WebCore::Document* document = webViewHelper.webViewImpl()->page()->mainFrame()->document(); document 1459 Source/web/tests/WebFrameTest.cpp WebCore::ViewportDescription description = document->viewportDescription(); document 1462 Source/web/tests/WebFrameTest.cpp document->setViewportDescription(description); document 1468 Source/web/tests/WebFrameTest.cpp document->setViewportDescription(description); document 1472 Source/web/tests/WebFrameTest.cpp description = document->viewportDescription(); document 1474 Source/web/tests/WebFrameTest.cpp document->setViewportDescription(description); document 1479 Source/web/tests/WebFrameTest.cpp document->setViewportDescription(description); document 2613 Source/web/tests/WebFrameTest.cpp webViewHelper.webView()->mainFrame()->document().getElementById("EditBoxWithText").to<WebInputElement>().setSelectionRange(1000, 1000); document 2998 Source/web/tests/WebFrameTest.cpp EXPECT_TRUE(frame->document().focusedElement().isNull()); document 3008 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(WebString::fromUTF8("INPUT"), frame->document().focusedElement().tagName()); document 3018 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(WebString::fromUTF8("TEXTAREA"), frame->document().focusedElement().tagName()); document 3029 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(WebString::fromUTF8("DIV"), frame->document().focusedElement().tagName()); document 3341 Source/web/tests/WebFrameTest.cpp EXPECT_TRUE(mainFrame->document().getElementById("frame").remove()); document 3388 Source/web/tests/WebFrameTest.cpp EXPECT_TRUE(mainFrame->document().getElementById("frame").remove()); document 3434 Source/web/tests/WebFrameTest.cpp EXPECT_TRUE(mainFrame->document().getElementById("frame").remove()); document 3512 Source/web/tests/WebFrameTest.cpp return frame->document().getElementById(id).boundsInViewportSpace(); document 4210 Source/web/tests/WebFrameTest.cpp Document* document = frame->frame()->document(); document 4211 Source/web/tests/WebFrameTest.cpp Element* element = document->getElementById("data"); document 4218 Source/web/tests/WebFrameTest.cpp document->execCommand("InsertText", false, "_wellcome_."); document 4226 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(1U, document->markers().markersInRange(selectionRange.get(), DocumentMarker::Spelling).size()); document 4241 Source/web/tests/WebFrameTest.cpp Document* document = frame->frame()->document(); document 4242 Source/web/tests/WebFrameTest.cpp Element* element = document->getElementById("data"); document 4249 Source/web/tests/WebFrameTest.cpp document->execCommand("InsertText", false, "_wellcome_."); document 4258 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(0U, document->markers().markersInRange(selectionRange.get(), DocumentMarker::Spelling).size()); document 4271 Source/web/tests/WebFrameTest.cpp Document* document = frame->frame()->document(); document 4272 Source/web/tests/WebFrameTest.cpp Element* element = document->getElementById("data"); document 4279 Source/web/tests/WebFrameTest.cpp document->execCommand("InsertText", false, "wellcome."); document 4346 Source/web/tests/WebFrameTest.cpp WebInputElement webInputElement = frame->document().getElementById("data").to<WebInputElement>(); document 4347 Source/web/tests/WebFrameTest.cpp Document* document = frame->frame()->document(); document 4348 Source/web/tests/WebFrameTest.cpp Element* element = document->getElementById("data"); document 4355 Source/web/tests/WebFrameTest.cpp document->execCommand("InsertText", false, "wellcome "); document 4357 Source/web/tests/WebFrameTest.cpp document->execCommand("InsertText", false, "he"); document 4376 Source/web/tests/WebFrameTest.cpp Document* document = frame->frame()->document(); document 4377 Source/web/tests/WebFrameTest.cpp Element* element = document->getElementById("data"); document 4398 Source/web/tests/WebFrameTest.cpp WebInputElement webInputElement = frame->document().getElementById("data").to<WebInputElement>(); document 4399 Source/web/tests/WebFrameTest.cpp Document* document = frame->frame()->document(); document 4400 Source/web/tests/WebFrameTest.cpp Element* element = document->getElementById("data"); document 4407 Source/web/tests/WebFrameTest.cpp document->execCommand("InsertText", false, "welcome "); document 4408 Source/web/tests/WebFrameTest.cpp document->markers().addMarker(rangeOfContents(element->toNode()).get(), DocumentMarker::Spelling); document 4409 Source/web/tests/WebFrameTest.cpp document->markers().addMarker(rangeOfContents(element->toNode()).get(), DocumentMarker::Grammar); document 4410 Source/web/tests/WebFrameTest.cpp document->markers().addMarker(rangeOfContents(element->toNode()).get(), DocumentMarker::InvisibleSpellcheck); document 4411 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(3U, document->markers().markers().size()); document 4414 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(0U, document->markers().markers().size()); document 4427 Source/web/tests/WebFrameTest.cpp WebInputElement webInputElement = frame->document().getElementById("data").to<WebInputElement>(); document 4428 Source/web/tests/WebFrameTest.cpp Document* document = frame->frame()->document(); document 4429 Source/web/tests/WebFrameTest.cpp Element* element = document->getElementById("data"); document 4436 Source/web/tests/WebFrameTest.cpp document->execCommand("InsertText", false, "wellcome "); document 4439 Source/web/tests/WebFrameTest.cpp ASSERT_EQ(1U, document->markers().markers().size()); document 4440 Source/web/tests/WebFrameTest.cpp ASSERT_NE(static_cast<DocumentMarker*>(0), document->markers().markers()[0]); document 4441 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(DocumentMarker::Spelling, document->markers().markers()[0]->type()); document 4443 Source/web/tests/WebFrameTest.cpp document->execCommand("InsertText", false, "wellcome "); document 4446 Source/web/tests/WebFrameTest.cpp ASSERT_EQ(1U, document->markers().markers().size()); document 4447 Source/web/tests/WebFrameTest.cpp ASSERT_NE(static_cast<DocumentMarker*>(0), document->markers().markers()[0]); document 4448 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(DocumentMarker::Grammar, document->markers().markers()[0]->type()); document 4450 Source/web/tests/WebFrameTest.cpp document->execCommand("InsertText", false, "wellcome "); document 4453 Source/web/tests/WebFrameTest.cpp ASSERT_EQ(1U, document->markers().markers().size()); document 4454 Source/web/tests/WebFrameTest.cpp ASSERT_NE(static_cast<DocumentMarker*>(0), document->markers().markers()[0]); document 4455 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(DocumentMarker::InvisibleSpellcheck, document->markers().markers()[0]->type()); document 4739 Source/web/tests/WebFrameTest.cpp EXPECT_TRUE(webViewHelper.webView()->mainFrame()->document().firstPartyForCookies() == redirectURL); document 4758 Source/web/tests/WebFrameTest.cpp WebCore::Document* document = webViewHelper.webViewImpl()->page()->mainFrame()->document(); document 4759 Source/web/tests/WebFrameTest.cpp WebCore::KURL destination = document->url(); document 4763 Source/web/tests/WebFrameTest.cpp document->domWindow(), 0, 0, 0, 0, 0, 0, 0, false, false, false, false, 1, nullptr, nullptr); document 4764 Source/web/tests/WebFrameTest.cpp WebCore::FrameLoadRequest frameRequest(document, WebCore::ResourceRequest(destination)); document 4808 Source/web/tests/WebFrameTest.cpp WebCore::Document* document = webViewHelper.webViewImpl()->page()->mainFrame()->document(); document 4813 Source/web/tests/WebFrameTest.cpp document->domWindow(), 0, 0, 0, 0, 0, 0, 0, true, false, false, false, 0, nullptr, nullptr); document 4814 Source/web/tests/WebFrameTest.cpp WebCore::FrameLoadRequest frameRequest(document, WebCore::ResourceRequest(destination)); document 4869 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(item.urlString(), mainFrame->document().url().string()); document 5031 Source/web/tests/WebFrameTest.cpp WebCore::FrameLoadRequest frameRequest(0, WebCore::ResourceRequest(webViewHelper.webViewImpl()->page()->mainFrame()->document()->url())); document 5051 Source/web/tests/WebFrameTest.cpp WebNode node = frame->document().body().firstChild(); document 5218 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(destinationURL, webView->mainFrame()->document().url()); document 5390 Source/web/tests/WebFrameTest.cpp Document* document = toWebFrameImpl(webView->mainFrame())->frame()->document(); document 5391 Source/web/tests/WebFrameTest.cpp Element* bottomFixed = document->getElementById("bottom-fixed"); document 5392 Source/web/tests/WebFrameTest.cpp Element* topBottomFixed = document->getElementById("top-bottom-fixed"); document 5393 Source/web/tests/WebFrameTest.cpp Element* rightFixed = document->getElementById("right-fixed"); document 5394 Source/web/tests/WebFrameTest.cpp Element* leftRightFixed = document->getElementById("left-right-fixed"); document 5440 Source/web/tests/WebFrameTest.cpp Document* document = toWebFrameImpl(webViewImpl->mainFrame())->frame()->document(); document 5442 Source/web/tests/WebFrameTest.cpp Element* divFullscreen = document->getElementById("div1"); document 5449 Source/web/tests/WebFrameTest.cpp ASSERT_TRUE(WebCore::FullscreenElementStack::isFullScreen(*document)); document 5457 Source/web/tests/WebFrameTest.cpp ASSERT_FALSE(WebCore::FullscreenElementStack::isFullScreen(*document)); document 5472 Source/web/tests/WebFrameTest.cpp Document* document = toWebFrameImpl(webView->mainFrame())->frame()->document(); document 5473 Source/web/tests/WebFrameTest.cpp WebCore::RenderBlock* container = WebCore::toRenderBlock(document->getElementById("container")->renderer()); document 5474 Source/web/tests/WebFrameTest.cpp WebCore::RenderBox* percentHeightInAnonymous = WebCore::toRenderBox(document->getElementById("percent-height-in-anonymous")->renderer()); document 5475 Source/web/tests/WebFrameTest.cpp WebCore::RenderBox* percentHeightDirectChild = WebCore::toRenderBox(document->getElementById("percent-height-direct-child")->renderer()); document 110 Source/web/tests/WebInputEventConversionTest.cpp RefPtr<Document> document = webViewImpl->page()->mainFrame()->document(); document 111 Source/web/tests/WebInputEventConversionTest.cpp DOMWindow* domWindow = webViewImpl->page()->mainFrame()->document()->domWindow(); document 112 Source/web/tests/WebInputEventConversionTest.cpp RenderObject* docRenderer = webViewImpl->page()->mainFrame()->document()->renderer(); document 252 Source/web/tests/WebInputEventConversionTest.cpp RefPtrWillBeRawPtr<MouseEvent> mouseEvent = MouseEvent::create(WebCore::EventTypeNames::mousemove, domWindow, platformMouseEvent, 0, document); document 265 Source/web/tests/WebInputEventConversionTest.cpp RefPtrWillBeRawPtr<MouseEvent> mouseEvent = MouseEvent::create(WebCore::EventTypeNames::mousemove, domWindow, platformMouseEvent, 0, document); document 284 Source/web/tests/WebInputEventConversionTest.cpp RefPtrWillBeRawPtr<Touch> touch = Touch::create(webViewImpl->page()->mainFrame(), document.get(), 0, 10, 10, 10, 10, 10, 10, 0, 0); document 318 Source/web/tests/WebInputEventConversionTest.cpp RefPtr<Document> document = webViewImpl->page()->mainFrame()->document(); document 462 Source/web/tests/WebInputEventConversionTest.cpp RefPtr<Document> document = webViewImpl->page()->mainFrame()->document(); document 463 Source/web/tests/WebInputEventConversionTest.cpp DOMWindow* domWindow = webViewImpl->page()->mainFrame()->document()->domWindow(); document 464 Source/web/tests/WebInputEventConversionTest.cpp RenderObject* docRenderer = webViewImpl->page()->mainFrame()->document()->renderer(); document 205 Source/web/tests/WebPageNewSerializerTest.cpp RefPtr<Document> document = static_cast<PassRefPtr<Document> >(webView()->mainFrame()->document()); document 206 Source/web/tests/WebPageNewSerializerTest.cpp document->updateLayoutIgnorePendingStylesheets(Document::RunPostLayoutTasksSynchronously); document 166 Source/web/tests/WebPageSerializerTest.cpp RefPtr<Document> document = static_cast<PassRefPtr<Document> >(webView()->mainFrame()->document()); document 167 Source/web/tests/WebPageSerializerTest.cpp document->updateLayoutIgnorePendingStylesheets(Document::RunPostLayoutTasksSynchronously); document 98 Source/web/tests/WebPluginContainerTest.cpp WebElement element = webView->mainFrame()->document().getElementById(id); document 174 Source/web/tests/WebPluginContainerTest.cpp WebElement pluginContainerOneElement = webView->mainFrame()->document().getElementById(WebString::fromUTF8("translated-plugin")); document 72 Source/web/tests/WebSearchableFormDataTest.cpp webView->mainFrame()->document().forms(forms); document 307 Source/web/tests/WebViewTest.cpp EXPECT_TRUE(frame->frame()->document()->isHTMLDocument()); document 309 Source/web/tests/WebViewTest.cpp WebCore::HTMLDocument* document = WebCore::toHTMLDocument(frame->frame()->document()); document 310 Source/web/tests/WebViewTest.cpp EXPECT_TRUE(document->hasFocus()); document 313 Source/web/tests/WebViewTest.cpp EXPECT_FALSE(document->hasFocus()); document 316 Source/web/tests/WebViewTest.cpp EXPECT_TRUE(document->hasFocus()); document 319 Source/web/tests/WebViewTest.cpp EXPECT_FALSE(document->hasFocus()); document 322 Source/web/tests/WebViewTest.cpp EXPECT_FALSE(document->hasFocus()); document 386 Source/web/tests/WebViewTest.cpp EXPECT_TRUE(frame->frame()->document()->isHTMLDocument()); document 828 Source/web/tests/WebViewTest.cpp RefPtr<WebCore::Element> element = static_cast<PassRefPtr<WebCore::Element> >(webViewImpl->mainFrame()->document().body()); document 838 Source/web/tests/WebViewTest.cpp RefPtr<WebCore::Element> otherElement = static_cast<PassRefPtr<WebCore::Element> >(webViewImpl->mainFrame()->document().head()); document 884 Source/web/tests/WebViewTest.cpp EXPECT_EQ(barUrl, webView->mainFrame()->document().url().string().utf8()); document 888 Source/web/tests/WebViewTest.cpp EXPECT_EQ(fooUrl, webView->mainFrame()->document().url().string().utf8()); document 895 Source/web/tests/WebViewTest.cpp EXPECT_EQ(fooUrl, webView->mainFrame()->document().url().string().utf8()); document 941 Source/web/tests/WebViewTest.cpp RefPtr<WebCore::Element> element = static_cast<PassRefPtr<WebCore::Element> >(webView->mainFrame()->document().getElementById(id)); document 1242 Source/web/tests/WebViewTest.cpp WebDocument document = webView->mainFrame()->document(); document 1243 Source/web/tests/WebViewTest.cpp EXPECT_EQ(WebString::fromUTF8("none"), document.getElementById("inputEvent").firstChild().nodeValue()); document 1253 Source/web/tests/WebViewTest.cpp WebDocument document = webViewImpl->mainFrame()->document(); document 1255 Source/web/tests/WebViewTest.cpp WebElement elementWithShadowRoot = document.getElementById("shadowroot"); document 1261 Source/web/tests/WebViewTest.cpp WebElement elementWithoutShadowRoot = document.getElementById("noshadowroot"); document 1331 Source/web/tests/WebViewTest.cpp WebElement element = webView->mainFrame()->document().getElementById("message"); document 1344 Source/web/tests/WebViewTest.cpp WebElement element = webView->mainFrame()->document().getElementById("message"); document 1370 Source/web/tests/WebViewTest.cpp WebCore::Document* document = webViewImpl->mainFrameImpl()->frame()->document(); document 1374 Source/web/tests/WebViewTest.cpp inputElement = toHTMLInputElement(document->getElementById("date")); document 1385 Source/web/tests/WebViewTest.cpp inputElement = toHTMLInputElement(document->getElementById("datetimelocal")); document 1396 Source/web/tests/WebViewTest.cpp inputElement = toHTMLInputElement(document->getElementById("month")); document 1407 Source/web/tests/WebViewTest.cpp inputElement = toHTMLInputElement(document->getElementById("time")); document 1418 Source/web/tests/WebViewTest.cpp inputElement = toHTMLInputElement(document->getElementById("week")); document 1440 Source/web/tests/WebViewTest.cpp WebElement element = webView->mainFrame()->document().getElementById("message"); document 1557 Source/web/tests/WebViewTest.cpp WebCore::Document* document = webViewImpl->mainFrameImpl()->frame()->document(); document 1558 Source/web/tests/WebViewTest.cpp document->didAddTouchEventHandler(document); document 1563 Source/web/tests/WebViewTest.cpp document->didAddTouchEventHandler(document); document 1568 Source/web/tests/WebViewTest.cpp document->didRemoveTouchEventHandler(document); document 1573 Source/web/tests/WebViewTest.cpp document->didRemoveTouchEventHandler(document); document 1578 Source/web/tests/WebViewTest.cpp WebCore::Element* parentDiv = document->getElementById("parentdiv"); document 1580 Source/web/tests/WebViewTest.cpp document->didAddTouchEventHandler(parentDiv); document 1587 Source/web/tests/WebViewTest.cpp document->didAddTouchEventHandler(parentDiv); document 1588 Source/web/tests/WebViewTest.cpp document->didClearTouchEventHandlers(document); document 1589 Source/web/tests/WebViewTest.cpp document->didRemoveTouchEventHandler(parentDiv); document 1594 Source/web/tests/WebViewTest.cpp document->didRemoveTouchEventHandler(parentDiv); document 1600 Source/web/tests/WebViewTest.cpp document->didAddTouchEventHandler(parentDiv); document 1603 Source/web/tests/WebViewTest.cpp document->didAddTouchEventHandler(parentDiv); document 1606 Source/web/tests/WebViewTest.cpp document->didClearTouchEventHandlers(parentDiv); document 1611 Source/web/tests/WebViewTest.cpp WebCore::Element* childFrame = document->getElementById("childframe"); document 1622 Source/web/tests/WebViewTest.cpp document->didAddTouchEventHandler(document); document 1623 Source/web/tests/WebViewTest.cpp document->didAddTouchEventHandler(childFrame); document 1625 Source/web/tests/WebViewTest.cpp document->didClearTouchEventHandlers(document); document 1626 Source/web/tests/WebViewTest.cpp document->didClearTouchEventHandlers(childFrame); document 1643 Source/web/tests/WebViewTest.cpp document->didAddTouchEventHandler(childFrame); document 1646 Source/web/tests/WebViewTest.cpp document->didClearTouchEventHandlers(document); document 1651 Source/web/tests/WebViewTest.cpp document->didRemoveTouchEventHandler(childFrame); document 1656 Source/web/tests/WebViewTest.cpp static WebRect ExpectedRootBounds(WebCore::Document* document, float scaleFactor) document 1658 Source/web/tests/WebViewTest.cpp WebCore::Element* element = document->getElementById("root"); document 1660 Source/web/tests/WebViewTest.cpp element = document->getElementById("target"); document 1665 Source/web/tests/WebViewTest.cpp boundingBox = document->frame()->view()->contentsToWindow(boundingBox); document 1681 Source/web/tests/WebViewTest.cpp EXPECT_TRUE(frame->frame()->document()->isHTMLDocument()); document 1682 Source/web/tests/WebViewTest.cpp WebCore::HTMLDocument* document = WebCore::toHTMLDocument(frame->frame()->document()); document 1684 Source/web/tests/WebViewTest.cpp WebRect expectedRootBounds = ExpectedRootBounds(document, webView->pageScaleFactor()); document 164 public/web/WebAXObject.h BLINK_EXPORT WebDocument document() const; document 236 public/web/WebFrame.h virtual WebDocument document() const = 0; document 99 public/web/WebNode.h BLINK_EXPORT WebDocument document() const;