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

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

Issue 2872793002: Notify paint for each frame (Closed)
Patch Set: remove one comment Created 3 years, 7 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 914 matching lines...) Expand 10 before | Expand all | Expand 10 after
925 void DeprecatedInvalidateTreeRecursive(); 925 void DeprecatedInvalidateTreeRecursive();
926 void ScrollContentsIfNeededRecursive(); 926 void ScrollContentsIfNeededRecursive();
927 void UpdateStyleAndLayoutIfNeededRecursive(); 927 void UpdateStyleAndLayoutIfNeededRecursive();
928 void PrePaint(); 928 void PrePaint();
929 void PaintTree(); 929 void PaintTree();
930 void PaintGraphicsLayerRecursively(GraphicsLayer*); 930 void PaintGraphicsLayerRecursively(GraphicsLayer*);
931 931
932 void UpdateStyleAndLayoutIfNeededRecursiveInternal(); 932 void UpdateStyleAndLayoutIfNeededRecursiveInternal();
933 void DeprecatedInvalidateTreeRecursiveInternal(); 933 void DeprecatedInvalidateTreeRecursiveInternal();
934 934
935 // TODO(wangxianzhu): Remove the parameter and use m_paintController for SPv2.
936 void NotifyPaint(const PaintController&) const;
937 void PushPaintArtifactToCompositor( 935 void PushPaintArtifactToCompositor(
938 CompositorElementIdSet& composited_element_ids); 936 CompositorElementIdSet& composited_element_ids);
939 937
940 void Reset(); 938 void Reset();
941 void Init(); 939 void Init();
942 940
943 void ClearLayoutSubtreeRootsAndMarkContainingBlocks(); 941 void ClearLayoutSubtreeRootsAndMarkContainingBlocks();
944 942
945 // Called when our frame rect changes (or the rect/scroll offset of an 943 // Called when our frame rect changes (or the rect/scroll offset of an
946 // ancestor changes). 944 // ancestor changes).
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
1274 frame_or_plugin.IsFrameView()); 1272 frame_or_plugin.IsFrameView());
1275 DEFINE_TYPE_CASTS(FrameView, 1273 DEFINE_TYPE_CASTS(FrameView,
1276 ScrollableArea, 1274 ScrollableArea,
1277 scrollableArea, 1275 scrollableArea,
1278 scrollableArea->IsFrameView(), 1276 scrollableArea->IsFrameView(),
1279 scrollableArea.IsFrameView()); 1277 scrollableArea.IsFrameView());
1280 1278
1281 } // namespace blink 1279 } // namespace blink
1282 1280
1283 #endif // FrameView_h 1281 #endif // FrameView_h
OLDNEW
« no previous file with comments | « chrome/test/data/page_load_metrics/main_frame_with_iframe.html ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698