Searched defs:element (Results 251 - 275 of 675) sorted by relevance

<<11121314151617181920>>

/external/webkit/Source/WebCore/dom/
H A DAttr.cpp37 inline Attr::Attr(Element* element, Document* document, PassRefPtr<Attribute> attribute) argument
39 , m_element(element)
48 PassRefPtr<Attr> Attr::create(Element* element, Document* document, PassRefPtr<Attribute> attribute) argument
50 RefPtr<Attr> attr = adoptRef(new Attr(element, document, attribute));
H A DNamedNodeMap.h40 static PassRefPtr<NamedNodeMap> create(Element* element = 0)
42 return adoptRef(new NamedNodeMap(element));
95 Element* element() const { return m_element; } function in class:WebCore::NamedNodeMap
106 NamedNodeMap(Element* element) argument
108 , m_element(element)
H A DStyleElement.cpp53 void StyleElement::insertedIntoDocument(Document* document, Element* element) argument
56 ASSERT(element);
57 document->addStyleSheetCandidateNode(element, m_createdByParser);
61 process(element);
64 void StyleElement::removedFromDocument(Document* document, Element* element) argument
67 ASSERT(element);
68 document->removeStyleSheetCandidateNode(element);
71 ASSERT(m_sheet->ownerNode() == element);
81 void StyleElement::childrenChanged(Element* element) argument
83 ASSERT(element);
90 finishParsingChildren(Element* element) argument
[all...]
/external/webkit/Source/WebCore/editing/
H A DApplyStyleCommand.h59 static PassRefPtr<ApplyStyleCommand> create(PassRefPtr<Element> element, bool removeOnly = false, EditAction action = EditActionChangeAttributes) argument
61 return adoptRef(new ApplyStyleCommand(element, removeOnly, action));
81 inline bool shouldRemoveInlineStyleFromElement(EditingStyle* style, HTMLElement* element) {return removeInlineStyleFromElement(style, element, RemoveNone);} argument
H A DDeleteButtonController.cpp80 // Disallow the body element since it isn't practical to delete, and the deletion UI would be clipped.
166 Node* element = enclosingNodeOfType(firstPositionInNode(container), &isDeletableElement);
167 return element && element->isHTMLElement() ? toHTMLElement(element) : 0;
180 // If the base is inside a deletable element, give the element a delete widget.
259 void DeleteButtonController::show(HTMLElement* element) argument
263 if (!enabled() || !element || !element
[all...]
/external/webkit/Source/WebCore/html/
H A DFileInputType.cpp41 inline FileInputType::FileInputType(HTMLInputElement* element) argument
42 : BaseButtonInputType(element)
47 PassOwnPtr<InputType> FileInputType::create(HTMLInputElement* element) argument
49 return adoptPtr(new FileInputType(element));
59 FileList* fileList = element()->files();
70 encoding.appendData(element()->name(), fileList->item(i)->fileName());
77 encoding.appendBlob(element()->name(), File::create(""));
82 encoding.appendBlob(element()->name(), fileList->item(i));
93 return element()->multiple() ? validationMessageValueMissingForMultipleFileText() : validationMessageValueMissingForFileText();
98 if (element()
[all...]
H A DHTMLFormCollection.cpp86 HTMLElement* element = toHTMLElement(elementsArray[i]); local
89 info()->current = element;
91 return element;
114 HTMLElement* element = toHTMLElement(associatedElement); local
115 if (associatedElement->isEnumeratable() && element->getAttribute(attrName) == name) {
118 return element;
125 HTMLImageElement* element = form->m_imageElements[i]; local
126 if (element->getAttribute(attrName) == name) {
128 return element;
197 HTMLElement* element local
224 HTMLImageElement* element = f->m_imageElements[i]; local
[all...]
H A DMediaDocument.cpp190 // replaceChild will destroy the element, media player, and media engine.
205 RefPtr<Element> element = Document::createElement(embedTag, false); local
206 HTMLEmbedElement* embedElement = static_cast<HTMLEmbedElement*>(element.get());
H A DMonthInputType.cpp49 PassOwnPtr<InputType> MonthInputType::create(HTMLInputElement* element) argument
51 return adoptPtr(new MonthInputType(element));
62 if (!parseToDateComponents(element()->value(), &date))
73 element()->setValue(String());
76 element()->setValue(date.toString());
96 return parseToDouble(element()->fastGetAttribute(minAttr), DateComponents::minimumMonth());
101 return parseToDouble(element()->fastGetAttribute(maxAttr), DateComponents::maximumMonth());
/external/webkit/Source/WebCore/html/parser/
H A DHTMLFormattingElementList.h50 explicit Entry(Element* element) argument
51 : m_element(element)
53 ASSERT(element);
64 Element* element() const function in class:WebCore::HTMLFormattingElementList::Entry
67 // callers should check isMarker() before calling element().
71 void replaceElement(PassRefPtr<Element> element) { m_element = element; } argument
74 bool operator==(Element* element) const { return m_element == element; }
75 bool operator!=(Element* element) cons
[all...]
H A DHTMLScriptRunner.cpp102 return ScriptSourceCode(script.element()->textContent(), documentURLForScriptExecution(m_document), script.startingPosition());
136 RefPtr<Element> element = pendingScript.releaseElementAndClear(); local
137 if (ScriptElement* scriptElement = toScriptElement(element.get())) {
141 element->dispatchEvent(createScriptErrorEvent());
145 element->dispatchEvent(createScriptLoadEvent());
191 return !!m_parsingBlockingScript.element();
243 void HTMLScriptRunner::requestParsingBlockingScript(Element* element) argument
245 if (!requestPendingScript(m_parsingBlockingScript, element))
257 void HTMLScriptRunner::requestDeferredScript(Element* element) argument
260 if (!requestPendingScript(pendingScript, element))
[all...]
/external/webkit/Source/WebCore/html/shadow/
H A DTextControlInnerElements.h154 inline InputFieldSpeechButtonElement* toInputFieldSpeechButtonElement(Element* element) argument
156 ASSERT(!element || element->isInputFieldSpeechButtonElement());
157 return static_cast<InputFieldSpeechButtonElement*>(element);
/external/webkit/Source/WebCore/loader/cache/
H A DCachedFont.cpp169 SVGFontElement* element = static_cast<SVGFontElement*>(list->item(i)); local
170 if (element->getIdAttribute() == fontName)
171 return element;
/external/webkit/Source/WebCore/platform/chromium/
H A DPasteboardChromium.cpp148 Element* element = static_cast<Element*>(node); local
149 urlString = element->getAttribute(element->imageSourceAttributeName());
/external/webkit/Source/WebCore/rendering/mathml/
H A DRenderMathMLSubSup.cpp49 RenderMathMLSubSup::RenderMathMLSubSup(Element* element) argument
50 : RenderMathMLBlock(element)
53 // Determine what kind of under/over expression we have by element name
54 if (element->hasLocalName(MathMLNames::msubTag))
56 else if (element->hasLocalName(MathMLNames::msupTag))
58 else if (element->hasLocalName(MathMLNames::msubsupTag))
H A DRenderMathMLUnderOver.cpp44 Element* element = static_cast<Element*>(expression); local
45 // Determine what kind of under/over expression we have by element name
47 if (element->hasLocalName(MathMLNames::munderTag))
49 else if (element->hasLocalName(MathMLNames::moverTag))
51 else if (element->hasLocalName(MathMLNames::munderoverTag))
105 // We will treat this as another under element and they'll get something funky.
/external/webkit/Source/WebCore/rendering/svg/
H A DSVGMarkerData.h89 void updateMarkerDataForPathElement(const PathElement* element) argument
91 FloatPoint* points = element->points;
93 switch (element->type) {
/external/webkit/Source/WebCore/svg/
H A DSVGAnimateTransformElement.cpp101 static SVGTransformList* transformListFor(SVGElement* element) argument
103 ASSERT(element);
104 if (element->isStyledTransformable())
105 return &static_cast<SVGStyledTransformableElement*>(element)->transform();
106 if (element->hasTagName(SVGNames::textTag))
107 return &static_cast<SVGTextElement*>(element)->transform();
108 if (element->hasTagName(SVGNames::linearGradientTag) || element->hasTagName(SVGNames::radialGradientTag))
109 return &static_cast<SVGGradientElement*>(element)->gradientTransform();
186 // We accumulate to the target element transfor
[all...]
H A DSVGGlyphElement.cpp54 if (SVGFontElement* element = static_cast<SVGFontElement*>(fontNode))
55 element->invalidateGlyphCache();
126 static inline float parseSVGGlyphAttribute(const SVGElement* element, const WebCore::QualifiedName& name) argument
128 AtomicString value(element->getAttribute(name));
149 SVGGlyphIdentifier SVGGlyphElement::buildGenericGlyphIdentifier(const SVGElement* element) argument
152 identifier.pathData = parsePathData(element->getAttribute(dAttr));
158 identifier.horizontalAdvanceX = parseSVGGlyphAttribute(element, horiz_adv_xAttr);
163 identifier.verticalOriginX = parseSVGGlyphAttribute(element, vert_origin_xAttr);
168 identifier.verticalOriginY = parseSVGGlyphAttribute(element, vert_origin_yAttr);
173 identifier.verticalAdvanceY = parseSVGGlyphAttribute(element, vert_adv_yAtt
[all...]
H A DSVGGradientElement.cpp154 SVGElement* element = n->isSVGElement() ? static_cast<SVGElement*>(n) : 0; local
155 if (!element || !element->isGradientStop())
158 SVGStopElement* stop = static_cast<SVGStopElement*>(element);
H A DSVGPathSegArc.h31 SVGPathSegArc(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) argument
32 : SVGPathSegWithContext(element, role)
105 static PassRefPtr<SVGPathSegArcAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) argument
107 return adoptRef(new SVGPathSegArcAbs(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag));
111 SVGPathSegArcAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) argument
112 : SVGPathSegArc(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag)
122 static PassRefPtr<SVGPathSegArcRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) argument
124 return adoptRef(new SVGPathSegArcRel(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag));
128 SVGPathSegArcRel(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) argument
129 : SVGPathSegArc(element, rol
[all...]
H A DSVGPathSegCurvetoCubic.h31 SVGPathSegCurvetoCubic(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2) argument
32 : SVGPathSegWithContext(element, role)
95 static PassRefPtr<SVGPathSegCurvetoCubicAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2) argument
97 return adoptRef(new SVGPathSegCurvetoCubicAbs(element, role, x, y, x1, y1, x2, y2));
101 SVGPathSegCurvetoCubicAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2) argument
102 : SVGPathSegCurvetoCubic(element, role, x, y, x1, y1, x2, y2)
112 static PassRefPtr<SVGPathSegCurvetoCubicRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2) argument
114 return adoptRef(new SVGPathSegCurvetoCubicRel(element, role, x, y, x1, y1, x2, y2));
118 SVGPathSegCurvetoCubicRel(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2) argument
119 : SVGPathSegCurvetoCubic(element, rol
[all...]
/external/webkit/Source/WebCore/wml/
H A DWMLOptGroupElement.cpp58 static inline WMLSelectElement* ownerSelectElement(Element* element) argument
60 ContainerNode* select = element->parentNode();
H A DWMLOptionElement.cpp57 static inline WMLSelectElement* ownerSelectElement(Element* element) argument
59 ContainerNode* select = element->parentNode();
/external/webkit/Source/WebKit/chromium/src/
H A DWebHTTPBody.cpp74 const FormDataElement& element = m_private->elements()[index]; local
83 switch (element.m_type) {
86 result.data.assign(element.m_data.data(), element.m_data.size());
90 result.filePath = element.m_filename;
92 result.fileStart = element.m_fileStart;
93 result.fileLength = element.m_fileLength;
94 result.modificationTime = element.m_expectedFileModificationTime;
100 result.blobURL = element.m_blobURL;

Completed in 330 milliseconds

<<11121314151617181920>>