5721d8af6d
- Fixes requestFullscreen to call operation webkitRequestFullscreen not requestFullscreen its only available when RuntimeEnabled=FullscreenUnprefixed. Fixes #21919 R=vsm@google.com Change-Id: Ib4c4140350d3cef096954e67010f922df9f2310a Reviewed-on: https://dart-review.googlesource.com/60702 Commit-Queue: Terry Lucas <terry@google.com> Reviewed-by: Vijay Menon <vsm@google.com>
18 lines
529 B
Plaintext
18 lines
529 B
Plaintext
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
part of $LIBRARYNAME;
|
|
|
|
$(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS
|
|
{
|
|
List<SpeechSynthesisVoice> getVoices() {
|
|
List<SpeechSynthesisVoice> voices = _getVoices();
|
|
if (voices.length > 0)
|
|
applyExtension('SpeechSynthesisVoice', voices[0]);
|
|
return voices;
|
|
}
|
|
|
|
$!MEMBERS
|
|
}
|