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 |
(...skipping 11 matching lines...) Expand all Loading... |
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 blink { | 30 namespace blink { |
31 | 31 |
32 class RenderStyle; | |
33 | |
34 class PLATFORM_EXPORT LengthBox { | 32 class PLATFORM_EXPORT LengthBox { |
35 public: | 33 public: |
36 LengthBox() | 34 LengthBox() |
37 { | 35 { |
38 } | 36 } |
39 | 37 |
40 LengthBox(LengthType t) | 38 LengthBox(LengthType t) |
41 : m_left(t) | 39 : m_left(t) |
42 , m_right(t) | 40 , m_right(t) |
43 , m_top(t) | 41 , m_top(t) |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 // Must be public for SET_VAR in RenderStyle.h | 98 // Must be public for SET_VAR in RenderStyle.h |
101 Length m_left; | 99 Length m_left; |
102 Length m_right; | 100 Length m_right; |
103 Length m_top; | 101 Length m_top; |
104 Length m_bottom; | 102 Length m_bottom; |
105 }; | 103 }; |
106 | 104 |
107 } // namespace blink | 105 } // namespace blink |
108 | 106 |
109 #endif // LengthBox_h | 107 #endif // LengthBox_h |
OLD | NEW |