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

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

Issue 2824703006: Add MetalayerMode to the palette. (Closed)
Patch Set: Fixed copyright year 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: 2 5 // Next MinVersion: 3
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: 2 12 // Next method ID: 3
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. 15 // no window is focused.
16 CaptureFocusedWindow@0() => (array<uint8> png_data); 16 CaptureFocusedWindow@0() => (array<uint8> png_data);
17 17
18 // Returns a fullscreen screenshot of the primary display. 18 // Returns a fullscreen screenshot of the primary display.
19 [MinVersion=1]CaptureFullscreen@1() => (array<uint8> png_data); 19 [MinVersion=1]CaptureFullscreen@1() => (array<uint8> png_data);
20
21 // Notifies the host that the metalayer has closed or could not open.
22 [MinVersion=2]OnMetalayerClosed@2();
20 }; 23 };
21 24
22 // Connects with Android system server. 25 // Connects with Android system server.
23 // Next method ID:4 26 // Next method ID: 4
24 interface VoiceInteractionFrameworkInstance { 27 interface VoiceInteractionFrameworkInstance {
25 Init@0(VoiceInteractionFrameworkHost host_ptr); 28 Init@0(VoiceInteractionFrameworkHost host_ptr);
26 29
27 // Starts the voice interaction session in container. 30 // Starts the voice interaction session in container.
28 StartVoiceInteractionSession@1(); 31 StartVoiceInteractionSession@1();
29 32
30 // Starts the voice interaction session in container, with a screen region 33 // Starts the voice interaction session in container, with a screen region
31 // selected. 34 // selected.
32 [MinVersion=1] StartVoiceInteractionSessionForRegion@2(ScreenRect region); 35 [MinVersion=1] StartVoiceInteractionSessionForRegion@2(ScreenRect region);
33 36
34 // Toggles the metalayer. 37 // Shows/hides the metalayer in the container.
35 [MinVersion=1] ToggleMetalayer@3(); 38 [MinVersion=1] SetMetalayerVisibility@3([MinVersion=2] bool visible);
36 }; 39 };
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