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

Side by Side Diff: Source/core/layout/LayoutState.h

Issue 1110233003: Update list markers in notify change. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Review updates Created 5 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 LayoutUnit pageLogicalHeight() const { return m_pageLogicalHeight; } 68 LayoutUnit pageLogicalHeight() const { return m_pageLogicalHeight; }
69 bool pageLogicalHeightChanged() const { return m_pageLogicalHeightChanged; } 69 bool pageLogicalHeightChanged() const { return m_pageLogicalHeightChanged; }
70 bool containingBlockLogicalWidthChanged() const { return m_containingBlockLo gicalWidthChanged; } 70 bool containingBlockLogicalWidthChanged() const { return m_containingBlockLo gicalWidthChanged; }
71 71
72 LayoutState* next() const { return m_next; } 72 LayoutState* next() const { return m_next; }
73 73
74 bool needsBlockDirectionLocationSetBeforeLayout() const { return m_isPaginat ed && m_pageLogicalHeight; } 74 bool needsBlockDirectionLocationSetBeforeLayout() const { return m_isPaginat ed && m_pageLogicalHeight; }
75 75
76 LayoutFlowThread* flowThread() const { return m_flowThread; } 76 LayoutFlowThread* flowThread() const { return m_flowThread; }
77 77
78 // Used to temporarily set m_flowThread to nullptr. Needed because of crbug. com/370461 (list item markers).
79 void setFlowThread(LayoutFlowThread* flowThread) { m_flowThread = flowThread ; }
80
81 ColumnInfo* columnInfo() const { return m_columnInfo; } 78 ColumnInfo* columnInfo() const { return m_columnInfo; }
82 79
83 LayoutObject& layoutObject() const { return m_layoutObject; } 80 LayoutObject& layoutObject() const { return m_layoutObject; }
84 81
85 private: 82 private:
86 friend class ForceHorriblySlowRectMapping; 83 friend class ForceHorriblySlowRectMapping;
87 84
88 // Do not add anything apart from bitfields until after m_columnInfo. See ht tps://bugs.webkit.org/show_bug.cgi?id=100173 85 // Do not add anything apart from bitfields until after m_columnInfo. See ht tps://bugs.webkit.org/show_bug.cgi?id=100173
89 bool m_isPaginated : 1; 86 bool m_isPaginated : 1;
90 // If our page height has changed, this will force all blocks to relayout. 87 // If our page height has changed, this will force all blocks to relayout.
(...skipping 13 matching lines...) Expand all
104 LayoutUnit m_pageLogicalHeight; 101 LayoutUnit m_pageLogicalHeight;
105 // The offset of the start of the first page in the nearest enclosing pagina tion model. 102 // The offset of the start of the first page in the nearest enclosing pagina tion model.
106 LayoutSize m_pageOffset; 103 LayoutSize m_pageOffset;
107 104
108 LayoutObject& m_layoutObject; 105 LayoutObject& m_layoutObject;
109 }; 106 };
110 107
111 } // namespace blink 108 } // namespace blink
112 109
113 #endif // LayoutState_h 110 #endif // LayoutState_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698