OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2007 David Smith (catfish.man@gmail.com) | 4 * (C) 2007 David Smith (catfish.man@gmail.com) |
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r
ights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 HashSet<RenderBox*>* percentHeightDescendants() const; | 111 HashSet<RenderBox*>* percentHeightDescendants() const; |
112 #if !ASSERT_DISABLED | 112 #if !ASSERT_DISABLED |
113 static bool hasPercentHeightDescendant(RenderBox*); | 113 static bool hasPercentHeightDescendant(RenderBox*); |
114 #endif | 114 #endif |
115 | 115 |
116 RootInlineBox* createAndAppendRootInlineBox(); | 116 RootInlineBox* createAndAppendRootInlineBox(); |
117 | 117 |
118 bool generatesLineBoxesForInlineChild(RenderObject*); | 118 bool generatesLineBoxesForInlineChild(RenderObject*); |
119 | 119 |
120 void markAllDescendantsWithFloatsForLayout(RenderBox* floatToRemove = 0, boo
l inLayout = true); | 120 void markAllDescendantsWithFloatsForLayout(RenderBox* floatToRemove = 0, boo
l inLayout = true); |
121 void markSiblingsWithFloatsForLayout(); | 121 void markSiblingsWithFloatsForLayout(RenderBox* floatToRemove = 0); |
122 void markPositionedObjectsForLayout(); | 122 void markPositionedObjectsForLayout(); |
123 virtual void markForPaginationRelayoutIfNeeded(); | 123 virtual void markForPaginationRelayoutIfNeeded(); |
124 | 124 |
125 bool containsFloats() { return m_floatingObjects && !m_floatingObjects->set(
).isEmpty(); } | 125 bool containsFloats() { return m_floatingObjects && !m_floatingObjects->set(
).isEmpty(); } |
126 bool containsFloat(RenderBox*); | 126 bool containsFloat(RenderBox*); |
127 | 127 |
128 // Versions that can compute line offsets with the region and page offset pa
ssed in. Used for speed to avoid having to | 128 // Versions that can compute line offsets with the region and page offset pa
ssed in. Used for speed to avoid having to |
129 // compute the region all over again when you already know it. | 129 // compute the region all over again when you already know it. |
130 LayoutUnit availableLogicalWidthForLine(LayoutUnit position, bool firstLine,
RenderRegion* region, LayoutUnit offsetFromLogicalTopOfFirstPage) const | 130 LayoutUnit availableLogicalWidthForLine(LayoutUnit position, bool firstLine,
RenderRegion* region, LayoutUnit offsetFromLogicalTopOfFirstPage) const |
131 { | 131 { |
(...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1079 static String string(const int value); | 1079 static String string(const int value); |
1080 }; | 1080 }; |
1081 template<> struct ValueToString<RenderBlock::FloatingObject*> { | 1081 template<> struct ValueToString<RenderBlock::FloatingObject*> { |
1082 static String string(const RenderBlock::FloatingObject*); | 1082 static String string(const RenderBlock::FloatingObject*); |
1083 }; | 1083 }; |
1084 #endif | 1084 #endif |
1085 | 1085 |
1086 } // namespace WebCore | 1086 } // namespace WebCore |
1087 | 1087 |
1088 #endif // RenderBlock_h | 1088 #endif // RenderBlock_h |
OLD | NEW |