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

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

Issue 2415413002: Add '... implement SVGUnitTypes' to a bunch of SVG*Elements (Closed)
Patch Set: Update interface expectations Created 4 years, 2 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 19 matching lines...) Expand all
30 30
31 namespace blink { 31 namespace blink {
32 32
33 class SVGMaskElement final : public SVGElement, public SVGTests { 33 class SVGMaskElement final : public SVGElement, public SVGTests {
34 DEFINE_WRAPPERTYPEINFO(); 34 DEFINE_WRAPPERTYPEINFO();
35 USING_GARBAGE_COLLECTED_MIXIN(SVGMaskElement); 35 USING_GARBAGE_COLLECTED_MIXIN(SVGMaskElement);
36 36
37 public: 37 public:
38 DECLARE_NODE_FACTORY(SVGMaskElement); 38 DECLARE_NODE_FACTORY(SVGMaskElement);
39 39
40 enum {
41 kSvgUnitTypeUnknown = SVGUnitTypes::kSvgUnitTypeUnknown,
42 kSvgUnitTypeUserspaceonuse = SVGUnitTypes::kSvgUnitTypeUserspaceonuse,
43 kSvgUnitTypeObjectboundingbox = SVGUnitTypes::kSvgUnitTypeObjectboundingbox
44 };
45
40 SVGAnimatedLength* x() const { return m_x.get(); } 46 SVGAnimatedLength* x() const { return m_x.get(); }
41 SVGAnimatedLength* y() const { return m_y.get(); } 47 SVGAnimatedLength* y() const { return m_y.get(); }
42 SVGAnimatedLength* width() const { return m_width.get(); } 48 SVGAnimatedLength* width() const { return m_width.get(); }
43 SVGAnimatedLength* height() const { return m_height.get(); } 49 SVGAnimatedLength* height() const { return m_height.get(); }
44 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* maskUnits() { 50 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* maskUnits() {
45 return m_maskUnits.get(); 51 return m_maskUnits.get();
46 } 52 }
47 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* maskContentUnits() { 53 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* maskContentUnits() {
48 return m_maskContentUnits.get(); 54 return m_maskContentUnits.get();
49 } 55 }
(...skipping 22 matching lines...) Expand all
72 Member<SVGAnimatedLength> m_y; 78 Member<SVGAnimatedLength> m_y;
73 Member<SVGAnimatedLength> m_width; 79 Member<SVGAnimatedLength> m_width;
74 Member<SVGAnimatedLength> m_height; 80 Member<SVGAnimatedLength> m_height;
75 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> m_maskUnits; 81 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> m_maskUnits;
76 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> m_maskContentUnits; 82 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> m_maskContentUnits;
77 }; 83 };
78 84
79 } // namespace blink 85 } // namespace blink
80 86
81 #endif // SVGMaskElement_h 87 #endif // SVGMaskElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698