| Index: client/html/dartium/html_dartium.dart
|
| diff --git a/client/html/dartium/html_dartium.dart b/client/html/dartium/html_dartium.dart
|
| index 54f0448b5620ed2f4f9c87a8a91796295a604324..727c947d499d6e7e2a15257a7c013fcb7d3aff9c 100644
|
| --- a/client/html/dartium/html_dartium.dart
|
| +++ b/client/html/dartium/html_dartium.dart
|
| @@ -999,8 +999,12 @@ class _AudioContextImpl extends _DOMTypeBase implements AudioContext {
|
| return _wrap(_ptr.createConvolver());
|
| }
|
|
|
| - DelayNode createDelayNode() {
|
| - return _wrap(_ptr.createDelayNode());
|
| + DelayNode createDelayNode([num maxDelayTime = null]) {
|
| + if (maxDelayTime === null) {
|
| + return _wrap(_ptr.createDelayNode());
|
| + } else {
|
| + return _wrap(_ptr.createDelayNode(_unwrap(maxDelayTime)));
|
| + }
|
| }
|
|
|
| DynamicsCompressorNode createDynamicsCompressor() {
|
| @@ -5589,7 +5593,7 @@ class _ClipboardImpl extends _DOMTypeBase implements Clipboard {
|
|
|
| DataTransferItemList get items() => _wrap(_ptr.items);
|
|
|
| - List<String> get types() => _wrap(_ptr.types);
|
| + List get types() => _wrap(_ptr.types);
|
|
|
| void clearData([String type = null]) {
|
| if (type === null) {
|
| @@ -5601,9 +5605,8 @@ class _ClipboardImpl extends _DOMTypeBase implements Clipboard {
|
| }
|
| }
|
|
|
| - void getData(String type) {
|
| - _ptr.getData(_unwrap(type));
|
| - return;
|
| + String getData(String type) {
|
| + return _wrap(_ptr.getData(_unwrap(type)));
|
| }
|
|
|
| bool setData(String type, String data) {
|
| @@ -6166,6 +6169,22 @@ class _DOMTokenListImpl extends _DOMTypeBase implements DOMTokenList {
|
|
|
| class _DOMURLImpl extends _DOMTypeBase implements DOMURL {
|
| _DOMURLImpl._wrap(ptr) : super._wrap(ptr);
|
| +
|
| + String createObjectURL(var blob_OR_stream) {
|
| + if (blob_OR_stream is MediaStream) {
|
| + return _wrap(_ptr.createObjectURL(_unwrap(blob_OR_stream)));
|
| + } else {
|
| + if (blob_OR_stream is Blob) {
|
| + return _wrap(_ptr.createObjectURL(_unwrap(blob_OR_stream)));
|
| + }
|
| + }
|
| + throw "Incorrect number or type of arguments";
|
| + }
|
| +
|
| + void revokeObjectURL(String url) {
|
| + _ptr.revokeObjectURL(_unwrap(url));
|
| + return;
|
| + }
|
| }
|
|
|
| class _DataTransferItemImpl extends _DOMTypeBase implements DataTransferItem {
|
| @@ -6948,6 +6967,14 @@ class _DocumentTypeImpl extends _NodeImpl implements DocumentType {
|
|
|
| class _DynamicsCompressorNodeImpl extends _AudioNodeImpl implements DynamicsCompressorNode {
|
| _DynamicsCompressorNodeImpl._wrap(ptr) : super._wrap(ptr);
|
| +
|
| + AudioParam get knee() => _wrap(_ptr.knee);
|
| +
|
| + AudioParam get ratio() => _wrap(_ptr.ratio);
|
| +
|
| + AudioParam get reduction() => _wrap(_ptr.reduction);
|
| +
|
| + AudioParam get threshold() => _wrap(_ptr.threshold);
|
| }
|
| // 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
|
| @@ -9469,12 +9496,19 @@ class _IDBIndexImpl extends _DOMTypeBase implements IDBIndex {
|
|
|
| bool get unique() => _wrap(_ptr.unique);
|
|
|
| - IDBRequest count([IDBKeyRange range = null]) {
|
| - if (range === null) {
|
| + IDBRequest count([var key_OR_range = null]) {
|
| + if (key_OR_range === null) {
|
| return _wrap(_ptr.count());
|
| } else {
|
| - return _wrap(_ptr.count(_unwrap(range)));
|
| + if (key_OR_range is IDBKeyRange) {
|
| + return _wrap(_ptr.count(_unwrap(key_OR_range)));
|
| + } else {
|
| + if (key_OR_range is IDBKey) {
|
| + return _wrap(_ptr.count(_unwrap(key_OR_range)));
|
| + }
|
| + }
|
| }
|
| + throw "Incorrect number or type of arguments";
|
| }
|
|
|
| IDBRequest getObject(IDBKey key) {
|
| @@ -9590,12 +9624,19 @@ class _IDBObjectStoreImpl extends _DOMTypeBase implements IDBObjectStore {
|
| return _wrap(_ptr.clear());
|
| }
|
|
|
| - IDBRequest count([IDBKeyRange range = null]) {
|
| - if (range === null) {
|
| + IDBRequest count([var key_OR_range = null]) {
|
| + if (key_OR_range === null) {
|
| return _wrap(_ptr.count());
|
| } else {
|
| - return _wrap(_ptr.count(_unwrap(range)));
|
| + if (key_OR_range is IDBKeyRange) {
|
| + return _wrap(_ptr.count(_unwrap(key_OR_range)));
|
| + } else {
|
| + if (key_OR_range is IDBKey) {
|
| + return _wrap(_ptr.count(_unwrap(key_OR_range)));
|
| + }
|
| + }
|
| }
|
| + throw "Incorrect number or type of arguments";
|
| }
|
|
|
| IDBIndex createIndex(String name, String keyPath) {
|
| @@ -11395,6 +11436,8 @@ class _MetadataImpl extends _DOMTypeBase implements Metadata {
|
| _MetadataImpl._wrap(ptr) : super._wrap(ptr);
|
|
|
| Date get modificationTime() => _wrap(_ptr.modificationTime);
|
| +
|
| + int get size() => _wrap(_ptr.size);
|
| }
|
|
|
| class _MeterElementImpl extends _ElementImpl implements MeterElement {
|
| @@ -17135,6 +17178,10 @@ class _ShadowRootImpl extends _DocumentFragmentImpl implements ShadowRoot {
|
|
|
| Element get host() => _wrap(_ptr.host);
|
|
|
| + String get innerHTML() => _wrap(_ptr.innerHTML);
|
| +
|
| + void set innerHTML(String value) { _ptr.innerHTML = _unwrap(value); }
|
| +
|
| Element getElementById(String elementId) {
|
| return _wrap(_ptr.getElementById(_unwrap(elementId)));
|
| }
|
| @@ -17902,13 +17949,9 @@ class _TextTrackImpl extends _DOMTypeBase implements TextTrack {
|
| class _TextTrackCueImpl extends _DOMTypeBase implements TextTrackCue {
|
| _TextTrackCueImpl._wrap(ptr) : super._wrap(ptr);
|
|
|
| - String get alignment() => _wrap(_ptr.alignment);
|
| -
|
| - void set alignment(String value) { _ptr.alignment = _unwrap(value); }
|
| -
|
| - String get direction() => _wrap(_ptr.direction);
|
| + String get align() => _wrap(_ptr.align);
|
|
|
| - void set direction(String value) { _ptr.direction = _unwrap(value); }
|
| + void set align(String value) { _ptr.align = _unwrap(value); }
|
|
|
| num get endTime() => _wrap(_ptr.endTime);
|
|
|
| @@ -17918,9 +17961,9 @@ class _TextTrackCueImpl extends _DOMTypeBase implements TextTrackCue {
|
|
|
| void set id(String value) { _ptr.id = _unwrap(value); }
|
|
|
| - int get linePosition() => _wrap(_ptr.linePosition);
|
| + int get line() => _wrap(_ptr.line);
|
|
|
| - void set linePosition(int value) { _ptr.linePosition = _unwrap(value); }
|
| + void set line(int value) { _ptr.line = _unwrap(value); }
|
|
|
| EventListener get onenter() => _wrap(_ptr.onenter);
|
|
|
| @@ -17934,6 +17977,10 @@ class _TextTrackCueImpl extends _DOMTypeBase implements TextTrackCue {
|
|
|
| void set pauseOnExit(bool value) { _ptr.pauseOnExit = _unwrap(value); }
|
|
|
| + int get position() => _wrap(_ptr.position);
|
| +
|
| + void set position(int value) { _ptr.position = _unwrap(value); }
|
| +
|
| int get size() => _wrap(_ptr.size);
|
|
|
| void set size(int value) { _ptr.size = _unwrap(value); }
|
| @@ -17950,11 +17997,11 @@ class _TextTrackCueImpl extends _DOMTypeBase implements TextTrackCue {
|
|
|
| void set text(String value) { _ptr.text = _unwrap(value); }
|
|
|
| - int get textPosition() => _wrap(_ptr.textPosition);
|
| + TextTrack get track() => _wrap(_ptr.track);
|
|
|
| - void set textPosition(int value) { _ptr.textPosition = _unwrap(value); }
|
| + String get vertical() => _wrap(_ptr.vertical);
|
|
|
| - TextTrack get track() => _wrap(_ptr.track);
|
| + void set vertical(String value) { _ptr.vertical = _unwrap(value); }
|
|
|
| void addEventListener(String type, EventListener listener, [bool useCapture = null]) {
|
| if (useCapture === null) {
|
| @@ -19657,6 +19704,10 @@ class _WebKitNamedFlowImpl extends _DOMTypeBase implements WebKitNamedFlow {
|
| _WebKitNamedFlowImpl._wrap(ptr) : super._wrap(ptr);
|
|
|
| bool get overflow() => _wrap(_ptr.overflow);
|
| +
|
| + NodeList getRegionsByContentNode(Node contentNode) {
|
| + return _wrap(_ptr.getRegionsByContentNode(_unwrap(contentNode)));
|
| + }
|
| }
|
|
|
| class _WebSocketImpl extends _EventTargetImpl implements WebSocket {
|
| @@ -21395,7 +21446,7 @@ interface AudioContext {
|
|
|
| ConvolverNode createConvolver();
|
|
|
| - DelayNode createDelayNode();
|
| + DelayNode createDelayNode([num maxDelayTime]);
|
|
|
| DynamicsCompressorNode createDynamicsCompressor();
|
|
|
| @@ -22032,6 +22083,12 @@ interface CSSPrimitiveValue extends CSSValue {
|
|
|
| static final int CSS_URI = 20;
|
|
|
| + static final int CSS_VH = 27;
|
| +
|
| + static final int CSS_VMIN = 28;
|
| +
|
| + static final int CSS_VW = 26;
|
| +
|
| final int primitiveType;
|
|
|
| Counter getCounterValue();
|
| @@ -24352,11 +24409,11 @@ interface Clipboard {
|
|
|
| final DataTransferItemList items;
|
|
|
| - final List<String> types;
|
| + final List types;
|
|
|
| void clearData([String type]);
|
|
|
| - void getData(String type);
|
| + String getData(String type);
|
|
|
| bool setData(String type, String data);
|
|
|
| @@ -24888,6 +24945,10 @@ interface DOMTokenList {
|
| interface DOMURL default _DOMURLFactoryProvider {
|
|
|
| DOMURL();
|
| +
|
| + String createObjectURL(var blob_OR_stream);
|
| +
|
| + void revokeObjectURL(String url);
|
| }
|
| // 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
|
| @@ -25358,6 +25419,14 @@ interface DocumentType extends Node {
|
| // WARNING: Do not edit - generated code.
|
|
|
| interface DynamicsCompressorNode extends AudioNode {
|
| +
|
| + final AudioParam knee;
|
| +
|
| + final AudioParam ratio;
|
| +
|
| + final AudioParam reduction;
|
| +
|
| + final AudioParam threshold;
|
| }
|
| // 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
|
| @@ -27049,7 +27118,7 @@ interface IDBIndex {
|
|
|
| final bool unique;
|
|
|
| - IDBRequest count([IDBKeyRange range]);
|
| + IDBRequest count([var key_OR_range]);
|
|
|
| IDBRequest getObject(IDBKey key);
|
|
|
| @@ -27111,7 +27180,7 @@ interface IDBObjectStore {
|
|
|
| IDBRequest clear();
|
|
|
| - IDBRequest count([IDBKeyRange range]);
|
| + IDBRequest count([var key_OR_range]);
|
|
|
| IDBIndex createIndex(String name, String keyPath);
|
|
|
| @@ -27820,12 +27889,6 @@ interface MediaController default _MediaControllerFactoryProvider {
|
|
|
| interface MediaElement extends Element {
|
|
|
| - static final int EOS_DECODE_ERR = 2;
|
| -
|
| - static final int EOS_NETWORK_ERR = 1;
|
| -
|
| - static final int EOS_NO_ERROR = 0;
|
| -
|
| static final int HAVE_CURRENT_DATA = 2;
|
|
|
| static final int HAVE_ENOUGH_DATA = 4;
|
| @@ -27844,12 +27907,6 @@ interface MediaElement extends Element {
|
|
|
| static final int NETWORK_NO_SOURCE = 3;
|
|
|
| - static final int SOURCE_CLOSED = 0;
|
| -
|
| - static final int SOURCE_ENDED = 2;
|
| -
|
| - static final int SOURCE_OPEN = 1;
|
| -
|
| bool autoplay;
|
|
|
| final TimeRanges buffered;
|
| @@ -28196,6 +28253,8 @@ interface MetaElement extends Element {
|
| interface Metadata {
|
|
|
| final Date modificationTime;
|
| +
|
| + final int size;
|
| }
|
| // 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
|
| @@ -32271,6 +32330,8 @@ interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider
|
|
|
| final Element host;
|
|
|
| + String innerHTML;
|
| +
|
| Element getElementById(String elementId);
|
|
|
| NodeList getElementsByClassName(String className);
|
| @@ -32828,15 +32889,13 @@ interface TextTrackCue default _TextTrackCueFactoryProvider {
|
|
|
| TextTrackCue(String id, num startTime, num endTime, String text, [String settings, bool pauseOnExit]);
|
|
|
| - String alignment;
|
| -
|
| - String direction;
|
| + String align;
|
|
|
| num endTime;
|
|
|
| String id;
|
|
|
| - int linePosition;
|
| + int line;
|
|
|
| EventListener onenter;
|
|
|
| @@ -32844,6 +32903,8 @@ interface TextTrackCue default _TextTrackCueFactoryProvider {
|
|
|
| bool pauseOnExit;
|
|
|
| + int position;
|
| +
|
| int size;
|
|
|
| bool snapToLines;
|
| @@ -32852,10 +32913,10 @@ interface TextTrackCue default _TextTrackCueFactoryProvider {
|
|
|
| String text;
|
|
|
| - int textPosition;
|
| -
|
| final TextTrack track;
|
|
|
| + String vertical;
|
| +
|
| void addEventListener(String type, EventListener listener, [bool useCapture]);
|
|
|
| bool dispatchEvent(Event evt);
|
| @@ -32996,8 +33057,6 @@ interface TouchList extends List<Touch> {
|
|
|
| interface TrackElement extends Element {
|
|
|
| - static final int ERROR = 3;
|
| -
|
| static final int LOADED = 2;
|
|
|
| static final int LOADING = 1;
|
| @@ -34334,6 +34393,8 @@ interface WebKitCSSRegionRule extends CSSRule {
|
| interface WebKitNamedFlow {
|
|
|
| final bool overflow;
|
| +
|
| + NodeList getRegionsByContentNode(Node contentNode);
|
| }
|
| // 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
|
|
|