OLD | NEW |
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]" ] |
OLD | NEW |