Index: Source/core/layout/LayoutView.h |
diff --git a/Source/core/layout/LayoutView.h b/Source/core/layout/LayoutView.h |
index f6fc18046da693e1af9606f5c203b9c0a67f5593..529c46a31e4e053289d9dc4bdf09272df60326ee 100644 |
--- a/Source/core/layout/LayoutView.h |
+++ b/Source/core/layout/LayoutView.h |
@@ -23,6 +23,7 @@ |
#define LayoutView_h |
#include "core/CoreExport.h" |
+#include "core/compositing/DisplayListCompositingBuilder.h" |
#include "core/editing/Position.h" |
#include "core/frame/FrameView.h" |
#include "core/layout/HitTestCache.h" |
@@ -188,6 +189,9 @@ public: |
// It is very likely you do not want to call this method. |
void setShouldDoFullPaintInvalidationForViewAndAllDescendants(); |
+ void setCompositedDisplayList(PassOwnPtr<const CompositedDisplayList> compositedDisplayList) { m_compositedDisplayList = compositedDisplayList; } |
+ const CompositedDisplayList* compositedDisplayList() const { return m_compositedDisplayList.get(); } |
+ |
private: |
void mapLocalToContainer(const LayoutBoxModelObject* paintInvalidationContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed = nullptr, const PaintInvalidationState* = nullptr) const override; |
@@ -233,6 +237,10 @@ private: |
OwnPtrWillBePersistent<HitTestCache> m_hitTestCache; |
OwnPtrWillBePersistent<PendingSelection> m_pendingSelection; |
+ |
+ // TODO(pdr): This is only temporarily here and will be moving |
+ // when the API to cc is specified. |
+ OwnPtr<const CompositedDisplayList> m_compositedDisplayList; |
}; |
DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); |