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

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

Issue 8201030: Introducing the basic functionality to the speech input experimental API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fixes. Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/extension_api.json
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index d8e729937627fdc0f9721979e550e9de4ceb8a95..58f9f4d0feb789aee6ca83ad772454261f3af1bf 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -548,7 +548,7 @@
"filterProfanities": {
"type": "boolean",
"optional": true,
- "description": "Enable or disable profanity filtering. Will use the default Chrome filtering settings if not provided."
+ "description": "Enable or disable profanity filtering. Will use the default Chrome filtering settings if not set."
}
}
},
@@ -559,7 +559,7 @@
"properties": {
"code": {
"type": "string",
- "enum": ["noDevicesAvailable", "unableToStart", "noSpeechHeard", "noResults", "captureError", "networkError", "internalError", "requestDenied"],
+ "enum": ["noDevicesAvailable", "unableToStart", "noSpeechHeard", "noResults", "captureError", "networkError", "requestDenied"],
"description": "Code identifying the error case."
}
}
@@ -580,7 +580,7 @@
}
},
{
- "id": "SpeechResultEvent",
+ "id": "ResultEvent",
Satish 2011/10/09 20:01:47 while events and methods are always accessed via t
Leandro GraciĆ” Gil 2011/10/10 18:59:38 Looks like you're right. I've tried to use a diffe
"type": "object",
"description": "Object containing the recognition results.",
"properties": {
@@ -670,7 +670,7 @@
{
"name": "onSoundEnd",
"type": "function",
- "description": "Called when the system detects enough silence to consider the ongoing input has ended.",
+ "description": "Called when the system detects enough silence to consider the ongoing speech has ended.",
"parameters": []
},
{
@@ -680,7 +680,7 @@
"parameters": [
{
"name": "event",
- "$ref": "SpeechResultEvent",
+ "$ref": "ResultEvent",
"description": "Object containing the speech recognition results."
}
]

Powered by Google App Engine
This is Rietveld 408576698