| 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, |
| 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
| 14 * | 14 * |
| 15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
| 16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
| 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
| 19 */ | 19 */ |
| 20 | 20 |
| 21 #include "config.h" | 21 #include "config.h" |
| 22 #include "core/rendering/RenderView.h" | 22 #include "core/rendering/RenderView.h" |
| 23 | 23 |
| 24 #include "core/dom/Document.h" | 24 #include "core/dom/Document.h" |
| 25 #include "core/dom/Element.h" | 25 #include "core/dom/Element.h" |
| 26 #include "core/dom/WebCoreMemoryInstrumentation.h" | |
| 27 #include "core/html/HTMLFrameOwnerElement.h" | 26 #include "core/html/HTMLFrameOwnerElement.h" |
| 28 #include "core/html/HTMLIFrameElement.h" | 27 #include "core/html/HTMLIFrameElement.h" |
| 29 #include "core/page/Frame.h" | 28 #include "core/page/Frame.h" |
| 30 #include "core/page/FrameView.h" | 29 #include "core/page/FrameView.h" |
| 31 #include "core/page/Page.h" | 30 #include "core/page/Page.h" |
| 32 #include "core/platform/graphics/filters/custom/CustomFilterGlobalContext.h" | 31 #include "core/platform/graphics/filters/custom/CustomFilterGlobalContext.h" |
| 33 #include "core/platform/graphics/FloatQuad.h" | 32 #include "core/platform/graphics/FloatQuad.h" |
| 34 #include "core/platform/graphics/GraphicsContext.h" | 33 #include "core/platform/graphics/GraphicsContext.h" |
| 35 #include "core/platform/graphics/transforms/TransformState.h" | 34 #include "core/platform/graphics/transforms/TransformState.h" |
| 36 #include "core/rendering/ColumnInfo.h" | 35 #include "core/rendering/ColumnInfo.h" |
| 37 #include "core/rendering/FlowThreadController.h" | 36 #include "core/rendering/FlowThreadController.h" |
| 38 #include "core/rendering/HitTestResult.h" | 37 #include "core/rendering/HitTestResult.h" |
| 39 #include "core/rendering/RenderGeometryMap.h" | 38 #include "core/rendering/RenderGeometryMap.h" |
| 40 #include "core/rendering/RenderLayer.h" | 39 #include "core/rendering/RenderLayer.h" |
| 41 #include "core/rendering/RenderLayerBacking.h" | 40 #include "core/rendering/RenderLayerBacking.h" |
| 42 #include "core/rendering/RenderLayerCompositor.h" | 41 #include "core/rendering/RenderLayerCompositor.h" |
| 43 #include "core/rendering/RenderLazyBlock.h" | 42 #include "core/rendering/RenderLazyBlock.h" |
| 44 #include "core/rendering/RenderNamedFlowThread.h" | |
| 45 #include "core/rendering/RenderSelectionInfo.h" | 43 #include "core/rendering/RenderSelectionInfo.h" |
| 46 #include "core/rendering/RenderWidget.h" | 44 #include "core/rendering/RenderWidget.h" |
| 47 #include "core/rendering/RenderWidgetProtector.h" | |
| 48 #include "core/rendering/style/StyleInheritedData.h" | |
| 49 | 45 |
| 50 namespace WebCore { | 46 namespace WebCore { |
| 51 | 47 |
| 52 RenderView::RenderView(Document* document) | 48 RenderView::RenderView(Document* document) |
| 53 : RenderBlock(document) | 49 : RenderBlock(document) |
| 54 , m_frameView(document->view()) | 50 , m_frameView(document->view()) |
| 55 , m_selectionStart(0) | 51 , m_selectionStart(0) |
| 56 , m_selectionEnd(0) | 52 , m_selectionEnd(0) |
| 57 , m_selectionStartPos(-1) | 53 , m_selectionStartPos(-1) |
| 58 , m_selectionEndPos(-1) | 54 , m_selectionEndPos(-1) |
| (...skipping 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1161 #endif | 1157 #endif |
| 1162 | 1158 |
| 1163 if (layoutState) | 1159 if (layoutState) |
| 1164 layoutState->m_isPaginated = m_fragmenting; | 1160 layoutState->m_isPaginated = m_fragmenting; |
| 1165 | 1161 |
| 1166 if (m_flowThreadState != RenderObject::NotInsideFlowThread) | 1162 if (m_flowThreadState != RenderObject::NotInsideFlowThread) |
| 1167 m_root->setFlowThreadStateIncludingDescendants(m_flowThreadState); | 1163 m_root->setFlowThreadStateIncludingDescendants(m_flowThreadState); |
| 1168 } | 1164 } |
| 1169 | 1165 |
| 1170 } // namespace WebCore | 1166 } // namespace WebCore |
| OLD | NEW |