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

Unified Diff: Source/platform/graphics/CompositedDisplayList.h

Issue 1301033002: Plumb CompositedDisplayList to WebViewImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase from space, also minor cleanups Created 5 years, 4 months 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/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

Powered by Google App Engine
This is Rietveld 408576698