OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2012 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 void expandToEncompassFlowThreadContentsIfNeeded(); | 111 void expandToEncompassFlowThreadContentsIfNeeded(); |
112 | 112 |
113 void attachRegion(); | 113 void attachRegion(); |
114 void detachRegion(); | 114 void detachRegion(); |
115 | 115 |
116 // This method represents the logical height of the entire flow thread porti
on used by the region or set. | 116 // This method represents the logical height of the entire flow thread porti
on used by the region or set. |
117 // For RenderRegions it matches logicalPaginationHeight(), but for sets it i
s the height of all the pages | 117 // For RenderRegions it matches logicalPaginationHeight(), but for sets it i
s the height of all the pages |
118 // or columns added together. | 118 // or columns added together. |
119 LayoutUnit logicalHeightOfAllFlowThreadContent() const { return logicalHeigh
tInFlowThread(); } | 119 LayoutUnit logicalHeightOfAllFlowThreadContent() const { return logicalHeigh
tInFlowThread(); } |
120 | 120 |
121 void repaintFlowThreadContent(const LayoutRect& repaintRect) const; | 121 void paintInvalidationForFlowThreadContent(const LayoutRect& paintInvalidati
onRect) const; |
122 | 122 |
123 // The top of the nearest page inside the region. For RenderRegions, this is
just the logical top of the | 123 // The top of the nearest page inside the region. For RenderRegions, this is
just the logical top of the |
124 // flow thread portion we contain. For sets, we have to figure out the top o
f the nearest column or | 124 // flow thread portion we contain. For sets, we have to figure out the top o
f the nearest column or |
125 // page. | 125 // page. |
126 LayoutUnit pageLogicalTopForOffset(LayoutUnit offset) const; | 126 LayoutUnit pageLogicalTopForOffset(LayoutUnit offset) const; |
127 | 127 |
128 void collectLayerFragments(LayerFragments&, const LayoutRect& layerBoundingB
ox, const LayoutRect& dirtyRect); | 128 void collectLayerFragments(LayerFragments&, const LayoutRect& layerBoundingB
ox, const LayoutRect& dirtyRect); |
129 | 129 |
130 private: | 130 private: |
131 RenderMultiColumnSet(RenderFlowThread*); | 131 RenderMultiColumnSet(RenderFlowThread*); |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 }; | 206 }; |
207 Vector<ContentRun, 1> m_contentRuns; | 207 Vector<ContentRun, 1> m_contentRuns; |
208 }; | 208 }; |
209 | 209 |
210 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderMultiColumnSet, isRenderMultiColumnSet()); | 210 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderMultiColumnSet, isRenderMultiColumnSet()); |
211 | 211 |
212 } // namespace blink | 212 } // namespace blink |
213 | 213 |
214 #endif // RenderMultiColumnSet_h | 214 #endif // RenderMultiColumnSet_h |
215 | 215 |
OLD | NEW |