Index: Source/platform/graphics/CompositedDisplayList.h |
diff --git a/Source/core/compositing/DisplayListCompositingBuilder.h b/Source/platform/graphics/CompositedDisplayList.h |
similarity index 52% |
copy from Source/core/compositing/DisplayListCompositingBuilder.h |
copy to Source/platform/graphics/CompositedDisplayList.h |
index 765763f5dd2cf64076943bbfe62dd31225e90d8d..3668756542c876248dfda09c1e980f162c9a9e4d 100644 |
--- a/Source/core/compositing/DisplayListCompositingBuilder.h |
+++ b/Source/platform/graphics/CompositedDisplayList.h |
@@ -2,32 +2,23 @@ |
// 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 |
+#ifndef CompositedDisplayList_h |
+#define CompositedDisplayList_h |
-#include "core/CoreExport.h" |
#include "platform/graphics/paint/DisplayItemList.h" |
#include "platform/graphics/paint/DisplayItemTransformTree.h" |
namespace blink { |
-struct CompositedDisplayList { |
+// The result of running the simple layer compositing algorithm. See: |
+// https://docs.google.com/document/d/1qF7wpO_lhuxUO6YXKZ3CJuXi0grcb5gKZJBBgnoTd0k/view |
+class CompositedDisplayList { |
+public: |
// 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 |
+#endif // CompositedDisplayList_h |