| Index: client/html/frog/html_frog.dart
|
| diff --git a/client/html/frog/html_frog.dart b/client/html/frog/html_frog.dart
|
| index ecd0abd8a65171d99967b531bf516f5ac8c25a11..f892865f6302fba4622b834d7c423b8b754f53d1 100644
|
| --- a/client/html/frog/html_frog.dart
|
| +++ b/client/html/frog/html_frog.dart
|
| @@ -4555,6 +4555,51 @@ class _DelayNodeImpl extends _AudioNodeImpl implements DelayNode native "*DelayN
|
| final _AudioParamImpl delayTime;
|
| }
|
|
|
| +class _DeprecatedPeerConnectionImpl implements DeprecatedPeerConnection native "*DeprecatedPeerConnection" {
|
| +
|
| + static final int ACTIVE = 2;
|
| +
|
| + static final int CLOSED = 3;
|
| +
|
| + static final int NEGOTIATING = 1;
|
| +
|
| + static final int NEW = 0;
|
| +
|
| + final _MediaStreamListImpl localStreams;
|
| +
|
| + EventListener onaddstream;
|
| +
|
| + EventListener onconnecting;
|
| +
|
| + EventListener onmessage;
|
| +
|
| + EventListener onopen;
|
| +
|
| + EventListener onremovestream;
|
| +
|
| + EventListener onstatechange;
|
| +
|
| + final int readyState;
|
| +
|
| + final _MediaStreamListImpl remoteStreams;
|
| +
|
| + void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
|
| +
|
| + void addStream(_MediaStreamImpl stream) native;
|
| +
|
| + void close() native;
|
| +
|
| + bool dispatchEvent(_EventImpl event) native;
|
| +
|
| + void processSignalingMessage(String message) native;
|
| +
|
| + void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
|
| +
|
| + void removeStream(_MediaStreamImpl stream) native;
|
| +
|
| + void send(String text) native;
|
| +}
|
| +
|
| class _DetailsElementImpl extends _ElementImpl implements DetailsElement native "*HTMLDetailsElement" {
|
|
|
| bool open;
|
| @@ -9162,51 +9207,6 @@ class _ParamElementImpl extends _ElementImpl implements ParamElement native "*HT
|
| String valueType;
|
| }
|
|
|
| -class _PeerConnectionImpl implements PeerConnection native "*PeerConnection" {
|
| -
|
| - static final int ACTIVE = 2;
|
| -
|
| - static final int CLOSED = 3;
|
| -
|
| - static final int NEGOTIATING = 1;
|
| -
|
| - static final int NEW = 0;
|
| -
|
| - final _MediaStreamListImpl localStreams;
|
| -
|
| - EventListener onaddstream;
|
| -
|
| - EventListener onconnecting;
|
| -
|
| - EventListener onmessage;
|
| -
|
| - EventListener onopen;
|
| -
|
| - EventListener onremovestream;
|
| -
|
| - EventListener onstatechange;
|
| -
|
| - final int readyState;
|
| -
|
| - final _MediaStreamListImpl remoteStreams;
|
| -
|
| - void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
|
| -
|
| - void addStream(_MediaStreamImpl stream) native;
|
| -
|
| - void close() native;
|
| -
|
| - bool dispatchEvent(_EventImpl event) native;
|
| -
|
| - void processSignalingMessage(String message) native;
|
| -
|
| - void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
|
| -
|
| - void removeStream(_MediaStreamImpl stream) native;
|
| -
|
| - void send(String text) native;
|
| -}
|
| -
|
| class _PerformanceImpl implements Performance native "*Performance" {
|
|
|
| final _MemoryInfoImpl memory;
|
| @@ -13138,6 +13138,22 @@ class _SourceElementImpl extends _ElementImpl implements SourceElement native "*
|
| class _SpanElementImpl extends _ElementImpl implements SpanElement native "*HTMLSpanElement" {
|
| }
|
|
|
| +class _SpeechGrammarImpl implements SpeechGrammar native "*SpeechGrammar" {
|
| +
|
| + num weight;
|
| +}
|
| +
|
| +class _SpeechGrammarListImpl implements SpeechGrammarList native "*SpeechGrammarList" {
|
| +
|
| + final int length;
|
| +
|
| + void addFromString(String string, [num weight = null]) native;
|
| +
|
| + void addFromUri(String src, [num weight = null]) native;
|
| +
|
| + _SpeechGrammarImpl item(int index) native;
|
| +}
|
| +
|
| class _SpeechInputEventImpl extends _EventImpl implements SpeechInputEvent native "*SpeechInputEvent" {
|
|
|
| final _SpeechInputResultListImpl results;
|
| @@ -13157,6 +13173,65 @@ class _SpeechInputResultListImpl implements SpeechInputResultList native "*Speec
|
| _SpeechInputResultImpl item(int index) native;
|
| }
|
|
|
| +class _SpeechRecognitionAlternativeImpl implements SpeechRecognitionAlternative native "*SpeechRecognitionAlternative" {
|
| +
|
| + final num confidence;
|
| +
|
| + final String transcript;
|
| +}
|
| +
|
| +class _SpeechRecognitionErrorImpl implements SpeechRecognitionError native "*SpeechRecognitionError" {
|
| +
|
| + static final int ABORTED = 2;
|
| +
|
| + static final int AUDIO_CAPTURE = 3;
|
| +
|
| + static final int BAD_GRAMMAR = 7;
|
| +
|
| + static final int LANGUAGE_NOT_SUPPORTED = 8;
|
| +
|
| + static final int NETWORK = 4;
|
| +
|
| + static final int NOT_ALLOWED = 5;
|
| +
|
| + static final int NO_SPEECH = 1;
|
| +
|
| + static final int OTHER = 0;
|
| +
|
| + static final int SERVICE_NOT_ALLOWED = 6;
|
| +
|
| + final int code;
|
| +
|
| + final String message;
|
| +}
|
| +
|
| +class _SpeechRecognitionEventImpl extends _EventImpl implements SpeechRecognitionEvent native "*SpeechRecognitionEvent" {
|
| +
|
| + final _SpeechRecognitionErrorImpl error;
|
| +
|
| + final _SpeechRecognitionResultImpl result;
|
| +
|
| + final _SpeechRecognitionResultListImpl resultHistory;
|
| +
|
| + final int resultIndex;
|
| +}
|
| +
|
| +class _SpeechRecognitionResultImpl implements SpeechRecognitionResult native "*SpeechRecognitionResult" {
|
| +
|
| + bool get finalValue() native "return this.final;";
|
| +
|
| + final int length;
|
| +
|
| + _SpeechRecognitionAlternativeImpl item(int index) native;
|
| +}
|
| +
|
| +class _SpeechRecognitionResultListImpl implements SpeechRecognitionResultList native "*SpeechRecognitionResultList" {
|
| +
|
| + final int length;
|
| +
|
| + _SpeechRecognitionResultImpl item(int index) native;
|
| +}
|
| +
|
| class _StorageImpl implements Storage native "*Storage" {
|
|
|
| final int length;
|
| @@ -15990,6 +16065,14 @@ class _DOMURLFactoryProvider {
|
| // 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.
|
|
|
| +class _DeprecatedPeerConnectionFactoryProvider {
|
| + factory DeprecatedPeerConnection(String serverConfiguration, SignalingCallback signalingCallback) native
|
| + '''return new DeprecatedPeerConnection(serverConfiguration, signalingCallback);''';
|
| +}
|
| +// 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.
|
| +
|
| class _EventSourceFactoryProvider {
|
| factory EventSource(String scriptUrl) native
|
| '''return new EventSource(scriptUrl);''';
|
| @@ -16053,14 +16136,6 @@ class _OptionElementFactoryProvider {
|
| // 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.
|
|
|
| -class _PeerConnectionFactoryProvider {
|
| - factory PeerConnection(String serverConfiguration, SignalingCallback signalingCallback) native
|
| - '''return new PeerConnection(serverConfiguration, signalingCallback);''';
|
| -}
|
| -// 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.
|
| -
|
| class _ShadowRootFactoryProvider {
|
| factory ShadowRoot(Element host) native
|
| '''return new ShadowRoot(host);''';
|
| @@ -16079,6 +16154,22 @@ class _SharedWorkerFactoryProvider {
|
| // 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.
|
|
|
| +class _SpeechGrammarFactoryProvider {
|
| + factory SpeechGrammar() native
|
| + '''return new SpeechGrammar();''';
|
| +}
|
| +// 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.
|
| +
|
| +class _SpeechGrammarListFactoryProvider {
|
| + factory SpeechGrammarList() native
|
| + '''return new SpeechGrammarList();''';
|
| +}
|
| +// 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.
|
| +
|
| class _TextTrackCueFactoryProvider {
|
| factory TextTrackCue(String id, num startTime, num endTime, String text,
|
| [String settings, bool pauseOnExit]) native '''
|
| @@ -20107,6 +20198,58 @@ interface DelayNode extends AudioNode {
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| +interface DeprecatedPeerConnection default _DeprecatedPeerConnectionFactoryProvider {
|
| +
|
| + DeprecatedPeerConnection(String serverConfiguration, SignalingCallback signalingCallback);
|
| +
|
| + static final int ACTIVE = 2;
|
| +
|
| + static final int CLOSED = 3;
|
| +
|
| + static final int NEGOTIATING = 1;
|
| +
|
| + static final int NEW = 0;
|
| +
|
| + final MediaStreamList localStreams;
|
| +
|
| + EventListener onaddstream;
|
| +
|
| + EventListener onconnecting;
|
| +
|
| + EventListener onmessage;
|
| +
|
| + EventListener onopen;
|
| +
|
| + EventListener onremovestream;
|
| +
|
| + EventListener onstatechange;
|
| +
|
| + final int readyState;
|
| +
|
| + final MediaStreamList remoteStreams;
|
| +
|
| + void addEventListener(String type, EventListener listener, [bool useCapture]);
|
| +
|
| + void addStream(MediaStream stream);
|
| +
|
| + void close();
|
| +
|
| + bool dispatchEvent(Event event);
|
| +
|
| + void processSignalingMessage(String message);
|
| +
|
| + void removeEventListener(String type, EventListener listener, [bool useCapture]);
|
| +
|
| + void removeStream(MediaStream stream);
|
| +
|
| + void send(String text);
|
| +}
|
| +// 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.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| interface DetailsElement extends Element {
|
|
|
| bool open;
|
| @@ -23940,58 +24083,6 @@ interface ParamElement extends Element {
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| -interface PeerConnection default _PeerConnectionFactoryProvider {
|
| -
|
| - PeerConnection(String serverConfiguration, SignalingCallback signalingCallback);
|
| -
|
| - static final int ACTIVE = 2;
|
| -
|
| - static final int CLOSED = 3;
|
| -
|
| - static final int NEGOTIATING = 1;
|
| -
|
| - static final int NEW = 0;
|
| -
|
| - final MediaStreamList localStreams;
|
| -
|
| - EventListener onaddstream;
|
| -
|
| - EventListener onconnecting;
|
| -
|
| - EventListener onmessage;
|
| -
|
| - EventListener onopen;
|
| -
|
| - EventListener onremovestream;
|
| -
|
| - EventListener onstatechange;
|
| -
|
| - final int readyState;
|
| -
|
| - final MediaStreamList remoteStreams;
|
| -
|
| - void addEventListener(String type, EventListener listener, [bool useCapture]);
|
| -
|
| - void addStream(MediaStream stream);
|
| -
|
| - void close();
|
| -
|
| - bool dispatchEvent(Event event);
|
| -
|
| - void processSignalingMessage(String message);
|
| -
|
| - void removeEventListener(String type, EventListener listener, [bool useCapture]);
|
| -
|
| - void removeStream(MediaStream stream);
|
| -
|
| - void send(String text);
|
| -}
|
| -// 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.
|
| -
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| interface Performance {
|
|
|
| final MemoryInfo memory;
|
| @@ -27332,7 +27423,7 @@ interface SharedWorkerContext extends WorkerContext {
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| -typedef bool SignalingCallback(String message, PeerConnection source);
|
| +typedef bool SignalingCallback(String message, DeprecatedPeerConnection source);
|
| // 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.
|
| @@ -27361,6 +27452,36 @@ interface SpanElement extends Element {
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| +interface SpeechGrammar default _SpeechGrammarFactoryProvider {
|
| +
|
| + SpeechGrammar();
|
| +
|
| + num weight;
|
| +}
|
| +// 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.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +interface SpeechGrammarList default _SpeechGrammarListFactoryProvider {
|
| +
|
| + SpeechGrammarList();
|
| +
|
| + final int length;
|
| +
|
| + void addFromString(String string, [num weight]);
|
| +
|
| + void addFromUri(String src, [num weight]);
|
| +
|
| + SpeechGrammar item(int index);
|
| +}
|
| +// 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.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| interface SpeechInputEvent extends Event {
|
|
|
| final SpeechInputResultList results;
|
| @@ -27395,6 +27516,90 @@ interface SpeechInputResultList {
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| +interface SpeechRecognitionAlternative {
|
| +
|
| + final num confidence;
|
| +
|
| + final String transcript;
|
| +}
|
| +// 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.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +interface SpeechRecognitionError {
|
| +
|
| + static final int ABORTED = 2;
|
| +
|
| + static final int AUDIO_CAPTURE = 3;
|
| +
|
| + static final int BAD_GRAMMAR = 7;
|
| +
|
| + static final int LANGUAGE_NOT_SUPPORTED = 8;
|
| +
|
| + static final int NETWORK = 4;
|
| +
|
| + static final int NOT_ALLOWED = 5;
|
| +
|
| + static final int NO_SPEECH = 1;
|
| +
|
| + static final int OTHER = 0;
|
| +
|
| + static final int SERVICE_NOT_ALLOWED = 6;
|
| +
|
| + final int code;
|
| +
|
| + final String message;
|
| +}
|
| +// 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.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +interface SpeechRecognitionEvent extends Event {
|
| +
|
| + final SpeechRecognitionError error;
|
| +
|
| + final SpeechRecognitionResult result;
|
| +
|
| + final SpeechRecognitionResultList resultHistory;
|
| +
|
| + final int resultIndex;
|
| +}
|
| +// 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.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +interface SpeechRecognitionResult {
|
| +
|
| + final bool finalValue;
|
| +
|
| + final int length;
|
| +
|
| + SpeechRecognitionAlternative item(int index);
|
| +}
|
| +// 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.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +interface SpeechRecognitionResultList {
|
| +
|
| + final int length;
|
| +
|
| + SpeechRecognitionResult item(int index);
|
| +}
|
| +// 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.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| interface Storage {
|
|
|
| final int length;
|
|
|