Chromium Code Reviews| 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 267 // Positioning and sizing properties. | 267 // Positioning and sizing properties. |
| 268 class StyleLayoutData : public RefCounted<StyleLayoutData> { | 268 class StyleLayoutData : public RefCounted<StyleLayoutData> { |
| 269 public: | 269 public: |
| 270 static PassRefPtr<StyleLayoutData> create() { return adoptRef(new StyleL ayoutData); } | 270 static PassRefPtr<StyleLayoutData> create() { return adoptRef(new StyleL ayoutData); } |
| 271 PassRefPtr<StyleLayoutData> copy() const; | 271 PassRefPtr<StyleLayoutData> copy() const; |
| 272 bool operator==(const StyleLayoutData&) const; | 272 bool operator==(const StyleLayoutData&) const; |
| 273 bool operator!=(const StyleLayoutData& other) const | 273 bool operator!=(const StyleLayoutData& other) const |
| 274 { | 274 { |
| 275 return !(*this == other); | 275 return !(*this == other); |
| 276 } | 276 } |
| 277 Length cx; | |
|
fs
2015/03/09 12:34:33
(Just a note) We're now at 7 * 8 = 56 bytes (paylo
Erik Dahlström (inactive)
2015/03/09 13:59:02
Yes, we might want to compact or split this in the
| |
| 278 Length cy; | |
| 277 Length x; | 279 Length x; |
| 278 Length y; | 280 Length y; |
| 281 Length r; | |
| 279 Length rx; | 282 Length rx; |
| 280 Length ry; | 283 Length ry; |
| 281 private: | 284 private: |
| 282 StyleLayoutData(); | 285 StyleLayoutData(); |
| 283 StyleLayoutData(const StyleLayoutData&); | 286 StyleLayoutData(const StyleLayoutData&); |
| 284 }; | 287 }; |
| 285 | 288 |
| 286 } // namespace blink | 289 } // namespace blink |
| 287 | 290 |
| 288 #endif // SVGLayoutStyleDefs_h | 291 #endif // SVGLayoutStyleDefs_h |
| OLD | NEW |