Chromium Code Reviews| 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 }, |
| 183 { | 183 { |
| 184 "name": "isSpeaking", | 184 "name": "isSpeaking", |
| 185 "type": "function", | 185 "type": "function", |
| 186 "description": "Checks if the engine is currently speaking.", | 186 "description": "Reports if the engine is currently speaking. Note: repor ts if any engines system wide is speaking when using the native Mac OS X engine. ", |
|
dmazzoni
2012/04/23 23:50:46
how about this:
Note: On Mac OS X, this will retur
| |
| 187 "parameters": [ | 187 "parameters": [ |
| 188 { | 188 { |
| 189 "type": "function", | 189 "type": "function", |
| 190 "name": "callback", | 190 "name": "callback", |
| 191 "optional": true, | 191 "optional": true, |
| 192 "parameters": [ | 192 "parameters": [ |
| 193 { | 193 { |
| 194 "name": "speaking", | 194 "name": "speaking", |
| 195 "type": "boolean", | 195 "type": "boolean", |
| 196 "description": "True if speaking, false otherwise." | 196 "description": "True if speaking, false otherwise." |
| (...skipping 33 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 |