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

Unified Diff: components/arc/common/input.mojom

Issue 1523643002: arc-bridge: Move most methods to Mojo interfaces (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Addressed feedback Created 5 years 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
Index: components/arc/common/input.mojom
diff --git a/components/arc/common/input.mojom b/components/arc/common/input.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..1ad7e56b7c81551408c9d641a529ab9f4e03aed6
--- /dev/null
+++ b/components/arc/common/input.mojom
@@ -0,0 +1,17 @@
+// Copyright 2015 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.
+
+module arc;
+
+interface InputInstance {
+ // Registers a virtual input device on the container side.
+ // |name| is the device name, like "Chrome OS Keyboard".
+ // |device_type| is the device type, like "keyboard".
+ // The virtual device will be reading 'struct input_event's from |fd|. The
+ // ownership of |fd| will be transferred to the receiver, so the sender must
+ // not close it.
+ RegisterInputDevice(string name,
+ string device_type,
+ handle fd);
+};

Powered by Google App Engine
This is Rietveld 408576698