Chromium Code Reviews| Index: public/platform/WebCompositedDisplayList.h |
| diff --git a/public/platform/WebCompositedDisplayList.h b/public/platform/WebCompositedDisplayList.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..7bbf25113b205127b03cc15dfae66913bce1420e |
| --- /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 |
| + void assign(WTF::PassOwnPtr<CompositedDisplayList>); |
| +#endif |
| + |
| + ~WebCompositedDisplayList(); |
|
jbroman
2015/08/20 20:24:47
super-nit: please move the destructor above member
|
| + |
| +#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 |