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

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

Issue 2694573002: Don't unconditionally create a LayoutObject for SVGMarkerElement. (Closed)
Patch Set: Don't unconditionally create a LayoutObject for SVGMarkerElement. Created 3 years, 10 months 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, 2007, 2008 Nikolas Zimmermann 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann
3 * <zimmermann@kde.org> 3 * <zimmermann@kde.org>
4 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> 4 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 private: 82 private:
83 explicit SVGMarkerElement(Document&); 83 explicit SVGMarkerElement(Document&);
84 84
85 bool needsPendingResourceHandling() const override { return false; } 85 bool needsPendingResourceHandling() const override { return false; }
86 86
87 void svgAttributeChanged(const QualifiedName&) override; 87 void svgAttributeChanged(const QualifiedName&) override;
88 void childrenChanged(const ChildrenChange&) override; 88 void childrenChanged(const ChildrenChange&) override;
89 89
90 LayoutObject* createLayoutObject(const ComputedStyle&) override; 90 LayoutObject* createLayoutObject(const ComputedStyle&) override;
91 bool layoutObjectIsNeeded(const ComputedStyle&) override { return true; } 91 bool layoutObjectIsNeeded(const ComputedStyle&) override;
92 92
93 bool selfHasRelativeLengths() const override; 93 bool selfHasRelativeLengths() const override;
94 94
95 Member<SVGAnimatedLength> m_refX; 95 Member<SVGAnimatedLength> m_refX;
96 Member<SVGAnimatedLength> m_refY; 96 Member<SVGAnimatedLength> m_refY;
97 Member<SVGAnimatedLength> m_markerWidth; 97 Member<SVGAnimatedLength> m_markerWidth;
98 Member<SVGAnimatedLength> m_markerHeight; 98 Member<SVGAnimatedLength> m_markerHeight;
99 Member<SVGAnimatedAngle> m_orientAngle; 99 Member<SVGAnimatedAngle> m_orientAngle;
100 Member<SVGAnimatedEnumeration<SVGMarkerUnitsType>> m_markerUnits; 100 Member<SVGAnimatedEnumeration<SVGMarkerUnitsType>> m_markerUnits;
101 }; 101 };
102 102
103 } // namespace blink 103 } // namespace blink
104 104
105 #endif // SVGMarkerElement_h 105 #endif // SVGMarkerElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698