| OLD | NEW |
| 1 /* | 1 /* |
| 2 Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 Copyright (C) 2006, 2008 Apple Inc. All rights reserved. | 3 Copyright (C) 2006, 2008 Apple Inc. All rights reserved. |
| 4 Copyright (c) 2012, Google Inc. All rights reserved. | 4 Copyright (c) 2012, Google Inc. All rights reserved. |
| 5 | 5 |
| 6 This library is free software; you can redistribute it and/or | 6 This library is free software; you can redistribute it and/or |
| 7 modify it under the terms of the GNU Library General Public | 7 modify it under the terms of the GNU Library General Public |
| 8 License as published by the Free Software Foundation; either | 8 License as published by the Free Software Foundation; either |
| 9 version 2 of the License, or (at your option) any later version. | 9 version 2 of the License, or (at your option) any later version. |
| 10 | 10 |
| 11 This library is distributed in the hope that it will be useful, | 11 This library is distributed in the hope that it will be useful, |
| 12 but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 Library General Public License for more details. | 14 Library General Public License for more details. |
| 15 | 15 |
| 16 You should have received a copy of the GNU Library General Public License | 16 You should have received a copy of the GNU Library General Public License |
| 17 along with this library; see the file COPYING.LIB. If not, write to | 17 along with this library; see the file COPYING.LIB. If not, write to |
| 18 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 19 Boston, MA 02110-1301, USA. | 19 Boston, MA 02110-1301, USA. |
| 20 */ | 20 */ |
| 21 | 21 |
| 22 #ifndef LengthBox_h | 22 #ifndef LengthBox_h |
| 23 #define LengthBox_h | 23 #define LengthBox_h |
| 24 | 24 |
| 25 #include "platform/Length.h" | 25 #include "platform/Length.h" |
| 26 #include "platform/PlatformExport.h" | 26 #include "platform/PlatformExport.h" |
| 27 #include "platform/text/TextDirection.h" | 27 #include "platform/text/TextDirection.h" |
| 28 #include "platform/text/WritingMode.h" | 28 #include "platform/text/WritingMode.h" |
| 29 | 29 |
| 30 namespace WebCore { | 30 namespace blink { |
| 31 | 31 |
| 32 class RenderStyle; | 32 class RenderStyle; |
| 33 | 33 |
| 34 class PLATFORM_EXPORT LengthBox { | 34 class PLATFORM_EXPORT LengthBox { |
| 35 public: | 35 public: |
| 36 LengthBox() | 36 LengthBox() |
| 37 { | 37 { |
| 38 } | 38 } |
| 39 | 39 |
| 40 LengthBox(LengthType t) | 40 LengthBox(LengthType t) |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 return !(m_left.isZero() && m_right.isZero() && m_top.isZero() && m_bott
om.isZero()); | 97 return !(m_left.isZero() && m_right.isZero() && m_top.isZero() && m_bott
om.isZero()); |
| 98 } | 98 } |
| 99 | 99 |
| 100 // Must be public for SET_VAR in RenderStyle.h | 100 // Must be public for SET_VAR in RenderStyle.h |
| 101 Length m_left; | 101 Length m_left; |
| 102 Length m_right; | 102 Length m_right; |
| 103 Length m_top; | 103 Length m_top; |
| 104 Length m_bottom; | 104 Length m_bottom; |
| 105 }; | 105 }; |
| 106 | 106 |
| 107 } // namespace WebCore | 107 } // namespace blink |
| 108 | 108 |
| 109 #endif // LengthBox_h | 109 #endif // LengthBox_h |
| OLD | NEW |