Index: Source/core/compositing/DisplayListCompositingBuilder.h |
diff --git a/Source/core/compositing/DisplayListCompositingBuilder.h b/Source/core/compositing/DisplayListCompositingBuilder.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..765763f5dd2cf64076943bbfe62dd31225e90d8d |
--- /dev/null |
+++ b/Source/core/compositing/DisplayListCompositingBuilder.h |
@@ -0,0 +1,33 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef DisplayListCompositingBuilder_h |
+#define DisplayListCompositingBuilder_h |
+ |
+#include "core/CoreExport.h" |
+#include "platform/graphics/paint/DisplayItemList.h" |
+#include "platform/graphics/paint/DisplayItemTransformTree.h" |
+ |
+namespace blink { |
+ |
+struct CompositedDisplayList { |
+ // TODO(pdr): Also add our SimpleLayers here. |
+ // TODO(pdr): Add the additional property trees (e.g., clip, scroll, etc). |
+ OwnPtr<const DisplayItemTransformTree> transformTree; |
+}; |
+ |
+class CORE_EXPORT DisplayListCompositingBuilder { |
+public: |
+ DisplayListCompositingBuilder(const DisplayItemList& displayItemList, const DisplayListDiff&) |
+ : m_displayItemList(displayItemList) { } |
+ |
+ void build(CompositedDisplayList&); |
+ |
+private: |
+ const DisplayItemList& m_displayItemList; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // DisplayListCompositingBuilder_h |