Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(966)

Side by Side Diff: Source/core/layout/line/RootInlineBox.h

Issue 1324943004: Remove unused RootInlineBox::includesRootLineBoxFontOrLeading method. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/core/layout/line/RootInlineBox.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | Source/core/layout/line/RootInlineBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698