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

Unified Diff: Source/modules/speech/SpeechSynthesis.idl

Issue 27477002: Add support for onvoiceschanged event. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@platform_speech_chromium
Patch Set: Created 7 years, 2 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: Source/modules/speech/SpeechSynthesis.idl
diff --git a/Source/modules/speech/SpeechSynthesis.idl b/Source/modules/speech/SpeechSynthesis.idl
index de2e8dc6149c19a072f62a6bf3d09f8f1520200a..7bf174490fc0ad13205ede54564da06747f8d2f4 100644
--- a/Source/modules/speech/SpeechSynthesis.idl
+++ b/Source/modules/speech/SpeechSynthesis.idl
@@ -25,8 +25,9 @@
[
NoInterfaceObject,
+ ConstructorCallWith=ExecutionContext,
abarth-chromium 2013/10/17 02:00:53 Given that there's NoInterfaceObject and this obje
dmazzoni 2013/10/17 15:28:59 Oh duh - I should have realized this since the con
RuntimeEnabled=SpeechSynthesis
-] interface SpeechSynthesis {
+] interface SpeechSynthesis : EventTarget {
readonly attribute boolean pending;
readonly attribute boolean speaking;
readonly attribute boolean paused;
@@ -36,4 +37,6 @@
void pause();
void resume();
sequence<SpeechSynthesisVoice> getVoices();
+
+ attribute EventHandler onvoiceschanged;
};
« Source/modules/speech/SpeechSynthesis.cpp ('K') | « Source/modules/speech/SpeechSynthesis.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698