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