| 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) Research In Motion Limited 2010. All rights reserved. | 4 Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 5 | 5 |
| 6 Based on khtml code by: | 6 Based on khtml code by: |
| 7 Copyright (C) 2000-2003 Lars Knoll (knoll@kde.org) | 7 Copyright (C) 2000-2003 Lars Knoll (knoll@kde.org) |
| 8 (C) 2000 Antti Koivisto (koivisto@kde.org) | 8 (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 9 (C) 2000-2003 Dirk Mueller (mueller@kde.org) | 9 (C) 2000-2003 Dirk Mueller (mueller@kde.org) |
| 10 (C) 2002-2003 Apple Computer, Inc. | 10 (C) 2002-2003 Apple Computer, Inc. |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 24 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 25 Boston, MA 02110-1301, USA. | 25 Boston, MA 02110-1301, USA. |
| 26 */ | 26 */ |
| 27 | 27 |
| 28 #ifndef SVGComputedStyleDefs_h | 28 #ifndef SVGComputedStyleDefs_h |
| 29 #define SVGComputedStyleDefs_h | 29 #define SVGComputedStyleDefs_h |
| 30 | 30 |
| 31 #include "core/CoreExport.h" | 31 #include "core/CoreExport.h" |
| 32 #include "platform/Length.h" | 32 #include "platform/Length.h" |
| 33 #include "platform/graphics/Color.h" | 33 #include "platform/graphics/Color.h" |
| 34 #include "wtf/Allocator.h" |
| 34 #include "wtf/OwnPtr.h" | 35 #include "wtf/OwnPtr.h" |
| 35 #include "wtf/PassOwnPtr.h" | 36 #include "wtf/PassOwnPtr.h" |
| 36 #include "wtf/RefCounted.h" | 37 #include "wtf/RefCounted.h" |
| 37 #include "wtf/RefPtr.h" | 38 #include "wtf/RefPtr.h" |
| 38 #include "wtf/RefVector.h" | 39 #include "wtf/RefVector.h" |
| 39 #include "wtf/text/WTFString.h" | 40 #include "wtf/text/WTFString.h" |
| 40 | 41 |
| 41 namespace blink { | 42 namespace blink { |
| 42 | 43 |
| 43 typedef RefVector<Length> SVGDashArray; | 44 typedef RefVector<Length> SVGDashArray; |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 SVGPaintType visitedLinkPaintType; | 144 SVGPaintType visitedLinkPaintType; |
| 144 Color visitedLinkPaintColor; | 145 Color visitedLinkPaintColor; |
| 145 String visitedLinkPaintUri; | 146 String visitedLinkPaintUri; |
| 146 | 147 |
| 147 private: | 148 private: |
| 148 StyleFillData(); | 149 StyleFillData(); |
| 149 StyleFillData(const StyleFillData&); | 150 StyleFillData(const StyleFillData&); |
| 150 }; | 151 }; |
| 151 | 152 |
| 152 class UnzoomedLength { | 153 class UnzoomedLength { |
| 154 DISALLOW_ALLOCATION(); |
| 153 public: | 155 public: |
| 154 explicit UnzoomedLength(const Length& length) : m_length(length) { } | 156 explicit UnzoomedLength(const Length& length) : m_length(length) { } |
| 155 | 157 |
| 156 bool isZero() const { return m_length.isZero(); } | 158 bool isZero() const { return m_length.isZero(); } |
| 157 | 159 |
| 158 bool operator==(const UnzoomedLength& other) const { return m_length == othe
r.m_length; } | 160 bool operator==(const UnzoomedLength& other) const { return m_length == othe
r.m_length; } |
| 159 bool operator!=(const UnzoomedLength& other) const { return !operator==(othe
r); } | 161 bool operator!=(const UnzoomedLength& other) const { return !operator==(othe
r); } |
| 160 | 162 |
| 161 const Length& length() const { return m_length; } | 163 const Length& length() const { return m_length; } |
| 162 | 164 |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 Length rx; | 305 Length rx; |
| 304 Length ry; | 306 Length ry; |
| 305 private: | 307 private: |
| 306 StyleLayoutData(); | 308 StyleLayoutData(); |
| 307 StyleLayoutData(const StyleLayoutData&); | 309 StyleLayoutData(const StyleLayoutData&); |
| 308 }; | 310 }; |
| 309 | 311 |
| 310 } // namespace blink | 312 } // namespace blink |
| 311 | 313 |
| 312 #endif // SVGComputedStyleDefs_h | 314 #endif // SVGComputedStyleDefs_h |
| OLD | NEW |