Searched refs:contextElement (Results 1 - 25 of 33) sorted by relevance

12

/external/webkit/Source/WebCore/svg/
H A DSVGPathSegList.cpp41 void SVGPathSegList::commitChange(SVGElement* contextElement) argument
43 ASSERT(contextElement);
44 ASSERT(contextElement->hasTagName(SVGNames::pathTag));
45 static_cast<SVGPathElement*>(contextElement)->pathSegListChanged(m_role);
H A DSVGTests.cpp111 void SVGTests::synchronizeProperties(SVGElement* contextElement, const QualifiedName& attrName) argument
114 synchronizeRequiredFeatures(contextElement);
115 synchronizeRequiredExtensions(contextElement);
116 synchronizeSystemLanguage(contextElement);
121 synchronizeRequiredFeatures(contextElement);
123 synchronizeRequiredExtensions(contextElement);
125 synchronizeSystemLanguage(contextElement);
128 void SVGTests::synchronizeRequiredFeatures(SVGElement* contextElement) argument
133 SVGAnimatedPropertySynchronizer<true>::synchronize(contextElement, SVGNames::requiredFeaturesAttr, value);
136 void SVGTests::synchronizeRequiredExtensions(SVGElement* contextElement) argument
144 synchronizeSystemLanguage(SVGElement* contextElement) argument
[all...]
H A DSVGStringList.cpp32 void SVGStringList::commitChange(SVGElement* contextElement) argument
34 ASSERT(contextElement);
35 contextElement->invalidateSVGAttributes();
36 contextElement->svgAttributeChanged(m_attributeName);
H A DSVGStringList.h44 void commitChange(SVGElement* contextElement);
H A DSVGPathSegList.h44 void commitChange(SVGElement* contextElement);
H A DSVGViewSpec.h53 SVGElement* contextElement() const { return const_cast<SVGElement*>(m_contextElement); } function in class:WebCore::SVGViewSpec
/external/webkit/Source/WebCore/svg/properties/
H A DSVGAnimatedStaticPropertyTearOff.h54 static PassRefPtr<SVGAnimatedStaticPropertyTearOff<PropertyType> > create(SVGElement* contextElement, const QualifiedName& attributeName, PropertyType& property) argument
56 ASSERT(contextElement);
57 return adoptRef(new SVGAnimatedStaticPropertyTearOff<PropertyType>(contextElement, attributeName, property));
60 SVGAnimatedStaticPropertyTearOff(SVGElement* contextElement, const QualifiedName& attributeName, PropertyType& property) argument
61 : SVGAnimatedProperty(contextElement, attributeName)
H A DSVGAnimatedTransformListPropertyTearOff.h49 static PassRefPtr<SVGAnimatedTransformListPropertyTearOff> create(SVGElement* contextElement, const QualifiedName& attributeName, SVGTransformList& values) argument
51 ASSERT(contextElement);
52 return adoptRef(new SVGAnimatedTransformListPropertyTearOff(contextElement, attributeName, values));
55 SVGAnimatedTransformListPropertyTearOff(SVGElement* contextElement, const QualifiedName& attributeName, SVGTransformList& values) argument
56 : SVGAnimatedListPropertyTearOff<SVGTransformList>(contextElement, attributeName, values)
H A DSVGStaticPropertyTearOff.h41 static PassRefPtr<Self> create(ContextElement* contextElement, PropertyType& value, UpdateMethod update) argument
43 ASSERT(contextElement);
44 return adoptRef(new Self(contextElement, value, update));
50 SVGStaticPropertyTearOff(ContextElement* contextElement, PropertyType& value, UpdateMethod update) argument
53 , m_contextElement(contextElement)
H A DSVGPathSegListPropertyTearOff.cpp52 ASSERT(static_cast<SVGPathSegWithContext*>(returnedItem.get())->contextElement() == contextElement());
67 SVGPathElement* SVGPathSegListPropertyTearOff::contextElement() const function in class:WebCore::SVGPathSegListPropertyTearOff
69 SVGElement* contextElement = m_animatedProperty->contextElement(); local
70 ASSERT(contextElement);
71 ASSERT(contextElement->hasTagName(SVGNames::pathTag));
72 return static_cast<SVGPathElement*>(contextElement);
81 newItemWithContext->setContextAndRole(contextElement(), m_pathSegRole);
H A DSVGAnimatedPathSegListPropertyTearOff.h57 static PassRefPtr<SVGAnimatedPathSegListPropertyTearOff> create(SVGElement* contextElement, const QualifiedName& attributeName, SVGPathSegList& values) argument
59 ASSERT(contextElement);
60 return adoptRef(new SVGAnimatedPathSegListPropertyTearOff(contextElement, attributeName, values));
63 SVGAnimatedPathSegListPropertyTearOff(SVGElement* contextElement, const QualifiedName& attributeName, SVGPathSegList& values) argument
64 : SVGAnimatedListPropertyTearOff<SVGPathSegList>(contextElement, attributeName, values)
H A DSVGAnimatedPropertyTearOff.h49 static PassRefPtr<SVGAnimatedPropertyTearOff<PropertyType> > create(SVGElement* contextElement, const QualifiedName& attributeName, PropertyType& property) argument
51 ASSERT(contextElement);
52 return adoptRef(new SVGAnimatedPropertyTearOff<PropertyType>(contextElement, attributeName, property));
55 SVGAnimatedPropertyTearOff(SVGElement* contextElement, const QualifiedName& attributeName, PropertyType& property) argument
56 : SVGAnimatedProperty(contextElement, attributeName)
H A DSVGAnimatedListPropertyTearOff.h88 static PassRefPtr<SVGAnimatedListPropertyTearOff<PropertyType> > create(SVGElement* contextElement, const QualifiedName& attributeName, PropertyType& values) argument
90 ASSERT(contextElement);
91 return adoptRef(new SVGAnimatedListPropertyTearOff<PropertyType>(contextElement, attributeName, values));
95 SVGAnimatedListPropertyTearOff(SVGElement* contextElement, const QualifiedName& attributeName, PropertyType& values) argument
96 : SVGAnimatedProperty(contextElement, attributeName)
H A DSVGStaticListPropertyTearOff.h36 static PassRefPtr<SVGStaticListPropertyTearOff<PropertyType> > create(SVGElement* contextElement, PropertyType& values) argument
38 ASSERT(contextElement);
39 return adoptRef(new SVGStaticListPropertyTearOff<PropertyType>(contextElement, values));
84 SVGStaticListPropertyTearOff(SVGElement* contextElement, PropertyType& values) argument
86 , m_contextElement(contextElement)
H A DSVGAnimatedPropertyMacros.h47 SVGElement* context = type->contextElement();
98 SVGElement* contextElement = GetOwnerElementForType<OwnerType, IsDerivedFromSVGElement<OwnerType>::value>::ownerElement(this); \
99 SVGAnimatedPropertySynchronizer<IsDerivedFromSVGElement<OwnerType>::value>::synchronize(contextElement, DOMAttribute, value); \
105 SVGElement* contextElement = GetOwnerElementForType<OwnerType, IsDerivedFromSVGElement<OwnerType>::value>::ownerElement(this); \
106 return SVGAnimatedProperty::lookupOrCreateWrapper<TearOffType, PropertyType>(contextElement, DOMAttribute, SVGDOMAttributeIdentifier, m_##LowerProperty.value); \
141 SVGElement* contextElement = GetOwnerElementForType<OwnerType, IsDerivedFromSVGElement<OwnerType>::value>::ownerElement(this); \
142 SVGAnimatedProperty* wrapper = SVGAnimatedProperty::lookupWrapper<TearOffType>(contextElement, DOMAttribute.localName()); \
H A DSVGAnimatedProperty.h36 SVGElement* contextElement() const { return m_contextElement.get(); } function in class:WebCore::SVGAnimatedProperty
85 SVGAnimatedProperty(SVGElement* contextElement, const QualifiedName& attributeName) argument
86 : m_contextElement(contextElement)
H A DSVGPropertyTearOff.h63 SVGElement* contextElement() const function in class:WebCore::SVGPropertyTearOff
67 return m_animatedProperty->contextElement();
H A DSVGPathSegListPropertyTearOff.h138 SVGPathElement* contextElement() const;
143 values.commitChange(m_animatedProperty->contextElement());
/external/webkit/Source/WebCore/dom/
H A DDocumentFragment.cpp78 void DocumentFragment::parseHTML(const String& source, Element* contextElement, FragmentScriptingPermission scriptingPermission) argument
80 HTMLDocumentParser::parseDocumentFragment(source, this, contextElement, scriptingPermission);
83 bool DocumentFragment::parseXML(const String& source, Element* contextElement, FragmentScriptingPermission scriptingPermission) argument
85 return XMLDocumentParser::parseDocumentFragment(source, this, contextElement, scriptingPermission);
H A DDocumentFragment.h36 void parseHTML(const String&, Element* contextElement, FragmentScriptingPermission = FragmentScriptingAllowed);
37 bool parseXML(const String&, Element* contextElement, FragmentScriptingPermission = FragmentScriptingAllowed);
/external/webkit/Source/WebCore/bindings/js/
H A DJSSVGLengthCustom.cpp37 float value = podImp.value(impl()->contextElement(), ec);
61 podImp.setValue(value.toFloat(exec), impl()->contextElement(), ec);
88 podImp.convertToSpecifiedUnits(unitType, impl()->contextElement(), ec);
/external/webkit/Source/WebCore/html/parser/
H A DHTMLDocumentParser.h63 static PassRefPtr<HTMLDocumentParser> create(DocumentFragment* fragment, Element* contextElement, FragmentScriptingPermission permission) argument
65 return adoptRef(new HTMLDocumentParser(fragment, contextElement, permission));
73 static void parseDocumentFragment(const String&, DocumentFragment*, Element* contextElement, FragmentScriptingPermission = FragmentScriptingAllowed);
92 HTMLDocumentParser(DocumentFragment*, Element* contextElement, FragmentScriptingPermission);
H A DHTMLTreeBuilder.h62 static PassOwnPtr<HTMLTreeBuilder> create(HTMLDocumentParser* parser, DocumentFragment* fragment, Element* contextElement, FragmentScriptingPermission scriptingPermission, bool usePreHTML5ParserQuirks) argument
64 return adoptPtr(new HTMLTreeBuilder(parser, fragment, contextElement, scriptingPermission, usePreHTML5ParserQuirks));
120 HTMLTreeBuilder(HTMLDocumentParser* parser, DocumentFragment*, Element* contextElement, FragmentScriptingPermission, bool usePreHTML5ParserQuirks);
212 FragmentParsingContext(DocumentFragment*, Element* contextElement, FragmentScriptingPermission);
216 Element* contextElement() const { ASSERT(m_fragment); return m_contextElement; } function in class:WebCore::HTMLTreeBuilder::FragmentParsingContext
H A DHTMLDocumentParser.cpp52 HTMLTokenizer::State tokenizerStateForContextElement(Element* contextElement, bool reportErrors) argument
54 if (!contextElement)
57 const QualifiedName& contextTag = contextElement->tagQName();
64 || (contextTag.matches(noembedTag) && HTMLTreeBuilder::pluginsEnabled(contextElement->document()->frame()))
65 || (contextTag.matches(noscriptTag) && HTMLTreeBuilder::scriptEnabled(contextElement->document()->frame()))
91 HTMLDocumentParser::HTMLDocumentParser(DocumentFragment* fragment, Element* contextElement, FragmentScriptingPermission scriptingPermission) argument
94 , m_treeBuilder(HTMLTreeBuilder::create(this, fragment, contextElement, scriptingPermission, usePreHTML5ParserQuirks(fragment->document())))
100 m_tokenizer->setState(tokenizerStateForContextElement(contextElement, reportErrors));
558 void HTMLDocumentParser::parseDocumentFragment(const String& source, DocumentFragment* fragment, Element* contextElement, FragmentScriptingPermission scriptingPermission) argument
560 RefPtr<HTMLDocumentParser> parser = HTMLDocumentParser::create(fragment, contextElement, scriptingPermissio
[all...]
/external/webkit/Source/WebCore/bindings/v8/custom/
H A DV8SVGLengthCustom.cpp48 float value = imp.value(wrapper->contextElement(), ec);
72 imp.setValue(static_cast<float>(value->NumberValue()), wrapper->contextElement(), ec);
94 imp.convertToSpecifiedUnits(unitType, wrapper->contextElement(), ec);

Completed in 227 milliseconds

12