OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 23 |
24 #include "RuntimeEnabledFeatures.h" | 24 #include "RuntimeEnabledFeatures.h" |
25 #include "core/dom/Document.h" | 25 #include "core/dom/Document.h" |
26 #include "core/dom/Element.h" | 26 #include "core/dom/Element.h" |
27 #include "core/html/HTMLDialogElement.h" | 27 #include "core/html/HTMLDialogElement.h" |
28 #include "core/html/HTMLFrameOwnerElement.h" | 28 #include "core/html/HTMLFrameOwnerElement.h" |
29 #include "core/html/HTMLIFrameElement.h" | 29 #include "core/html/HTMLIFrameElement.h" |
30 #include "core/frame/Frame.h" | 30 #include "core/frame/Frame.h" |
31 #include "core/page/Page.h" | 31 #include "core/page/Page.h" |
32 #include "core/platform/graphics/filters/custom/CustomFilterGlobalContext.h" | 32 #include "core/platform/graphics/filters/custom/CustomFilterGlobalContext.h" |
33 #include "core/platform/graphics/GraphicsContext.h" | |
34 #include "core/rendering/ColumnInfo.h" | 33 #include "core/rendering/ColumnInfo.h" |
35 #include "core/rendering/CompositedLayerMapping.h" | 34 #include "core/rendering/CompositedLayerMapping.h" |
36 #include "core/rendering/FlowThreadController.h" | 35 #include "core/rendering/FlowThreadController.h" |
37 #include "core/rendering/GraphicsContextAnnotator.h" | 36 #include "core/rendering/GraphicsContextAnnotator.h" |
38 #include "core/rendering/HitTestResult.h" | 37 #include "core/rendering/HitTestResult.h" |
39 #include "core/rendering/LayoutRectRecorder.h" | 38 #include "core/rendering/LayoutRectRecorder.h" |
40 #include "core/rendering/RenderFlowThread.h" | 39 #include "core/rendering/RenderFlowThread.h" |
41 #include "core/rendering/RenderGeometryMap.h" | 40 #include "core/rendering/RenderGeometryMap.h" |
42 #include "core/rendering/RenderLayer.h" | 41 #include "core/rendering/RenderLayer.h" |
43 #include "core/rendering/RenderLayerCompositor.h" | 42 #include "core/rendering/RenderLayerCompositor.h" |
44 #include "core/rendering/RenderSelectionInfo.h" | 43 #include "core/rendering/RenderSelectionInfo.h" |
45 #include "core/rendering/RenderWidget.h" | 44 #include "core/rendering/RenderWidget.h" |
46 #include "core/svg/SVGDocumentExtensions.h" | 45 #include "core/svg/SVGDocumentExtensions.h" |
47 #include "platform/geometry/FloatQuad.h" | 46 #include "platform/geometry/FloatQuad.h" |
48 #include "platform/geometry/TransformState.h" | 47 #include "platform/geometry/TransformState.h" |
| 48 #include "platform/graphics/GraphicsContext.h" |
49 | 49 |
50 namespace WebCore { | 50 namespace WebCore { |
51 | 51 |
52 RenderView::RenderView(Document* document) | 52 RenderView::RenderView(Document* document) |
53 : RenderBlockFlow(document) | 53 : RenderBlockFlow(document) |
54 , m_frameView(document->view()) | 54 , m_frameView(document->view()) |
55 , m_selectionStart(0) | 55 , m_selectionStart(0) |
56 , m_selectionEnd(0) | 56 , m_selectionEnd(0) |
57 , m_selectionStartPos(-1) | 57 , m_selectionStartPos(-1) |
58 , m_selectionEndPos(-1) | 58 , m_selectionEndPos(-1) |
(...skipping 1209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1268 #endif | 1268 #endif |
1269 | 1269 |
1270 if (layoutState) | 1270 if (layoutState) |
1271 layoutState->m_isPaginated = m_fragmenting; | 1271 layoutState->m_isPaginated = m_fragmenting; |
1272 | 1272 |
1273 if (m_flowThreadState != RenderObject::NotInsideFlowThread) | 1273 if (m_flowThreadState != RenderObject::NotInsideFlowThread) |
1274 m_root->setFlowThreadStateIncludingDescendants(m_flowThreadState); | 1274 m_root->setFlowThreadStateIncludingDescendants(m_flowThreadState); |
1275 } | 1275 } |
1276 | 1276 |
1277 } // namespace WebCore | 1277 } // namespace WebCore |
OLD | NEW |