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

Unified Diff: third_party/WebKit/Source/modules/speech/SpeechSynthesisUtterance.idl

Issue 2489123002: Drop LegacyInterfaceTypeChecking for SpeechSynthesisUtterance (Closed)
Patch Set: Created 4 years, 1 month 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 | « third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-utterance-voice.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/speech/SpeechSynthesisUtterance.idl
diff --git a/third_party/WebKit/Source/modules/speech/SpeechSynthesisUtterance.idl b/third_party/WebKit/Source/modules/speech/SpeechSynthesisUtterance.idl
index 8a0527903bde4af770f36585c5ba10327d9f68af..1021a743d469d1fb2964824dbd744d69be9c8dcd 100644
--- a/third_party/WebKit/Source/modules/speech/SpeechSynthesisUtterance.idl
+++ b/third_party/WebKit/Source/modules/speech/SpeechSynthesisUtterance.idl
@@ -23,6 +23,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://dvcs.w3.org/hg/speech-api/raw-file/tip/webspeechapi.html#tts-section
+
[
Constructor(optional DOMString text = null),
ConstructorCallWith=ExecutionContext,
@@ -30,7 +32,7 @@
] interface SpeechSynthesisUtterance : EventTarget {
attribute DOMString text;
attribute DOMString lang;
- [LegacyInterfaceTypeChecking] attribute SpeechSynthesisVoice voice;
+ attribute SpeechSynthesisVoice? voice;
attribute float volume;
attribute float rate;
attribute float pitch;
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-utterance-voice.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698