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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGEllipseElement.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 28 matching lines...) Expand all
39 SVGAnimatedLength* cx() const { return m_cx.get(); } 39 SVGAnimatedLength* cx() const { return m_cx.get(); }
40 SVGAnimatedLength* cy() const { return m_cy.get(); } 40 SVGAnimatedLength* cy() const { return m_cy.get(); }
41 SVGAnimatedLength* rx() const { return m_rx.get(); } 41 SVGAnimatedLength* rx() const { return m_rx.get(); }
42 SVGAnimatedLength* ry() const { return m_ry.get(); } 42 SVGAnimatedLength* ry() const { return m_ry.get(); }
43 43
44 DECLARE_VIRTUAL_TRACE(); 44 DECLARE_VIRTUAL_TRACE();
45 45
46 private: 46 private:
47 explicit SVGEllipseElement(Document&); 47 explicit SVGEllipseElement(Document&);
48 48
49 bool isPresentationAttribute(const QualifiedName&) const override;
50 bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const override;
51 void collectStyleForPresentationAttribute(const QualifiedName&, 49 void collectStyleForPresentationAttribute(const QualifiedName&,
52 const AtomicString&, 50 const AtomicString&,
53 MutableStylePropertySet*) override; 51 MutableStylePropertySet*) override;
54 52
55 void svgAttributeChanged(const QualifiedName&) override; 53 void svgAttributeChanged(const QualifiedName&) override;
56 54
57 bool selfHasRelativeLengths() const override; 55 bool selfHasRelativeLengths() const override;
58 56
59 LayoutObject* createLayoutObject(const ComputedStyle&) override; 57 LayoutObject* createLayoutObject(const ComputedStyle&) override;
60 58
61 Member<SVGAnimatedLength> m_cx; 59 Member<SVGAnimatedLength> m_cx;
62 Member<SVGAnimatedLength> m_cy; 60 Member<SVGAnimatedLength> m_cy;
63 Member<SVGAnimatedLength> m_rx; 61 Member<SVGAnimatedLength> m_rx;
64 Member<SVGAnimatedLength> m_ry; 62 Member<SVGAnimatedLength> m_ry;
65 }; 63 };
66 64
67 } // namespace blink 65 } // namespace blink
68 66
69 #endif // SVGEllipseElement_h 67 #endif // SVGEllipseElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGEllipseElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698