OLD | NEW |
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 16 matching lines...) Expand all Loading... |
27 #define LayoutState_h | 27 #define LayoutState_h |
28 | 28 |
29 #include "core/rendering/ColumnInfo.h" | 29 #include "core/rendering/ColumnInfo.h" |
30 #include "platform/geometry/LayoutRect.h" | 30 #include "platform/geometry/LayoutRect.h" |
31 #include "wtf/HashMap.h" | 31 #include "wtf/HashMap.h" |
32 #include "wtf/Noncopyable.h" | 32 #include "wtf/Noncopyable.h" |
33 | 33 |
34 namespace WebCore { | 34 namespace WebCore { |
35 | 35 |
36 class ForceHorriblySlowRectMapping; | 36 class ForceHorriblySlowRectMapping; |
37 class RenderBlockFlow; | |
38 class RenderBox; | 37 class RenderBox; |
39 class RenderObject; | 38 class RenderObject; |
40 class RenderFlowThread; | |
41 class RenderView; | 39 class RenderView; |
42 | 40 |
43 class LayoutState { | 41 class LayoutState { |
44 WTF_MAKE_NONCOPYABLE(LayoutState); | 42 WTF_MAKE_NONCOPYABLE(LayoutState); |
45 public: | 43 public: |
46 // Constructor for root LayoutState created by RenderView | 44 // Constructor for root LayoutState created by RenderView |
47 LayoutState(LayoutUnit pageLogicalHeight, bool pageLogicalHeightChanged, Ren
derView&); | 45 LayoutState(LayoutUnit pageLogicalHeight, bool pageLogicalHeightChanged, Ren
derView&); |
48 // Constructor for sub-tree Layout and RenderTableSections | 46 // Constructor for sub-tree Layout and RenderTableSections |
49 explicit LayoutState(RenderObject& root); | 47 explicit LayoutState(RenderObject& root); |
50 | 48 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 LayoutUnit m_pageLogicalHeight; | 140 LayoutUnit m_pageLogicalHeight; |
143 // The offset of the start of the first page in the nearest enclosing pagina
tion model. | 141 // The offset of the start of the first page in the nearest enclosing pagina
tion model. |
144 LayoutSize m_pageOffset; | 142 LayoutSize m_pageOffset; |
145 | 143 |
146 RenderObject& m_renderer; | 144 RenderObject& m_renderer; |
147 }; | 145 }; |
148 | 146 |
149 } // namespace WebCore | 147 } // namespace WebCore |
150 | 148 |
151 #endif // LayoutState_h | 149 #endif // LayoutState_h |
OLD | NEW |