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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 const Length& right, | 61 const Length& right, |
62 const Length& bottom); | 62 const Length& bottom); |
63 static const Length& Before(WritingMode, | 63 static const Length& Before(WritingMode, |
64 const Length& top, | 64 const Length& top, |
65 const Length& left, | 65 const Length& left, |
66 const Length& right); | 66 const Length& right); |
67 static const Length& After(WritingMode, | 67 static const Length& After(WritingMode, |
68 const Length& bottom, | 68 const Length& bottom, |
69 const Length& left, | 69 const Length& left, |
70 const Length& right); | 70 const Length& right); |
| 71 static const Length& Start(WritingMode, |
| 72 TextDirection, |
| 73 const Length& top, |
| 74 const Length& left, |
| 75 const Length& right, |
| 76 const Length& bottom); |
| 77 static const Length& End(WritingMode, |
| 78 TextDirection, |
| 79 const Length& top, |
| 80 const Length& left, |
| 81 const Length& right, |
| 82 const Length& bottom); |
| 83 static const Length& Over(WritingMode, |
| 84 const Length& top, |
| 85 const Length& right); |
| 86 static const Length& Under(WritingMode, |
| 87 const Length& bottom, |
| 88 const Length& left); |
71 | 89 |
72 const Length& Left() const { return left_; } | 90 const Length& Left() const { return left_; } |
73 const Length& Right() const { return right_; } | 91 const Length& Right() const { return right_; } |
74 const Length& Top() const { return top_; } | 92 const Length& Top() const { return top_; } |
75 const Length& Bottom() const { return bottom_; } | 93 const Length& Bottom() const { return bottom_; } |
76 | 94 |
77 const Length& LogicalLeft(WritingMode) const; | 95 const Length& LogicalLeft(WritingMode) const; |
78 const Length& LogicalRight(WritingMode) const; | 96 const Length& LogicalRight(WritingMode) const; |
79 | 97 |
80 const Length& Before(WritingMode) const; | 98 const Length& Before(WritingMode) const; |
(...skipping 18 matching lines...) Expand all Loading... |
99 // Must be public for SET_VAR in ComputedStyle.h | 117 // Must be public for SET_VAR in ComputedStyle.h |
100 Length left_; | 118 Length left_; |
101 Length right_; | 119 Length right_; |
102 Length top_; | 120 Length top_; |
103 Length bottom_; | 121 Length bottom_; |
104 }; | 122 }; |
105 | 123 |
106 } // namespace blink | 124 } // namespace blink |
107 | 125 |
108 #endif // LengthBox_h | 126 #endif // LengthBox_h |
OLD | NEW |