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

Unified Diff: Source/core/paint/ViewDisplayList.h

Issue 698743002: [WIP] Adding support for <iframe>s to slimming paint. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/paint/ViewDisplayList.h
diff --git a/Source/core/paint/ViewDisplayList.h b/Source/core/paint/ViewDisplayList.h
index 582fca092c6ab36a8ace865f7a15784f69153bf9..e3aacfddcbbd0a3209432fe1c890138cb36f993d 100644
--- a/Source/core/paint/ViewDisplayList.h
+++ b/Source/core/paint/ViewDisplayList.h
@@ -48,6 +48,7 @@ public:
ClipLayerFragmentSelection = 25,
ClipLayerFragmentChildBlockBackgrounds = 26,
EndClip = 27,
+ Translation = 28,
};
virtual ~DisplayItem() { }
@@ -92,6 +93,9 @@ public:
void showDebugData() const;
#endif
+ static ViewDisplayList& fromRenderObject(const RenderObject*);
+ static ViewDisplayList& fromRenderLayer(const RenderLayer*);
+
private:
bool isRepaint(PaintList::iterator, const DisplayItem&);
// Update m_paintList with any invalidations or new paints.

Powered by Google App Engine
This is Rietveld 408576698