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(); |
}; |