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

Unified Diff: cc/output/compositor_frame_metadata.h

Issue 2965103003: Test
Patch Set: c Created 3 years, 5 months 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
« no previous file with comments | « cc/ipc/compositor_frame_metadata_struct_traits.cc ('k') | cc/resources/resource_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/compositor_frame_metadata.h
diff --git a/cc/output/compositor_frame_metadata.h b/cc/output/compositor_frame_metadata.h
index 9e73fc5b926162446fdb27ae02c052b1307e2b47..7dfc65777218e7a28ed971d26d7907d86c4b2bb4 100644
--- a/cc/output/compositor_frame_metadata.h
+++ b/cc/output/compositor_frame_metadata.h
@@ -9,8 +9,10 @@
#include <vector>
+#include "base/memory/shared_memory.h"
#include "cc/cc_export.h"
#include "cc/input/selection.h"
+#include "cc/resources/shared_bitmap.h"
#include "cc/output/begin_frame_args.h"
#include "cc/surfaces/surface_id.h"
#include "third_party/skia/include/core/SkColor.h"
@@ -116,6 +118,14 @@ class CC_EXPORT CompositorFrameMetadata {
// the embedder wants to do something after a particular frame is processed.
uint32_t frame_token = 0;
+ struct SharedBitmapInfo {
+ SharedBitmapId id;
+ base::SharedMemoryHandle handle;
+ size_t size;
+ };
+
+ std::vector<SharedBitmapInfo> shared_bitmaps_to_register;
+
private:
CompositorFrameMetadata(const CompositorFrameMetadata& other);
CompositorFrameMetadata operator=(const CompositorFrameMetadata&) = delete;
« no previous file with comments | « cc/ipc/compositor_frame_metadata_struct_traits.cc ('k') | cc/resources/resource_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698