| 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 "sky/engine/config.h" |
| 22 #include "core/rendering/RenderView.h" | 22 #include "sky/engine/core/rendering/RenderView.h" |
| 23 | 23 |
| 24 #include "core/dom/Document.h" | |
| 25 #include "core/dom/Element.h" | |
| 26 #include "core/frame/LocalFrame.h" | |
| 27 #include "core/page/Page.h" | |
| 28 #include "core/rendering/GraphicsContextAnnotator.h" | |
| 29 #include "core/rendering/HitTestResult.h" | |
| 30 #include "core/rendering/RenderGeometryMap.h" | |
| 31 #include "core/rendering/RenderLayer.h" | |
| 32 #include "core/rendering/RenderSelectionInfo.h" | |
| 33 #include "core/rendering/compositing/CompositedLayerMapping.h" | |
| 34 #include "core/rendering/compositing/RenderLayerCompositor.h" | |
| 35 #include "gen/sky/platform/RuntimeEnabledFeatures.h" | 24 #include "gen/sky/platform/RuntimeEnabledFeatures.h" |
| 36 #include "platform/TraceEvent.h" | 25 #include "sky/engine/core/dom/Document.h" |
| 37 #include "platform/geometry/FloatQuad.h" | 26 #include "sky/engine/core/dom/Element.h" |
| 38 #include "platform/geometry/TransformState.h" | 27 #include "sky/engine/core/frame/LocalFrame.h" |
| 39 #include "platform/graphics/GraphicsContext.h" | 28 #include "sky/engine/core/page/Page.h" |
| 29 #include "sky/engine/core/rendering/GraphicsContextAnnotator.h" |
| 30 #include "sky/engine/core/rendering/HitTestResult.h" |
| 31 #include "sky/engine/core/rendering/RenderGeometryMap.h" |
| 32 #include "sky/engine/core/rendering/RenderLayer.h" |
| 33 #include "sky/engine/core/rendering/RenderSelectionInfo.h" |
| 34 #include "sky/engine/core/rendering/compositing/CompositedLayerMapping.h" |
| 35 #include "sky/engine/core/rendering/compositing/RenderLayerCompositor.h" |
| 36 #include "sky/engine/platform/TraceEvent.h" |
| 37 #include "sky/engine/platform/geometry/FloatQuad.h" |
| 38 #include "sky/engine/platform/geometry/TransformState.h" |
| 39 #include "sky/engine/platform/graphics/GraphicsContext.h" |
| 40 | 40 |
| 41 namespace blink { | 41 namespace blink { |
| 42 | 42 |
| 43 RenderView::RenderView(Document* document) | 43 RenderView::RenderView(Document* document) |
| 44 : RenderBlockFlow(document) | 44 : RenderBlockFlow(document) |
| 45 , m_frameView(document->view()) | 45 , m_frameView(document->view()) |
| 46 , m_selectionStart(nullptr) | 46 , m_selectionStart(nullptr) |
| 47 , m_selectionEnd(nullptr) | 47 , m_selectionEnd(nullptr) |
| 48 , m_selectionStartPos(-1) | 48 , m_selectionStartPos(-1) |
| 49 , m_selectionEndPos(-1) | 49 , m_selectionEndPos(-1) |
| (...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 764 m_iframes.remove(iframe); | 764 m_iframes.remove(iframe); |
| 765 } | 765 } |
| 766 | 766 |
| 767 void RenderView::updateIFramesAfterLayout() | 767 void RenderView::updateIFramesAfterLayout() |
| 768 { | 768 { |
| 769 for (auto& iframe: m_iframes) | 769 for (auto& iframe: m_iframes) |
| 770 iframe->updateWidgetBounds(); | 770 iframe->updateWidgetBounds(); |
| 771 } | 771 } |
| 772 | 772 |
| 773 } // namespace blink | 773 } // namespace blink |
| OLD | NEW |