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

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

Issue 10750017: Extensions Docs Server: Intro data source (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 8 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 | Annotate | Revision Log
OLDNEW
1 <p id="classSummary"> 1 <p id="classSummary">
2 Use the <code>chrome.ttsEngine</code> module to 2 Use the <code>chrome.ttsEngine</code> module to
3 implement a text-to-speech (TTS) engine using an extension. If your 3 implement a text-to-speech (TTS) engine using an extension. If your
4 extension registers using this API, it will receive events containing 4 extension registers using this API, it will receive events containing
5 an utterance to be spoken and other parameters when any extension or packaged 5 an utterance to be spoken and other parameters when any extension or packaged
6 app uses the 6 app uses the
7 <a href="tts.html">tts</a> 7 <a href="tts.html">tts</a>
8 module to generate speech. Your extension can then use any available 8 module to generate speech. Your extension can then use any available
9 web technology to synthesize and output the speech, and send events back 9 web technology to synthesize and output the speech, and send events back
10 to the calling function to report the status. 10 to the calling function to report the status.
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 <b>Important:</b> 118 <b>Important:</b>
119 If your extension does not register listeners for both 119 If your extension does not register listeners for both
120 <code>onSpeak</code> and <code>onStop</code>, it will not intercept any 120 <code>onSpeak</code> and <code>onStop</code>, it will not intercept any
121 speech calls, regardless of what is in the manifest.</p> 121 speech calls, regardless of what is in the manifest.</p>
122 <p>The decision of whether or not to send a given speech request to an 122 <p>The decision of whether or not to send a given speech request to an
123 extension is based solely on whether the extension supports the given voice 123 extension is based solely on whether the extension supports the given voice
124 parameters in its manifest and has registered listeners 124 parameters in its manifest and has registered listeners
125 for <code>onSpeak</code> and <code>onStop</code>. In other words, 125 for <code>onSpeak</code> and <code>onStop</code>. In other words,
126 there's no way for an extension to receive a speech request and 126 there's no way for an extension to receive a speech request and
127 dynamically decide whether to handle it.</p> 127 dynamically decide whether to handle it.</p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698