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

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

Issue 18323018: Linking AvailabilityFinder with APIDataSource and intro-table templates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase with master Created 7 years, 5 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 <table class="intro">
2 <tr>
3 <th scope="col"></th>
4 <th scope="col"></th>
5 </tr>
6 <tr>
7 <td><strong>Description:</strong></td>
8 <td>Use the <code>chrome.tts</code> module to play synthesized
9 text-to-speech (TTS).
10 See also the related
11 <a href="ttsEngine.html">ttsEngine</a>
12 module, which allows an extension to implement a speech engine.</td>
13 </tr>
14 <tr>
15 <td><strong>Availability:</strong></td>
16 <td>Google Chrome 14</td>
17 </tr>
18 <tr>
19 <td><strong>Permissions:</strong></td>
20 <td><code>"tts"</code></td>
21 </tr>
22 <tr>
23 <td><strong>Learn more:</strong></td>
24 <td><a href="https://developers.google.com/live/shows/7320022-7001/">Chrome Office Hours: Text to Speech API</a></td>
25 </tr>
26 </table>
27
28 <p id="classSummary">
29
30 </p>
31
32
33 <h2 id="overview">Overview</h2> 1 <h2 id="overview">Overview</h2>
34 2
35 <p>Chrome provides native support for speech on Windows (using SAPI 3 <p>Chrome provides native support for speech on Windows (using SAPI
36 5), Mac OS X, and Chrome OS, using speech synthesis capabilities 4 5), Mac OS X, and Chrome OS, using speech synthesis capabilities
37 provided by the operating system. On all platforms, the user can 5 provided by the operating system. On all platforms, the user can
38 install extensions that register themselves as alternative speech 6 install extensions that register themselves as alternative speech
39 engines.</p> 7 engines.</p>
40 8
41 <h2 id="generating_speech">Generating speech</h2> 9 <h2 id="generating_speech">Generating speech</h2>
42 10
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 function(voices) { 164 function(voices) {
197 for (var i = 0; i < voices.length; i++) { 165 for (var i = 0; i < voices.length; i++) {
198 console.log('Voice ' + i + ':'); 166 console.log('Voice ' + i + ':');
199 console.log(' name: ' + voices[i].voiceName); 167 console.log(' name: ' + voices[i].voiceName);
200 console.log(' lang: ' + voices[i].lang); 168 console.log(' lang: ' + voices[i].lang);
201 console.log(' gender: ' + voices[i].gender); 169 console.log(' gender: ' + voices[i].gender);
202 console.log(' extension id: ' + voices[i].extensionId); 170 console.log(' extension id: ' + voices[i].extensionId);
203 console.log(' event types: ' + voices[i].eventTypes); 171 console.log(' event types: ' + voices[i].eventTypes);
204 } 172 }
205 });</pre> 173 });</pre>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698