Home
last modified time | relevance | path

Searched refs:contextElement (Results 1 – 25 of 39) sorted by relevance

12

/external/webkit/Source/WebCore/svg/
DSVGTests.cpp111 void SVGTests::synchronizeProperties(SVGElement* contextElement, const QualifiedName& attrName) in synchronizeProperties() argument
114 synchronizeRequiredFeatures(contextElement); in synchronizeProperties()
115 synchronizeRequiredExtensions(contextElement); in synchronizeProperties()
116 synchronizeSystemLanguage(contextElement); in synchronizeProperties()
121 synchronizeRequiredFeatures(contextElement); in synchronizeProperties()
123 synchronizeRequiredExtensions(contextElement); in synchronizeProperties()
125 synchronizeSystemLanguage(contextElement); in synchronizeProperties()
128 void SVGTests::synchronizeRequiredFeatures(SVGElement* contextElement) in synchronizeRequiredFeatures() argument
133 …SVGAnimatedPropertySynchronizer<true>::synchronize(contextElement, SVGNames::requiredFeaturesAttr,… in synchronizeRequiredFeatures()
136 void SVGTests::synchronizeRequiredExtensions(SVGElement* contextElement) in synchronizeRequiredExtensions() argument
[all …]
DSVGPathSegList.cpp41 void SVGPathSegList::commitChange(SVGElement* contextElement) in commitChange() argument
43 ASSERT(contextElement); in commitChange()
44 ASSERT(contextElement->hasTagName(SVGNames::pathTag)); in commitChange()
45 static_cast<SVGPathElement*>(contextElement)->pathSegListChanged(m_role); in commitChange()
DSVGStringList.cpp32 void SVGStringList::commitChange(SVGElement* contextElement) in commitChange() argument
34 ASSERT(contextElement); in commitChange()
35 contextElement->invalidateSVGAttributes(); in commitChange()
36 contextElement->svgAttributeChanged(m_attributeName); in commitChange()
DSVGViewSpec.cpp37 SVGViewSpec::SVGViewSpec(SVGElement* contextElement) in DEFINE_ANIMATED_RECT()
38 : m_contextElement(contextElement) in DEFINE_ANIMATED_RECT()
/external/webkit/Source/WebCore/svg/properties/
DSVGPathSegListPropertyTearOff.cpp52 …ERT(static_cast<SVGPathSegWithContext*>(returnedItem.get())->contextElement() == contextElement()); in getItem()
67 SVGPathElement* SVGPathSegListPropertyTearOff::contextElement() const in contextElement() function in WebCore::SVGPathSegListPropertyTearOff
69 SVGElement* contextElement = m_animatedProperty->contextElement(); in contextElement() local
70 ASSERT(contextElement); in contextElement()
71 ASSERT(contextElement->hasTagName(SVGNames::pathTag)); in contextElement()
72 return static_cast<SVGPathElement*>(contextElement); in contextElement()
81 newItemWithContext->setContextAndRole(contextElement(), m_pathSegRole); in processIncomingListItemValue()
DSVGAnimatedTransformListPropertyTearOff.h49 …static PassRefPtr<SVGAnimatedTransformListPropertyTearOff> create(SVGElement* contextElement, cons… in create() argument
51 ASSERT(contextElement); in create()
52 …return adoptRef(new SVGAnimatedTransformListPropertyTearOff(contextElement, attributeName, values)… in create()
55 …SVGAnimatedTransformListPropertyTearOff(SVGElement* contextElement, const QualifiedName& attribute… in SVGAnimatedTransformListPropertyTearOff() argument
56 : SVGAnimatedListPropertyTearOff<SVGTransformList>(contextElement, attributeName, values) in SVGAnimatedTransformListPropertyTearOff()
DSVGAnimatedStaticPropertyTearOff.h54 …<SVGAnimatedStaticPropertyTearOff<PropertyType> > create(SVGElement* contextElement, const Qualifi… in create() argument
56 ASSERT(contextElement); in create()
57 …return adoptRef(new SVGAnimatedStaticPropertyTearOff<PropertyType>(contextElement, attributeName, … in create()
60 …SVGAnimatedStaticPropertyTearOff(SVGElement* contextElement, const QualifiedName& attributeName, P… in SVGAnimatedStaticPropertyTearOff() argument
61 : SVGAnimatedProperty(contextElement, attributeName) in SVGAnimatedStaticPropertyTearOff()
DSVGStaticPropertyTearOff.h41 …static PassRefPtr<Self> create(ContextElement* contextElement, PropertyType& value, UpdateMethod u… in create() argument
43 ASSERT(contextElement); in create()
44 return adoptRef(new Self(contextElement, value, update)); in create()
50 … SVGStaticPropertyTearOff(ContextElement* contextElement, PropertyType& value, UpdateMethod update) in SVGStaticPropertyTearOff() argument
53 , m_contextElement(contextElement) in SVGStaticPropertyTearOff()
DSVGAnimatedPropertyTearOff.h49 …static PassRefPtr<SVGAnimatedPropertyTearOff<PropertyType> > create(SVGElement* contextElement, co… in create() argument
51 ASSERT(contextElement); in create()
52 …return adoptRef(new SVGAnimatedPropertyTearOff<PropertyType>(contextElement, attributeName, proper… in create()
55 …SVGAnimatedPropertyTearOff(SVGElement* contextElement, const QualifiedName& attributeName, Propert… in SVGAnimatedPropertyTearOff() argument
56 : SVGAnimatedProperty(contextElement, attributeName) in SVGAnimatedPropertyTearOff()
DSVGAnimatedPathSegListPropertyTearOff.h57 …static PassRefPtr<SVGAnimatedPathSegListPropertyTearOff> create(SVGElement* contextElement, const … in create() argument
59 ASSERT(contextElement); in create()
60 … return adoptRef(new SVGAnimatedPathSegListPropertyTearOff(contextElement, attributeName, values)); in create()
63 …SVGAnimatedPathSegListPropertyTearOff(SVGElement* contextElement, const QualifiedName& attributeNa… in SVGAnimatedPathSegListPropertyTearOff() argument
64 : SVGAnimatedListPropertyTearOff<SVGPathSegList>(contextElement, attributeName, values) in SVGAnimatedPathSegListPropertyTearOff()
DSVGAnimatedPropertyMacros.h47 SVGElement* context = type->contextElement();
98 …SVGElement* contextElement = GetOwnerElementForType<OwnerType, IsDerivedFromSVGElement<OwnerType>:…
99 …Synchronizer<IsDerivedFromSVGElement<OwnerType>::value>::synchronize(contextElement, DOMAttribute,…
105 …SVGElement* contextElement = GetOwnerElementForType<OwnerType, IsDerivedFromSVGElement<OwnerType>:…
106 …return SVGAnimatedProperty::lookupOrCreateWrapper<TearOffType, PropertyType>(contextElement, DOMAt…
141 …SVGElement* contextElement = GetOwnerElementForType<OwnerType, IsDerivedFromSVGElement<OwnerType>:…
142 …SVGAnimatedProperty* wrapper = SVGAnimatedProperty::lookupWrapper<TearOffType>(contextElement, DOM…
DSVGAnimatedListPropertyTearOff.h88 …tr<SVGAnimatedListPropertyTearOff<PropertyType> > create(SVGElement* contextElement, const Qualifi… in create() argument
90 ASSERT(contextElement); in create()
91 …return adoptRef(new SVGAnimatedListPropertyTearOff<PropertyType>(contextElement, attributeName, va… in create()
95 …SVGAnimatedListPropertyTearOff(SVGElement* contextElement, const QualifiedName& attributeName, Pro… in SVGAnimatedListPropertyTearOff() argument
96 : SVGAnimatedProperty(contextElement, attributeName) in SVGAnimatedListPropertyTearOff()
DSVGStaticListPropertyTearOff.h36 …fPtr<SVGStaticListPropertyTearOff<PropertyType> > create(SVGElement* contextElement, PropertyType&… in create() argument
38 ASSERT(contextElement); in create()
39 return adoptRef(new SVGStaticListPropertyTearOff<PropertyType>(contextElement, values)); in create()
84 SVGStaticListPropertyTearOff(SVGElement* contextElement, PropertyType& values) in SVGStaticListPropertyTearOff() argument
86 , m_contextElement(contextElement) in SVGStaticListPropertyTearOff()
DSVGAnimatedProperty.h36 SVGElement* contextElement() const { return m_contextElement.get(); } in contextElement() function
85 SVGAnimatedProperty(SVGElement* contextElement, const QualifiedName& attributeName) in SVGAnimatedProperty() argument
86 : m_contextElement(contextElement) in SVGAnimatedProperty()
DSVGPropertyTearOff.h63 SVGElement* contextElement() const in contextElement() function
67 return m_animatedProperty->contextElement(); in contextElement()
DSVGPathSegListPropertyTearOff.h138 SVGPathElement* contextElement() const;
143 values.commitChange(m_animatedProperty->contextElement()); in commitChange()
/external/webkit/Source/WebCore/dom/
DDocumentFragment.cpp78 void DocumentFragment::parseHTML(const String& source, Element* contextElement, FragmentScriptingPe… in parseHTML() argument
80 HTMLDocumentParser::parseDocumentFragment(source, this, contextElement, scriptingPermission); in parseHTML()
83 bool DocumentFragment::parseXML(const String& source, Element* contextElement, FragmentScriptingPer… in parseXML() argument
85 …return XMLDocumentParser::parseDocumentFragment(source, this, contextElement, scriptingPermission); in parseXML()
DDocumentFragment.h36 …void parseHTML(const String&, Element* contextElement, FragmentScriptingPermission = FragmentScrip…
37 …bool parseXML(const String&, Element* contextElement, FragmentScriptingPermission = FragmentScript…
DXMLDocumentParser.cpp385 …ntFragment(const String& chunk, DocumentFragment* fragment, Element* contextElement, FragmentScrip… in parseDocumentFragment() argument
393 …if (contextElement && (contextElement->hasLocalName(HTMLNames::scriptTag) || contextElement->hasLo… in parseDocumentFragment()
398 …RefPtr<XMLDocumentParser> parser = XMLDocumentParser::create(fragment, contextElement, scriptingPe… in parseDocumentFragment()
/external/webkit/Source/WebCore/html/parser/
DHTMLDocumentParser.cpp52 HTMLTokenizer::State tokenizerStateForContextElement(Element* contextElement, bool reportErrors) in tokenizerStateForContextElement() argument
54 if (!contextElement) in tokenizerStateForContextElement()
57 const QualifiedName& contextTag = contextElement->tagQName(); in tokenizerStateForContextElement()
64 …|| (contextTag.matches(noembedTag) && HTMLTreeBuilder::pluginsEnabled(contextElement->document()->… in tokenizerStateForContextElement()
65 …|| (contextTag.matches(noscriptTag) && HTMLTreeBuilder::scriptEnabled(contextElement->document()->… in tokenizerStateForContextElement()
91 HTMLDocumentParser::HTMLDocumentParser(DocumentFragment* fragment, Element* contextElement, Fragmen… in HTMLDocumentParser() argument
94 …, m_treeBuilder(HTMLTreeBuilder::create(this, fragment, contextElement, scriptingPermission, usePr… in HTMLDocumentParser()
100 m_tokenizer->setState(tokenizerStateForContextElement(contextElement, reportErrors)); in HTMLDocumentParser()
558 …tFragment(const String& source, DocumentFragment* fragment, Element* contextElement, FragmentScrip… in parseDocumentFragment() argument
560 …RefPtr<HTMLDocumentParser> parser = HTMLDocumentParser::create(fragment, contextElement, scripting… in parseDocumentFragment()
DHTMLTreeBuilder.h62 …ate(HTMLDocumentParser* parser, DocumentFragment* fragment, Element* contextElement, FragmentScrip… in create() argument
64 …return adoptPtr(new HTMLTreeBuilder(parser, fragment, contextElement, scriptingPermission, usePreH… in create()
120 …HTMLTreeBuilder(HTMLDocumentParser* parser, DocumentFragment*, Element* contextElement, FragmentSc…
212 … FragmentParsingContext(DocumentFragment*, Element* contextElement, FragmentScriptingPermission);
216 Element* contextElement() const { ASSERT(m_fragment); return m_contextElement; } in contextElement() function
DHTMLDocumentParser.h63 …fPtr<HTMLDocumentParser> create(DocumentFragment* fragment, Element* contextElement, FragmentScrip… in create() argument
65 return adoptRef(new HTMLDocumentParser(fragment, contextElement, permission)); in create()
73 …static void parseDocumentFragment(const String&, DocumentFragment*, Element* contextElement, Fragm…
92 HTMLDocumentParser(DocumentFragment*, Element* contextElement, FragmentScriptingPermission);
/external/webkit/Source/WebCore/bindings/js/
DJSSVGLengthCustom.cpp37 float value = podImp.value(impl()->contextElement(), ec); in value()
61 podImp.setValue(value.toFloat(exec), impl()->contextElement(), ec); in setValue()
88 podImp.convertToSpecifiedUnits(unitType, impl()->contextElement(), ec); in convertToSpecifiedUnits()
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8SVGLengthCustom.cpp48 float value = imp.value(wrapper->contextElement(), ec); in valueAccessorGetter()
72 imp.setValue(static_cast<float>(value->NumberValue()), wrapper->contextElement(), ec); in valueAccessorSetter()
94 imp.convertToSpecifiedUnits(unitType, wrapper->contextElement(), ec); in convertToSpecifiedUnitsCallback()
/external/webkit/Source/WebCore/html/
DHTMLElement.cpp341 …entFragment> createFragmentFromSource(const String& markup, Element* contextElement, ExceptionCode… in createFragmentFromSource() argument
343 Document* document = contextElement->document(); in createFragmentFromSource()
348 fragment->parseHTML(markup, contextElement); in createFragmentFromSource()
352 bool wasValid = fragment->parseXML(markup, contextElement); in createFragmentFromSource()
589 Element* contextElement = contextElementForInsertion(where, this, ec); in insertAdjacentHTML() local
590 if (!contextElement) in insertAdjacentHTML()
594 fragment->parseHTML(markup, contextElement); in insertAdjacentHTML()
596 if (!fragment->parseXML(markup, contextElement)) in insertAdjacentHTML()

12