Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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. | |
| 4 | |
| 5 #ifndef WebCompositedDisplayList_h | |
| 6 #define WebCompositedDisplayList_h | |
| 7 | |
| 8 #include "public/platform/WebCommon.h" | |
| 9 #include "public/platform/WebPrivateOwnPtr.h" | |
| 10 | |
| 11 namespace blink { | |
| 12 | |
| 13 class CompositedDisplayList; | |
| 14 | |
| 15 class BLINK_PLATFORM_EXPORT WebCompositedDisplayList { | |
| 16 public: | |
| 17 WebCompositedDisplayList() {} | |
| 18 | |
| 19 #if INSIDE_BLINK | |
| 20 void assign(WTF::PassOwnPtr<CompositedDisplayList>); | |
| 21 #endif | |
| 22 | |
| 23 ~WebCompositedDisplayList(); | |
|
jbroman
2015/08/20 20:24:47
super-nit: please move the destructor above member
| |
| 24 | |
| 25 #if INSIDE_BLINK | |
| 26 CompositedDisplayList* compositedDisplayListForTesting(); | |
| 27 #endif | |
| 28 | |
| 29 // TODO(pdr): Add accessor functions for the data in m_private as needed. | |
| 30 | |
| 31 private: | |
| 32 WebPrivateOwnPtr<CompositedDisplayList> m_private; | |
| 33 }; | |
| 34 | |
| 35 } // namespace blink | |
| 36 | |
| 37 #endif // WebCompositedDisplayList_h | |
| OLD | NEW |