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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 // Reset previously calculated column height. Will mark for layout if needed
. | 106 // Reset previously calculated column height. Will mark for layout if needed
. |
107 void resetColumnHeight(); | 107 void resetColumnHeight(); |
108 | 108 |
109 // Expand this set's flow thread portion rectangle to contain all trailing f
low thread | 109 // Expand this set's flow thread portion rectangle to contain all trailing f
low thread |
110 // overflow. Only to be called on the last set. | 110 // overflow. Only to be called on the last set. |
111 void expandToEncompassFlowThreadContentsIfNeeded(); | 111 void expandToEncompassFlowThreadContentsIfNeeded(); |
112 | 112 |
113 void attachRegion(); | 113 void attachRegion(); |
114 void detachRegion(); | 114 void detachRegion(); |
115 | 115 |
116 void paintInvalidationForFlowThreadContent(const LayoutRect& paintInvalidati
onRect); | |
117 | |
118 // The top of the nearest page inside the region. For RenderRegions, this is
just the logical top of the | 116 // The top of the nearest page inside the region. For RenderRegions, this is
just the logical top of the |
119 // flow thread portion we contain. For sets, we have to figure out the top o
f the nearest column or | 117 // flow thread portion we contain. For sets, we have to figure out the top o
f the nearest column or |
120 // page. | 118 // page. |
121 LayoutUnit pageLogicalTopForOffset(LayoutUnit offset) const; | 119 LayoutUnit pageLogicalTopForOffset(LayoutUnit offset) const; |
122 | 120 |
123 void collectLayerFragments(LayerFragments&, const LayoutRect& layerBoundingB
ox, const LayoutRect& dirtyRect); | 121 void collectLayerFragments(LayerFragments&, const LayoutRect& layerBoundingB
ox, const LayoutRect& dirtyRect); |
124 | 122 |
125 LayoutUnit columnGap() const; | 123 LayoutUnit columnGap() const; |
126 | 124 |
127 // The "CSS actual" value of column-count. This includes overflowing columns
, if any. | 125 // The "CSS actual" value of column-count. This includes overflowing columns
, if any. |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 }; | 200 }; |
203 Vector<ContentRun, 1> m_contentRuns; | 201 Vector<ContentRun, 1> m_contentRuns; |
204 }; | 202 }; |
205 | 203 |
206 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderMultiColumnSet, isRenderMultiColumnSet()); | 204 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderMultiColumnSet, isRenderMultiColumnSet()); |
207 | 205 |
208 } // namespace blink | 206 } // namespace blink |
209 | 207 |
210 #endif // RenderMultiColumnSet_h | 208 #endif // RenderMultiColumnSet_h |
211 | 209 |
OLD | NEW |