Index: Source/core/layout/LayoutView.h |
diff --git a/Source/core/layout/LayoutView.h b/Source/core/layout/LayoutView.h |
index 672bcac0ee4045bcbe002fee5c71e78b71e0fea3..24a5d77a7ea65db1243dd5b3b5ba3b6fdfc55ca5 100644 |
--- a/Source/core/layout/LayoutView.h |
+++ b/Source/core/layout/LayoutView.h |
@@ -33,6 +33,7 @@ |
#include "core/layout/PendingSelection.h" |
#include "platform/PODFreeListArena.h" |
#include "platform/RuntimeEnabledFeatures.h" |
+#include "platform/graphics/paint/DisplayItemTransformTree.h" |
#include "platform/heap/Handle.h" |
#include "platform/scroll/ScrollableArea.h" |
#include "wtf/OwnPtr.h" |
@@ -188,6 +189,9 @@ public: |
// It is very likely you do not want to call this method. |
void setShouldDoFullPaintInvalidationForViewAndAllDescendants(); |
+ void setTransformTree(PassOwnPtr<const DisplayItemTransformTree> transformTree) { m_transformTree = transformTree; } |
+ const DisplayItemTransformTree* transformTree() const { return m_transformTree.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. |
+ OwnPtrWillBePersistent<const DisplayItemTransformTree> m_transformTree; |
chrishtr
2015/08/14 22:12:10
Put the CompositedDisplayList here instead of just
pdr.
2015/08/15 02:35:04
Done
|
}; |
DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); |