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

Unified Diff: chrome/common/extensions/docs/samples.json

Issue 8536022: Adding static documentation to the speech input extension API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing nits and adding a example. Created 9 years, 1 month 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/docs/samples.json
diff --git a/chrome/common/extensions/docs/samples.json b/chrome/common/extensions/docs/samples.json
index 18e6cd1c2fa7e25b8b7ff7294ab53e510328f85c..94dc99ec73298724d739bc93590f9b4eabf9fea8 100644
--- a/chrome/common/extensions/docs/samples.json
+++ b/chrome/common/extensions/docs/samples.json
@@ -2095,6 +2095,36 @@
{
"api_calls": [
"chrome.browserAction.onClicked",
+ "chrome.experimental.speechInput.isRecording",
+ "chrome.experimental.speechInput.onError",
+ "chrome.experimental.speechInput.onResult",
+ "chrome.experimental.speechInput.start",
+ "chrome.experimental.speechInput.stop"
+ ],
+ "crx_path": null,
+ "description": "Recognizes your speech and tells you the most likely result.",
+ "features": [
+ "background_page",
+ "browser_action",
+ "experimental"
+ ],
+ "icon": null,
Satish 2011/11/17 16:29:23 should point this to a valid icon file name? the o
Leandro Graciá Gil 2011/11/17 22:02:45 I don't recall changing this file. This is probabl
+ "id": "a942b7626644674b7a56678930d054497b244ee7",
+ "name": "Speech recognizer",
Satish 2011/11/17 16:29:23 capitalise the first letter of all words in the na
Leandro Graciá Gil 2011/11/17 22:02:45 Done.
+ "packaged_app": false,
+ "path": "examples\/api\/speechInput\/basic\/",
+ "protocols": [],
+ "search_string": "SPEECH RECOGNIZER RECOGNIZES YOUR SPEECH AND TELLS YOU THE MOST LIKELY RESULT. BACKGROUND_PAGE BROWSER_ACTION EXPERIMENTAL CHROME.BROWSERACTION.ONCLICKED CHROME.EXPERIMENTAL.SPEECHINPUT.ISRECORDING CHROME.EXPERIMENTAL.SPEECHINPUT.ONERROR CHROME.EXPERIMENTAL.SPEECHINPUT.ONRESULT CHROME.EXPERIMENTAL.SPEECHINPUT.START CHROME.EXPERIMENTAL.SPEECHINPUT.STOP",
+ "source_files": [
+ "background.html",
+ "manifest.json"
+ ],
+ "source_hash": "a1db5394eb501dc0d23f584efcdc4f22e5155a4b",
+ "zip_path": "examples\/api\/speechInput\/basic.zip"
+ },
+ {
+ "api_calls": [
+ "chrome.browserAction.onClicked",
"chrome.extension.getURL",
"chrome.tabs.create",
"chrome.tabs.get",

Powered by Google App Engine
This is Rietveld 408576698