/external/webkit/Source/WebCore/wml/ |
H A D | WMLAElement.cpp | 56 PassRefPtr<WMLAElement> WMLAElement::create(const QualifiedName& tagName, Document* document) argument 58 return adoptRef(new WMLAElement(tagName, document)); 68 if (isLink() && document()->isDNSPrefetchEnabled()) { 71 ResourceHandle::prepareForURL(document()->completeURL(value)); 96 if (!document()->frame()) 99 if (!document()->frame()->eventHandler()->tabsToLinks(event)) 132 handleLinkClick(event, document(), stripLeadingAndTrailingHTMLSpaces(getAttribute(HTMLNames::hrefAttr)), target(), event);
|
H A D | WMLDoElement.cpp | 55 PassRefPtr<WMLDoElement> WMLDoElement::create(const QualifiedName& tagName, Document* document) argument 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()); 129 eventHandlingElement->registerDoElement(this, document());
|
H A D | WMLElement.cpp | 42 WMLElement::WMLElement(const QualifiedName& tagName, Document* document) argument 43 : StyledElement(tagName, document, CreateStyledElement) 47 PassRefPtr<WMLElement> WMLElement::create(const QualifiedName& tagName, Document* document) argument 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);
|
H A D | WMLImageElement.cpp | 46 PassRefPtr<WMLImageElement> WMLImageElement::create(const QualifiedName& tagName, Document* document) argument 48 return adoptRef(new WMLImageElement(tagName, document)); 125 // If we have been inserted from a renderer-less document, 151 return substituteVariableReferences(getAttribute(HTMLNames::altAttr), document());
|
H A D | WMLTimerElement.cpp | 45 PassRefPtr<WMLTimerElement> WMLTimerElement::create(const QualifiedName& tagName, Document* document) argument 47 return adoptRef(new WMLTimerElement(tagName, document)); 92 WMLPageState* pageState = wmlPageStateForDocument(document()); 126 if (WMLPageState* pageState = wmlPageStateForDocument(document())) 150 if (WMLPageState* pageState = wmlPageStateForDocument(document()))
|
/external/webkit/Source/WebCore/xml/ |
H A D | XPathResult.cpp | 42 XPathResult::XPathResult(Document* document, const Value& value) argument 61 m_document = document; 62 m_domTreeVersion = document->domTreeVersion();
|
H A D | XPathResult.h | 58 static PassRefPtr<XPathResult> create(Document* document, const XPath::Value& value) { return adoptRef(new XPathResult(document, value)); } argument
|
H A D | XSLStyleSheetQt.cpp | 64 Document* document = ownerDocument(); local 65 if (!document) 67 return document->cachedResourceLoader(); 72 // FIXME: Fix QXmlQuery so that it allows compiling the stylesheet before setting the document 93 return node ? node->document() : 0;
|
H A D | XSLTProcessorQt.cpp | 47 XSLTMessageHandler(Document* document = 0); 55 XSLTMessageHandler::XSLTMessageHandler(Document* document) argument 57 , m_document(document) 92 XSLTUriResolver(Document* document); 99 XSLTUriResolver::XSLTUriResolver(Document* document) argument 101 , m_document(document) 122 node->document()->url().string(), 123 node->document()->url()); // FIXME: Should we use baseURL here? 133 RefPtr<Document> ownerDocument = sourceNode->document();
|
/external/webkit/Source/WebKit/chromium/src/ |
H A D | WebDocument.cpp | 136 const Document* document = constUnwrap<Document>(); local 138 document->axObjectCache()->getOrCreate(document->renderer()));
|
/external/webkit/Source/WebKit/gtk/tests/ |
H A D | testdomnode.c | 66 WebKitDOMDocument* document; local 73 document = webkit_web_view_get_dom_document(WEBKIT_WEB_VIEW(fixture->webView)); 74 g_assert(document); 75 g_assert(WEBKIT_DOM_IS_DOCUMENT(document)); 76 head = webkit_dom_document_get_head(document); 127 WebKitDOMDocument* document; local 133 document = webkit_web_view_get_dom_document(WEBKIT_WEB_VIEW(fixture->webView)); 134 g_assert(document); 135 body = webkit_dom_document_get_body(document); 143 p = webkit_dom_document_create_element(document, " [all...] |
/external/webkit/Source/WebKit/wx/ |
H A D | WebEdit.cpp | 22 WebCoreEditCommand(WebCore::Document* document) argument 23 : CompositeEditCommand(document) 58 if (frame && frame->document()) 59 m_impl = new WebCoreEditCommandPrivate(new WebCore::WebCoreEditCommand(frame->document()));
|
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/DOM/ |
H A D | InjectedBundleNodeHandle.cpp | 99 PassRefPtr<InjectedBundleNodeHandle> InjectedBundleNodeHandle::document() function in class:WebKit::InjectedBundleNodeHandle 101 return getOrCreate(m_node->document());
|
/external/chromium/webkit/glue/ |
H A D | dom_operations.cc | 131 // Get current using document. 132 WebDocument current_doc = current_frame->document(); 254 web_frame->document().getElementById(WebString::fromUTF8(element_id)); 275 web_frame->document().getElementById(WebString::fromUTF8(element_id)); 289 WebElement element = web_frame->document().getElementById( 310 void GetMetaElementsWithAttribute(WebDocument* document, argument 314 DCHECK(document); 317 WebElement head = document->head();
|
/external/webkit/Source/WebCore/bindings/js/ |
H A D | JSHTMLDocumentCustom.cpp | 53 bool JSHTMLDocument::canGetItemsForName(ExecState*, HTMLDocument* document, const Identifier& propertyName) argument 56 return atomicPropertyName && (document->hasNamedItem(atomicPropertyName) || document->hasExtraNamedItem(atomicPropertyName)); 62 HTMLDocument* document = static_cast<HTMLDocument*>(thisObj->impl()); local 65 RefPtr<HTMLCollection> collection = document->documentNamedItems(name); 123 // document.open clobbers the security context of the document and 125 Document* activeDocument = asJSDOMWindow(exec->lexicalGlobalObject())->impl()->document(); 127 // In the case of two parameters or fewer, do a normal document open. 134 static inline void documentWrite(ExecState* exec, HTMLDocument* document, NewlineRequiremen argument [all...] |
H A D | PageScriptDebugServer.cpp | 184 Document* document = frame->document(); local 186 document->suspendScriptedAnimationControllerCallbacks(); 187 document->suspendActiveDOMObjects(ActiveDOMObject::JavaScriptDebuggerPaused); 189 document->resumeActiveDOMObjects(); 190 document->resumeScriptedAnimationControllerCallbacks();
|
/external/webkit/Source/WebCore/dom/ |
H A D | Attr.cpp | 37 inline Attr::Attr(Element* element, Document* document, PassRefPtr<Attribute> attribute) argument 38 : ContainerNode(document) 48 PassRefPtr<Attr> Attr::create(Element* element, Document* document, PassRefPtr<Attribute> attribute) argument 50 RefPtr<Attr> attr = adoptRef(new Attr(element, document, attribute)); 65 RefPtr<Text> textNode = document()->createTextNode(m_attribute->value().string()); 149 RefPtr<Attr> clone = adoptRef(new Attr(0, document(), m_attribute->clone())); 191 return qualifiedName().matches(document()->idAttributeName());
|
H A D | Position.h | 111 Document* document() const { return m_anchorNode ? m_anchorNode->document() : 0; } function in class:WebCore::Position
|
H A D | ProcessingInstruction.cpp | 38 inline ProcessingInstruction::ProcessingInstruction(Document* document, const String& target, const String& data) argument 39 : ContainerNode(document) 53 PassRefPtr<ProcessingInstruction> ProcessingInstruction::create(Document* document, const String& target, const String& data) argument 55 return adoptRef(new ProcessingInstruction(document, target, data)); 71 document()->textRemoved(this, 0, oldLength); 100 return create(document(), m_target, m_data); 111 if (m_target == "xml-stylesheet" && document()->frame() && parentNode() == document()) { 113 // ### support stylesheet included in a fragment of this (or another) document 157 String url = document() [all...] |
H A D | StyleElement.cpp | 40 StyleElement::StyleElement(Document* document, bool createdByParser) argument 45 if (createdByParser && document && document->scriptableDocumentParser()) 46 m_startLineNumber = document->scriptableDocumentParser()->lineNumber(); 53 void StyleElement::insertedIntoDocument(Document* document, Element* element) argument 55 ASSERT(document); 57 document->addStyleSheetCandidateNode(element, m_createdByParser); 64 void StyleElement::removedFromDocument(Document* document, Element* element) argument 66 ASSERT(document); 68 document 134 Document* document = e->document(); local 169 sheetLoaded(Document* document) argument [all...] |
H A D | ViewportArguments.cpp | 181 static float numericPrefix(const String& keyString, const String& valueString, Document* document, bool* ok) argument 193 reportViewportWarning(document, UnrecognizedViewportArgumentValueError, valueString, keyString); 197 reportViewportWarning(document, TruncatedViewportArgumentValueError, valueString, keyString); 202 static float findSizeValue(const String& keyString, const String& valueString, Document* document) argument 217 float value = numericPrefix(keyString, valueString, document, &ok); 227 static float findScaleValue(const String& keyString, const String& valueString, Document* document) argument 247 float value = numericPrefix(keyString, valueString, document, &ok); 255 reportViewportWarning(document, MaximumScaleTooLargeError, String(), String()); 260 static float findUserScalableValue(const String& keyString, const String& valueString, Document* document) argument 278 float value = numericPrefix(keyString, valueString, document, 288 findTargetDensityDPIValue(const String& keyString, const String& valueString, Document* document) argument 312 setViewportFeature(const String& keyString, const String& valueString, Document* document, void* data) argument 365 parserLineNumber(Document* document) argument 375 reportViewportWarning(Document* document, ViewportErrorCode errorCode, const String& replacement1, const String& replacement2) argument [all...] |
/external/webkit/Source/WebCore/editing/ |
H A D | ApplyStyleCommand.h | 51 static PassRefPtr<ApplyStyleCommand> create(Document* document, const EditingStyle* style, EditAction action = EditActionChangeAttributes, EPropertyLevel level = PropertyDefault) argument 53 return adoptRef(new ApplyStyleCommand(document, style, action, level)); 55 static PassRefPtr<ApplyStyleCommand> create(Document* document, const EditingStyle* style, const Position& start, const Position& end, EditAction action = EditActionChangeAttributes, EPropertyLevel level = PropertyDefault) argument 57 return adoptRef(new ApplyStyleCommand(document, style, start, end, action, level)); 63 static PassRefPtr<ApplyStyleCommand> create(Document* document, const EditingStyle* style, IsInlineElementToRemoveFunction isInlineElementToRemoveFunction, EditAction action = EditActionChangeAttributes) argument 65 return adoptRef(new ApplyStyleCommand(document, style, isInlineElementToRemoveFunction, action));
|
H A D | DeleteSelectionCommand.h | 37 static PassRefPtr<DeleteSelectionCommand> create(Document* document, bool smartDelete = false, bool mergeBlocksAfterDelete = true, bool replace = false, bool expandForSpecialElements = false) argument 39 return adoptRef(new DeleteSelectionCommand(document, smartDelete, mergeBlocksAfterDelete, replace, expandForSpecialElements));
|
H A D | InsertParagraphSeparatorCommand.cpp | 51 // We don't want to return a root node (if it happens to be a div, e.g., in a document fragment) because there are no 62 InsertParagraphSeparatorCommand::InsertParagraphSeparatorCommand(Document *document, bool mustUseDefaultParagraphElement) argument 63 : CompositeEditCommand(document) 84 m_style->mergeTypingStyle(pos.anchorNode()->document()); 176 applyCommandToComposite(InsertLineBreakCommand::create(document())); 205 blockToInsert = createDefaultParagraphElement(document()); 208 blockToInsert = createDefaultParagraphElement(document()); 220 RefPtr<Element> extraBlock = createDefaultParagraphElement(document()); 293 RefPtr<Element> br = createBreakElement(document()); 342 appendNode(createBreakElement(document()) [all...] |
H A D | ModifySelectionListLevel.cpp | 38 ModifySelectionListLevelCommand::ModifySelectionListLevelCommand(Document* document) argument 39 : CompositeEditCommand(document) 137 IncreaseSelectionListLevelCommand::IncreaseSelectionListLevelCommand(Document* document, Type listType) argument 138 : ModifySelectionListLevelCommand(document) 193 newParent = createOrderedListElement(document()); 196 newParent = createUnorderedListElement(document()); 205 bool IncreaseSelectionListLevelCommand::canIncreaseSelectionListLevel(Document* document) argument 209 return canIncreaseListLevel(document->frame()->selection()->selection(), startListChild, endListChild); 212 PassRefPtr<Node> IncreaseSelectionListLevelCommand::increaseSelectionListLevel(Document* document, Type type) argument 214 ASSERT(document); 221 increaseSelectionListLevel(Document* document) argument 226 increaseSelectionListLevelOrdered(Document* document) argument 231 increaseSelectionListLevelUnordered(Document* document) argument 236 DecreaseSelectionListLevelCommand(Document* document) argument 281 canDecreaseSelectionListLevel(Document* document) argument 288 decreaseSelectionListLevel(Document* document) argument [all...] |