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

Side by Side Diff: chrome/common/extensions/docs/server2/templates/intros/tts.html

Issue 10914218: Removing references to legacy packaged apps across extension docs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 <p id="classSummary"> 1 <p id="classSummary">
2 Use the <code>chrome.tts</code> module to play synthesized 2 Use the <code>chrome.tts</code> module to play synthesized
3 text-to-speech (TTS) from your extension or packaged app. 3 text-to-speech (TTS).
4 See also the related 4 See also the related
5 <a href="ttsEngine.html">ttsEngine</a> 5 <a href="ttsEngine.html">ttsEngine</a>
6 module, which allows an extension to implement a speech engine. 6 module, which allows an extension to implement a speech engine.
7 </p> 7 </p>
8 8
9 9
10 <h2 id="overview">Overview</h2> 10 <h2 id="overview">Overview</h2>
11 11
12 <p>You must declare the "tts" permission 12 <p>You must declare the "tts" permission
13 in your extension's manifest to use this API. 13 in your extension's manifest to use this API.
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 function(voices) { 177 function(voices) {
178 for (var i = 0; i < voices.length; i++) { 178 for (var i = 0; i < voices.length; i++) {
179 console.log('Voice ' + i + ':'); 179 console.log('Voice ' + i + ':');
180 console.log(' name: ' + voices[i].voiceName); 180 console.log(' name: ' + voices[i].voiceName);
181 console.log(' lang: ' + voices[i].lang); 181 console.log(' lang: ' + voices[i].lang);
182 console.log(' gender: ' + voices[i].gender); 182 console.log(' gender: ' + voices[i].gender);
183 console.log(' extension id: ' + voices[i].extensionId); 183 console.log(' extension id: ' + voices[i].extensionId);
184 console.log(' event types: ' + voices[i].eventTypes); 184 console.log(' event types: ' + voices[i].eventTypes);
185 } 185 }
186 });</pre> 186 });</pre>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698