/external/webkit/Source/WebCore/html/ |
HTMLLinkElement.cpp | 32 #include "Document.h" 52 inline HTMLLinkElement::HTMLLinkElement(const QualifiedName& tagName, Document* document, bool createdByParser) 53 : HTMLElement(tagName, document) 66 PassRefPtr<HTMLLinkElement> HTMLLinkElement::create(const QualifiedName& tagName, Document* document, bool createdByParser) 68 return adoptRef(new HTMLLinkElement(tagName, document, createdByParser)); 119 document()->styleSelectorChanged(DeferRecalcStyle); // Update the style selector. 134 m_url = document()->completeURL(stripLeadingAndTrailingHTMLSpaces(attr->value())); 214 RefPtr<Document> originalDocument = document() [all...] |
HTMLStyleElement.cpp | 28 #include "Document.h" 38 inline HTMLStyleElement::HTMLStyleElement(const QualifiedName& tagName, Document* document, bool createdByParser) 39 : HTMLElement(tagName, document) 40 , StyleElement(document, createdByParser) 51 PassRefPtr<HTMLStyleElement> HTMLStyleElement::create(const QualifiedName& tagName, Document* document, bool createdByParser) 53 return adoptRef(new HTMLStyleElement(tagName, document, createdByParser)); 75 StyleElement::insertedIntoDocument(document(), this); 81 StyleElement::removedFromDocument(document(), this) [all...] |
HTMLObjectElement.cpp | 50 inline HTMLObjectElement::HTMLObjectElement(const QualifiedName& tagName, Document* document, HTMLFormElement* form, bool createdByParser) 51 : HTMLPlugInImageElement(tagName, document, createdByParser, ShouldNotPreferPlugInsForImages) 69 PassRefPtr<HTMLObjectElement> HTMLObjectElement::create(const QualifiedName& tagName, Document* document, HTMLFormElement* form, bool createdByParser) 71 return adoptRef(new HTMLObjectElement(tagName, document, form, createdByParser)); 76 document()->updateLayoutIgnorePendingStylesheets(); 111 if (isDocNamedItem() && inDocument() && document()->isHTMLDocument()) { 112 HTMLDocument* document = static_cast<HTMLDocument*>(this->document()); local 126 HTMLDocument* document = static_cast<HTMLDocument*>(this->document()); local 321 HTMLDocument* document = static_cast<HTMLDocument*>(this->document()); local 332 HTMLDocument* document = static_cast<HTMLDocument*>(this->document()); local 444 HTMLDocument* document = static_cast<HTMLDocument*>(this->document()); local [all...] |
HTMLSummaryElement.cpp | 35 PassRefPtr<HTMLSummaryElement> HTMLSummaryElement::create(const QualifiedName& tagName, Document* document) 37 RefPtr<HTMLSummaryElement> result = adoptRef(new HTMLSummaryElement(tagName, document)); 42 HTMLSummaryElement::HTMLSummaryElement(const QualifiedName& tagName, Document* document) 43 : HTMLElement(tagName, document) 56 ensureShadowRoot()->appendChild(DetailsMarkerControl::create(document()), ec, true);
|
HTMLTrackElement.cpp | 41 inline HTMLTrackElement::HTMLTrackElement(const QualifiedName& tagName, Document* document) 42 : HTMLElement(tagName, document) 48 PassRefPtr<HTMLTrackElement> HTMLTrackElement::create(const QualifiedName& tagName, Document* document) 50 return adoptRef(new HTMLTrackElement(tagName, document)); 73 return document()->completeURL(getAttribute(srcAttr));
|
HTMLEmbedElement.cpp | 48 inline HTMLEmbedElement::HTMLEmbedElement(const QualifiedName& tagName, Document* document, bool createdByParser) 49 : HTMLPlugInImageElement(tagName, document, createdByParser, ShouldPreferPlugInsForImages) 54 PassRefPtr<HTMLEmbedElement> HTMLEmbedElement::create(const QualifiedName& tagName, Document* document, bool createdByParser) 56 return adoptRef(new HTMLEmbedElement(tagName, document, createdByParser)); 74 document()->updateLayoutIgnorePendingStylesheets(); 116 if (inDocument() && document()->isHTMLDocument()) { 117 HTMLDocument* document = static_cast<HTMLDocument*>(this->document()); local [all...] |
/external/webkit/Source/WebCore/editing/ |
TypingCommand.cpp | 32 #include "Document.h" 63 TypingCommand::TypingCommand(Document *document, ETypingCommand commandType, const String &textToInsert, Options options, TextGranularity granularity, TextCompositionType compositionType) 64 : CompositeEditCommand(document) 80 void TypingCommand::deleteSelection(Document* document, Options options) 82 ASSERT(document); 84 Frame* frame = document->frame(); 98 TypingCommand::create(document, DeleteSelection, "", options)->apply(); 101 void TypingCommand::deleteKeyPressed(Document *document, Options options, TextGranularity granularity [all...] |
/external/webkit/Source/WebCore/bindings/js/ |
ScriptEventListener.cpp | 35 #include "Document.h" 63 if (Frame* frame = node->document()->frame()) { 69 sourceURL = node->document()->url().string(); 92 sourceURL = frame->document()->url().string(); 94 return JSLazyEventListener::create(attr->localName().string(), eventParameterName(frame->document()->isSVGDocument()), attr->value(), 0, sourceURL, lineNumber, wrapper, mainThreadNormalWorld()); 97 String eventListenerHandlerBody(Document* document, EventListener* eventListener) 102 JSC::JSObject* jsFunction = jsListener->jsFunction(document); 105 return ustringToString(jsFunction->toString(scriptStateFromNode(jsListener->isolatedWorld(), document))); 108 bool eventListenerHandlerLocation(Document*, EventListener*, String&, int& [all...] |
JSAudioConstructor.cpp | 54 Document* document = jsConstructor->document(); local 55 if (!document) 56 return throwVMError(exec, createReferenceError(exec, "Audio constructor associated document is unavailable")); 58 // Calling toJS on the document causes the JS document wrapper to be 61 toJS(exec, jsConstructor->globalObject(), document); 70 HTMLAudioElement::createForJSConstructor(document, src))));
|
JSImageConstructor.cpp | 47 Document* document = jsConstructor->document(); local 48 if (!document) 49 return throwVMError(exec, createReferenceError(exec, "Image constructor associated document is unavailable")); 51 // Calling toJS on the document causes the JS document wrapper to be 54 toJS(exec, jsConstructor->globalObject(), document); 69 HTMLImageElement::createForJSConstructor(document, optionalWidth, optionalHeight))));
|
/external/webkit/Source/WebCore/svg/ |
SVGStyleElement.cpp | 30 #include "Document.h" 37 inline SVGStyleElement::SVGStyleElement(const QualifiedName& tagName, Document* document, bool createdByParser) 38 : SVGElement(tagName, document) 39 , StyleElement(document, createdByParser) 49 PassRefPtr<SVGStyleElement> SVGStyleElement::create(const QualifiedName& tagName, Document* document, bool createdByParser) 51 return adoptRef(new SVGStyleElement(tagName, document, createdByParser)); 108 StyleElement::insertedIntoDocument(document(), this); 114 StyleElement::removedFromDocument(document(), this) [all...] |
SVGAltGlyphElement.cpp | 39 inline SVGAltGlyphElement::SVGAltGlyphElement(const QualifiedName& tagName, Document* document) 40 : SVGTextPositioningElement(tagName, document) 44 PassRefPtr<SVGAltGlyphElement> SVGAltGlyphElement::create(const QualifiedName& tagName, Document* document) 46 return adoptRef(new SVGAltGlyphElement(tagName, document)); 105 Element* elt = document()->getElementById(getTarget(getAttribute(XLinkNames::hrefAttr)));
|
SVGMPathElement.cpp | 25 #include "Document.h" 35 inline SVGMPathElement::SVGMPathElement(const QualifiedName& tagName, Document* document) 36 : SVGElement(tagName, document) 40 PassRefPtr<SVGMPathElement> SVGMPathElement::create(const QualifiedName& tagName, Document* document) 42 return adoptRef(new SVGMPathElement(tagName, document)); 81 Element* target = document()->getElementById(getTarget(href()));
|
SVGViewElement.cpp | 39 inline SVGViewElement::SVGViewElement(const QualifiedName& tagName, Document* document) 40 : SVGStyledElement(tagName, document) 45 PassRefPtr<SVGViewElement> SVGViewElement::create(const QualifiedName& tagName, Document* document) 47 return adoptRef(new SVGViewElement(tagName, document)); 56 || SVGFitToViewBox::parseMappedAttribute(document(), attr)
|
/external/webkit/Source/WebCore/dom/ |
XMLDocumentParser.cpp | 33 #include "Document.h" 75 return document()->isWMLDocument(); 83 if (n != document()) 97 if (m_currentNode != document()) 106 if (m_currentNode && m_currentNode != document()) 113 if (m_currentNodeStack[0] && m_currentNodeStack[0] != document()) 178 RefPtr<Node> newNode = Text::create(document(), ""); 220 // XMLDocumentParserLibxml2 will do bad things to the document if doEnd() is called. 234 document()->styleSelectorChanged(RecalcStyleImmediately); 239 document()->setReadyState(Document::Interactive) 296 Document* document = this->document(); local [all...] |
/external/chromium/chrome/browser/sync/resources/ |
gaia_login.js | 30 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.getElementById("sign-in").value = templateData['signin'] [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
ImageView.js | 53 var imageContainer = document.createElement("div"); 57 var imagePreviewElement = document.createElement("img"); 61 this._container = document.createElement("div"); 65 var imageNameElement = document.createElement("h1"); 70 var infoListElement = document.createElement("dl"); 91 var dt = document.createElement("dt"); 94 var dd = document.createElement("dd"); 98 var dt = document.createElement("dt"); 101 var dd = document.createElement("dd");
|
DOMSyntaxHighlighter.js | 39 var span = document.createElement("span"); 41 span.appendChild(document.createTextNode(content)); 62 node.appendChild(document.createTextNode(plainText)); 73 node.appendChild(document.createTextNode(plainText)); 76 node.appendChild(document.createElement("br"));
|
WelcomeView.js | 38 this.contentElement = document.createElement("div"); 42 this.alignerElement = document.createElement("div"); 46 this.instructionsElement = document.createElement("div"); 50 this.headerElement = document.createElement("h1"); 61 var messageElement = document.createElement("div");
|
AuditLauncherView.js | 40 this._contentElement = document.createElement("div"); 49 this._headerElement = document.createElement("h1"); 149 var labelElement = document.createElement("label"); 152 var element = document.createElement("input"); 157 labelElement.appendChild(document.createTextNode(title)); 164 this._headerElement = document.createElement("h1"); 183 this._categoriesElement = document.createElement("div"); 189 var flexibleSpaceElement = document.createElement("div"); 193 this._buttonContainerElement = document.createElement("div"); 196 var labelElement = document.createElement("label") [all...] |
/external/webkit/Source/WebCore/wml/ |
WMLDoElement.cpp | 46 WMLDoElement::WMLDoElement(const QualifiedName& tagName, Document* doc) 55 PassRefPtr<WMLDoElement> WMLDoElement::create(const QualifiedName& tagName, Document* document) 57 return adoptRef(new WMLDoElement(tagName, document)); 81 ASSERT(document()->isWMLDocument()); 82 WMLDocument* document = static_cast<WMLDocument*>(this->document()); local 84 WMLPageState* pageState = wmlPageStateForDocument(document); 89 if (WMLCardElement* card = document->activeCard()) { 96 WMLPageState* pageState = wmlPageStateForDocument(document()); [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/fx/ |
content.js | 45 listenAndCoalesce(document, "scroll"); 48 if ((window == window.top) && document.body && !document.body.onresize) { 49 document.body.onresize = function(event) { 54 listenAndCoalesce(document, "keypress", function(event) {
|
/external/chromium/chrome/common/extensions/docs/examples/howto/contentscript_xhr/ |
contentscript.js | 26 var trends_dom = document.createElement('div'); 27 var title_dom = document.createElement('strong'); 28 var text_dom = document.createTextNode(trend_names.join(', ')); 38 document.body.insertBefore(trends_dom, document.body.firstChild);
|
/external/webkit/LayoutTests/fast/dom/HTMLTableRowElement/script-tests/ |
cells.js | 5 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/encoding/resources/ |
char-encoding-utils.js | 9 var form = document.getElementById('form'); 10 var subframe = document.getElementById('subframe'); 39 var URL = "" + document.getElementById('subframe').contentWindow.location; 52 var form = document.getElementById('form'); 53 var text = document.getElementById('text'); 54 var subframe = document.getElementById('subframe');
|