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": "tts", | 7 "namespace": "tts", |
8 "types": [ | 8 "types": [ |
9 { | 9 { |
10 "id": "TtsEvent", | 10 "id": "TtsEvent", |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 "description": "The update event from the text-to-speech eng
ine indicating the status of this utterance." | 162 "description": "The update event from the text-to-speech eng
ine indicating the status of this utterance." |
163 } | 163 } |
164 ] | 164 ] |
165 } | 165 } |
166 } | 166 } |
167 }, | 167 }, |
168 { | 168 { |
169 "type": "function", | 169 "type": "function", |
170 "name": "callback", | 170 "name": "callback", |
171 "optional": true, | 171 "optional": true, |
172 "description": "Called right away, before speech finishes. Check chr
ome.extension.lastError to make sure there were no errors. Use options.onEvent t
o get more detailed feedback.", | 172 "description": "Called right away, before speech finishes. Check chr
ome.runtime.lastError to make sure there were no errors. Use options.onEvent to
get more detailed feedback.", |
173 "parameters": [] | 173 "parameters": [] |
174 } | 174 } |
175 ] | 175 ] |
176 }, | 176 }, |
177 { | 177 { |
178 "name": "stop", | 178 "name": "stop", |
179 "type": "function", | 179 "type": "function", |
180 "description": "Stops any current speech.", | 180 "description": "Stops any current speech.", |
181 "parameters": [] | 181 "parameters": [] |
182 }, | 182 }, |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 "name": "event", | 230 "name": "event", |
231 "$ref": "TtsEvent", | 231 "$ref": "TtsEvent", |
232 "description": "The event from the text-to-speech engine indicating
the status of this utterance." | 232 "description": "The event from the text-to-speech engine indicating
the status of this utterance." |
233 } | 233 } |
234 ], | 234 ], |
235 "description": "Used to pass events back to the function calling speak()
." | 235 "description": "Used to pass events back to the function calling speak()
." |
236 } | 236 } |
237 ] | 237 ] |
238 } | 238 } |
239 ] | 239 ] |
OLD | NEW |