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

Unified Diff: public/platform/WebCompositedDisplayList.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: public/platform/WebCompositedDisplayList.h
diff --git a/public/platform/WebCompositedDisplayList.h b/public/platform/WebCompositedDisplayList.h
new file mode 100644
index 0000000000000000000000000000000000000000..8992ecb657348e2f571671fb2a2c5dbd4955eb7f
--- /dev/null
+++ b/public/platform/WebCompositedDisplayList.h
@@ -0,0 +1,37 @@
+// 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 WebCompositedDisplayList_h
+#define WebCompositedDisplayList_h
+
+#include "public/platform/WebCommon.h"
+#include "public/platform/WebPrivateOwnPtr.h"
+
+namespace blink {
+
+class CompositedDisplayList;
+
+class BLINK_PLATFORM_EXPORT WebCompositedDisplayList {
+public:
+ WebCompositedDisplayList();
+
+#if INSIDE_BLINK
+ WebCompositedDisplayList(WTF::PassOwnPtr<CompositedDisplayList>);
+#endif
+
+ ~WebCompositedDisplayList();
+
+#if INSIDE_BLINK
+ CompositedDisplayList* compositedDisplayListForTesting();
+#endif
+
+ // TODO(pdr): Add accessor functions for the data in m_private as needed.
+
+private:
+ WebPrivateOwnPtr<CompositedDisplayList> m_private;
+};
+
+} // namespace blink
+
+#endif // WebCompositedDisplayList_h

Powered by Google App Engine
This is Rietveld 408576698