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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/ash/palette_delegate_chromeos.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Next MinVersion: 1 5 // Next MinVersion: 2
6 6
7 module arc.mojom; 7 module arc.mojom;
8 8
9 import "screen_rect.mojom";
10
9 // Handles voice interaction queries from Android. 11 // Handles voice interaction queries from Android.
10 // Next method ID: 1 12 // Next method ID: 1
11 interface VoiceInteractionFrameworkHost { 13 interface VoiceInteractionFrameworkHost {
12 // Returns a screenshot of currently focused window or empty array if 14 // Returns a screenshot of currently focused window or empty array if
13 // no window is focused. 15 // no window is focused.
14 CaptureFocusedWindow@0() => (array<uint8> png_data); 16 CaptureFocusedWindow@0() => (array<uint8> png_data);
15 }; 17 };
16 18
17 // Connects with Android system server. 19 // Connects with Android system server.
18 // Next method ID:2 20 // Next method ID:4
19 interface VoiceInteractionFrameworkInstance { 21 interface VoiceInteractionFrameworkInstance {
20 Init@0(VoiceInteractionFrameworkHost host_ptr); 22 Init@0(VoiceInteractionFrameworkHost host_ptr);
21 23
22 // Starts the voice interaction session in container. 24 // Starts the voice interaction session in container.
23 StartVoiceInteractionSession@1(); 25 StartVoiceInteractionSession@1();
26
27 // Starts the voice interaction session in container, with a screen region
28 // selected.
29 [MinVersion=1] StartVoiceInteractionSessionForRegion@2(ScreenRect region);
30
31 // Toggles the metalayer.
32 [MinVersion=1] ToggleMetalayer@3();
24 }; 33 };
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/palette_delegate_chromeos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698