OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 [ | 5 [ |
6 { | 6 { |
7 "namespace": "ttsEngine", | 7 "namespace": "ttsEngine", |
| 8 "description": "Use the <code>chrome.ttsEngine</code> module to implement a
text-to-speech(TTS) engine using an extension.", |
8 "dependencies": [ "tts" ], | 9 "dependencies": [ "tts" ], |
9 "functions": [ | 10 "functions": [ |
10 { | 11 { |
11 "name": "sendTtsEvent", | 12 "name": "sendTtsEvent", |
12 "nodoc": true, | 13 "nodoc": true, |
13 "type": "function", | 14 "type": "function", |
14 "description": "Routes a TTS event from a speech engine to a client.", | 15 "description": "Routes a TTS event from a speech engine to a client.", |
15 "parameters": [ | 16 "parameters": [ |
16 { | 17 { |
17 "type": "integer", | 18 "type": "integer", |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 ] | 96 ] |
96 }, | 97 }, |
97 { | 98 { |
98 "name": "onStop", | 99 "name": "onStop", |
99 "type": "function", | 100 "type": "function", |
100 "description": "Fired when a call is made to tts.stop and this extension
may be in the middle of speaking. If an extension receives a call to onStop and
speech is already stopped, it should do nothing (not raise an error)." | 101 "description": "Fired when a call is made to tts.stop and this extension
may be in the middle of speaking. If an extension receives a call to onStop and
speech is already stopped, it should do nothing (not raise an error)." |
101 } | 102 } |
102 ] | 103 ] |
103 } | 104 } |
104 ] | 105 ] |
OLD | NEW |