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

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

Issue 2623043002: Fix first paint tracking for SPv2 (Closed)
Patch Set: Rebase and update comments 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 851 matching lines...) Expand 10 before | Expand all | Expand 10 after
862 void invalidateTreeIfNeededRecursive(); 862 void invalidateTreeIfNeededRecursive();
863 void scrollContentsIfNeededRecursive(); 863 void scrollContentsIfNeededRecursive();
864 void updateStyleAndLayoutIfNeededRecursive(); 864 void updateStyleAndLayoutIfNeededRecursive();
865 void prePaint(); 865 void prePaint();
866 void paintTree(); 866 void paintTree();
867 void paintGraphicsLayerRecursively(GraphicsLayer*); 867 void paintGraphicsLayerRecursively(GraphicsLayer*);
868 868
869 void updateStyleAndLayoutIfNeededRecursiveInternal(); 869 void updateStyleAndLayoutIfNeededRecursiveInternal();
870 void invalidateTreeIfNeededRecursiveInternal(); 870 void invalidateTreeIfNeededRecursiveInternal();
871 871
872 // TODO(wangxianzhu): Remove the parameter and use m_paintController for SPv2.
873 void notifyPaint(const PaintController&) const;
872 void pushPaintArtifactToCompositor(); 874 void pushPaintArtifactToCompositor();
873 875
874 void reset(); 876 void reset();
875 void init(); 877 void init();
876 878
877 void clearLayoutSubtreeRootsAndMarkContainingBlocks(); 879 void clearLayoutSubtreeRootsAndMarkContainingBlocks();
878 880
879 // Called when our frame rect changes (or the rect/scroll offset of an 881 // Called when our frame rect changes (or the rect/scroll offset of an
880 // ancestor changes). 882 // ancestor changes).
881 void frameRectsChanged() override; 883 void frameRectsChanged() override;
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
1195 widget.isFrameView()); 1197 widget.isFrameView());
1196 DEFINE_TYPE_CASTS(FrameView, 1198 DEFINE_TYPE_CASTS(FrameView,
1197 ScrollableArea, 1199 ScrollableArea,
1198 scrollableArea, 1200 scrollableArea,
1199 scrollableArea->isFrameView(), 1201 scrollableArea->isFrameView(),
1200 scrollableArea.isFrameView()); 1202 scrollableArea.isFrameView());
1201 1203
1202 } // namespace blink 1204 } // namespace blink
1203 1205
1204 #endif // FrameView_h 1206 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698