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

Side by Side Diff: Source/core/rendering/InlineFlowBox.h

Issue 252263002: Initializing Bidi status members of InlineFlowBox (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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 | no next file » | 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, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 , m_firstChild(0) 45 , m_firstChild(0)
46 , m_lastChild(0) 46 , m_lastChild(0)
47 , m_prevLineBox(0) 47 , m_prevLineBox(0)
48 , m_nextLineBox(0) 48 , m_nextLineBox(0)
49 , m_includeLogicalLeftEdge(false) 49 , m_includeLogicalLeftEdge(false)
50 , m_includeLogicalRightEdge(false) 50 , m_includeLogicalRightEdge(false)
51 , m_descendantsHaveSameLineHeightAndBaseline(true) 51 , m_descendantsHaveSameLineHeightAndBaseline(true)
52 , m_baselineType(AlphabeticBaseline) 52 , m_baselineType(AlphabeticBaseline)
53 , m_hasAnnotationsBefore(false) 53 , m_hasAnnotationsBefore(false)
54 , m_hasAnnotationsAfter(false) 54 , m_hasAnnotationsAfter(false)
55 , m_lineBreakBidiStatusEor(WTF::Unicode::LeftToRight)
56 , m_lineBreakBidiStatusLastStrong(WTF::Unicode::LeftToRight)
57 , m_lineBreakBidiStatusLast(WTF::Unicode::LeftToRight)
55 #ifndef NDEBUG 58 #ifndef NDEBUG
56 , m_hasBadChildList(false) 59 , m_hasBadChildList(false)
57 #endif 60 #endif
58 { 61 {
59 // Internet Explorer and Firefox always create a marker for list items, even when the list-style-type is none. We do not make a marker 62 // Internet Explorer and Firefox always create a marker for list items, even when the list-style-type is none. We do not make a marker
60 // in the list-style-type: none case, since it is wasteful to do so. Ho wever, in order to match other browsers we have to pretend like 63 // in the list-style-type: none case, since it is wasteful to do so. Ho wever, in order to match other browsers we have to pretend like
61 // an invisible marker exists. The side effect of having an invisible m arker is that the quirks mode behavior of shrinking lines with no 64 // an invisible marker exists. The side effect of having an invisible m arker is that the quirks mode behavior of shrinking lines with no
62 // text children must not apply. This change also means that gaps will exist between image bullet list items. Even when the list bullet 65 // text children must not apply. This change also means that gaps will exist between image bullet list items. Even when the list bullet
63 // is an image, the line is still considered to be immune from the quirk . 66 // is an image, the line is still considered to be immune from the quirk .
64 m_hasTextChildren = obj.style()->display() == LIST_ITEM; 67 m_hasTextChildren = obj.style()->display() == LIST_ITEM;
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 } 371 }
369 372
370 } // namespace WebCore 373 } // namespace WebCore
371 374
372 #ifndef NDEBUG 375 #ifndef NDEBUG
373 // Outside the WebCore namespace for ease of invocation from gdb. 376 // Outside the WebCore namespace for ease of invocation from gdb.
374 void showTree(const WebCore::InlineFlowBox*); 377 void showTree(const WebCore::InlineFlowBox*);
375 #endif 378 #endif
376 379
377 #endif // InlineFlowBox_h 380 #endif // InlineFlowBox_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698