| Index: lib/dom/frog/dom_frog.dart
|
| diff --git a/lib/dom/frog/dom_frog.dart b/lib/dom/frog/dom_frog.dart
|
| index 733a6cc9c5fe4eea458b48b5db417fd6d49ebe0f..6fdffe1b7930b026db544b6724efb0f33afa22a2 100644
|
| --- a/lib/dom/frog/dom_frog.dart
|
| +++ b/lib/dom/frog/dom_frog.dart
|
| @@ -2097,6 +2097,8 @@ class _EventJs extends _DOMTypeJs implements Event native "*Event" {
|
|
|
| static final int MOUSEUP = 2;
|
|
|
| + static final int NONE = 0;
|
| +
|
| static final int SELECT = 16384;
|
|
|
| final bool bubbles;
|
| @@ -3318,6 +3320,8 @@ class _HTMLInputElementJs extends _HTMLElementJs implements HTMLInputElement nat
|
|
|
| String formTarget;
|
|
|
| + int height;
|
| +
|
| bool incremental;
|
|
|
| bool indeterminate;
|
| @@ -3374,6 +3378,8 @@ class _HTMLInputElementJs extends _HTMLElementJs implements HTMLInputElement nat
|
|
|
| bool webkitdirectory;
|
|
|
| + int width;
|
| +
|
| final bool willValidate;
|
|
|
| bool checkValidity() native;
|
| @@ -4234,7 +4240,7 @@ class _IDBCursorJs extends _DOMTypeJs implements IDBCursor native "*IDBCursor" {
|
|
|
| static final int PREV_NO_DUPLICATE = 3;
|
|
|
| - final int direction;
|
| + final String direction;
|
|
|
| final key;
|
|
|
| @@ -4281,7 +4287,7 @@ class _IDBDatabaseJs extends _EventTargetJs implements IDBDatabase native "*IDBD
|
|
|
| _IDBVersionChangeRequestJs setVersion(String version) native;
|
|
|
| - _IDBTransactionJs transaction(storeName_OR_storeNames, int mode) native;
|
| + _IDBTransactionJs transaction(storeName_OR_storeNames, mode) native;
|
| }
|
|
|
| class _IDBDatabaseExceptionJs extends _DOMTypeJs implements IDBDatabaseException native "*IDBDatabaseException" {
|
| @@ -4350,9 +4356,9 @@ class _IDBIndexJs extends _DOMTypeJs implements IDBIndex native "*IDBIndex" {
|
|
|
| _IDBRequestJs getKey(key) native;
|
|
|
| - _IDBRequestJs openCursor([key_OR_range = null, int direction = null]) native;
|
| + _IDBRequestJs openCursor([key_OR_range = null, direction = null]) native;
|
|
|
| - _IDBRequestJs openKeyCursor([key_OR_range = null, int direction = null]) native;
|
| + _IDBRequestJs openKeyCursor([key_OR_range = null, direction = null]) native;
|
| }
|
|
|
| class _IDBKeyJs extends _DOMTypeJs implements IDBKey native "*IDBKey" {
|
| @@ -4395,20 +4401,16 @@ class _IDBObjectStoreJs extends _DOMTypeJs implements IDBObjectStore native "*ID
|
|
|
| _IDBIndexJs index(String name) native;
|
|
|
| - _IDBRequestJs openCursor([key_OR_range = null, int direction = null]) native;
|
| + _IDBRequestJs openCursor([key_OR_range = null, direction = null]) native;
|
|
|
| _IDBRequestJs put(value, [key = null]) native;
|
| }
|
|
|
| class _IDBRequestJs extends _EventTargetJs implements IDBRequest native "*IDBRequest" {
|
|
|
| - static final int DONE = 2;
|
| -
|
| - static final int LOADING = 1;
|
| -
|
| final int errorCode;
|
|
|
| - final int readyState;
|
| + final String readyState;
|
|
|
| final result;
|
|
|
| @@ -4435,7 +4437,7 @@ class _IDBTransactionJs extends _EventTargetJs implements IDBTransaction native
|
|
|
| final _IDBDatabaseJs db;
|
|
|
| - final int mode;
|
| + final String mode;
|
|
|
| void abort() native;
|
|
|
| @@ -5746,20 +5748,34 @@ class _OscillatorJs extends _AudioSourceNodeJs implements Oscillator native "*Os
|
|
|
| static final int CUSTOM = 4;
|
|
|
| + static final int FINISHED_STATE = 3;
|
| +
|
| + static final int PLAYING_STATE = 2;
|
| +
|
| static final int SAWTOOTH = 2;
|
|
|
| + static final int SCHEDULED_STATE = 1;
|
| +
|
| static final int SINE = 0;
|
|
|
| static final int SQUARE = 1;
|
|
|
| static final int TRIANGLE = 3;
|
|
|
| + static final int UNSCHEDULED_STATE = 0;
|
| +
|
| final _AudioParamJs detune;
|
|
|
| final _AudioParamJs frequency;
|
|
|
| + final int playbackState;
|
| +
|
| int type;
|
|
|
| + void noteOff(num when) native;
|
| +
|
| + void noteOn(num when) native;
|
| +
|
| void setWaveTable(_WaveTableJs waveTable) native;
|
| }
|
|
|
| @@ -5803,10 +5819,10 @@ class _PeerConnection00Js extends _EventTargetJs implements PeerConnection00 nat
|
|
|
| static final int ICE_WAITING = 0x200;
|
|
|
| - static final int NEGOTIATING = 1;
|
| -
|
| static final int NEW = 0;
|
|
|
| + static final int OPENING = 1;
|
| +
|
| static final int SDP_ANSWER = 0x300;
|
|
|
| static final int SDP_OFFER = 0x100;
|
| @@ -5827,13 +5843,13 @@ class _PeerConnection00Js extends _EventTargetJs implements PeerConnection00 nat
|
|
|
| void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
|
|
|
| - void addStream(_MediaStreamJs stream, [String mediaStreamHints = null]) native;
|
| + void addStream(_MediaStreamJs stream, [Map mediaStreamHints = null]) native;
|
|
|
| void close() native;
|
|
|
| - _SessionDescriptionJs createAnswer(String offer, [String mediaHints = null]) native;
|
| + _SessionDescriptionJs createAnswer(String offer, [Map mediaHints = null]) native;
|
|
|
| - _SessionDescriptionJs createOffer([String mediaHints = null]) native;
|
| + _SessionDescriptionJs createOffer([Map mediaHints = null]) native;
|
|
|
| bool dispatchEvent(_EventJs event) native;
|
|
|
| @@ -5847,7 +5863,7 @@ class _PeerConnection00Js extends _EventTargetJs implements PeerConnection00 nat
|
|
|
| void setRemoteDescription(int action, _SessionDescriptionJs desc) native;
|
|
|
| - void startIce([String iceOptions = null]) native;
|
| + void startIce([Map iceOptions = null]) native;
|
| }
|
|
|
| class _PerformanceJs extends _DOMTypeJs implements Performance native "*Performance" {
|
| @@ -5975,6 +5991,11 @@ class _RGBColorJs extends _DOMTypeJs implements RGBColor native "*RGBColor" {
|
| final _CSSPrimitiveValueJs red;
|
| }
|
|
|
| +class _RadioNodeListJs extends _NodeListJs implements RadioNodeList native "*RadioNodeList" {
|
| +
|
| + String value;
|
| +}
|
| +
|
| class _RangeJs extends _DOMTypeJs implements Range native "*Range" {
|
|
|
| static final int END_TO_END = 2;
|
| @@ -9519,6 +9540,8 @@ class _ShadowRootJs extends _DocumentFragmentJs implements ShadowRoot native "*S
|
|
|
| final _ElementJs activeElement;
|
|
|
| + bool applyAuthorStyles;
|
| +
|
| final _ElementJs host;
|
|
|
| String innerHTML;
|
| @@ -14784,6 +14807,8 @@ interface Event {
|
|
|
| static final int MOUSEUP = 2;
|
|
|
| + static final int NONE = 0;
|
| +
|
| static final int SELECT = 16384;
|
|
|
| final bool bubbles;
|
| @@ -15959,6 +15984,8 @@ interface HTMLInputElement extends HTMLElement {
|
|
|
| String formTarget;
|
|
|
| + int height;
|
| +
|
| bool incremental;
|
|
|
| bool indeterminate;
|
| @@ -16015,6 +16042,8 @@ interface HTMLInputElement extends HTMLElement {
|
|
|
| bool webkitdirectory;
|
|
|
| + int width;
|
| +
|
| final bool willValidate;
|
|
|
| bool checkValidity();
|
| @@ -17099,7 +17128,7 @@ interface IDBCursor {
|
|
|
| static final int PREV_NO_DUPLICATE = 3;
|
|
|
| - final int direction;
|
| + final String direction;
|
|
|
| final /*IDBKey*/ key;
|
|
|
| @@ -17153,7 +17182,7 @@ interface IDBDatabase extends EventTarget {
|
|
|
| IDBVersionChangeRequest setVersion(String version);
|
|
|
| - IDBTransaction transaction(storeName_OR_storeNames, int mode);
|
| + IDBTransaction transaction(storeName_OR_storeNames, mode);
|
| }
|
| // 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
|
| @@ -17237,9 +17266,9 @@ interface IDBIndex {
|
|
|
| IDBRequest getKey(key);
|
|
|
| - IDBRequest openCursor([key_OR_range, int direction]);
|
| + IDBRequest openCursor([key_OR_range, direction]);
|
|
|
| - IDBRequest openKeyCursor([key_OR_range, int direction]);
|
| + IDBRequest openKeyCursor([key_OR_range, direction]);
|
| }
|
| // 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
|
| @@ -17307,7 +17336,7 @@ interface IDBObjectStore {
|
|
|
| IDBIndex index(String name);
|
|
|
| - IDBRequest openCursor([key_OR_range, int direction]);
|
| + IDBRequest openCursor([key_OR_range, direction]);
|
|
|
| IDBRequest put(/*SerializedScriptValue*/ value, [/*IDBKey*/ key]);
|
| }
|
| @@ -17319,13 +17348,9 @@ interface IDBObjectStore {
|
|
|
| interface IDBRequest extends EventTarget {
|
|
|
| - static final int DONE = 2;
|
| -
|
| - static final int LOADING = 1;
|
| -
|
| final int errorCode;
|
|
|
| - final int readyState;
|
| + final String readyState;
|
|
|
| final /*IDBAny*/ result;
|
|
|
| @@ -17357,7 +17382,7 @@ interface IDBTransaction extends EventTarget {
|
|
|
| final IDBDatabase db;
|
|
|
| - final int mode;
|
| + final String mode;
|
|
|
| void abort();
|
|
|
| @@ -18403,6 +18428,13 @@ interface NotificationCenter {
|
|
|
| void requestPermission(VoidCallback callback);
|
| }
|
| +// Copyright (c) 2011, 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.
|
| +
|
| +typedef bool NotificationPermissionCallback(String permission);
|
| // 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.
|
| @@ -18477,20 +18509,34 @@ interface Oscillator extends AudioSourceNode {
|
|
|
| static final int CUSTOM = 4;
|
|
|
| + static final int FINISHED_STATE = 3;
|
| +
|
| + static final int PLAYING_STATE = 2;
|
| +
|
| static final int SAWTOOTH = 2;
|
|
|
| + static final int SCHEDULED_STATE = 1;
|
| +
|
| static final int SINE = 0;
|
|
|
| static final int SQUARE = 1;
|
|
|
| static final int TRIANGLE = 3;
|
|
|
| + static final int UNSCHEDULED_STATE = 0;
|
| +
|
| final AudioParam detune;
|
|
|
| final AudioParam frequency;
|
|
|
| + final int playbackState;
|
| +
|
| int type;
|
|
|
| + void noteOff(num when);
|
| +
|
| + void noteOn(num when);
|
| +
|
| void setWaveTable(WaveTable waveTable);
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| @@ -18551,10 +18597,10 @@ interface PeerConnection00 extends EventTarget default _PeerConnection00FactoryP
|
|
|
| static final int ICE_WAITING = 0x200;
|
|
|
| - static final int NEGOTIATING = 1;
|
| -
|
| static final int NEW = 0;
|
|
|
| + static final int OPENING = 1;
|
| +
|
| static final int SDP_ANSWER = 0x300;
|
|
|
| static final int SDP_OFFER = 0x100;
|
| @@ -18575,13 +18621,13 @@ interface PeerConnection00 extends EventTarget default _PeerConnection00FactoryP
|
|
|
| void addEventListener(String type, EventListener listener, [bool useCapture]);
|
|
|
| - void addStream(MediaStream stream, [String mediaStreamHints]);
|
| + void addStream(MediaStream stream, [Map mediaStreamHints]);
|
|
|
| void close();
|
|
|
| - SessionDescription createAnswer(String offer, [String mediaHints]);
|
| + SessionDescription createAnswer(String offer, [Map mediaHints]);
|
|
|
| - SessionDescription createOffer([String mediaHints]);
|
| + SessionDescription createOffer([Map mediaHints]);
|
|
|
| bool dispatchEvent(Event event);
|
|
|
| @@ -18595,7 +18641,7 @@ interface PeerConnection00 extends EventTarget default _PeerConnection00FactoryP
|
|
|
| void setRemoteDescription(int action, SessionDescription desc);
|
|
|
| - void startIce([String iceOptions]);
|
| + void startIce([Map iceOptions]);
|
| }
|
| // 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
|
| @@ -18787,6 +18833,16 @@ interface RGBColor {
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| +interface RadioNodeList extends NodeList {
|
| +
|
| + String value;
|
| +}
|
| +// 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 Range {
|
|
|
| static final int END_TO_END = 2;
|
| @@ -18933,7 +18989,7 @@ interface Rect {
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| -typedef bool RequestAnimationFrameCallback(num highResTime);
|
| +typedef bool RequestAnimationFrameCallback(int time);
|
| // 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.
|
| @@ -21713,6 +21769,8 @@ interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider
|
|
|
| final Element activeElement;
|
|
|
| + bool applyAuthorStyles;
|
| +
|
| final Element host;
|
|
|
| String innerHTML;
|
|
|