OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006, 2007, 2008 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 | 145 |
146 LayoutRect paddedLayoutOverflowRect(LayoutUnit endPadding) const; | 146 LayoutRect paddedLayoutOverflowRect(LayoutUnit endPadding) const; |
147 | 147 |
148 void ascentAndDescentForBox(InlineBox*, GlyphOverflowAndFallbackFontsMap&, i
nt& ascent, int& descent, bool& affectsAscent, bool& affectsDescent) const; | 148 void ascentAndDescentForBox(InlineBox*, GlyphOverflowAndFallbackFontsMap&, i
nt& ascent, int& descent, bool& affectsAscent, bool& affectsDescent) const; |
149 LayoutUnit verticalPositionForBox(InlineBox*, VerticalPositionCache&); | 149 LayoutUnit verticalPositionForBox(InlineBox*, VerticalPositionCache&); |
150 bool includeLeadingForBox(InlineBox*) const; | 150 bool includeLeadingForBox(InlineBox*) const; |
151 bool includeFontForBox(InlineBox*) const; | 151 bool includeFontForBox(InlineBox*) const; |
152 bool includeGlyphsForBox(InlineBox*) const; | 152 bool includeGlyphsForBox(InlineBox*) const; |
153 bool includeMarginForBox(InlineBox*) const; | 153 bool includeMarginForBox(InlineBox*) const; |
154 bool fitsToGlyphs() const; | 154 bool fitsToGlyphs() const; |
155 bool includesRootLineBoxFontOrLeading() const; | |
156 | 155 |
157 LayoutUnit logicalTopVisualOverflow() const | 156 LayoutUnit logicalTopVisualOverflow() const |
158 { | 157 { |
159 return InlineFlowBox::logicalTopVisualOverflow(lineTop()); | 158 return InlineFlowBox::logicalTopVisualOverflow(lineTop()); |
160 } | 159 } |
161 LayoutUnit logicalBottomVisualOverflow() const | 160 LayoutUnit logicalBottomVisualOverflow() const |
162 { | 161 { |
163 return InlineFlowBox::logicalBottomVisualOverflow(lineBottom()); | 162 return InlineFlowBox::logicalBottomVisualOverflow(lineBottom()); |
164 } | 163 } |
165 LayoutUnit logicalTopLayoutOverflow() const | 164 LayoutUnit logicalTopLayoutOverflow() const |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 LayoutUnit m_lineBottom; | 197 LayoutUnit m_lineBottom; |
199 LayoutUnit m_lineTopWithLeading; | 198 LayoutUnit m_lineTopWithLeading; |
200 LayoutUnit m_lineBottomWithLeading; | 199 LayoutUnit m_lineBottomWithLeading; |
201 LayoutUnit m_selectionBottom; | 200 LayoutUnit m_selectionBottom; |
202 LayoutUnit m_paginationStrut; | 201 LayoutUnit m_paginationStrut; |
203 }; | 202 }; |
204 | 203 |
205 } // namespace blink | 204 } // namespace blink |
206 | 205 |
207 #endif // RootInlineBox_h | 206 #endif // RootInlineBox_h |
OLD | NEW |