OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) | 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) |
3 * (C) 1997 Torben Weis (weis@kde.org) | 3 * (C) 1997 Torben Weis (weis@kde.org) |
4 * (C) 1998 Waldo Bastian (bastian@kde.org) | 4 * (C) 1998 Waldo Bastian (bastian@kde.org) |
5 * (C) 1999 Lars Knoll (knoll@kde.org) | 5 * (C) 1999 Lars Knoll (knoll@kde.org) |
6 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 6 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2010 Apple Inc. All rights reserv
ed. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2010 Apple Inc. All rights reserv
ed. |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 } | 120 } |
121 | 121 |
122 int calcBorderStart() const; | 122 int calcBorderStart() const; |
123 int calcBorderEnd() const; | 123 int calcBorderEnd() const; |
124 void recalcBordersInRowDirection(); | 124 void recalcBordersInRowDirection(); |
125 | 125 |
126 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) over
ride; | 126 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) over
ride; |
127 void addChildIgnoringContinuation(LayoutObject* newChild, LayoutObject* befo
reChild = nullptr) override; | 127 void addChildIgnoringContinuation(LayoutObject* newChild, LayoutObject* befo
reChild = nullptr) override; |
128 | 128 |
129 struct ColumnStruct { | 129 struct ColumnStruct { |
| 130 ALLOW_ONLY_INLINE_ALLOCATION(); |
130 explicit ColumnStruct(unsigned initialSpan = 1) | 131 explicit ColumnStruct(unsigned initialSpan = 1) |
131 : span(initialSpan) | 132 : span(initialSpan) |
132 { | 133 { |
133 } | 134 } |
134 | 135 |
135 unsigned span; | 136 unsigned span; |
136 }; | 137 }; |
137 | 138 |
138 void forceSectionsRecalc() | 139 void forceSectionsRecalc() |
139 { | 140 { |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 if (m_firstBody) | 367 if (m_firstBody) |
367 return m_firstBody; | 368 return m_firstBody; |
368 return m_foot; | 369 return m_foot; |
369 } | 370 } |
370 | 371 |
371 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTable, isTable()); | 372 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTable, isTable()); |
372 | 373 |
373 } // namespace blink | 374 } // namespace blink |
374 | 375 |
375 #endif // LayoutTable_h | 376 #endif // LayoutTable_h |
OLD | NEW |