Searched defs:document (Results 151 - 175 of 714) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DDocumentType.h34 static PassRefPtrWillBeRawPtr<DocumentType> create(Document* document, const String& name, const String& publicId, const String& systemId) argument
36 return adoptRefWillBeNoop(new DocumentType(document, name, publicId, systemId));
H A DScriptRunner.h47 static PassOwnPtrWillBeRawPtr<ScriptRunner> create(Document* document) argument
49 return adoptPtrWillBeNoop(new ScriptRunner(document));
H A DTreeScopeTest.cpp19 RefPtrWillBeRawPtr<Document> document = Document::create(); local
20 EXPECT_EQ(document.get(), document->commonAncestorTreeScope(*document));
22 RefPtrWillBeRawPtr<Element> html = document->createElement("html", nullAtom, ASSERT_NO_EXCEPTION);
23 document->appendChild(html, ASSERT_NO_EXCEPTION);
30 // document
31 // | : Common ancestor is document.
34 RefPtrWillBeRawPtr<Document> document = Document::create(); local
35 RefPtrWillBeRawPtr<Element> html = document
49 RefPtrWillBeRawPtr<Document> document = Document::create(); local
72 RefPtrWillBeRawPtr<Document> document = Document::create(); local
[all...]
H A DVisitedLinkState.cpp54 return visitedLinkHash(element.document().baseURL(), attribute.isNull() ? linkAttribute(element) : attribute);
57 VisitedLinkState::VisitedLinkState(const Document& document) argument
58 : m_document(document)
66 for (Node* node = document().firstChild(); node; node = NodeTraversal::next(*node)) {
76 for (Node* node = document().firstChild(); node; node = NodeTraversal::next(*node)) {
85 ASSERT(document().isActive());
86 ASSERT(document() == element.document());
93 // An empty attribute refers to the document itself which is always
H A DVisitedLinkState.h44 static PassOwnPtrWillBeRawPtr<VisitedLinkState> create(const Document& document) argument
46 return adoptPtrWillBeNoop(new VisitedLinkState(document));
63 const Document& document() const { return *m_document; } function in class:blink::VisitedLinkState
/external/chromium_org/third_party/WebKit/Source/core/dom/custom/
H A DCustomElementRegistry.cpp45 explicit RegistrationContextObserver(Document* document) argument
46 : DocumentLifecycleObserver(document)
47 , m_wentAway(!document)
64 CustomElementDefinition* CustomElementRegistry::registerElement(Document* document, CustomElementConstructorBuilder* constructorBuilder, const AtomicString& userSuppliedName, CustomElement::NameSet validNames, ExceptionState& exceptionState) argument
67 // CustomElementConstructorBuilder that observes document
70 RegistrationContextObserver observer(document);
100 // kill the document.
109 if (!constructorBuilder->createConstructor(document, definition.get(), exceptionState))
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DIndentOutdentCommand.h37 static PassRefPtrWillBeRawPtr<IndentOutdentCommand> create(Document& document, EIndentType type) argument
39 return adoptRefWillBeNoop(new IndentOutdentCommand(document, type));
H A DInsertLineBreakCommand.cpp47 InsertLineBreakCommand::InsertLineBreakCommand(Document& document) argument
48 : CompositeEditCommand(document)
88 nodeToInsert = createBreakElement(document());
90 nodeToInsert = document().createTextNode("\n");
125 document().updateLayoutIgnorePendingStylesheets();
135 RefPtrWillBeRawPtr<Text> nbspNode = document().createTextNode(nonBreakingSpaceString());
146 RefPtrWillBeRawPtr<EditingStyle> typingStyle = document().frame()->selection().typingStyle();
H A DInsertListCommand.h40 static PassRefPtrWillBeRawPtr<InsertListCommand> create(Document& document, Type listType) argument
42 return adoptRefWillBeNoop(new InsertListCommand(document, listType));
H A DInsertTextCommand.h40 static PassRefPtrWillBeRawPtr<InsertTextCommand> create(Document& document, const String& text, bool selectInsertedText = false, argument
43 return adoptRefWillBeNoop(new InsertTextCommand(document, text, selectInsertedText, rebalanceType));
H A DRemoveCSSPropertyCommand.cpp37 RemoveCSSPropertyCommand::RemoveCSSPropertyCommand(Document& document, PassRefPtrWillBeRawPtr<Element> element, CSSPropertyID property) argument
38 : SimpleEditCommand(document)
H A DRemoveCSSPropertyCommand.h38 static PassRefPtrWillBeRawPtr<RemoveCSSPropertyCommand> create(Document& document, PassRefPtrWillBeRawPtr<Element> element, CSSPropertyID property) argument
40 return adoptRefWillBeNoop(new RemoveCSSPropertyCommand(document, element, property));
H A DSurroundingTextTest.cpp23 Document& document() const { return m_dummyPageHolder->document(); } function in class:__anon11065::SurroundingTextTest
41 document().body()->setInnerHTML(content, ASSERT_NO_EXCEPTION);
46 Element* element = document().getElementById("selection");
H A DTextInsertionBaseCommand.cpp38 TextInsertionBaseCommand::TextInsertionBaseCommand(Document& document) argument
39 : CompositeEditCommand(document)
/external/chromium_org/third_party/WebKit/Source/core/fetch/
H A DDocumentResource.h43 Document* document() const { return m_document.get(); } function in class:blink::FINAL
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DDeviceSingleWindowEventController.cpp15 DeviceSingleWindowEventController::DeviceSingleWindowEventController(Document& document) argument
16 : PlatformEventController(document.page())
17 , DOMWindowLifecycleObserver(document.domWindow())
19 , m_document(document)
34 if (!document().domWindow() || document().activeDOMObjectsAreSuspended() || document().activeDOMObjectsAreStopped())
38 document().domWindow()->dispatchEvent(event);
H A DSubresourceIntegrityTest.cpp33 RefPtrWillBeRawPtr<Document> document = Document::create(); local
34 RefPtrWillBeRawPtr<HTMLScriptElement> scriptElement = HTMLScriptElement::create(*document, true);
37 document->updateSecurityOrigin(secureOrigin->isolatedCopy());
50 // Check should fail if the document is not on an authenticated origin or
52 document->updateSecurityOrigin(insecureOrigin->isolatedCopy());
54 document->updateSecurityOrigin(secureOrigin->isolatedCopy());
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLBaseElement.cpp36 inline HTMLBaseElement::HTMLBaseElement(Document& document) argument
37 : HTMLElement(baseTag, document)
46 document().processBaseElement();
55 document().processBaseElement();
63 document().processBaseElement();
73 // This does not use the getURLAttribute function because that will resolve relative to the document's base URL;
74 // base elements like this one can be used to set that base URL. Thus we need to resolve relative to the document's
79 return document().url();
81 KURL url = document().encoding().isValid() ?
82 KURL(document()
[all...]
H A DHTMLFormControlElementTest.cpp22 HTMLDocument& document() const { return *m_document; } function in class:blink::HTMLFormControlElementTest
35 m_document = toHTMLDocument(&m_dummyPageHolder->document());
42 document().documentElement()->setInnerHTML("<body><input required id=input></body>", ASSERT_NO_EXCEPTION);
43 document().view()->updateLayoutAndStyleIfNeededRecursive();
45 HTMLInputElement* input = toHTMLInputElement(document().getElementById("input"));
H A DHTMLFrameElement.cpp36 inline HTMLFrameElement::HTMLFrameElement(Document& document) argument
37 : HTMLFrameElementBase(frameTag, document)
H A DHTMLHRElement.cpp36 inline HTMLHRElement::HTMLHRElement(Document& document) argument
37 : HTMLElement(hrTag, document)
H A DHTMLLegendElement.cpp38 inline HTMLLegendElement::HTMLLegendElement(Document& document) argument
39 : HTMLElement(legendTag, document)
H A DHTMLSelectElementTest.cpp20 HTMLDocument& document() const { return *m_document; } function in class:blink::HTMLSelectElementTest
33 m_document = toHTMLDocument(&m_dummyPageHolder->document());
40 document().documentElement()->setInnerHTML(String("<!DOCTYPE HTML><select id='sel'>"
45 document().view()->updateLayoutAndStyleIfNeededRecursive();
46 Element* element = document().getElementById("sel");
48 HTMLOptionElement* opt0 = toHTMLOptionElement(document().getElementById("0"));
49 HTMLOptionElement* opt2 = toHTMLOptionElement(document().getElementById("2"));
72 document().documentElement()->setInnerHTML(String("<!DOCTYPE HTML><select id='sel' multiple>"
77 document().view()->updateLayoutAndStyleIfNeededRecursive();
78 HTMLFormControlElementWithState* select = toHTMLSelectElement(document()
[all...]
H A DHTMLShadowElement.cpp43 inline HTMLShadowElement::HTMLShadowElement(Document& document) argument
44 : InsertionPoint(HTMLNames::shadowTag, document)
60 document().updateDistributionForNodeIfNeeded(this);
77 document().addConsoleMessage(ConsoleMessage::create(RenderingMessageSource, WarningMessageLevel, message));
H A DHTMLTableSectionElement.cpp41 inline HTMLTableSectionElement::HTMLTableSectionElement(const QualifiedName& tagName, Document& document) argument
42 : HTMLTablePartElement(tagName, document)
66 RefPtrWillBeRawPtr<HTMLTableRowElement> row = HTMLTableRowElement::create(document());

Completed in 710 milliseconds

1234567891011>>