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 26 matching lines...) Expand all Loading... |
37 #include "core/layout/LayoutScrollbarPart.h" | 37 #include "core/layout/LayoutScrollbarPart.h" |
38 #include "core/layout/compositing/PaintLayerCompositor.h" | 38 #include "core/layout/compositing/PaintLayerCompositor.h" |
39 #include "core/page/Page.h" | 39 #include "core/page/Page.h" |
40 #include "core/paint/PaintLayer.h" | 40 #include "core/paint/PaintLayer.h" |
41 #include "core/paint/ViewPainter.h" | 41 #include "core/paint/ViewPainter.h" |
42 #include "core/svg/SVGDocumentExtensions.h" | 42 #include "core/svg/SVGDocumentExtensions.h" |
43 #include "platform/TraceEvent.h" | 43 #include "platform/TraceEvent.h" |
44 #include "platform/TracedValue.h" | 44 #include "platform/TracedValue.h" |
45 #include "platform/geometry/FloatQuad.h" | 45 #include "platform/geometry/FloatQuad.h" |
46 #include "platform/geometry/TransformState.h" | 46 #include "platform/geometry/TransformState.h" |
47 #include "platform/graphics/paint/DisplayItemList.h" | 47 #include "platform/graphics/paint/PaintController.h" |
48 #include <inttypes.h> | 48 #include <inttypes.h> |
49 | 49 |
50 namespace blink { | 50 namespace blink { |
51 | 51 |
52 LayoutView::LayoutView(Document* document) | 52 LayoutView::LayoutView(Document* document) |
53 : LayoutBlockFlow(document) | 53 : LayoutBlockFlow(document) |
54 , m_frameView(document->view()) | 54 , m_frameView(document->view()) |
55 , m_selectionStart(nullptr) | 55 , m_selectionStart(nullptr) |
56 , m_selectionEnd(nullptr) | 56 , m_selectionEnd(nullptr) |
57 , m_selectionStartPos(-1) | 57 , m_selectionStartPos(-1) |
(...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
932 return viewHeight(IncludeScrollbars) / scale; | 932 return viewHeight(IncludeScrollbars) / scale; |
933 } | 933 } |
934 | 934 |
935 void LayoutView::willBeDestroyed() | 935 void LayoutView::willBeDestroyed() |
936 { | 936 { |
937 LayoutBlockFlow::willBeDestroyed(); | 937 LayoutBlockFlow::willBeDestroyed(); |
938 m_compositor.clear(); | 938 m_compositor.clear(); |
939 } | 939 } |
940 | 940 |
941 } // namespace blink | 941 } // namespace blink |
OLD | NEW |