OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2011 Adobe Systems Incorporated. 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 * | 7 * |
8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
10 * disclaimer. | 10 * disclaimer. |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 | 159 |
160 MultiColumnSetIntervalTree m_multiColumnSetIntervalTree; | 160 MultiColumnSetIntervalTree m_multiColumnSetIntervalTree; |
161 | 161 |
162 bool m_regionsInvalidated : 1; | 162 bool m_regionsInvalidated : 1; |
163 bool m_regionsHaveUniformLogicalHeight : 1; | 163 bool m_regionsHaveUniformLogicalHeight : 1; |
164 bool m_pageLogicalSizeChanged : 1; | 164 bool m_pageLogicalSizeChanged : 1; |
165 }; | 165 }; |
166 | 166 |
167 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderFlowThread, isRenderFlowThread()); | 167 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderFlowThread, isRenderFlowThread()); |
168 | 168 |
169 class CurrentRenderFlowThreadMaintainer { | |
170 WTF_MAKE_NONCOPYABLE(CurrentRenderFlowThreadMaintainer); | |
171 public: | |
172 CurrentRenderFlowThreadMaintainer(RenderFlowThread*); | |
173 ~CurrentRenderFlowThreadMaintainer(); | |
174 private: | |
175 RenderFlowThread* m_renderFlowThread; | |
176 RenderFlowThread* m_previousRenderFlowThread; | |
177 }; | |
178 | |
179 // These structures are used by PODIntervalTree for debugging. | 169 // These structures are used by PODIntervalTree for debugging. |
180 #ifndef NDEBUG | 170 #ifndef NDEBUG |
181 template <> struct ValueToString<LayoutUnit> { | 171 template <> struct ValueToString<LayoutUnit> { |
182 static String string(const LayoutUnit value) { return String::number(value.t
oFloat()); } | 172 static String string(const LayoutUnit value) { return String::number(value.t
oFloat()); } |
183 }; | 173 }; |
184 | 174 |
185 template <> struct ValueToString<RenderMultiColumnSet*> { | 175 template <> struct ValueToString<RenderMultiColumnSet*> { |
186 static String string(const RenderMultiColumnSet* value) { return String::for
mat("%p", value); } | 176 static String string(const RenderMultiColumnSet* value) { return String::for
mat("%p", value); } |
187 }; | 177 }; |
188 #endif | 178 #endif |
189 | 179 |
190 } // namespace blink | 180 } // namespace blink |
191 | 181 |
192 #endif // RenderFlowThread_h | 182 #endif // RenderFlowThread_h |
OLD | NEW |