| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 && m_right.visuallyEqual(o.m_right) | 100 && m_right.visuallyEqual(o.m_right) |
| 101 && m_top.visuallyEqual(o.m_top) | 101 && m_top.visuallyEqual(o.m_top) |
| 102 && m_bottom.visuallyEqual(o.m_bottom) | 102 && m_bottom.visuallyEqual(o.m_bottom) |
| 103 && m_image == o.m_image | 103 && m_image == o.m_image |
| 104 && m_topLeft == o.m_topLeft | 104 && m_topLeft == o.m_topLeft |
| 105 && m_topRight == o.m_topRight | 105 && m_topRight == o.m_topRight |
| 106 && m_bottomLeft == o.m_bottomLeft | 106 && m_bottomLeft == o.m_bottomLeft |
| 107 && m_bottomRight == o.m_bottomRight; | 107 && m_bottomRight == o.m_bottomRight; |
| 108 } | 108 } |
| 109 | 109 |
| 110 bool visualOverflowEqual(const BorderData& o) const | |
| 111 { | |
| 112 return m_image.outset() == o.m_image.outset(); | |
| 113 } | |
| 114 | |
| 115 bool operator!=(const BorderData& o) const | 110 bool operator!=(const BorderData& o) const |
| 116 { | 111 { |
| 117 return !(*this == o); | 112 return !(*this == o); |
| 118 } | 113 } |
| 119 | 114 |
| 120 const BorderValue& left() const { return m_left; } | 115 const BorderValue& left() const { return m_left; } |
| 121 const BorderValue& right() const { return m_right; } | 116 const BorderValue& right() const { return m_right; } |
| 122 const BorderValue& top() const { return m_top; } | 117 const BorderValue& top() const { return m_top; } |
| 123 const BorderValue& bottom() const { return m_bottom; } | 118 const BorderValue& bottom() const { return m_bottom; } |
| 124 | 119 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 139 | 134 |
| 140 LengthSize m_topLeft; | 135 LengthSize m_topLeft; |
| 141 LengthSize m_topRight; | 136 LengthSize m_topRight; |
| 142 LengthSize m_bottomLeft; | 137 LengthSize m_bottomLeft; |
| 143 LengthSize m_bottomRight; | 138 LengthSize m_bottomRight; |
| 144 }; | 139 }; |
| 145 | 140 |
| 146 } // namespace blink | 141 } // namespace blink |
| 147 | 142 |
| 148 #endif // BorderData_h | 143 #endif // BorderData_h |
| OLD | NEW |