Chromium Code Reviews| 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
|