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

Unified Diff: chrome/common/extensions/api/extension_api.json

Issue 7258007: Move the tts and ttsEngine APIs out of experimental, and give (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/extension_api.json
===================================================================
--- chrome/common/extensions/api/extension_api.json (revision 93167)
+++ chrome/common/extensions/api/extension_api.json (working copy)
@@ -507,7 +507,7 @@
]
},
{
- "namespace": "experimental.tts",
+ "namespace": "tts",
"types": [
{
"id": "TtsEvent",
@@ -722,10 +722,25 @@
}
]
}
+ ],
+ "events": [
+ {
+ "name": "onEvent",
+ "type": "function",
+ "nodoc": true,
+ "parameters": [
+ {
+ "name": "event",
+ "$ref": "TtsEvent",
+ "description": "The event from the text-to-speech engine indicating the status of this utterance."
+ }
+ ],
+ "description": "Used to pass events back to the function calling speak()."
+ }
]
},
{
- "namespace": "experimental.ttsEngine",
+ "namespace": "ttsEngine",
"functions": [
{
"name": "sendTtsEvent",
@@ -818,19 +833,6 @@
"name": "onStop",
"type": "function",
"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)."
- },
- {
- "name": "onEvent",
- "type": "function",
- "nodoc": true,
- "parameters": [
- {
- "name": "event",
- "$ref": "TtsEvent",
- "description": "The event from the text-to-speech engine indicating the status of this utterance."
- }
- ],
- "description": "Used to pass events back to the function calling speak()."
}
]
},
« no previous file with comments | « chrome/browser/resources/access_chromevox/manifest.json ('k') | chrome/common/extensions/docs/api_index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698