| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 static PassRefPtr<StyleSurroundData> create() { | 40 static PassRefPtr<StyleSurroundData> create() { |
| 41 return adoptRef(new StyleSurroundData); | 41 return adoptRef(new StyleSurroundData); |
| 42 } | 42 } |
| 43 PassRefPtr<StyleSurroundData> copy() const { | 43 PassRefPtr<StyleSurroundData> copy() const { |
| 44 return adoptRef(new StyleSurroundData(*this)); | 44 return adoptRef(new StyleSurroundData(*this)); |
| 45 } | 45 } |
| 46 | 46 |
| 47 bool operator==(const StyleSurroundData&) const; | 47 bool operator==(const StyleSurroundData&) const; |
| 48 bool operator!=(const StyleSurroundData& o) const { return !(*this == o); } | 48 bool operator!=(const StyleSurroundData& o) const { return !(*this == o); } |
| 49 | 49 |
| 50 LengthBox offset; | 50 Length m_left; |
| 51 Length m_right; |
| 52 Length m_top; |
| 53 Length m_bottom; |
| 51 LengthBox margin; | 54 LengthBox margin; |
| 52 LengthBox padding; | 55 LengthBox padding; |
| 53 BorderData border; | 56 BorderData border; |
| 54 | 57 |
| 55 private: | 58 private: |
| 56 StyleSurroundData(); | 59 StyleSurroundData(); |
| 57 StyleSurroundData(const StyleSurroundData&); | 60 StyleSurroundData(const StyleSurroundData&); |
| 58 }; | 61 }; |
| 59 | 62 |
| 60 } // namespace blink | 63 } // namespace blink |
| 61 | 64 |
| 62 #endif // StyleSurroundData_h | 65 #endif // StyleSurroundData_h |
| OLD | NEW |