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

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

Issue 10832042: Extensions Docs Server: Doc conversion script (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: everything but svn stuff Created 8 years, 4 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) from your extension or packaged app.
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>
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 <pre>chrome.tts.getVoices( 176 <pre>chrome.tts.getVoices(
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