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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGRectElement.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) 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 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006 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 30 matching lines...) Expand all
41 SVGAnimatedLength* width() const { return m_width.get(); } 41 SVGAnimatedLength* width() const { return m_width.get(); }
42 SVGAnimatedLength* height() const { return m_height.get(); } 42 SVGAnimatedLength* height() const { return m_height.get(); }
43 SVGAnimatedLength* rx() const { return m_rx.get(); } 43 SVGAnimatedLength* rx() const { return m_rx.get(); }
44 SVGAnimatedLength* ry() const { return m_ry.get(); } 44 SVGAnimatedLength* ry() const { return m_ry.get(); }
45 45
46 DECLARE_VIRTUAL_TRACE(); 46 DECLARE_VIRTUAL_TRACE();
47 47
48 private: 48 private:
49 explicit SVGRectElement(Document&); 49 explicit SVGRectElement(Document&);
50 50
51 bool isPresentationAttribute(const QualifiedName&) const override;
52 bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const override;
53 void collectStyleForPresentationAttribute(const QualifiedName&, 51 void collectStyleForPresentationAttribute(const QualifiedName&,
54 const AtomicString&, 52 const AtomicString&,
55 MutableStylePropertySet*) override; 53 MutableStylePropertySet*) override;
56 void svgAttributeChanged(const QualifiedName&) override; 54 void svgAttributeChanged(const QualifiedName&) override;
57 55
58 bool selfHasRelativeLengths() const override; 56 bool selfHasRelativeLengths() const override;
59 57
60 LayoutObject* createLayoutObject(const ComputedStyle&) override; 58 LayoutObject* createLayoutObject(const ComputedStyle&) override;
61 59
62 Member<SVGAnimatedLength> m_x; 60 Member<SVGAnimatedLength> m_x;
63 Member<SVGAnimatedLength> m_y; 61 Member<SVGAnimatedLength> m_y;
64 Member<SVGAnimatedLength> m_width; 62 Member<SVGAnimatedLength> m_width;
65 Member<SVGAnimatedLength> m_height; 63 Member<SVGAnimatedLength> m_height;
66 Member<SVGAnimatedLength> m_rx; 64 Member<SVGAnimatedLength> m_rx;
67 Member<SVGAnimatedLength> m_ry; 65 Member<SVGAnimatedLength> m_ry;
68 }; 66 };
69 67
70 } // namespace blink 68 } // namespace blink
71 69
72 #endif // SVGRectElement_h 70 #endif // SVGRectElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGPathElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGRectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698