/external/webkit/Source/WebCore/html/ |
HTMLTitleElement.cpp | 26 #include "Document.h" 35 inline HTMLTitleElement::HTMLTitleElement(const QualifiedName& tagName, Document* document) 36 : HTMLElement(tagName, document) 41 PassRefPtr<HTMLTitleElement> HTMLTitleElement::create(const QualifiedName& tagName, Document* document) 43 return adoptRef(new HTMLTitleElement(tagName, document)); 49 document()->setTitleElement(m_title, this); 55 document()->removeTitle(this); 62 document()->setTitleElement(m_title, this) [all...] |
HTMLBRElement.cpp | 35 HTMLBRElement::HTMLBRElement(const QualifiedName& tagName, Document* document) 36 : HTMLElement(tagName, document) 41 PassRefPtr<HTMLBRElement> HTMLBRElement::create(Document* document) 43 return adoptRef(new HTMLBRElement(brTag, document)); 46 PassRefPtr<HTMLBRElement> HTMLBRElement::create(const QualifiedName& tagName, Document* document) 48 return adoptRef(new HTMLBRElement(tagName, document));
|
HTMLDivElement.cpp | 35 HTMLDivElement::HTMLDivElement(const QualifiedName& tagName, Document* document) 36 : HTMLElement(tagName, document) 41 PassRefPtr<HTMLDivElement> HTMLDivElement::create(Document* document) 43 return adoptRef(new HTMLDivElement(divTag, document)); 46 PassRefPtr<HTMLDivElement> HTMLDivElement::create(const QualifiedName& tagName, Document* document) 48 return adoptRef(new HTMLDivElement(tagName, document));
|
HTMLOListElement.cpp | 36 HTMLOListElement::HTMLOListElement(const QualifiedName& tagName, Document* document) 37 : HTMLElement(tagName, document) 43 PassRefPtr<HTMLOListElement> HTMLOListElement::create(Document* document) 45 return adoptRef(new HTMLOListElement(olTag, document)); 48 PassRefPtr<HTMLOListElement> HTMLOListElement::create(const QualifiedName& tagName, Document* document) 50 return adoptRef(new HTMLOListElement(tagName, document));
|
HTMLParamElement.cpp | 27 #include "Document.h" 34 inline HTMLParamElement::HTMLParamElement(const QualifiedName& tagName, Document* document) 35 : HTMLElement(tagName, document) 40 PassRefPtr<HTMLParamElement> HTMLParamElement::create(const QualifiedName& tagName, Document* document) 42 return adoptRef(new HTMLParamElement(tagName, document)); 55 if (document()->isHTMLDocument()) 86 addSubresourceURL(urls, document()->completeURL(value()));
|
ImageDocument.cpp | 53 static PassRefPtr<ImageEventListener> create(ImageDocument* document) { return adoptRef(new ImageEventListener(document)); } 64 ImageEventListener(ImageDocument* document) 66 , m_doc(document) 77 static PassRefPtr<ImageDocumentParser> create(ImageDocument* document) 79 return adoptRef(new ImageDocumentParser(document)); 82 ImageDocument* document() const function in class:WebCore::ImageDocumentParser 84 return static_cast<ImageDocument*>(RawDataDocumentParser::document()); 88 ImageDocumentParser(ImageDocument* document) 89 : RawDataDocumentParser(document) [all...] |
/external/webkit/Source/WebCore/html/shadow/ |
DetailsMarkerControl.h | 43 DetailsMarkerControl(Document*); 44 static PassRefPtr<DetailsMarkerControl> create(Document*); 54 inline PassRefPtr<DetailsMarkerControl> DetailsMarkerControl::create(Document* document) 56 return adoptRef(new DetailsMarkerControl(document));
|
/external/webkit/Source/WebCore/wml/ |
WMLElement.cpp | 42 WMLElement::WMLElement(const QualifiedName& tagName, Document* document) 43 : StyledElement(tagName, document, CreateStyledElement) 47 PassRefPtr<WMLElement> WMLElement::create(const QualifiedName& tagName, Document* document) 49 return adoptRef(new WMLElement(tagName, document)); 91 return document()->documentElement() == this || style->display() != NONE; 106 reportWMLError(document(), defaultErrorCode); 110 return substituteVariableReferences(value, document()); 117 reportWMLError(document(), WMLErrorInvalidVariableReferenceLocation) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
CommentImpl.java | 34 CommentImpl(DocumentImpl document, String data) { 35 super(document, data);
|
EntityReferenceImpl.java | 36 EntityReferenceImpl(DocumentImpl document, String name) { 37 super(document);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/ |
AndroidXmlFormatter.java | 38 public final void format(IDocument document, IRegion region) { 51 format(document, context); 58 public void format(IDocument document, IFormattingContext context) { 59 context.setProperty(FormattingContextProperties.CONTEXT_MEDIUM, document); 60 formatMaster(context, document, 0, document.getLength()); 63 protected void formatMaster(IFormattingContext context, IDocument document, int offset, 66 final int delta= offset - document.getLineInformationOfOffset(offset).getOffset();
|
/libcore/luni/src/test/java/libcore/xml/ |
NormalizeTest.java | 27 import org.w3c.dom.Document; 57 private Document document; field in class:NormalizeTest 66 document = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument(); 67 domConfiguration = document.getDomConfig(); 345 document.getDocumentElement().normalize(); 346 assertEquals(xml, domToString(document)); 350 document.getDocumentElement().normalize(); 351 assertEquals(xml, domToString(document)); 358 document.normalizeDocument() [all...] |
/external/webkit/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/ |
css-computed-style-item.js | 3 var element = document.createElement('div'); 5 document.documentElement.appendChild(element); 12 document.documentElement.removeChild(element);
|
css-style-item.js | 3 var element = document.createElement('div'); 5 document.documentElement.appendChild(element); 13 document.documentElement.removeChild(element);
|
/external/webkit/LayoutTests/fast/dom/Selection/script-tests/ |
collapseToX-empty-selection.js | 4 var textNode = document.createTextNode("abcdef"); 5 document.body.appendChild(textNode); 15 document.body.removeChild(textNode);
|
/external/webkit/Source/WebCore/dom/ |
SelectorNodeList.cpp | 35 #include "Document.h" 47 Document* document = rootNode->document(); local 49 bool strictParsing = !document->inQuirksMode(); 51 CSSStyleSelector::SelectorChecker selectorChecker(document, strictParsing); 53 if (strictParsing && rootNode->inDocument() && onlySelector && onlySelector->m_match == CSSSelector::Id && !document->containsMultipleElementsWithId(onlySelector->value())) { 54 Element* element = document->getElementById(onlySelector->value());
|
ViewportArguments.cpp | 33 #include "Document.h" 181 static float numericPrefix(const String& keyString, const String& valueString, Document* document, bool* ok) 193 reportViewportWarning(document, UnrecognizedViewportArgumentValueError, valueString, keyString); 197 reportViewportWarning(document, TruncatedViewportArgumentValueError, valueString, keyString); 202 static float findSizeValue(const String& keyString, const String& valueString, Document* document) 217 float value = numericPrefix(keyString, valueString, document, &ok); 227 static float findScaleValue(const String& keyString, const String& valueString, Document* document) [all...] |
/external/webkit/Source/WebCore/editing/ |
SplitTextNodeCommand.cpp | 29 #include "Document.h" 37 : SimpleEditCommand(text->document()) 62 m_text1 = Text::create(document(), prefixText); 64 document()->markers()->copyMarkers(m_text2.get(), 0, m_offset, m_text1.get(), 0); 74 ASSERT(m_text1->document() == document()); 82 document()->markers()->copyMarkers(m_text1.get(), 0, prefixText.length(), m_text2.get(), 0);
|
/external/webkit/Source/WebCore/html/parser/ |
HTMLViewSourceParser.cpp | 35 HTMLViewSourceParser::HTMLViewSourceParser(HTMLViewSourceDocument* document) 36 : DecodedDataDocumentParser(document) 37 , m_tokenizer(HTMLTokenizer::create(HTMLDocumentParser::usePreHTML5ParserQuirks(document))) 58 document()->addSource(sourceForToken(), m_token); 82 m_tokenizer->updateStateFor(tagName, document()->frame()); 90 document()->finishedParsing();
|
/external/webkit/Source/WebCore/inspector/front-end/ |
ConsolePanel.js | 49 var scopeBar = document.getElementById("console-filter"); 50 var consoleMessages = document.getElementById("console-messages"); 53 document.getElementById("console-view").insertBefore(scopeBar, consoleMessages); 73 var scopeBar = document.getElementById("console-filter"); 76 document.getElementById("other-drawer-status-bar-items").appendChild(scopeBar); 82 document.getElementById("console-messages").removeStyleClass("console-filter-top");
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LayoutMetadataTest.java | 42 IDocument document = pair.getFirst(); local 47 assertNull(metadata.getProperty(document, node, "foo")); 52 assertEquals(before, getText(document, node)); 55 metadata.setProperty(document, node, 62 assertEquals(after, getText(document, node)); 65 metadata.setProperty(document, node, 75 assertEquals(after, getText(document, node)); 78 metadata.setProperty(document, node, 88 assertEquals(after, getText(document, node)); 91 metadata.setProperty(document, node 127 IDocument document = pair.getFirst(); local 164 IStructuredDocument document = xmlEditor.getStructuredDocument(); local [all...] |
/external/webkit/Source/WebKit/gtk/tests/ |
testdomdocument.c | 74 WebKitDOMDocument* document = webkit_web_view_get_dom_document(view); local 75 g_assert(document); 76 gchar* title = webkit_dom_document_get_title(document); 80 webkit_dom_document_set_title(document, "This is the second title"); 81 title = webkit_dom_document_get_title(document); 92 WebKitDOMDocument* document = webkit_web_view_get_dom_document(view); local 93 g_assert(document); 94 WebKitDOMNodeList* list = webkit_dom_document_get_elements_by_tag_name(document, "li"); 121 WebKitDOMDocument* document = webkit_web_view_get_dom_document(view); local 122 g_assert(document); 146 WebKitDOMDocument* document = webkit_web_view_get_dom_document(view); local 166 WebKitDOMDocument* document = webkit_web_view_get_dom_document(view); local 202 WebKitDOMDocument* document = webkit_web_view_get_dom_document(view); local [all...] |
/packages/apps/Mms/src/com/android/mms/model/ |
SmilHelper.java | 75 SMILDocument document = null; local 77 // Try to load SMIL document from existing part. 79 document = getSmilDocument(smilPart); 82 if (document == null) { 83 // Create a new SMIL document. 84 document = createSmilDocument(pb); 87 return document; 127 Log.v(TAG, "Parsing SMIL document."); 132 SMILDocument document = new SmilXmlParser().parse(bais); local 133 return validate(document); 174 SMILDocument document = new SmilDocumentImpl(); local 261 SMILDocument document = new SmilDocumentImpl(); local [all...] |
/external/webkit/Source/WebCore/bindings/v8/ |
ScriptEventListener.cpp | 35 #include "Document.h" 56 if (Frame* frame = node->document()->frame()) { 62 sourceURL = node->document()->url().string(); 82 String sourceURL = frame->document()->url().string(); 83 return V8LazyEventListener::create(attr->localName().string(), frame->document()->isSVGDocument(), attr->value(), sourceURL, position, WorldContextHandle(UseMainWorld)); 86 String eventListenerHandlerBody(Document* document, EventListener* listener) 93 v8::Handle<v8::Context> context = toV8Context(document, v8Listener->worldContext()); 95 v8::Handle<v8::Object> function = v8Listener->getListenerObject(document); 102 bool eventListenerHandlerLocation(Document* document, EventListener* listener, String& sourceName, int& lineNumber [all...] |
/external/chromium/chrome/browser/printing/ |
print_view_manager.cc | 75 scoped_refptr<PrintedDocument> document(print_job_->document()); 76 if (document) { 77 // If IsComplete() returns false, the document isn't completely rendered. 80 TerminatePrintJob(!document->IsComplete()); 109 PrintedDocument* document = print_job_->document(); 110 if (!document || cookie != document->cookie()) { 122 PrintedDocument* document = print_job_->document() [all...] |