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

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

Issue 2403873002: Reformat remaining comments in core/layout (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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/ListMarkerText.h » ('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 * (C) 1999 Lars Knoll (knoll@kde.org) 2 * (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Dirk Mueller (mueller@kde.org) 3 * (C) 2000 Dirk Mueller (mueller@kde.org)
4 * Copyright (C) 2004-2009, 2013 Apple Inc. All rights reserved. 4 * Copyright (C) 2004-2009, 2013 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 LayoutRect localOverflowRectForPaintInvalidation() const override; 285 LayoutRect localOverflowRectForPaintInvalidation() const override;
286 286
287 void checkConsistency() const; 287 void checkConsistency() const;
288 288
289 // We put the bitfield first to minimize padding on 64-bit. 289 // We put the bitfield first to minimize padding on 64-bit.
290 290
291 // Whether or not we can be broken into multiple lines. 291 // Whether or not we can be broken into multiple lines.
292 bool m_hasBreakableChar : 1; 292 bool m_hasBreakableChar : 1;
293 // Whether or not we have a hard break (e.g., <pre> with '\n'). 293 // Whether or not we have a hard break (e.g., <pre> with '\n').
294 bool m_hasBreak : 1; 294 bool m_hasBreak : 1;
295 // Whether or not we have a variable width tab character (e.g., <pre> with '\t '). 295 // Whether or not we have a variable width tab character (e.g., <pre> with
296 // '\t').
296 bool m_hasTab : 1; 297 bool m_hasTab : 1;
297 bool m_hasBreakableStart : 1; 298 bool m_hasBreakableStart : 1;
298 bool m_hasBreakableEnd : 1; 299 bool m_hasBreakableEnd : 1;
299 bool m_hasEndWhiteSpace : 1; 300 bool m_hasEndWhiteSpace : 1;
300 // This bit indicates that the text run has already dirtied specific line 301 // This bit indicates that the text run has already dirtied specific line
301 // boxes, and this hint will enable layoutInlineChildren to avoid just 302 // boxes, and this hint will enable layoutInlineChildren to avoid just
302 // dirtying everything when character data is modified (e.g., appended/ 303 // dirtying everything when character data is modified (e.g., appended/
303 // inserted or removed). 304 // inserted or removed).
304 bool m_linesDirty : 1; 305 bool m_linesDirty : 1;
305 bool m_containsReversedText : 1; 306 bool m_containsReversedText : 1;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 356
356 inline LayoutText* Text::layoutObject() const { 357 inline LayoutText* Text::layoutObject() const {
357 return toLayoutText(CharacterData::layoutObject()); 358 return toLayoutText(CharacterData::layoutObject());
358 } 359 }
359 360
360 void applyTextTransform(const ComputedStyle*, String&, UChar); 361 void applyTextTransform(const ComputedStyle*, String&, UChar);
361 362
362 } // namespace blink 363 } // namespace blink
363 364
364 #endif // LayoutText_h 365 #endif // LayoutText_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/ListMarkerText.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698