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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGMaskElement.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) 2005 Alexander Kellett <lypanov@kde.org> 2 * Copyright (C) 2005 Alexander Kellett <lypanov@kde.org>
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* maskContentUnits() { 47 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* maskContentUnits() {
48 return mask_content_units_.Get(); 48 return mask_content_units_.Get();
49 } 49 }
50 50
51 DECLARE_VIRTUAL_TRACE(); 51 DECLARE_VIRTUAL_TRACE();
52 52
53 private: 53 private:
54 explicit SVGMaskElement(Document&); 54 explicit SVGMaskElement(Document&);
55 55
56 bool IsValid() const override { return SVGTests::IsValid(); } 56 bool IsValid() const override { return SVGTests::IsValid(); }
57 bool NeedsPendingResourceHandling() const override { return false; }
58 57
59 void CollectStyleForPresentationAttribute(const QualifiedName&, 58 void CollectStyleForPresentationAttribute(const QualifiedName&,
60 const AtomicString&, 59 const AtomicString&,
61 MutableStylePropertySet*) override; 60 MutableStylePropertySet*) override;
62 void SvgAttributeChanged(const QualifiedName&) override; 61 void SvgAttributeChanged(const QualifiedName&) override;
63 void ChildrenChanged(const ChildrenChange&) override; 62 void ChildrenChanged(const ChildrenChange&) override;
64 63
65 LayoutObject* CreateLayoutObject(const ComputedStyle&) override; 64 LayoutObject* CreateLayoutObject(const ComputedStyle&) override;
66 65
67 bool SelfHasRelativeLengths() const override; 66 bool SelfHasRelativeLengths() const override;
68 67
69 Member<SVGAnimatedLength> x_; 68 Member<SVGAnimatedLength> x_;
70 Member<SVGAnimatedLength> y_; 69 Member<SVGAnimatedLength> y_;
71 Member<SVGAnimatedLength> width_; 70 Member<SVGAnimatedLength> width_;
72 Member<SVGAnimatedLength> height_; 71 Member<SVGAnimatedLength> height_;
73 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> mask_units_; 72 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> mask_units_;
74 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> mask_content_units_; 73 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> mask_content_units_;
75 }; 74 };
76 75
77 } // namespace blink 76 } // namespace blink
78 77
79 #endif // SVGMaskElement_h 78 #endif // SVGMaskElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGMarkerElement.h ('k') | third_party/WebKit/Source/core/svg/SVGPatternElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698