Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 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 CC_WEB_COMPOSITOR_FRAME_H_ | |
| 6 #define CC_WEB_COMPOSITOR_FRAME_H_ | |
| 7 | |
| 8 #include <vector> | |
| 9 | |
| 10 #include "cc/transferable_resource.h" | |
| 11 #include "ui/gfx/size.h" | |
| 12 | |
| 13 namespace cc { | |
| 14 class CCRenderPass; | |
| 15 } // namespace WebCore | |
| 16 | |
| 17 namespace WebKit { | |
| 18 | |
| 19 struct WebCompositorFrame { | |
|
aelias_OOO_until_Jul13
2012/10/10 00:47:25
Let's define these as empty classes in WebKit tree
| |
| 20 gfx::Size size; | |
| 21 std::vector<cc::CCRenderPass*> render_passes; | |
| 22 cc::TransferableResourceList resources; | |
| 23 }; | |
| 24 | |
| 25 struct WebCompositorFrameAck { | |
| 26 cc::TransferableResourceList resources; | |
| 27 }; | |
| 28 | |
| 29 } // namespace WebKit | |
| 30 | |
| 31 #endif // CC_WEB_COMPOSITOR_FRAME_H_ | |
| OLD | NEW |