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

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

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 9 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
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": "ttsEngine", 7 "namespace": "ttsEngine",
8 "description": "Use the <code>chrome.ttsEngine</code> module to implement a text-to-speech(TTS) engine using an extension.",
8 "dependencies": [ "tts" ], 9 "dependencies": [ "tts" ],
9 "functions": [ 10 "functions": [
10 { 11 {
11 "name": "sendTtsEvent", 12 "name": "sendTtsEvent",
12 "nodoc": true, 13 "nodoc": true,
13 "type": "function", 14 "type": "function",
14 "description": "Routes a TTS event from a speech engine to a client.", 15 "description": "Routes a TTS event from a speech engine to a client.",
15 "parameters": [ 16 "parameters": [
16 { 17 {
17 "type": "integer", 18 "type": "integer",
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 ] 96 ]
96 }, 97 },
97 { 98 {
98 "name": "onStop", 99 "name": "onStop",
99 "type": "function", 100 "type": "function",
100 "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)." 101 "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)."
101 } 102 }
102 ] 103 ]
103 } 104 }
104 ] 105 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698