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

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: Check activeDOMObjectsAreStopped, address other feedback 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
« no previous file with comments | « Source/modules/speech/SpeechSynthesis.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/speech/SpeechSynthesis.idl
diff --git a/Source/modules/speech/SpeechSynthesis.idl b/Source/modules/speech/SpeechSynthesis.idl
index 85f06366a813c234b1b1c13455057f7d19055924..a88e4968efebd4820bfff8142bc1d8ed3f923ac8 100644
--- a/Source/modules/speech/SpeechSynthesis.idl
+++ b/Source/modules/speech/SpeechSynthesis.idl
@@ -26,7 +26,7 @@
[
NoInterfaceObject,
RuntimeEnabled=SpeechSynthesis
-] interface SpeechSynthesis {
+] interface SpeechSynthesis : EventTarget {
readonly attribute boolean pending;
readonly attribute boolean speaking;
readonly attribute boolean paused;
@@ -36,4 +36,6 @@
void pause();
void resume();
sequence<SpeechSynthesisVoice> getVoices();
+
+ attribute EventHandler onvoiceschanged;
};
« no previous file with comments | « Source/modules/speech/SpeechSynthesis.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698