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

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

Issue 2731403007: add voice interaction shortcut. (Closed)
Patch Set: Created 3 years, 9 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 module arc.mojom; 5 module arc.mojom;
6 6
7 import "accessibility_helper.mojom"; 7 import "accessibility_helper.mojom";
8 import "app.mojom"; 8 import "app.mojom";
9 import "audio.mojom"; 9 import "audio.mojom";
10 import "auth.mojom"; 10 import "auth.mojom";
(...skipping 10 matching lines...) Expand all
21 import "net.mojom"; 21 import "net.mojom";
22 import "notifications.mojom"; 22 import "notifications.mojom";
23 import "obb_mounter.mojom"; 23 import "obb_mounter.mojom";
24 import "policy.mojom"; 24 import "policy.mojom";
25 import "power.mojom"; 25 import "power.mojom";
26 import "print.mojom"; 26 import "print.mojom";
27 import "process.mojom"; 27 import "process.mojom";
28 import "storage_manager.mojom"; 28 import "storage_manager.mojom";
29 import "tts.mojom"; 29 import "tts.mojom";
30 import "video.mojom"; 30 import "video.mojom";
31 import "voice_interaction.mojom";
31 import "wallpaper.mojom"; 32 import "wallpaper.mojom";
32 33
33 // Next MinVersion: 22 34 // Next MinVersion: 22
34 // Deprecated method IDs: 101, 105 35 // Deprecated method IDs: 101, 105
35 // Next method ID: 128 36 // Next method ID: 130
36 interface ArcBridgeHost { 37 interface ArcBridgeHost {
37 // Keep the entries alphabetical. In order to do so without breaking 38 // Keep the entries alphabetical. In order to do so without breaking
38 // compatibility with the ARC instance, explicitly assign each interface a 39 // compatibility with the ARC instance, explicitly assign each interface a
39 // unique ordinal. 40 // unique ordinal.
40 41
41 // Notifies Chrome that the AccessibilityHelperInstance interface is ready. 42 // Notifies Chrome that the AccessibilityHelperInstance interface is ready.
42 [MinVersion=21] OnAccessibilityHelperInstanceReady@127( 43 [MinVersion=21] OnAccessibilityHelperInstanceReady@127(
43 AccessibilityHelperInstance instance_ptr); 44 AccessibilityHelperInstance instance_ptr);
44 45
45 // Notifies Chrome that the AppInstance interface is ready. 46 // Notifies Chrome that the AppInstance interface is ready.
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 110
110 // Notifies Chrome that the StorageManagerInstance interface is ready. 111 // Notifies Chrome that the StorageManagerInstance interface is ready.
111 [MinVersion=12] OnStorageManagerInstanceReady@118(StorageManagerInstance insta nce_ptr); 112 [MinVersion=12] OnStorageManagerInstanceReady@118(StorageManagerInstance insta nce_ptr);
112 113
113 // Notifies Chrome that the TtsInstance interface is ready. 114 // Notifies Chrome that the TtsInstance interface is ready.
114 [MinVersion=17] OnTtsInstanceReady@123(TtsInstance instance_ptr); 115 [MinVersion=17] OnTtsInstanceReady@123(TtsInstance instance_ptr);
115 116
116 // Notifies Chrome that the VideoInstance interface is ready. 117 // Notifies Chrome that the VideoInstance interface is ready.
117 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); 118 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr);
118 119
120 // Notifies Chrome that the VoiceInteractionArcHomeInstance is ready.
121 [MinVersion=21] OnVoiceInteractionArcHomeInstanceReady@128(
122 VoiceInteractionArcHomeInstance instance_ptr);
123
124 // Notifies Chrome that the VoiceInteractionCaptureInstance is ready.
125 [MinVersion=21] OnVoiceInteractionCaptureInstanceReady@129(
126 VoiceInteractionCaptureInstance instance_ptr);
127
119 // Notifies Chrome that the WallpaperInstance interface is ready. 128 // Notifies Chrome that the WallpaperInstance interface is ready.
120 [MinVersion=18] OnWallpaperInstanceReady@124(WallpaperInstance instance_ptr); 129 [MinVersion=18] OnWallpaperInstanceReady@124(WallpaperInstance instance_ptr);
121 }; 130 };
122 131
123 interface ArcBridgeInstance { 132 interface ArcBridgeInstance {
124 // Establishes full-duplex communication with the host. 133 // Establishes full-duplex communication with the host.
125 // |host_ptr| is the MessagePipe endpoint that is bound to the 134 // |host_ptr| is the MessagePipe endpoint that is bound to the
126 // ArcBridgeHostPtr binding. 135 // ArcBridgeHostPtr binding.
127 Init@0(ArcBridgeHost host_ptr); 136 Init@0(ArcBridgeHost host_ptr);
128 }; 137 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698