Chromium Code Reviews| Index: cc/web_compositor_frame.h |
| diff --git a/cc/web_compositor_frame.h b/cc/web_compositor_frame.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..63d6e8d5fa23883207e10cd97ec18e8a51f4e084 |
| --- /dev/null |
| +++ b/cc/web_compositor_frame.h |
| @@ -0,0 +1,31 @@ |
| +// Copyright (c) 2012 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 CC_WEB_COMPOSITOR_FRAME_H_ |
| +#define CC_WEB_COMPOSITOR_FRAME_H_ |
| + |
| +#include <vector> |
| + |
| +#include "cc/transferable_resource.h" |
| +#include "ui/gfx/size.h" |
| + |
| +namespace cc { |
| +class CCRenderPass; |
| +} // namespace WebCore |
| + |
| +namespace WebKit { |
| + |
| +struct WebCompositorFrame { |
|
aelias_OOO_until_Jul13
2012/10/10 00:47:25
Let's define these as empty classes in WebKit tree
|
| + gfx::Size size; |
| + std::vector<cc::CCRenderPass*> render_passes; |
| + cc::TransferableResourceList resources; |
| +}; |
| + |
| +struct WebCompositorFrameAck { |
| + cc::TransferableResourceList resources; |
| +}; |
| + |
| +} // namespace WebKit |
| + |
| +#endif // CC_WEB_COMPOSITOR_FRAME_H_ |