| 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 public_deps = [ | 8 public_deps = [ |
| 9 "//mojo/common:common_custom_types", | 9 "//mojo/common:common_custom_types", |
| 10 "//mojo/common:struct_traits", | 10 "//mojo/common:struct_traits", |
| 11 "//ui/events", | 11 "//ui/events", |
| 12 "//ui/events:dom_keycode_converter", | 12 "//ui/events:dom_keycode_converter", |
| 13 "//ui/latency/mojo:interfaces", |
| 13 ] | 14 ] |
| 14 deps = [ | 15 deps = [ |
| 15 "//ipc:param_traits", | 16 "//ipc:param_traits", |
| 16 ] | 17 ] |
| 17 sources = [ | 18 sources = [ |
| 18 "//ui/events/mojo/event_struct_traits.cc", | 19 "//ui/events/mojo/event_struct_traits.cc", |
| 19 "//ui/events/mojo/event_struct_traits.h", | 20 "//ui/events/mojo/event_struct_traits.h", |
| 20 ] | 21 ] |
| 21 | 22 |
| 22 # TODO(moshayedi): crbug.com/617167. Map mojom.Event directly to ui::Event. | 23 # TODO(moshayedi): crbug.com/617167. Map mojom.Event directly to ui::Event. |
| 23 type_mappings = [ "ui.mojom.Event=std::unique_ptr<ui::Event>[move_only]" ] | 24 type_mappings = [ "ui.mojom.Event=std::unique_ptr<ui::Event>[move_only]" ] |
| OLD | NEW |