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

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

Issue 2803403002: Support region selection for voice interaction session (Closed)
Patch Set: Addressed comments Created 3 years, 8 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
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
index 7206c781e40795cb0961e3e19eda10c11a22d018..52dcc4b83c0738bf25b8d6f74f24ed54d729e594 100644
--- a/components/arc/common/voice_interaction_framework.mojom
+++ b/components/arc/common/voice_interaction_framework.mojom
@@ -2,10 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-// Next MinVersion: 1
+// Next MinVersion: 2
module arc.mojom;
+import "screen_rect.mojom";
+
// Handles voice interaction queries from Android.
// Next method ID: 1
interface VoiceInteractionFrameworkHost {
@@ -15,10 +17,18 @@ interface VoiceInteractionFrameworkHost {
};
// Connects with Android system server.
-// Next method ID:2
+// Next method ID:4
interface VoiceInteractionFrameworkInstance {
Init@0(VoiceInteractionFrameworkHost host_ptr);
// Starts the voice interaction session in container.
StartVoiceInteractionSession@1();
+
+ // Starts the voice interaction session in container, with a screen region selected.
Luis Héctor Chávez 2017/04/11 20:02:04 nit: fit to 80 cols.
Vladislav Kaznacheev 2017/04/11 20:49:42 Done.
+ [MinVersion=1]
+ StartVoiceInteractionSessionForRegion@2(ScreenRect region);
Luis Héctor Chávez 2017/04/11 20:02:04 nit: if it fits on 80 cols, put this in the same l
Vladislav Kaznacheev 2017/04/11 20:49:42 Done.
+
+ // Toggles the metalayer.
+ [MinVersion=1]
+ ToggleMetalayer@3();
};

Powered by Google App Engine
This is Rietveld 408576698