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

Unified Diff: ui/events/devices/mojo/input_device.typemap

Issue 2069823004: Fix InputDevice StructTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo_device
Patch Set: Run gn format. Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/events/devices/mojo/input_device_struct_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/devices/mojo/input_device.typemap
diff --git a/ui/events/devices/mojo/input_device.typemap b/ui/events/devices/mojo/input_device.typemap
index 1207467f9223c1a74f11484dbf639a4ac2b21dde..2296d7a17b8f5e66da908de3ccc08717278c49ac 100644
--- a/ui/events/devices/mojo/input_device.typemap
+++ b/ui/events/devices/mojo/input_device.typemap
@@ -3,11 +3,23 @@
# found in the LICENSE file.
mojom = "//ui/events/devices/mojo/input_devices.mojom"
-public_headers = [ "//ui/events/devices/input_device.h" ]
-traits_headers = [
- "//ui/events/devices/mojo/input_device_struct_traits.h"
- ]
+public_headers = [
+ "//ui/events/devices/input_device.h",
+ "//ui/events/devices/touchscreen_device.h",
+]
+traits_headers = [ "//ui/events/devices/mojo/input_device_struct_traits.h" ]
+sources = [
+ "//ui/events/devices/mojo/input_device_struct_traits.cc",
+]
public_deps = [
"//ui/events/devices",
]
-type_mappings = [ "ui.mojom.InputDevice=ui::InputDevice" ]
+deps = [
+ "//ui/gfx/geometry",
+]
+
+type_mappings = [
+ "ui.mojom.InputDeviceType=ui::InputDeviceType",
+ "ui.mojom.InputDevice=ui::InputDevice",
+ "ui.mojom.TouchscreenDevice=ui::TouchscreenDevice",
+]
« no previous file with comments | « no previous file | ui/events/devices/mojo/input_device_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698