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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGPatternElement.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, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 const { 74 const {
75 return pattern_content_units_.Get(); 75 return pattern_content_units_.Get();
76 } 76 }
77 77
78 DECLARE_VIRTUAL_TRACE(); 78 DECLARE_VIRTUAL_TRACE();
79 79
80 private: 80 private:
81 explicit SVGPatternElement(Document&); 81 explicit SVGPatternElement(Document&);
82 82
83 bool IsValid() const override { return SVGTests::IsValid(); } 83 bool IsValid() const override { return SVGTests::IsValid(); }
84 bool NeedsPendingResourceHandling() const override { return false; }
85 84
86 void CollectStyleForPresentationAttribute(const QualifiedName&, 85 void CollectStyleForPresentationAttribute(const QualifiedName&,
87 const AtomicString&, 86 const AtomicString&,
88 MutableStylePropertySet*) override; 87 MutableStylePropertySet*) override;
89 88
90 void SvgAttributeChanged(const QualifiedName&) override; 89 void SvgAttributeChanged(const QualifiedName&) override;
91 void ChildrenChanged(const ChildrenChange&) override; 90 void ChildrenChanged(const ChildrenChange&) override;
92 91
93 LayoutObject* CreateLayoutObject(const ComputedStyle&) override; 92 LayoutObject* CreateLayoutObject(const ComputedStyle&) override;
94 93
95 bool SelfHasRelativeLengths() const override; 94 bool SelfHasRelativeLengths() const override;
96 95
97 Member<SVGAnimatedLength> x_; 96 Member<SVGAnimatedLength> x_;
98 Member<SVGAnimatedLength> y_; 97 Member<SVGAnimatedLength> y_;
99 Member<SVGAnimatedLength> width_; 98 Member<SVGAnimatedLength> width_;
100 Member<SVGAnimatedLength> height_; 99 Member<SVGAnimatedLength> height_;
101 Member<SVGAnimatedTransformList> pattern_transform_; 100 Member<SVGAnimatedTransformList> pattern_transform_;
102 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> pattern_units_; 101 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> pattern_units_;
103 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> 102 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>>
104 pattern_content_units_; 103 pattern_content_units_;
105 }; 104 };
106 105
107 } // namespace blink 106 } // namespace blink
108 107
109 #endif // SVGPatternElement_h 108 #endif // SVGPatternElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGMaskElement.h ('k') | third_party/WebKit/Source/core/svg/SVGTreeScopeResources.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698