Searched refs:document (Results 76 - 100 of 1307) sorted by relevance

1234567891011>>

/external/webkit/Source/WebCore/dom/
H A DShadowRoot.cpp32 ShadowRoot::ShadowRoot(Document* document) argument
33 : DocumentFragment(document)
35 ASSERT(document);
H A DComment.cpp29 inline Comment::Comment(Document* document, const String& text) argument
30 : CharacterData(document, text, CreateComment)
34 PassRefPtr<Comment> Comment::create(Document* document, const String& text) argument
36 return adoptRef(new Comment(document, text));
51 return create(document(), data());
H A DDocumentFragment.cpp34 DocumentFragment::DocumentFragment(Document* document) argument
35 : ContainerNode(document)
37 ASSERT(document);
40 PassRefPtr<DocumentFragment> DocumentFragment::create(Document* document) argument
42 return adoptRef(new DocumentFragment(document));
47 return "#document-fragment";
72 RefPtr<DocumentFragment> clone = create(document());
H A DDocumentType.cpp31 DocumentType::DocumentType(Document* document, const String& name, const String& publicId, const String& systemId) argument
32 : Node(document, CreateOther)
56 return create(document(), m_name, m_publicId, m_systemId);
61 // Our document node can be null if we were created by a DOMImplementation. We use the parent() instead.
73 if (document() && document()->doctype() == this)
74 document()->setDocType(0);
/external/webkit/Source/WebCore/editing/chromium/
H A DSelectionControllerChromium.cpp43 Document* document = m_frame->document(); local
44 document->axObjectCache()->postNotification(m_selection.start().deprecatedNode()->renderer(), AXObjectCache::AXSelectedTextChanged, false);
/external/chromium/chrome/browser/sync/resources/
H A Dgaia_login.js30 var form = document.getElementById("gaia-login-form");
39 document.getElementById('logging-in-throbber').style.display = "none";
41 document.getElementById('email').disabled = false;
42 document.getElementById('passwd').disabled = false;
44 var f = document.getElementById("gaia-login-form");
54 var span = document.getElementById('email-readonly');
55 span.appendChild(document.createTextNode(f.email.value));
64 var access_code = document.getElementById('access-code');
83 document.getElementById("sign-in").disabled = false;
84 document
[all...]
/external/webkit/Source/WebCore/html/
H A DHTMLAppletElement.cpp39 inline HTMLAppletElement::HTMLAppletElement(const QualifiedName& tagName, Document* document) argument
40 : HTMLPlugInElement(tagName, document)
45 PassRefPtr<HTMLAppletElement> HTMLAppletElement::create(const QualifiedName& tagName, Document* document) argument
47 return adoptRef(new HTMLAppletElement(tagName, document));
61 if (inDocument() && document()->isHTMLDocument()) {
62 HTMLDocument* document = static_cast<HTMLDocument*>(this->document()); local
63 document->removeNamedItem(m_name);
64 document->addNamedItem(newName);
69 if (inDocument() && document()
70 HTMLDocument* document = static_cast<HTMLDocument*>(this->document()); local
84 HTMLDocument* document = static_cast<HTMLDocument*>(this->document()); local
95 HTMLDocument* document = static_cast<HTMLDocument*>(this->document()); local
[all...]
H A DIsIndexInputType.cpp62 Document* document = element()->document();
63 form = HTMLFormElement::create(document);
66 if (!document->baseURL().isEmpty()) {
69 form->setAction(document->baseURL().string());
H A DHTMLBaseElement.cpp34 inline HTMLBaseElement::HTMLBaseElement(const QualifiedName& tagName, Document* document) argument
35 : HTMLElement(tagName, document)
40 PassRefPtr<HTMLBaseElement> HTMLBaseElement::create(const QualifiedName& tagName, Document* document) argument
42 return adoptRef(new HTMLBaseElement(tagName, document));
48 document()->processBaseElement();
56 document()->processBaseElement();
62 document()->processBaseElement();
H A DHTMLNoScriptElement.cpp34 inline HTMLNoScriptElement::HTMLNoScriptElement(const QualifiedName& tagName, Document* document) argument
35 : HTMLElement(tagName, document)
40 PassRefPtr<HTMLNoScriptElement> HTMLNoScriptElement::create(const QualifiedName& tagName, Document* document) argument
42 return adoptRef(new HTMLNoScriptElement(tagName, document));
50 if (!document()->shouldProcessNoscriptElement()) {
59 if (!document()->shouldProcessNoscriptElement() || !renderer() || !renderer()->style())
78 return document()->shouldProcessNoscriptElement();
H A DHTMLMetaElement.cpp39 inline HTMLMetaElement::HTMLMetaElement(const QualifiedName& tagName, Document* document) argument
40 : HTMLElement(tagName, document)
45 PassRefPtr<HTMLMetaElement> HTMLMetaElement::create(const QualifiedName& tagName, Document* document) argument
47 return adoptRef(new HTMLMetaElement(tagName, document));
75 document()->processViewport(m_content);
79 document()->processMetadataSettings(m_content);
81 && document()->settings()
82 && document()->settings()->viewportWidth() == -1) {
84 document()->processViewport("width=device-width");
88 // Get the document t
[all...]
H A DHTMLFrameSetElement.cpp45 HTMLFrameSetElement::HTMLFrameSetElement(const QualifiedName& tagName, Document* document) argument
46 : HTMLElement(tagName, document)
59 PassRefPtr<HTMLFrameSetElement> HTMLFrameSetElement::create(const QualifiedName& tagName, Document* document) argument
61 return adoptRef(new HTMLFrameSetElement(tagName, document));
115 document()->setWindowAttributeEventListener(eventNames().loadEvent, createAttributeEventListener(document()->frame(), attr));
117 document()->setWindowAttributeEventListener(eventNames().beforeunloadEvent, createAttributeEventListener(document()->frame(), attr));
119 document()->setWindowAttributeEventListener(eventNames().unloadEvent, createAttributeEventListener(document()
[all...]
H A DHTMLIsIndexElement.cpp35 HTMLIsIndexElement::HTMLIsIndexElement(const QualifiedName& tagName, Document* document, HTMLFormElement* form) argument
36 : HTMLInputElement(tagName, document, form, false)
42 PassRefPtr<HTMLIsIndexElement> HTMLIsIndexElement::create(Document* document, HTMLFormElement* form) argument
44 return adoptRef(new HTMLIsIndexElement(isindexTag, document, form));
47 PassRefPtr<HTMLIsIndexElement> HTMLIsIndexElement::create(const QualifiedName& tagName, Document* document, HTMLFormElement* form) argument
49 return adoptRef(new HTMLIsIndexElement(tagName, document, form));
H A DHTMLUListElement.cpp34 HTMLUListElement::HTMLUListElement(const QualifiedName& tagName, Document* document) argument
35 : HTMLElement(tagName, document)
40 PassRefPtr<HTMLUListElement> HTMLUListElement::create(Document* document) argument
42 return adoptRef(new HTMLUListElement(ulTag, document));
45 PassRefPtr<HTMLUListElement> HTMLUListElement::create(const QualifiedName& tagName, Document* document) argument
47 return adoptRef(new HTMLUListElement(tagName, document));
/external/webkit/Source/WebCore/storage/
H A DIDBFactory.cpp67 Document* document = static_cast<Document*>(context); local
68 if (!document->frame() || !document->page())
75 RefPtr<IDBRequest> request = IDBRequest::create(document, IDBAny::create(this), 0);
76 GroupSettings* groupSettings = document->page()->group().groupSettings();
77 m_factoryBackend->open(name, request, document->securityOrigin(), document->frame(), groupSettings->indexedDBDatabasePath(), groupSettings->indexedDBQuotaBytes(), IDBFactoryBackendInterface::DefaultBackingStore);
/external/webkit/Source/WebCore/svg/
H A DSVGTitleElement.cpp29 inline SVGTitleElement::SVGTitleElement(const QualifiedName& tagName, Document* document) argument
30 : SVGStyledElement(tagName, document)
34 PassRefPtr<SVGTitleElement> SVGTitleElement::create(const QualifiedName& tagName, Document* document) argument
36 return adoptRef(new SVGTitleElement(tagName, document));
44 document()->setTitleElement(StringWithDirection(textContent(), LTR), this);
50 document()->removeTitle(this);
58 document()->setTitleElement(StringWithDirection(textContent(), LTR), this);
/external/webkit/Source/WebCore/wml/
H A DWMLPrevElement.cpp40 PassRefPtr<WMLPrevElement> WMLPrevElement::create(const QualifiedName& tagName, Document* document) argument
42 return adoptRef(new WMLPrevElement(tagName, document));
51 ASSERT(document()->isWMLDocument());
52 WMLDocument* document = static_cast<WMLDocument*>(this->document()); local
54 WMLPageState* pageState = wmlPageStateForDocument(document);
58 WMLCardElement* card = document->activeCard();
/external/chromium/chrome/browser/resources/gpu_internals/
H A Dtracing_controller_tests.js34 var selectEl = document.createElement("select");
36 var optionEl = document.createElement("option");
52 var controlEl = document.createElement("div");
53 var textEl = document.createElement("span");
58 document.querySelector("#debug-div").appendChild(controlEl, document.body.firstChild);
/external/webkit/LayoutTests/fast/dom/HTMLTableRowElement/script-tests/
H A Dcells.js5 var row = document.createElement("tr");
6 var container = document.createElement(tag);
7 var cell = document.createElement("td");
15 var row = document.createElement("tr");
16 var container = document.createElement(tag);
17 var cell = document.createElement("th");
/external/webkit/LayoutTests/fast/events/touch/script-tests/
H A Ddocument-create-touch.js1 description("This tests support for the document.createTouch API.");
3 shouldBeTrue('"createTouch" in document');
5 var box = document.createElement("div");
9 document.body.appendChild(box);
11 var target = document.getElementById("box");
12 var touch = document.createTouch(window, target, 1, 100, 101, 102, 103);
21 var emptyTouch = document.createTouch();
31 var badParamsTouch = document.createTouch(function(x) { return x; }, 12, 'a', 'b', 'c', function(x) { return x; }, 104);
/external/webkit/Source/WebCore/bindings/v8/custom/
H A DV8DocumentLocationCustom.cpp37 Document* document = V8Document::toNative(info.Holder()); local
38 if (!document->frame())
41 DOMWindow* window = document->frame()->domWindow();
47 Document* document = V8Document::toNative(info.Holder()); local
48 if (!document->frame())
51 DOMWindow* window = document->frame()->domWindow();
/external/webkit/LayoutTests/fast/dom/EntityReference/script-tests/
H A Dreadonly-exceptions.js3 var xmlDoc = document.implementation.createDocument("http://www.w3.org/1999/xhtml", "html", null);
4 var xmlDoc2 = document.implementation.createDocument("http://www.w3.org/1999/xhtml", "html", null);
24 var text = document.createTextNode("FAIL");
/external/webkit/LayoutTests/fast/dom/TreeWalker/script-tests/
H A Dfilter-throw.js4 var testElement = document.createElement("div");
8 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, function(node) {
19 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, {
H A Dtraversal-skip-most.js4 var testElement = document.createElement("div");
17 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, filter, false);
22 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, filter, false);
/external/chromium/chrome/common/extensions/docs/examples/api/pageAction/pageaction_by_content/
H A Dcontentscript.js9 if (regex.test(document.body.innerText)) {

Completed in 277 milliseconds

1234567891011>>