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 13 matching lines...) Expand all Loading... |
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR | 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF | 25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF |
26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
27 * SUCH DAMAGE. | 27 * SUCH DAMAGE. |
28 */ | 28 */ |
29 | 29 |
30 #include "config.h" | 30 #include "config.h" |
31 | 31 |
32 #include "core/rendering/RenderFlowThread.h" | 32 #include "core/rendering/RenderFlowThread.h" |
33 | 33 |
34 #include "core/dom/Node.h" | |
35 #include "core/rendering/FlowThreadController.h" | 34 #include "core/rendering/FlowThreadController.h" |
36 #include "core/rendering/HitTestRequest.h" | |
37 #include "core/rendering/HitTestResult.h" | |
38 #include "core/rendering/PaintInfo.h" | 35 #include "core/rendering/PaintInfo.h" |
39 #include "core/rendering/RenderLayer.h" | |
40 #include "core/rendering/RenderMultiColumnSet.h" | 36 #include "core/rendering/RenderMultiColumnSet.h" |
41 #include "core/rendering/RenderView.h" | 37 #include "core/rendering/RenderView.h" |
42 #include "platform/PODIntervalTree.h" | |
43 #include "platform/geometry/TransformState.h" | |
44 | 38 |
45 namespace blink { | 39 namespace blink { |
46 | 40 |
47 RenderFlowThread::RenderFlowThread() | 41 RenderFlowThread::RenderFlowThread() |
48 : RenderBlockFlow(0) | 42 : RenderBlockFlow(0) |
49 , m_regionsInvalidated(false) | 43 , m_regionsInvalidated(false) |
50 , m_regionsHaveUniformLogicalHeight(true) | 44 , m_regionsHaveUniformLogicalHeight(true) |
51 , m_pageLogicalSizeChanged(false) | 45 , m_pageLogicalSizeChanged(false) |
52 { | 46 { |
53 setFlowThreadState(InsideOutOfFlowThread); | 47 setFlowThreadState(InsideOutOfFlowThread); |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 { | 386 { |
393 if (!m_renderFlowThread) | 387 if (!m_renderFlowThread) |
394 return; | 388 return; |
395 RenderView* view = m_renderFlowThread->view(); | 389 RenderView* view = m_renderFlowThread->view(); |
396 ASSERT(view->flowThreadController()->currentRenderFlowThread() == m_renderFl
owThread); | 390 ASSERT(view->flowThreadController()->currentRenderFlowThread() == m_renderFl
owThread); |
397 view->flowThreadController()->setCurrentRenderFlowThread(m_previousRenderFlo
wThread); | 391 view->flowThreadController()->setCurrentRenderFlowThread(m_previousRenderFlo
wThread); |
398 } | 392 } |
399 | 393 |
400 | 394 |
401 } // namespace blink | 395 } // namespace blink |
OLD | NEW |