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

Unified Diff: chrome/renderer/resources/extension_process_bindings.js

Issue 7282048: Update TTS extension API docs to reflect latest changes. Note that this (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/resources/extension_process_bindings.js
===================================================================
--- chrome/renderer/resources/extension_process_bindings.js (revision 92678)
+++ chrome/renderer/resources/extension_process_bindings.js (working copy)
@@ -1010,10 +1010,10 @@
apiFunctions["experimental.tts.speak"].handleRequest = function() {
var args = arguments;
- if (args.length > 1 && args[1] && args[1].onevent) {
+ if (args.length > 1 && args[1] && args[1].onEvent) {
var id = GetNextTtsEventId();
args[1].srcId = id;
- chromeHidden.tts.handlers[id] = args[1].onevent;
+ chromeHidden.tts.handlers[id] = args[1].onEvent;
}
sendRequest(this.name, args, this.definition.parameters);
return id;

Powered by Google App Engine
This is Rietveld 408576698