Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 // | |
| 5 // Next MinVersion: 1 | |
| 6 | |
| 7 module arc.mojom; | |
| 8 | |
| 9 // Handles voice interaction queries from Android. | |
| 10 // Next method ID: 1 | |
| 11 interface VoiceInteractionFrameworkHost { | |
| 12 // Returns a screenshot of current focused window or empty bytes if | |
|
Luis Héctor Chávez
2017/03/16 16:30:20
nit: s/current focused/currently focused/, s/empty
Muyuan
2017/03/16 20:41:34
Done.
| |
| 13 // no window is focused. | |
| 14 CaptureFocusedWindow@0() => (array<uint8> png_data); | |
| 15 }; | |
| 16 | |
| 17 // Connects with Android system server. | |
| 18 // Next method ID:2 | |
| 19 interface VoiceInteractionFrameworkInstance { | |
| 20 Init@0(VoiceInteractionFrameworkHost host_ptr); | |
| 21 | |
| 22 // Starts the voice interaction session in container. | |
| 23 StartVoiceInteractionSession@1(); | |
| 24 }; | |
| OLD | NEW |