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

Side by Side Diff: ui/events/devices/mojo/input_devices.mojom

Issue 1992443002: Add Mojo IPC based input-device service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup_ddm
Patch Set: Fixes for comments. 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 module ui.mojom;
6
7 import "ui/gfx/geometry/mojo/geometry.mojom";
8
9 // Corresponds to ui::InputDeviceType
10 enum InputDeviceType {
11 INPUT_DEVICE_INTERNAL,
12 INPUT_DEVICE_EXTERNAL,
13 INPUT_DEVICE_UNKNOWN,
14 };
15
16 // Corresponds to ui::InputDevice.
17 struct InputDevice {
18 int32 id;
19 InputDeviceType type;
20 string name;
21 string sys_path;
22 uint16 vendor_id;
23 uint16 product_id;
24 };
25
26 // Corresponds to ui::TouchscreenDevice.
27 struct TouchscreenDevice {
28 // Base class.
29 InputDevice input_device;
30
31 gfx.mojom.Size size;
32 int32 touch_points;
33 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698