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

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

Issue 2872793002: Notify paint for each frame (Closed)
Patch Set: 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 918 matching lines...) Expand 10 before | Expand all | Expand 10 after
929 void DeprecatedInvalidateTreeRecursive(); 929 void DeprecatedInvalidateTreeRecursive();
930 void ScrollContentsIfNeededRecursive(); 930 void ScrollContentsIfNeededRecursive();
931 void UpdateStyleAndLayoutIfNeededRecursive(); 931 void UpdateStyleAndLayoutIfNeededRecursive();
932 void PrePaint(); 932 void PrePaint();
933 void PaintTree(); 933 void PaintTree();
934 void PaintGraphicsLayerRecursively(GraphicsLayer*); 934 void PaintGraphicsLayerRecursively(GraphicsLayer*);
935 935
936 void UpdateStyleAndLayoutIfNeededRecursiveInternal(); 936 void UpdateStyleAndLayoutIfNeededRecursiveInternal();
937 void DeprecatedInvalidateTreeRecursiveInternal(); 937 void DeprecatedInvalidateTreeRecursiveInternal();
938 938
939 // TODO(wangxianzhu): Remove the parameter and use m_paintController for SPv2.
940 void NotifyPaint(const PaintController&) const;
941 void PushPaintArtifactToCompositor( 939 void PushPaintArtifactToCompositor(
942 CompositorElementIdSet& composited_element_ids); 940 CompositorElementIdSet& composited_element_ids);
943 941
944 void Reset(); 942 void Reset();
945 void Init(); 943 void Init();
946 944
947 void ClearLayoutSubtreeRootsAndMarkContainingBlocks(); 945 void ClearLayoutSubtreeRootsAndMarkContainingBlocks();
948 946
949 // Called when our frame rect changes (or the rect/scroll offset of an 947 // Called when our frame rect changes (or the rect/scroll offset of an
950 // ancestor changes). 948 // ancestor changes).
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
1274 frameViewBase.IsFrameView()); 1272 frameViewBase.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 | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698