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

Unified Diff: cc/ipc/compositor_frame.typemap

Issue 2092843002: Implement CompositorFrame Struct Traits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Delete code Created 4 years, 6 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 | « no previous file | cc/ipc/compositor_frame_struct_traits.h » ('j') | components/mus/public/cpp/window_surface.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/compositor_frame.typemap
diff --git a/cc/ipc/compositor_frame.typemap b/cc/ipc/compositor_frame.typemap
new file mode 100644
index 0000000000000000000000000000000000000000..46184975e1ccc13a8f4472c9cca34b265ea8cd1e
--- /dev/null
+++ b/cc/ipc/compositor_frame.typemap
@@ -0,0 +1,11 @@
+# Copyright 2016 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.
+
+mojom = "//cc/ipc/compositor_frame.mojom"
+public_headers = [ "//cc/output/compositor_frame.h" ]
+traits_headers = [ "//cc/ipc/compositor_frame_struct_traits.h" ]
+public_deps = [
+ "//cc",
+]
+type_mappings = [ "cc.mojom.CompositorFrame=std::unique_ptr<cc::CompositorFrame>[pass_by_value]" ]
rjkroege 2016/06/23 19:13:55 This pass by value thing is new. What does it do?
Fady Samuel 2016/06/25 04:31:12 Normally mojo will pass things around by const ref
« no previous file with comments | « no previous file | cc/ipc/compositor_frame_struct_traits.h » ('j') | components/mus/public/cpp/window_surface.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698