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

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

Issue 2731403007: add voice interaction shortcut. (Closed)
Patch Set: addressed review comments Created 3 years, 9 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 | « components/arc/common/arc_bridge.mojom ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/common/voice_interaction_framework.mojom
diff --git a/components/arc/common/voice_interaction_framework.mojom b/components/arc/common/voice_interaction_framework.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..7206c781e40795cb0961e3e19eda10c11a22d018
--- /dev/null
+++ b/components/arc/common/voice_interaction_framework.mojom
@@ -0,0 +1,24 @@
+// Copyright 2017 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.
+//
+// Next MinVersion: 1
+
+module arc.mojom;
+
+// Handles voice interaction queries from Android.
+// Next method ID: 1
+interface VoiceInteractionFrameworkHost {
+ // Returns a screenshot of currently focused window or empty array if
+ // no window is focused.
+ CaptureFocusedWindow@0() => (array<uint8> png_data);
+};
+
+// Connects with Android system server.
+// Next method ID:2
+interface VoiceInteractionFrameworkInstance {
+ Init@0(VoiceInteractionFrameworkHost host_ptr);
+
+ // Starts the voice interaction session in container.
+ StartVoiceInteractionSession@1();
+};
« no previous file with comments | « components/arc/common/arc_bridge.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698