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

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

Issue 2180263002: Host side implementation of ARC tts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixup namespace. Created 4 years, 4 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 "app.mojom"; 7 import "app.mojom";
8 import "audio.mojom"; 8 import "audio.mojom";
9 import "auth.mojom"; 9 import "auth.mojom";
10 import "bluetooth.mojom"; 10 import "bluetooth.mojom";
11 import "clipboard.mojom"; 11 import "clipboard.mojom";
12 import "crash_collector.mojom"; 12 import "crash_collector.mojom";
13 import "enterprise_reporting.mojom"; 13 import "enterprise_reporting.mojom";
14 import "file_system.mojom"; 14 import "file_system.mojom";
15 import "ime.mojom"; 15 import "ime.mojom";
16 import "intent_helper.mojom"; 16 import "intent_helper.mojom";
17 import "metrics.mojom"; 17 import "metrics.mojom";
18 import "net.mojom"; 18 import "net.mojom";
19 import "notifications.mojom"; 19 import "notifications.mojom";
20 import "obb_mounter.mojom"; 20 import "obb_mounter.mojom";
21 import "policy.mojom"; 21 import "policy.mojom";
22 import "power.mojom"; 22 import "power.mojom";
23 import "process.mojom"; 23 import "process.mojom";
24 import "storage_manager.mojom"; 24 import "storage_manager.mojom";
25 import "tts.mojom";
25 import "video.mojom"; 26 import "video.mojom";
26 27
27 // Next MinVersion: 16 28 // Next MinVersion: 17
28 // Deprecated method IDs: 101, 105 29 // Deprecated method IDs: 101, 105
29 // Next method ID: 123 30 // Next method ID: 124
30 interface ArcBridgeHost { 31 interface ArcBridgeHost {
31 // Keep the entries alphabetical. In order to do so without breaking 32 // Keep the entries alphabetical. In order to do so without breaking
32 // compatibility with the ARC instance, explicitly assign each interface a 33 // compatibility with the ARC instance, explicitly assign each interface a
33 // unique ordinal. 34 // unique ordinal.
34 35
35 // Notifies Chrome that the AppInstance interface is ready. 36 // Notifies Chrome that the AppInstance interface is ready.
36 OnAppInstanceReady@100(AppInstance instance_ptr); 37 OnAppInstanceReady@100(AppInstance instance_ptr);
37 38
38 // Notifies Chrome that the AudioInstance interface is ready. 39 // Notifies Chrome that the AudioInstance interface is ready.
39 [MinVersion=8] OnAudioInstanceReady@115(AudioInstance instance_ptr); 40 [MinVersion=8] OnAudioInstanceReady@115(AudioInstance instance_ptr);
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 84
84 // Notifies Chrome that the PowerInstance interface is ready. 85 // Notifies Chrome that the PowerInstance interface is ready.
85 OnPowerInstanceReady@103(PowerInstance instance_ptr); 86 OnPowerInstanceReady@103(PowerInstance instance_ptr);
86 87
87 // Notifies Chrome that the ProcessInstance interface is ready. 88 // Notifies Chrome that the ProcessInstance interface is ready.
88 OnProcessInstanceReady@104(ProcessInstance instance_ptr); 89 OnProcessInstanceReady@104(ProcessInstance instance_ptr);
89 90
90 // Notifies Chrome that the StorageManagerInstance interface is ready. 91 // Notifies Chrome that the StorageManagerInstance interface is ready.
91 [MinVersion=12] OnStorageManagerInstanceReady@118(StorageManagerInstance insta nce_ptr); 92 [MinVersion=12] OnStorageManagerInstanceReady@118(StorageManagerInstance insta nce_ptr);
92 93
94 // Notifies Chrome that the TtsInstance interface is ready.
95 [MinVersion=16] OnTtsInstanceReady@123(TtsInstance instance_ptr);
hidehiko 2016/08/02 03:56:20 Please fix the indent.
David Tseng 2016/08/02 16:32:18 Done.
96
93 // Notifies Chrome that the VideoInstance interface is ready. 97 // Notifies Chrome that the VideoInstance interface is ready.
94 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); 98 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr);
95 }; 99 };
96 100
97 interface ArcBridgeInstance { 101 interface ArcBridgeInstance {
98 // Establishes full-duplex communication with the host. 102 // Establishes full-duplex communication with the host.
99 // |host_ptr| is the MessagePipe endpoint that is bound to the 103 // |host_ptr| is the MessagePipe endpoint that is bound to the
100 // ArcBridgeHostPtr binding. 104 // ArcBridgeHostPtr binding.
101 Init@0(ArcBridgeHost host_ptr); 105 Init@0(ArcBridgeHost host_ptr);
102 }; 106 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698