Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3208)

Unified Diff: cc/delegated_compositor_frame.h

Issue 11316128: Send compositor frame IPC with metadata. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Clean up and rebase to 173167 Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/delegated_compositor_frame.h
diff --git a/cc/compositor_frame.h b/cc/delegated_compositor_frame.h
similarity index 62%
copy from cc/compositor_frame.h
copy to cc/delegated_compositor_frame.h
index b9f09c14e66f14cb5a02a4e539538938cce20b96..bd5cbc91d1550018e38d80295e26a1209dec9e01 100644
--- a/cc/compositor_frame.h
+++ b/cc/delegated_compositor_frame.h
@@ -2,10 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CC_COMPOSITOR_FRAME_H_
-#define CC_COMPOSITOR_FRAME_H_
+#ifndef CC_DELEGATED_COMPOSITOR_FRAME_H_
+#define CC_DELEGATED_COMPOSITOR_FRAME_H_
#include "cc/cc_export.h"
+#include "cc/compositor_frame.h"
#include "cc/render_pass.h"
#include "cc/scoped_ptr_vector.h"
#include "cc/transferable_resource.h"
@@ -13,10 +14,10 @@
namespace cc {
-class CC_EXPORT CompositorFrame {
+class CC_EXPORT DelegatedCompositorFrame : public CompositorFrame {
public:
- CompositorFrame();
- ~CompositorFrame();
+ DelegatedCompositorFrame();
+ ~DelegatedCompositorFrame();
gfx::Size size;
TransferableResourceList resource_list;
@@ -25,4 +26,4 @@ class CC_EXPORT CompositorFrame {
} // namespace cc
-#endif // CC_COMPOSITOR_FRAME_H_
+#endif // CC_DELEGATED_COMPOSITOR_FRAME_H_

Powered by Google App Engine
This is Rietveld 408576698