OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> |
4 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
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 15 matching lines...) Expand all Loading... |
26 #include "core/svg/properties/SVGPropertyHelper.h" | 26 #include "core/svg/properties/SVGPropertyHelper.h" |
27 | 27 |
28 namespace blink { | 28 namespace blink { |
29 | 29 |
30 class SVGAngle; | 30 class SVGAngle; |
31 class SVGAngleTearOff; | 31 class SVGAngleTearOff; |
32 | 32 |
33 enum SVGMarkerOrientType { | 33 enum SVGMarkerOrientType { |
34 SVGMarkerOrientUnknown = 0, | 34 SVGMarkerOrientUnknown = 0, |
35 SVGMarkerOrientAuto, | 35 SVGMarkerOrientAuto, |
36 SVGMarkerOrientAngle | 36 SVGMarkerOrientAngle, |
| 37 SVGMarkerOrientAutoStartReverse |
37 }; | 38 }; |
38 template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGMarkerOr
ientType>(); | 39 template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGMarkerOr
ientType>(); |
| 40 template<> unsigned short getMaxExposedEnumValue<SVGMarkerOrientType>(); |
39 | 41 |
40 class SVGMarkerOrientEnumeration : public SVGEnumeration<SVGMarkerOrientType> { | 42 class SVGMarkerOrientEnumeration : public SVGEnumeration<SVGMarkerOrientType> { |
41 public: | 43 public: |
42 static PassRefPtr<SVGMarkerOrientEnumeration> create(SVGAngle* angle) | 44 static PassRefPtr<SVGMarkerOrientEnumeration> create(SVGAngle* angle) |
43 { | 45 { |
44 return adoptRef(new SVGMarkerOrientEnumeration(angle)); | 46 return adoptRef(new SVGMarkerOrientEnumeration(angle)); |
45 } | 47 } |
46 | 48 |
47 virtual ~SVGMarkerOrientEnumeration(); | 49 virtual ~SVGMarkerOrientEnumeration(); |
48 | 50 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 inline PassRefPtr<SVGAngle> toSVGAngle(PassRefPtr<SVGPropertyBase> passBase) | 120 inline PassRefPtr<SVGAngle> toSVGAngle(PassRefPtr<SVGPropertyBase> passBase) |
119 { | 121 { |
120 RefPtr<SVGPropertyBase> base = passBase; | 122 RefPtr<SVGPropertyBase> base = passBase; |
121 ASSERT(base->type() == SVGAngle::classType()); | 123 ASSERT(base->type() == SVGAngle::classType()); |
122 return static_pointer_cast<SVGAngle>(base.release()); | 124 return static_pointer_cast<SVGAngle>(base.release()); |
123 } | 125 } |
124 | 126 |
125 } // namespace blink | 127 } // namespace blink |
126 | 128 |
127 #endif // SVGAngle_h | 129 #endif // SVGAngle_h |
OLD | NEW |