| 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 27 matching lines...) Expand all Loading... |
| 38 static PassRefPtr<StyleBackgroundData> create() { return adoptRef(new StyleB
ackgroundData); } | 38 static PassRefPtr<StyleBackgroundData> create() { return adoptRef(new StyleB
ackgroundData); } |
| 39 PassRefPtr<StyleBackgroundData> copy() const { return adoptRef(new StyleBack
groundData(*this)); } | 39 PassRefPtr<StyleBackgroundData> copy() const { return adoptRef(new StyleBack
groundData(*this)); } |
| 40 ~StyleBackgroundData() { } | 40 ~StyleBackgroundData() { } |
| 41 | 41 |
| 42 bool operator==(const StyleBackgroundData& o) const; | 42 bool operator==(const StyleBackgroundData& o) const; |
| 43 bool operator!=(const StyleBackgroundData& o) const | 43 bool operator!=(const StyleBackgroundData& o) const |
| 44 { | 44 { |
| 45 return !(*this == o); | 45 return !(*this == o); |
| 46 } | 46 } |
| 47 | 47 |
| 48 bool visuallyEqual(const StyleBackgroundData&) const; |
| 49 |
| 48 const FillLayer& background() const { return m_background; } | 50 const FillLayer& background() const { return m_background; } |
| 49 const StyleColor& color() const { return m_color; } | 51 const StyleColor& color() const { return m_color; } |
| 50 const OutlineValue& outline() const { return m_outline; } | 52 const OutlineValue& outline() const { return m_outline; } |
| 51 | 53 |
| 52 private: | 54 private: |
| 53 friend class RenderStyle; | 55 friend class RenderStyle; |
| 54 | 56 |
| 55 StyleBackgroundData(); | 57 StyleBackgroundData(); |
| 56 StyleBackgroundData(const StyleBackgroundData&); | 58 StyleBackgroundData(const StyleBackgroundData&); |
| 57 | 59 |
| 58 FillLayer m_background; | 60 FillLayer m_background; |
| 59 StyleColor m_color; | 61 StyleColor m_color; |
| 60 OutlineValue m_outline; | 62 OutlineValue m_outline; |
| 61 }; | 63 }; |
| 62 | 64 |
| 63 } // namespace WebCore | 65 } // namespace WebCore |
| 64 | 66 |
| 65 #endif // StyleBackgroundData_h | 67 #endif // StyleBackgroundData_h |
| OLD | NEW |