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 11 matching lines...) Expand all Loading... |
22 You should have received a copy of the GNU Library General Public License | 22 You should have received a copy of the GNU Library General Public License |
23 along with this library; see the file COPYING.LIB. If not, write to | 23 along with this library; see the file COPYING.LIB. If not, write to |
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 "core/css/CSSPathValue.h" | 32 #include "core/style/StylePath.h" |
33 #include "platform/Length.h" | 33 #include "platform/Length.h" |
34 #include "platform/graphics/Color.h" | 34 #include "platform/graphics/Color.h" |
35 #include "wtf/Allocator.h" | 35 #include "wtf/Allocator.h" |
36 #include "wtf/OwnPtr.h" | 36 #include "wtf/OwnPtr.h" |
37 #include "wtf/PassOwnPtr.h" | 37 #include "wtf/PassOwnPtr.h" |
38 #include "wtf/RefCounted.h" | 38 #include "wtf/RefCounted.h" |
39 #include "wtf/RefPtr.h" | 39 #include "wtf/RefPtr.h" |
40 #include "wtf/RefVector.h" | 40 #include "wtf/RefVector.h" |
41 #include "wtf/text/WTFString.h" | 41 #include "wtf/text/WTFString.h" |
42 | 42 |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 // Positioning and sizing properties. | 283 // Positioning and sizing properties. |
284 class StyleLayoutData : public RefCounted<StyleLayoutData> { | 284 class StyleLayoutData : public RefCounted<StyleLayoutData> { |
285 public: | 285 public: |
286 static PassRefPtr<StyleLayoutData> create() { return adoptRef(new StyleL
ayoutData); } | 286 static PassRefPtr<StyleLayoutData> create() { return adoptRef(new StyleL
ayoutData); } |
287 PassRefPtr<StyleLayoutData> copy() const; | 287 PassRefPtr<StyleLayoutData> copy() const; |
288 bool operator==(const StyleLayoutData&) const; | 288 bool operator==(const StyleLayoutData&) const; |
289 bool operator!=(const StyleLayoutData& other) const | 289 bool operator!=(const StyleLayoutData& other) const |
290 { | 290 { |
291 return !(*this == other); | 291 return !(*this == other); |
292 } | 292 } |
293 RefPtrWillBePersistent<CSSPathValue> d; | 293 RefPtr<StylePath> d; |
294 Length cx; | 294 Length cx; |
295 Length cy; | 295 Length cy; |
296 Length x; | 296 Length x; |
297 Length y; | 297 Length y; |
298 Length r; | 298 Length r; |
299 Length rx; | 299 Length rx; |
300 Length ry; | 300 Length ry; |
301 private: | 301 private: |
302 StyleLayoutData(); | 302 StyleLayoutData(); |
303 StyleLayoutData(const StyleLayoutData&); | 303 StyleLayoutData(const StyleLayoutData&); |
304 }; | 304 }; |
305 | 305 |
306 } // namespace blink | 306 } // namespace blink |
307 | 307 |
308 #endif // SVGComputedStyleDefs_h | 308 #endif // SVGComputedStyleDefs_h |
OLD | NEW |