OLD | NEW |
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 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006 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 13 matching lines...) Expand all Loading... |
24 #include "bindings/v8/ExceptionMessages.h" | 24 #include "bindings/v8/ExceptionMessages.h" |
25 #include "bindings/v8/ExceptionStatePlaceholder.h" | 25 #include "bindings/v8/ExceptionStatePlaceholder.h" |
26 #include "bindings/v8/ScriptWrappable.h" | 26 #include "bindings/v8/ScriptWrappable.h" |
27 #include "core/dom/ExceptionCode.h" | 27 #include "core/dom/ExceptionCode.h" |
28 #include "core/svg/SVGLengthContext.h" | 28 #include "core/svg/SVGLengthContext.h" |
29 #include "core/svg/SVGParsingError.h" | 29 #include "core/svg/SVGParsingError.h" |
30 #include "core/svg/properties/NewSVGProperty.h" | 30 #include "core/svg/properties/NewSVGProperty.h" |
31 | 31 |
32 namespace WebCore { | 32 namespace WebCore { |
33 | 33 |
| 34 /* use SVGLength.h decls */ |
34 class CSSPrimitiveValue; | 35 class CSSPrimitiveValue; |
35 class ExceptionState; | 36 class ExceptionState; |
36 class QualifiedName; | 37 class QualifiedName; |
37 | 38 |
38 enum SVGLengthNegativeValuesMode { | 39 enum SVGLengthNegativeValuesMode { |
39 AllowNegativeLengths, | 40 AllowNegativeLengths, |
40 ForbidNegativeLengths | 41 ForbidNegativeLengths |
41 }; | 42 }; |
42 | 43 |
43 class SVGLengthTearOff; | 44 class SVGLengthTearOff; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 inline PassRefPtr<SVGLength> toSVGLength(PassRefPtr<NewSVGPropertyBase> passBase
) | 117 inline PassRefPtr<SVGLength> toSVGLength(PassRefPtr<NewSVGPropertyBase> passBase
) |
117 { | 118 { |
118 RefPtr<NewSVGPropertyBase> base = passBase; | 119 RefPtr<NewSVGPropertyBase> base = passBase; |
119 ASSERT(base->type() == SVGLength::classType()); | 120 ASSERT(base->type() == SVGLength::classType()); |
120 return static_pointer_cast<SVGLength>(base.release()); | 121 return static_pointer_cast<SVGLength>(base.release()); |
121 } | 122 } |
122 | 123 |
123 } // namespace WebCore | 124 } // namespace WebCore |
124 | 125 |
125 #endif // SVGLength_h | 126 #endif // SVGLength_h |
OLD | NEW |