Index: ui/events/mojo/event.typemap |
diff --git a/ui/events/mojo/event.typemap b/ui/events/mojo/event.typemap |
new file mode 100644 |
index 0000000000000000000000000000000000000000..96b2246d7f588740bfecff17d7daaba89ce938bf |
--- /dev/null |
+++ b/ui/events/mojo/event.typemap |
@@ -0,0 +1,17 @@ |
+# 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 = "//components/mus/public/interfaces/input_events.mojom" |
+public_headers = [ "//ui/events/event.h" ] |
+traits_headers = [ "//ui/events/mojo/event_struct_traits.h" ] |
+deps = [ |
+ "//ui/events:dom_keycode_converter", |
+ "//ui//events", |
+] |
+sources = [ |
+ "//ui/events/mojo/event_struct_traits.h", |
sky
2016/06/03 20:06:51
You have 2 spaces in deps, so I would assume this
Hadi
2016/06/06 13:48:32
Done.
|
+ "//ui/events/mojo/event_struct_traits.cc", |
+] |
+# TODO(moshayedi): crbug.com/617167. Map mojom.Event directly to ui::Event. |
+type_mappings = [ "mus.mojom.Event=std::unique_ptr<ui::Event>" ] |