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

Side by Side Diff: sky/engine/core/rendering/RenderText.h

Issue 763043002: Remove RenderBlockLineLayout (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: review Created 6 years 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 * (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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 bool isText() const = delete; // This will catch anyone doing an unnecessary check. 170 bool isText() const = delete; // This will catch anyone doing an unnecessary check.
171 171
172 // We put the bitfield first to minimize padding on 64-bit. 172 // We put the bitfield first to minimize padding on 64-bit.
173 bool m_hasBreakableChar : 1; // Whether or not we can be broken into multipl e lines. 173 bool m_hasBreakableChar : 1; // Whether or not we can be broken into multipl e lines.
174 bool m_hasBreak : 1; // Whether or not we have a hard break (e.g., <pre> wit h '\n'). 174 bool m_hasBreak : 1; // Whether or not we have a hard break (e.g., <pre> wit h '\n').
175 bool m_hasTab : 1; // Whether or not we have a variable width tab character (e.g., <pre> with '\t'). 175 bool m_hasTab : 1; // Whether or not we have a variable width tab character (e.g., <pre> with '\t').
176 bool m_hasBreakableStart : 1; 176 bool m_hasBreakableStart : 1;
177 bool m_hasBreakableEnd : 1; 177 bool m_hasBreakableEnd : 1;
178 bool m_hasEndWhiteSpace : 1; 178 bool m_hasEndWhiteSpace : 1;
179 bool m_linesDirty : 1; // This bit indicates that the text run has already d irtied specific 179 bool m_linesDirty : 1; // This bit indicates that the text run has already d irtied specific
180 // line boxes, and this hint will enable layoutInline Children to avoid 180 // line boxes, and this hint will enable RenderParagr aph::layoutChildren to avoid
181 // just dirtying everything when character data is mo dified (e.g., appended/inserted 181 // just dirtying everything when character data is mo dified (e.g., appended/inserted
182 // or removed). 182 // or removed).
183 bool m_containsReversedText : 1; 183 bool m_containsReversedText : 1;
184 bool m_isAllASCII : 1; 184 bool m_isAllASCII : 1;
185 bool m_canUseSimpleFontCodePath : 1; 185 bool m_canUseSimpleFontCodePath : 1;
186 mutable bool m_knownToHaveNoOverflowAndNoFallbackFonts : 1; 186 mutable bool m_knownToHaveNoOverflowAndNoFallbackFonts : 1;
187 187
188 float m_minWidth; 188 float m_minWidth;
189 float m_maxWidth; 189 float m_maxWidth;
190 float m_firstLineMinWidth; 190 float m_firstLineMinWidth;
(...skipping 28 matching lines...) Expand all
219 #endif 219 #endif
220 220
221 inline RenderText* Text::renderer() const 221 inline RenderText* Text::renderer() const
222 { 222 {
223 return toRenderText(CharacterData::renderer()); 223 return toRenderText(CharacterData::renderer());
224 } 224 }
225 225
226 } // namespace blink 226 } // namespace blink
227 227
228 #endif // SKY_ENGINE_CORE_RENDERING_RENDERTEXT_H_ 228 #endif // SKY_ENGINE_CORE_RENDERING_RENDERTEXT_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderParagraph.cpp ('k') | sky/engine/core/rendering/line/LineLayoutState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698