Chromium Code Reviews| 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 c5129a6ad80e8675e04465d81871547914df12a7..acf0659ec41ea9a716091db50e817417c516b294 100644 |
| --- a/components/arc/common/voice_interaction_framework.mojom |
| +++ b/components/arc/common/voice_interaction_framework.mojom |
| @@ -2,7 +2,7 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| // |
| -// Next MinVersion: 7 |
| +// Next MinVersion: 8 |
| module arc.mojom; |
| @@ -30,8 +30,20 @@ interface VoiceInteractionFrameworkHost { |
| [MinVersion=6]SetVoiceInteractionRunning@4(bool running); |
| }; |
| +// Indicate voice interaction configuration status. |
|
Luis Héctor Chávez
2017/07/10 16:53:03
nit: s/Indicate/Indicates/
Muyuan
2017/07/14 20:52:14
Done.
|
| +struct VoiceInteractionStatus { |
| + // Whether voice interaction is configured during OOBE flow. false if |
|
stevenjb
2017/07/10 17:57:07
s/false/False (or |false|)
Muyuan
2017/07/14 20:52:14
Done.
|
| + // OOBE flow has been skipped. |
| + bool defined; |
|
stevenjb
2017/07/10 17:57:07
'configured' ?
Muyuan
2017/07/14 20:52:14
Done.
|
| + // Whether voice interaction service is enabled. |
| + bool voice_interaction_enabled; |
| + // Whether allow voice interaction service to request screenshot |
| + // and screen context. |
| + bool context_enabled; |
| +}; |
| + |
| // Connects with Android system server. |
| -// Next method ID: 7 |
| +// Next method ID: 8 |
| interface VoiceInteractionFrameworkInstance { |
| Init@0(VoiceInteractionFrameworkHost host_ptr); |
| @@ -55,4 +67,8 @@ interface VoiceInteractionFrameworkInstance { |
| // Starts the voice interaction setup wizard in container. |
| [MinVersion=5] StartVoiceInteractionSetupWizard@6(); |
| -}; |
| + |
| + // Queries voice interaction settings status. |
| + [MinVersion=7] GetVoiceInteractionSettings@7() => |
| + (VoiceInteractionStatus status); |
| +}; |