OLD | NEW |
1 /* | 1 /* |
2 Copyright (C) 1997 Martin Jones (mjones@kde.org) | 2 Copyright (C) 1997 Martin Jones (mjones@kde.org) |
3 (C) 1998 Waldo Bastian (bastian@kde.org) | 3 (C) 1998 Waldo Bastian (bastian@kde.org) |
4 (C) 1998, 1999 Torben Weis (weis@kde.org) | 4 (C) 1998, 1999 Torben Weis (weis@kde.org) |
5 (C) 1999 Lars Knoll (knoll@kde.org) | 5 (C) 1999 Lars Knoll (knoll@kde.org) |
6 (C) 1999 Antti Koivisto (koivisto@kde.org) | 6 (C) 1999 Antti Koivisto (koivisto@kde.org) |
7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights | 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights |
8 reserved. | 8 reserved. |
9 | 9 |
10 This library is free software; you can redistribute it and/or | 10 This library is free software; you can redistribute it and/or |
(...skipping 29 matching lines...) Expand all Loading... |
40 #include "core/paint/PaintPhase.h" | 40 #include "core/paint/PaintPhase.h" |
41 #include "core/paint/ScrollbarManager.h" | 41 #include "core/paint/ScrollbarManager.h" |
42 #include "core/plugins/PluginView.h" | 42 #include "core/plugins/PluginView.h" |
43 #include "platform/FrameViewBase.h" | 43 #include "platform/FrameViewBase.h" |
44 #include "platform/RuntimeEnabledFeatures.h" | 44 #include "platform/RuntimeEnabledFeatures.h" |
45 #include "platform/animation/CompositorAnimationHost.h" | 45 #include "platform/animation/CompositorAnimationHost.h" |
46 #include "platform/animation/CompositorAnimationTimeline.h" | 46 #include "platform/animation/CompositorAnimationTimeline.h" |
47 #include "platform/geometry/IntRect.h" | 47 #include "platform/geometry/IntRect.h" |
48 #include "platform/geometry/LayoutRect.h" | 48 #include "platform/geometry/LayoutRect.h" |
49 #include "platform/graphics/Color.h" | 49 #include "platform/graphics/Color.h" |
| 50 #include "platform/graphics/CompositorElementId.h" |
50 #include "platform/graphics/GraphicsLayerClient.h" | 51 #include "platform/graphics/GraphicsLayerClient.h" |
51 #include "platform/scroll/ScrollTypes.h" | 52 #include "platform/scroll/ScrollTypes.h" |
52 #include "platform/scroll/Scrollbar.h" | 53 #include "platform/scroll/Scrollbar.h" |
53 #include "public/platform/ShapeProperties.h" | 54 #include "public/platform/ShapeProperties.h" |
54 #include "public/platform/WebDisplayMode.h" | 55 #include "public/platform/WebDisplayMode.h" |
55 #include "public/platform/WebRect.h" | 56 #include "public/platform/WebRect.h" |
56 #include "wtf/Allocator.h" | 57 #include "wtf/Allocator.h" |
57 #include "wtf/AutoReset.h" | 58 #include "wtf/AutoReset.h" |
58 #include "wtf/Forward.h" | 59 #include "wtf/Forward.h" |
59 #include "wtf/HashSet.h" | 60 #include "wtf/HashSet.h" |
60 #include "wtf/ListHashSet.h" | 61 #include "wtf/ListHashSet.h" |
61 #include "wtf/text/WTFString.h" | 62 #include "wtf/text/WTFString.h" |
62 | 63 |
63 namespace blink { | 64 namespace blink { |
64 | 65 |
65 class AXObjectCache; | 66 class AXObjectCache; |
66 class ComputedStyle; | 67 class ComputedStyle; |
| 68 class Cursor; |
67 class DocumentLifecycle; | 69 class DocumentLifecycle; |
68 class Cursor; | |
69 class Element; | 70 class Element; |
70 class ElementVisibilityObserver; | 71 class ElementVisibilityObserver; |
71 class Frame; | 72 class Frame; |
72 class FloatSize; | 73 class FloatSize; |
73 class JSONArray; | 74 class JSONArray; |
74 class JSONObject; | 75 class JSONObject; |
75 class LayoutItem; | 76 class LayoutItem; |
76 class LayoutViewItem; | 77 class LayoutViewItem; |
77 class LayoutPart; | 78 class LayoutPart; |
78 class LocalFrame; | 79 class LocalFrame; |
(...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
917 void updateStyleAndLayoutIfNeededRecursive(); | 918 void updateStyleAndLayoutIfNeededRecursive(); |
918 void prePaint(); | 919 void prePaint(); |
919 void paintTree(); | 920 void paintTree(); |
920 void paintGraphicsLayerRecursively(GraphicsLayer*); | 921 void paintGraphicsLayerRecursively(GraphicsLayer*); |
921 | 922 |
922 void updateStyleAndLayoutIfNeededRecursiveInternal(); | 923 void updateStyleAndLayoutIfNeededRecursiveInternal(); |
923 void invalidateTreeIfNeededRecursiveInternal(); | 924 void invalidateTreeIfNeededRecursiveInternal(); |
924 | 925 |
925 // TODO(wangxianzhu): Remove the parameter and use m_paintController for SPv2. | 926 // TODO(wangxianzhu): Remove the parameter and use m_paintController for SPv2. |
926 void notifyPaint(const PaintController&) const; | 927 void notifyPaint(const PaintController&) const; |
927 void pushPaintArtifactToCompositor(); | 928 void pushPaintArtifactToCompositor( |
| 929 CompositorElementIdSet& compositedElementIds); |
928 | 930 |
929 void reset(); | 931 void reset(); |
930 void init(); | 932 void init(); |
931 | 933 |
932 void clearLayoutSubtreeRootsAndMarkContainingBlocks(); | 934 void clearLayoutSubtreeRootsAndMarkContainingBlocks(); |
933 | 935 |
934 // Called when our frame rect changes (or the rect/scroll offset of an | 936 // Called when our frame rect changes (or the rect/scroll offset of an |
935 // ancestor changes). | 937 // ancestor changes). |
936 void frameRectsChanged() override; | 938 void frameRectsChanged() override; |
937 | 939 |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1261 frameViewBase.isFrameView()); | 1263 frameViewBase.isFrameView()); |
1262 DEFINE_TYPE_CASTS(FrameView, | 1264 DEFINE_TYPE_CASTS(FrameView, |
1263 ScrollableArea, | 1265 ScrollableArea, |
1264 scrollableArea, | 1266 scrollableArea, |
1265 scrollableArea->isFrameView(), | 1267 scrollableArea->isFrameView(), |
1266 scrollableArea.isFrameView()); | 1268 scrollableArea.isFrameView()); |
1267 | 1269 |
1268 } // namespace blink | 1270 } // namespace blink |
1269 | 1271 |
1270 #endif // FrameView_h | 1272 #endif // FrameView_h |
OLD | NEW |