| Index: cc/compositor_frame.h
|
| diff --git a/cc/compositor_frame.h b/cc/compositor_frame.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8d56c63d5418a83427cb533e6a5fa6caeb60e07d
|
| --- /dev/null
|
| +++ b/cc/compositor_frame.h
|
| @@ -0,0 +1,37 @@
|
| +// 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"
|
| +#include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorFrame.h"
|
| +#include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorFrameAck.h"
|
| +
|
| +namespace cc {
|
| +
|
| +class CCRenderPass;
|
| +
|
| +struct CompositorFrame : public WebKit::WebCompositorFrame {
|
| + CompositorFrame();
|
| + ~CompositorFrame();
|
| +
|
| + gfx::Size size;
|
| + std::vector<CCRenderPass*> render_passes;
|
| + TransferableResourceList resources;
|
| +};
|
| +
|
| +struct CompositorFrameAck : public WebKit::WebCompositorFrameAck {
|
| + CompositorFrameAck();
|
| + ~CompositorFrameAck();
|
| +
|
| + TransferableResourceList resources;
|
| +};
|
| +
|
| +} // namespace cc
|
| +
|
| +#endif // CC_WEB_COMPOSITOR_FRAME_H_
|
|
|