Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameView.h

Issue 2724083002: [SPv2] Decomposite otherwise-compositable animations that paint nothing. (Closed)
Patch Set: More include tweaks. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 28 matching lines...) Expand all
39 #include "core/paint/PaintInvalidationCapableScrollableArea.h" 39 #include "core/paint/PaintInvalidationCapableScrollableArea.h"
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 "platform/FrameViewBase.h" 42 #include "platform/FrameViewBase.h"
43 #include "platform/RuntimeEnabledFeatures.h" 43 #include "platform/RuntimeEnabledFeatures.h"
44 #include "platform/animation/CompositorAnimationHost.h" 44 #include "platform/animation/CompositorAnimationHost.h"
45 #include "platform/animation/CompositorAnimationTimeline.h" 45 #include "platform/animation/CompositorAnimationTimeline.h"
46 #include "platform/geometry/IntRect.h" 46 #include "platform/geometry/IntRect.h"
47 #include "platform/geometry/LayoutRect.h" 47 #include "platform/geometry/LayoutRect.h"
48 #include "platform/graphics/Color.h" 48 #include "platform/graphics/Color.h"
49 #include "platform/graphics/CompositorElementId.h"
49 #include "platform/graphics/GraphicsLayerClient.h" 50 #include "platform/graphics/GraphicsLayerClient.h"
50 #include "platform/scroll/ScrollTypes.h" 51 #include "platform/scroll/ScrollTypes.h"
51 #include "platform/scroll/Scrollbar.h" 52 #include "platform/scroll/Scrollbar.h"
52 #include "public/platform/ShapeProperties.h" 53 #include "public/platform/ShapeProperties.h"
53 #include "public/platform/WebDisplayMode.h" 54 #include "public/platform/WebDisplayMode.h"
54 #include "public/platform/WebRect.h" 55 #include "public/platform/WebRect.h"
55 #include "wtf/Allocator.h" 56 #include "wtf/Allocator.h"
56 #include "wtf/AutoReset.h" 57 #include "wtf/AutoReset.h"
57 #include "wtf/Forward.h" 58 #include "wtf/Forward.h"
58 #include "wtf/HashSet.h" 59 #include "wtf/HashSet.h"
59 #include "wtf/ListHashSet.h" 60 #include "wtf/ListHashSet.h"
60 #include "wtf/text/WTFString.h" 61 #include "wtf/text/WTFString.h"
61 62
62 namespace blink { 63 namespace blink {
63 64
64 class AXObjectCache; 65 class AXObjectCache;
65 class ComputedStyle; 66 class ComputedStyle;
67 class Cursor;
66 class DocumentLifecycle; 68 class DocumentLifecycle;
67 class Cursor;
68 class Element; 69 class Element;
69 class ElementVisibilityObserver; 70 class ElementVisibilityObserver;
70 class Frame; 71 class Frame;
71 class FloatSize; 72 class FloatSize;
72 class GeometryMapper; 73 class GeometryMapper;
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;
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
920 void updateStyleAndLayoutIfNeededRecursive(); 921 void updateStyleAndLayoutIfNeededRecursive();
921 void prePaint(); 922 void prePaint();
922 void paintTree(); 923 void paintTree();
923 void paintGraphicsLayerRecursively(GraphicsLayer*); 924 void paintGraphicsLayerRecursively(GraphicsLayer*);
924 925
925 void updateStyleAndLayoutIfNeededRecursiveInternal(); 926 void updateStyleAndLayoutIfNeededRecursiveInternal();
926 void invalidateTreeIfNeededRecursiveInternal(); 927 void invalidateTreeIfNeededRecursiveInternal();
927 928
928 // TODO(wangxianzhu): Remove the parameter and use m_paintController for SPv2. 929 // TODO(wangxianzhu): Remove the parameter and use m_paintController for SPv2.
929 void notifyPaint(const PaintController&) const; 930 void notifyPaint(const PaintController&) const;
930 void pushPaintArtifactToCompositor(); 931 void pushPaintArtifactToCompositor(
932 CompositorElementIdSet& compositedElementIds);
931 933
932 void reset(); 934 void reset();
933 void init(); 935 void init();
934 936
935 void clearLayoutSubtreeRootsAndMarkContainingBlocks(); 937 void clearLayoutSubtreeRootsAndMarkContainingBlocks();
936 938
937 // Called when our frame rect changes (or the rect/scroll offset of an 939 // Called when our frame rect changes (or the rect/scroll offset of an
938 // ancestor changes). 940 // ancestor changes).
939 void frameRectsChanged() override; 941 void frameRectsChanged() override;
940 942
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
1266 frameViewBase.isFrameView()); 1268 frameViewBase.isFrameView());
1267 DEFINE_TYPE_CASTS(FrameView, 1269 DEFINE_TYPE_CASTS(FrameView,
1268 ScrollableArea, 1270 ScrollableArea,
1269 scrollableArea, 1271 scrollableArea,
1270 scrollableArea->isFrameView(), 1272 scrollableArea->isFrameView(),
1271 scrollableArea.isFrameView()); 1273 scrollableArea.isFrameView());
1272 1274
1273 } // namespace blink 1275 } // namespace blink
1274 1276
1275 #endif // FrameView_h 1277 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698