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

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

Issue 2824823003: DOM-based SVG resource tracking (Closed)
Patch Set: Update baselines Created 3 years, 7 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 SVGAnimatedAngle* orientAngle() { return orient_angle_.Get(); } 75 SVGAnimatedAngle* orientAngle() { return orient_angle_.Get(); }
76 SVGAnimatedEnumeration<SVGMarkerOrientType>* orientType() { 76 SVGAnimatedEnumeration<SVGMarkerOrientType>* orientType() {
77 return orient_angle_->OrientType(); 77 return orient_angle_->OrientType();
78 } 78 }
79 79
80 DECLARE_VIRTUAL_TRACE(); 80 DECLARE_VIRTUAL_TRACE();
81 81
82 private: 82 private:
83 explicit SVGMarkerElement(Document&); 83 explicit SVGMarkerElement(Document&);
84 84
85 bool NeedsPendingResourceHandling() const override { return false; }
86
87 void SvgAttributeChanged(const QualifiedName&) override; 85 void SvgAttributeChanged(const QualifiedName&) override;
88 void ChildrenChanged(const ChildrenChange&) override; 86 void ChildrenChanged(const ChildrenChange&) override;
89 87
90 LayoutObject* CreateLayoutObject(const ComputedStyle&) override; 88 LayoutObject* CreateLayoutObject(const ComputedStyle&) override;
91 bool LayoutObjectIsNeeded(const ComputedStyle&) override; 89 bool LayoutObjectIsNeeded(const ComputedStyle&) override;
92 90
93 bool SelfHasRelativeLengths() const override; 91 bool SelfHasRelativeLengths() const override;
94 92
95 Member<SVGAnimatedLength> ref_x_; 93 Member<SVGAnimatedLength> ref_x_;
96 Member<SVGAnimatedLength> ref_y_; 94 Member<SVGAnimatedLength> ref_y_;
97 Member<SVGAnimatedLength> marker_width_; 95 Member<SVGAnimatedLength> marker_width_;
98 Member<SVGAnimatedLength> marker_height_; 96 Member<SVGAnimatedLength> marker_height_;
99 Member<SVGAnimatedAngle> orient_angle_; 97 Member<SVGAnimatedAngle> orient_angle_;
100 Member<SVGAnimatedEnumeration<SVGMarkerUnitsType>> marker_units_; 98 Member<SVGAnimatedEnumeration<SVGMarkerUnitsType>> marker_units_;
101 }; 99 };
102 100
103 } // namespace blink 101 } // namespace blink
104 102
105 #endif // SVGMarkerElement_h 103 #endif // SVGMarkerElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGGradientElement.h ('k') | third_party/WebKit/Source/core/svg/SVGMaskElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698