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

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

Issue 2623043002: Fix first paint tracking for SPv2 (Closed)
Patch Set: Created 3 years, 11 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 859 matching lines...) Expand 10 before | Expand all | Expand 10 after
870 void invalidateTreeIfNeededRecursive(); 870 void invalidateTreeIfNeededRecursive();
871 void scrollContentsIfNeededRecursive(); 871 void scrollContentsIfNeededRecursive();
872 void updateStyleAndLayoutIfNeededRecursive(); 872 void updateStyleAndLayoutIfNeededRecursive();
873 void prePaint(); 873 void prePaint();
874 void paintTree(); 874 void paintTree();
875 void paintGraphicsLayerRecursively(GraphicsLayer*); 875 void paintGraphicsLayerRecursively(GraphicsLayer*);
876 876
877 void updateStyleAndLayoutIfNeededRecursiveInternal(); 877 void updateStyleAndLayoutIfNeededRecursiveInternal();
878 void invalidateTreeIfNeededRecursiveInternal(); 878 void invalidateTreeIfNeededRecursiveInternal();
879 879
880 // TODO(wangxianzhu): Remove the parameter and use m_paintController for SPv2.
881 void notifyPaint(const PaintController&) const;
880 void pushPaintArtifactToCompositor(); 882 void pushPaintArtifactToCompositor();
881 883
882 void reset(); 884 void reset();
883 void init(); 885 void init();
884 886
885 void clearLayoutSubtreeRootsAndMarkContainingBlocks(); 887 void clearLayoutSubtreeRootsAndMarkContainingBlocks();
886 888
887 // Called when our frame rect changes (or the rect/scroll offset of an 889 // Called when our frame rect changes (or the rect/scroll offset of an
888 // ancestor changes). 890 // ancestor changes).
889 void frameRectsChanged() override; 891 void frameRectsChanged() override;
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
1205 widget.isFrameView()); 1207 widget.isFrameView());
1206 DEFINE_TYPE_CASTS(FrameView, 1208 DEFINE_TYPE_CASTS(FrameView,
1207 ScrollableArea, 1209 ScrollableArea,
1208 scrollableArea, 1210 scrollableArea,
1209 scrollableArea->isFrameView(), 1211 scrollableArea->isFrameView(),
1210 scrollableArea.isFrameView()); 1212 scrollableArea.isFrameView());
1211 1213
1212 } // namespace blink 1214 } // namespace blink
1213 1215
1214 #endif // FrameView_h 1216 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698