Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGPatternElement.h

Issue 2478233002: Make 'transform' a presentation attribute on SVG elements (Closed)
Patch Set: Rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 } 77 }
78 78
79 DECLARE_VIRTUAL_TRACE(); 79 DECLARE_VIRTUAL_TRACE();
80 80
81 private: 81 private:
82 explicit SVGPatternElement(Document&); 82 explicit SVGPatternElement(Document&);
83 83
84 bool isValid() const override { return SVGTests::isValid(); } 84 bool isValid() const override { return SVGTests::isValid(); }
85 bool needsPendingResourceHandling() const override { return false; } 85 bool needsPendingResourceHandling() const override { return false; }
86 86
87 void collectStyleForPresentationAttribute(const QualifiedName&,
88 const AtomicString&,
89 MutableStylePropertySet*) override;
90
87 void svgAttributeChanged(const QualifiedName&) override; 91 void svgAttributeChanged(const QualifiedName&) override;
88 void childrenChanged(const ChildrenChange&) override; 92 void childrenChanged(const ChildrenChange&) override;
89 93
90 LayoutObject* createLayoutObject(const ComputedStyle&) override; 94 LayoutObject* createLayoutObject(const ComputedStyle&) override;
91 95
92 bool selfHasRelativeLengths() const override; 96 bool selfHasRelativeLengths() const override;
93 97
94 Member<SVGAnimatedLength> m_x; 98 Member<SVGAnimatedLength> m_x;
95 Member<SVGAnimatedLength> m_y; 99 Member<SVGAnimatedLength> m_y;
96 Member<SVGAnimatedLength> m_width; 100 Member<SVGAnimatedLength> m_width;
97 Member<SVGAnimatedLength> m_height; 101 Member<SVGAnimatedLength> m_height;
98 Member<SVGAnimatedTransformList> m_patternTransform; 102 Member<SVGAnimatedTransformList> m_patternTransform;
99 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> m_patternUnits; 103 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> m_patternUnits;
100 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> 104 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>>
101 m_patternContentUnits; 105 m_patternContentUnits;
102 }; 106 };
103 107
104 } // namespace blink 108 } // namespace blink
105 109
106 #endif // SVGPatternElement_h 110 #endif // SVGPatternElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698