Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / public / platform / WebCompositedDisplayList.h
blobf424fd1cfccee2362d9e798db49012dcf73f4696
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef WebCompositedDisplayList_h
6 #define WebCompositedDisplayList_h
8 #include "public/platform/WebCommon.h"
9 #include "public/platform/WebPrivateOwnPtr.h"
11 namespace blink {
13 class CompositedDisplayList;
15 class BLINK_PLATFORM_EXPORT WebCompositedDisplayList {
16 public:
17 WebCompositedDisplayList() {}
18 ~WebCompositedDisplayList();
20 #if INSIDE_BLINK
21 void assign(WTF::PassOwnPtr<CompositedDisplayList>);
22 CompositedDisplayList* compositedDisplayListForTesting();
23 #endif
25 // TODO(pdr): Add accessor functions for the data in m_private as needed.
27 private:
28 WebPrivateOwnPtr<CompositedDisplayList> m_private;
31 } // namespace blink
33 #endif // WebCompositedDisplayList_h