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

Side by Side Diff: chrome/common/extensions/api/tts.json

Issue 27034009: Implement Google network speech synthesis (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix getApiKey description Created 7 years, 2 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 | Annotate | Revision Log
OLDNEW
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 "description": "Use the <code>chrome.tts</code> API to play synthesized text -to-speech (TTS). See also the related <a href='http://developer.chrome.com/exte nsions/ttsEngine.html'>ttsEngine</a> API, which allows an extension to implement a speech engine.", 8 "description": "Use the <code>chrome.tts</code> API to play synthesized text -to-speech (TTS). See also the related <a href='http://developer.chrome.com/exte nsions/ttsEngine.html'>ttsEngine</a> API, which allows an extension to implement a speech engine.",
9 "types": [ 9 "types": [
10 { 10 {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 "type": "string", 55 "type": "string",
56 "optional": true, 56 "optional": true,
57 "description": "The language that this voice supports, in the form < em>language</em>-<em>region</em>. Examples: 'en', 'en-US', 'en-GB', 'zh-CN'." 57 "description": "The language that this voice supports, in the form < em>language</em>-<em>region</em>. Examples: 'en', 'en-US', 'en-GB', 'zh-CN'."
58 }, 58 },
59 "gender": { 59 "gender": {
60 "type": "string", 60 "type": "string",
61 "optional": true, 61 "optional": true,
62 "description": "This voice's gender.", 62 "description": "This voice's gender.",
63 "enum": ["male", "female"] 63 "enum": ["male", "female"]
64 }, 64 },
65 "remote": {
66 "type": "boolean",
67 "optional": true,
68 "description": "If true, the synthesis engine is a remote network re source. It may be higher latency and may incur bandwidth costs."
69 },
65 "extensionId": { 70 "extensionId": {
66 "type": "string", 71 "type": "string",
67 "optional": true, 72 "optional": true,
68 "description": "The ID of the extension providing this voice." 73 "description": "The ID of the extension providing this voice."
69 }, 74 },
70 "eventTypes": { 75 "eventTypes": {
71 "type": "array", 76 "type": "array",
72 "items": {"type": "string"}, 77 "items": {"type": "string"},
73 "optional": true, 78 "optional": true,
74 "description": "All of the callback event types that this voice is c apable of sending." 79 "description": "All of the callback event types that this voice is c apable of sending."
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 "name": "event", 248 "name": "event",
244 "$ref": "TtsEvent", 249 "$ref": "TtsEvent",
245 "description": "The event from the text-to-speech engine indicating the status of this utterance." 250 "description": "The event from the text-to-speech engine indicating the status of this utterance."
246 } 251 }
247 ], 252 ],
248 "description": "Used to pass events back to the function calling speak() ." 253 "description": "Used to pass events back to the function calling speak() ."
249 } 254 }
250 ] 255 ]
251 } 256 }
252 ] 257 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698