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

Side by Side Diff: components/arc/common/voice_interaction_framework.mojom

Issue 2912593002: Create OOBE screen for Voice Interaction value proposition (Closed)
Patch Set: Create OOBE screen for Voice Interaction value proposition Created 3 years, 6 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/common/pref_names.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: 5 5 // Next MinVersion: 6
6 6
7 module arc.mojom; 7 module arc.mojom;
8 8
9 import "screen_rect.mojom"; 9 import "screen_rect.mojom";
10 10
11 // Handles voice interaction queries from Android. 11 // Handles voice interaction queries from Android.
12 // Next method ID: 4 12 // Next method ID: 4
13 interface VoiceInteractionFrameworkHost { 13 interface VoiceInteractionFrameworkHost {
14 // Returns a screenshot of currently focused window or empty array if 14 // Returns a screenshot of currently focused window or empty array if
15 // no window is focused. |data| represents the image encoded in JPEG 15 // no window is focused. |data| represents the image encoded in JPEG
16 // format. 16 // format.
17 CaptureFocusedWindow@0() => (array<uint8> data); 17 CaptureFocusedWindow@0() => (array<uint8> data);
18 18
19 // Returns a fullscreen screenshot of the primary display. 19 // Returns a fullscreen screenshot of the primary display.
20 // |data| represents the image encoded in JPEG format. 20 // |data| represents the image encoded in JPEG format.
21 [MinVersion=1]CaptureFullscreen@1() => (array<uint8> data); 21 [MinVersion=1]CaptureFullscreen@1() => (array<uint8> data);
22 22
23 // Notifies the host that the metalayer has closed or could not open. 23 // Notifies the host that the metalayer has closed or could not open.
24 [MinVersion=2]OnMetalayerClosed@2(); 24 [MinVersion=2]OnMetalayerClosed@2();
25 25
26 // Enables/disables screenshot taking. 26 // Enables/disables screenshot taking.
27 [MinVersion=3]SetMetalayerEnabled@3(bool enabled); 27 [MinVersion=3]SetMetalayerEnabled@3(bool enabled);
28 }; 28 };
29 29
30 // Connects with Android system server. 30 // Connects with Android system server.
31 // Next method ID: 4 31 // Next method ID: 7
32 interface VoiceInteractionFrameworkInstance { 32 interface VoiceInteractionFrameworkInstance {
33 Init@0(VoiceInteractionFrameworkHost host_ptr); 33 Init@0(VoiceInteractionFrameworkHost host_ptr);
34 34
35 // Starts the voice interaction session in container. 35 // Starts the voice interaction session in container.
36 StartVoiceInteractionSession@1(); 36 StartVoiceInteractionSession@1();
37 37
38 // Starts the voice interaction session in container, with a screen region 38 // Starts the voice interaction session in container, with a screen region
39 // selected. 39 // selected.
40 [MinVersion=1] StartVoiceInteractionSessionForRegion@2(ScreenRect region); 40 [MinVersion=1] StartVoiceInteractionSessionForRegion@2(ScreenRect region);
41 41
42 // Shows/hides the metalayer in the container. 42 // Shows/hides the metalayer in the container.
43 [MinVersion=1] SetMetalayerVisibility@3([MinVersion=2] bool visible); 43 [MinVersion=1] SetMetalayerVisibility@3([MinVersion=2] bool visible);
44 44
45 // Turns on / off voice interaction in container. 45 // Turns on / off voice interaction in container.
46 [MinVersion=4] SetVoiceInteractionEnabled(bool enable); 46 [MinVersion=4] SetVoiceInteractionEnabled@4(bool enable);
47 47
48 // Turns on / off context for voice interaction in container. This function 48 // Turns on / off context for voice interaction in container. This function
49 // controls whether screenshot and view hierarchy information should be sent 49 // controls whether screenshot and view hierarchy information should be sent
50 // to container. 50 // to container.
51 [MinVersion=4] SetVoiceInteractionContextEnabled(bool enable); 51 [MinVersion=4] SetVoiceInteractionContextEnabled@5(bool enable);
52
53 // Starts the voice interaction setup wizard in container.
54 [MinVersion=5] StartVoiceInteractionSetupWizard@6();
52 }; 55 };
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698