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

Side by Side Diff: ui/events/mojo/event.typemap

Issue 2147563004: Mojo C++ bindings: rename "pass_by_value" typemap attribute to "move_only". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@68_native_types
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « mojo/public/tools/bindings/generators/mojom_cpp_generator.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 mojom = "//ui/events/mojo/event.mojom" 5 mojom = "//ui/events/mojo/event.mojom"
6 public_headers = [ "//ui/events/event.h" ] 6 public_headers = [ "//ui/events/event.h" ]
7 traits_headers = [ "//ui/events/mojo/event_struct_traits.h" ] 7 traits_headers = [ "//ui/events/mojo/event_struct_traits.h" ]
8 deps = [ 8 deps = [
9 "//ui//events", 9 "//ui//events",
10 "//ui/events:dom_keycode_converter", 10 "//ui/events:dom_keycode_converter",
11 ] 11 ]
12 sources = [ 12 sources = [
13 "//ui/events/mojo/event_struct_traits.cc", 13 "//ui/events/mojo/event_struct_traits.cc",
14 "//ui/events/mojo/event_struct_traits.h", 14 "//ui/events/mojo/event_struct_traits.h",
15 ] 15 ]
16 16
17 # TODO(moshayedi): crbug.com/617167. Map mojom.Event directly to ui::Event. 17 # TODO(moshayedi): crbug.com/617167. Map mojom.Event directly to ui::Event.
18 type_mappings = [ "ui.mojom.Event=std::unique_ptr<ui::Event>[pass_by_value]" ] 18 type_mappings = [ "ui.mojom.Event=std::unique_ptr<ui::Event>[move_only]" ]
OLDNEW
« no previous file with comments | « mojo/public/tools/bindings/generators/mojom_cpp_generator.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698