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

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

Issue 2485663002: Store CSSPropertyID in SVGAnimatedPropertyBase (Closed)
Patch Set: Add missing case Created 4 years, 1 month 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) 2005 Alexander Kellett <lypanov@kde.org> 2 * Copyright (C) 2005 Alexander Kellett <lypanov@kde.org>
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 } 49 }
50 50
51 DECLARE_VIRTUAL_TRACE(); 51 DECLARE_VIRTUAL_TRACE();
52 52
53 private: 53 private:
54 explicit SVGMaskElement(Document&); 54 explicit SVGMaskElement(Document&);
55 55
56 bool isValid() const override { return SVGTests::isValid(); } 56 bool isValid() const override { return SVGTests::isValid(); }
57 bool needsPendingResourceHandling() const override { return false; } 57 bool needsPendingResourceHandling() const override { return false; }
58 58
59 bool isPresentationAttribute(const QualifiedName&) const override;
60 bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const override;
61 void collectStyleForPresentationAttribute(const QualifiedName&, 59 void collectStyleForPresentationAttribute(const QualifiedName&,
62 const AtomicString&, 60 const AtomicString&,
63 MutableStylePropertySet*) override; 61 MutableStylePropertySet*) override;
64 void svgAttributeChanged(const QualifiedName&) override; 62 void svgAttributeChanged(const QualifiedName&) override;
65 void childrenChanged(const ChildrenChange&) override; 63 void childrenChanged(const ChildrenChange&) override;
66 64
67 LayoutObject* createLayoutObject(const ComputedStyle&) override; 65 LayoutObject* createLayoutObject(const ComputedStyle&) override;
68 66
69 bool selfHasRelativeLengths() const override; 67 bool selfHasRelativeLengths() const override;
70 68
71 Member<SVGAnimatedLength> m_x; 69 Member<SVGAnimatedLength> m_x;
72 Member<SVGAnimatedLength> m_y; 70 Member<SVGAnimatedLength> m_y;
73 Member<SVGAnimatedLength> m_width; 71 Member<SVGAnimatedLength> m_width;
74 Member<SVGAnimatedLength> m_height; 72 Member<SVGAnimatedLength> m_height;
75 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> m_maskUnits; 73 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> m_maskUnits;
76 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> m_maskContentUnits; 74 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> m_maskContentUnits;
77 }; 75 };
78 76
79 } // namespace blink 77 } // namespace blink
80 78
81 #endif // SVGMaskElement_h 79 #endif // SVGMaskElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGImageElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGMaskElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698