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

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

Issue 2393693002: Reformat comments in core/layout/line (Closed)
Patch Set: Created 4 years, 2 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
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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 Node* getLogicalEndBoxWithNode(InlineBox*&) const; 210 Node* getLogicalEndBoxWithNode(InlineBox*&) const;
211 211
212 const char* boxName() const override; 212 const char* boxName() const override;
213 213
214 private: 214 private:
215 LayoutUnit beforeAnnotationsAdjustment() const; 215 LayoutUnit beforeAnnotationsAdjustment() const;
216 216
217 // This folds into the padding at the end of InlineFlowBox on 64-bit. 217 // This folds into the padding at the end of InlineFlowBox on 64-bit.
218 unsigned m_lineBreakPos; 218 unsigned m_lineBreakPos;
219 219
220 // Where this line ended. The exact object and the position within that objec t are stored so that 220 // Where this line ended. The exact object and the position within that
221 // we can create an InlineIterator beginning just after the end of this line. 221 // object are stored so that we can create an InlineIterator beginning just
222 // after the end of this line.
222 LineLayoutItem m_lineBreakObj; 223 LineLayoutItem m_lineBreakObj;
223 RefPtr<BidiContext> m_lineBreakContext; 224 RefPtr<BidiContext> m_lineBreakContext;
224 225
225 // Floats hanging off the line are pushed into this vector during layout. It i s only 226 // Floats hanging off the line are pushed into this vector during layout. It
226 // good for as long as the line has not been marked dirty. 227 // is only good for as long as the line has not been marked dirty.
227 std::unique_ptr<Vector<LayoutBox*>> m_floats; 228 std::unique_ptr<Vector<LayoutBox*>> m_floats;
228 229
229 LayoutUnit m_lineTop; 230 LayoutUnit m_lineTop;
230 LayoutUnit m_lineBottom; 231 LayoutUnit m_lineBottom;
231 LayoutUnit m_lineTopWithLeading; 232 LayoutUnit m_lineTopWithLeading;
232 LayoutUnit m_lineBottomWithLeading; 233 LayoutUnit m_lineBottomWithLeading;
233 LayoutUnit m_selectionBottom; 234 LayoutUnit m_selectionBottom;
234 LayoutUnit m_paginationStrut; 235 LayoutUnit m_paginationStrut;
235 }; 236 };
236 237
237 } // namespace blink 238 } // namespace blink
238 239
239 #endif // RootInlineBox_h 240 #endif // RootInlineBox_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/line/LineWidth.cpp ('k') | third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698