OLD | NEW |
1 /* | 1 /* |
2 Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
3 2004, 2005 Rob Buis <buis@kde.org> | 3 2004, 2005 Rob Buis <buis@kde.org> |
4 Copyright (C) 2005, 2006 Apple Computer, Inc. | 4 Copyright (C) 2005, 2006 Apple Computer, Inc. |
5 Copyright (C) Research In Motion Limited 2010. All rights reserved. | 5 Copyright (C) Research In Motion Limited 2010. All rights reserved. |
6 | 6 |
7 This library is free software; you can redistribute it and/or | 7 This library is free software; you can redistribute it and/or |
8 modify it under the terms of the GNU Library General Public | 8 modify it under the terms of the GNU Library General Public |
9 License as published by the Free Software Foundation; either | 9 License as published by the Free Software Foundation; either |
10 version 2 of the License, or (at your option) any later version. | 10 version 2 of the License, or (at your option) any later version. |
(...skipping 12 matching lines...) Expand all Loading... |
23 #ifndef SVGComputedStyle_h | 23 #ifndef SVGComputedStyle_h |
24 #define SVGComputedStyle_h | 24 #define SVGComputedStyle_h |
25 | 25 |
26 #include "core/CoreExport.h" | 26 #include "core/CoreExport.h" |
27 #include "core/style/DataRef.h" | 27 #include "core/style/DataRef.h" |
28 #include "core/style/ComputedStyleConstants.h" | 28 #include "core/style/ComputedStyleConstants.h" |
29 #include "core/style/SVGComputedStyleDefs.h" | 29 #include "core/style/SVGComputedStyleDefs.h" |
30 #include "core/style/StyleDifference.h" | 30 #include "core/style/StyleDifference.h" |
31 #include "platform/Length.h" | 31 #include "platform/Length.h" |
32 #include "platform/graphics/GraphicsTypes.h" | 32 #include "platform/graphics/GraphicsTypes.h" |
| 33 #include "wtf/Forward.h" |
| 34 #include "wtf/RefCounted.h" |
33 | 35 |
34 namespace blink { | 36 namespace blink { |
35 | 37 |
36 class CORE_EXPORT SVGComputedStyle : public RefCounted<SVGComputedStyle> { | 38 class CORE_EXPORT SVGComputedStyle : public RefCounted<SVGComputedStyle> { |
37 public: | 39 public: |
38 static PassRefPtr<SVGComputedStyle> create() { return adoptRef(new SVGComput
edStyle); } | 40 static PassRefPtr<SVGComputedStyle> create() { return adoptRef(new SVGComput
edStyle); } |
39 PassRefPtr<SVGComputedStyle> copy() const { return adoptRef(new SVGComputedS
tyle(*this));} | 41 PassRefPtr<SVGComputedStyle> copy() const { return adoptRef(new SVGComputedS
tyle(*this));} |
40 ~SVGComputedStyle(); | 42 ~SVGComputedStyle(); |
41 | 43 |
42 bool inheritedNotEqual(const SVGComputedStyle*) const; | 44 bool inheritedNotEqual(const SVGComputedStyle*) const; |
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 svg_noninherited_flags.f.baselineShift = initialBaselineShift(); | 487 svg_noninherited_flags.f.baselineShift = initialBaselineShift(); |
486 svg_noninherited_flags.f.vectorEffect = initialVectorEffect(); | 488 svg_noninherited_flags.f.vectorEffect = initialVectorEffect(); |
487 svg_noninherited_flags.f.bufferedRendering = initialBufferedRendering(); | 489 svg_noninherited_flags.f.bufferedRendering = initialBufferedRendering(); |
488 svg_noninherited_flags.f.maskType = initialMaskType(); | 490 svg_noninherited_flags.f.maskType = initialMaskType(); |
489 } | 491 } |
490 }; | 492 }; |
491 | 493 |
492 } // namespace blink | 494 } // namespace blink |
493 | 495 |
494 #endif // SVGComputedStyle_h | 496 #endif // SVGComputedStyle_h |
OLD | NEW |