Index: public/platform/WebDisplayList.h |
diff --git a/public/platform/WebDisplayList.h b/public/platform/WebDisplayList.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4c02836bc21dc69ba5e27521ceb763ff36f84f9e |
--- /dev/null |
+++ b/public/platform/WebDisplayList.h |
@@ -0,0 +1,30 @@ |
+// Copyright 2014 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 WebDisplayList_h |
+#define WebDisplayList_h |
+ |
+#include "WebVector.h" |
+#include "skia/ext/pixel_ref_utils.h" |
+ |
+namespace blink { |
+ |
+struct WebDisplayListDiff { |
+ WebVector<int> diffOffsets; |
+}; |
+ |
+// This is just a placeholder, we should use the real class. |
+class WebDisplayItem { |
+}; |
+ |
+class WebDisplayList { |
+public: |
+ virtual ~WebDisplayList() { } |
+ virtual const WebVector<WebDisplayItem>& webDisplayItems() const = 0; |
chrishtr
2015/07/22 18:23:28
This really should just be ListContainer<DisplayIt
|
+ virtual const skia::DiscardablePixelRefList& pixelRefs() const = 0; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // WebDisplayList_h |