Revert "- Update _blink library using dart:js instead of native keyword"

This reverts commit 8ecb64d6b0.

TBR=vsm@google.com

Review URL: https://codereview.chromium.org//1237263005 .
This commit is contained in:
Terry L. Lucas 2015-07-17 07:45:12 -07:00
parent 8ecb64d6b0
commit 206ffe343b
9 changed files with 20912 additions and 15959 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -122,21 +122,6 @@ final indexed_dbBlinkMap = {
};
// FIXME: Can we make this private?
final indexed_dbBlinkFunctionMap = {
'IDBCursor': () => Cursor.internalCreateCursor,
'IDBCursorWithValue': () => CursorWithValue.internalCreateCursorWithValue,
'IDBDatabase': () => Database.internalCreateDatabase,
'IDBFactory': () => IdbFactory.internalCreateIdbFactory,
'IDBIndex': () => Index.internalCreateIndex,
'IDBKeyRange': () => KeyRange.internalCreateKeyRange,
'IDBObjectStore': () => ObjectStore.internalCreateObjectStore,
'IDBOpenDBRequest': () => OpenDBRequest.internalCreateOpenDBRequest,
'IDBRequest': () => Request.internalCreateRequest,
'IDBTransaction': () => Transaction.internalCreateTransaction,
'IDBVersionChangeEvent': () => VersionChangeEvent.internalCreateVersionChangeEvent,
};
// Copyright (c) 2013, 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.
@ -166,20 +151,6 @@ class Cursor extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Cursor._() { throw new UnsupportedError("Not supported"); }
static Cursor internalCreateCursor() {
return new Cursor._internalWrap();
}
JsObject blink_jsObject = null;
factory Cursor._internalWrap() {
return new Cursor._internal();
}
Cursor._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('IDBCursor.direction')
@DocsEditable()
String get direction => _blink.BlinkIDBCursor.instance.direction_Getter_(unwrap_jso(this));
@ -237,18 +208,6 @@ class CursorWithValue extends Cursor {
// To suppress missing implicit constructor warnings.
factory CursorWithValue._() { throw new UnsupportedError("Not supported"); }
static CursorWithValue internalCreateCursorWithValue() {
return new CursorWithValue._internalWrap();
}
factory CursorWithValue._internalWrap() {
return new CursorWithValue._internal();
}
CursorWithValue._internal() : super._internal();
@DomName('IDBCursorWithValue.value')
@DocsEditable()
Object get value => _blink.BlinkIDBCursorWithValue.instance.value_Getter_(unwrap_jso(this));
@ -332,18 +291,6 @@ class Database extends EventTarget {
@DocsEditable()
static const EventStreamProvider<VersionChangeEvent> versionChangeEvent = const EventStreamProvider<VersionChangeEvent>('versionchange');
static Database internalCreateDatabase() {
return new Database._internalWrap();
}
factory Database._internalWrap() {
return new Database._internal();
}
Database._internal() : super._internal();
@DomName('IDBDatabase.name')
@DocsEditable()
String get name => _blink.BlinkIDBDatabase.instance.name_Getter_(unwrap_jso(this));
@ -362,7 +309,7 @@ class Database extends EventTarget {
ObjectStore _createObjectStore(String name, [Map options]) {
if (options != null) {
return _blink.BlinkIDBDatabase.instance.createObjectStore_Callback_2_(unwrap_jso(this), name, options != null ? new js.JsObject.jsify(options) : options);
return _blink.BlinkIDBDatabase.instance.createObjectStore_Callback_2_(unwrap_jso(this), name, options);
}
return _blink.BlinkIDBDatabase.instance.createObjectStore_Callback_1_(unwrap_jso(this), name);
}
@ -526,20 +473,6 @@ class IdbFactory extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory IdbFactory._() { throw new UnsupportedError("Not supported"); }
static IdbFactory internalCreateIdbFactory() {
return new IdbFactory._internalWrap();
}
JsObject blink_jsObject = null;
factory IdbFactory._internalWrap() {
return new IdbFactory._internal();
}
IdbFactory._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('IDBFactory.cmp')
@DocsEditable()
int cmp(Object first, Object second) => _blink.BlinkIDBFactory.instance.cmp_Callback_2_(unwrap_jso(this), first, second);
@ -678,20 +611,6 @@ class Index extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Index._() { throw new UnsupportedError("Not supported"); }
static Index internalCreateIndex() {
return new Index._internalWrap();
}
JsObject blink_jsObject = null;
factory Index._internalWrap() {
return new Index._internal();
}
Index._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('IDBIndex.keyPath')
@DocsEditable()
Object get keyPath => _blink.BlinkIDBIndex.instance.keyPath_Getter_(unwrap_jso(this));
@ -768,20 +687,6 @@ class KeyRange extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory KeyRange._() { throw new UnsupportedError("Not supported"); }
static KeyRange internalCreateKeyRange() {
return new KeyRange._internalWrap();
}
JsObject blink_jsObject = null;
factory KeyRange._internalWrap() {
return new KeyRange._internal();
}
KeyRange._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('IDBKeyRange.lower')
@DocsEditable()
Object get lower => _blink.BlinkIDBKeyRange.instance.lower_Getter_(unwrap_jso(this));
@ -966,20 +871,6 @@ class ObjectStore extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ObjectStore._() { throw new UnsupportedError("Not supported"); }
static ObjectStore internalCreateObjectStore() {
return new ObjectStore._internalWrap();
}
JsObject blink_jsObject = null;
factory ObjectStore._internalWrap() {
return new ObjectStore._internal();
}
ObjectStore._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('IDBObjectStore.autoIncrement')
@DocsEditable()
bool get autoIncrement => _blink.BlinkIDBObjectStore.instance.autoIncrement_Getter_(unwrap_jso(this));
@ -1020,13 +911,13 @@ class ObjectStore extends NativeFieldWrapperClass2 {
return _blink.BlinkIDBObjectStore.instance.createIndex_Callback_2_(unwrap_jso(this), name, unwrap_jso(keyPath));
}
if ((options is Map || options == null) && (keyPath is String || keyPath == null) && (name is String || name == null)) {
return _blink.BlinkIDBObjectStore.instance.createIndex_Callback_3_(unwrap_jso(this), name, unwrap_jso(keyPath), options != null ? new js.JsObject.jsify(options) : options);
return _blink.BlinkIDBObjectStore.instance.createIndex_Callback_3_(unwrap_jso(this), name, unwrap_jso(keyPath), options);
}
if ((keyPath is List<String> || keyPath == null) && (name is String || name == null) && options == null) {
return _blink.BlinkIDBObjectStore.instance.createIndex_Callback_2_(unwrap_jso(this), name, unwrap_jso(keyPath));
}
if ((options is Map || options == null) && (keyPath is List<String> || keyPath == null) && (name is String || name == null)) {
return _blink.BlinkIDBObjectStore.instance.createIndex_Callback_3_(unwrap_jso(this), name, unwrap_jso(keyPath), options != null ? new js.JsObject.jsify(options) : options);
return _blink.BlinkIDBObjectStore.instance.createIndex_Callback_3_(unwrap_jso(this), name, unwrap_jso(keyPath), options);
}
throw new ArgumentError("Incorrect number or type of arguments");
}
@ -1130,18 +1021,6 @@ class OpenDBRequest extends Request {
@DocsEditable()
static const EventStreamProvider<VersionChangeEvent> upgradeNeededEvent = const EventStreamProvider<VersionChangeEvent>('upgradeneeded');
static OpenDBRequest internalCreateOpenDBRequest() {
return new OpenDBRequest._internalWrap();
}
factory OpenDBRequest._internalWrap() {
return new OpenDBRequest._internal();
}
OpenDBRequest._internal() : super._internal();
/// Stream of `blocked` events handled by this [OpenDBRequest].
@DomName('IDBOpenDBRequest.onblocked')
@DocsEditable()
@ -1187,18 +1066,6 @@ class Request extends EventTarget {
@DocsEditable()
static const EventStreamProvider<Event> successEvent = const EventStreamProvider<Event>('success');
static Request internalCreateRequest() {
return new Request._internalWrap();
}
factory Request._internalWrap() {
return new Request._internal();
}
Request._internal() : super._internal();
@DomName('IDBRequest.error')
@DocsEditable()
DomError get error => wrap_jso(_blink.BlinkIDBRequest.instance.error_Getter_(unwrap_jso(this)));
@ -1300,18 +1167,6 @@ class Transaction extends EventTarget {
@DocsEditable()
static const EventStreamProvider<Event> errorEvent = const EventStreamProvider<Event>('error');
static Transaction internalCreateTransaction() {
return new Transaction._internalWrap();
}
factory Transaction._internalWrap() {
return new Transaction._internal();
}
Transaction._internal() : super._internal();
@DomName('IDBTransaction.db')
@DocsEditable()
Database get db => wrap_jso(_blink.BlinkIDBTransaction.instance.db_Getter_(unwrap_jso(this)));
@ -1362,18 +1217,6 @@ class VersionChangeEvent extends Event {
// To suppress missing implicit constructor warnings.
factory VersionChangeEvent._() { throw new UnsupportedError("Not supported"); }
static VersionChangeEvent internalCreateVersionChangeEvent() {
return new VersionChangeEvent._internalWrap();
}
factory VersionChangeEvent._internalWrap() {
return new VersionChangeEvent._internal();
}
VersionChangeEvent._internal() : super._internal();
@DomName('IDBVersionChangeEvent.dataLoss')
@DocsEditable()
@Experimental() // untriaged

File diff suppressed because it is too large Load diff

View file

@ -49,37 +49,6 @@ final web_audioBlinkMap = {
};
// FIXME: Can we make this private?
final web_audioBlinkFunctionMap = {
'AnalyserNode': () => AnalyserNode.internalCreateAnalyserNode,
'AudioBuffer': () => AudioBuffer.internalCreateAudioBuffer,
'AudioBufferSourceNode': () => AudioBufferSourceNode.internalCreateAudioBufferSourceNode,
'AudioContext': () => AudioContext.internalCreateAudioContext,
'AudioDestinationNode': () => AudioDestinationNode.internalCreateAudioDestinationNode,
'AudioListener': () => AudioListener.internalCreateAudioListener,
'AudioNode': () => AudioNode.internalCreateAudioNode,
'AudioParam': () => AudioParam.internalCreateAudioParam,
'AudioProcessingEvent': () => AudioProcessingEvent.internalCreateAudioProcessingEvent,
'AudioSourceNode': () => AudioSourceNode.internalCreateAudioSourceNode,
'BiquadFilterNode': () => BiquadFilterNode.internalCreateBiquadFilterNode,
'ChannelMergerNode': () => ChannelMergerNode.internalCreateChannelMergerNode,
'ChannelSplitterNode': () => ChannelSplitterNode.internalCreateChannelSplitterNode,
'ConvolverNode': () => ConvolverNode.internalCreateConvolverNode,
'DelayNode': () => DelayNode.internalCreateDelayNode,
'DynamicsCompressorNode': () => DynamicsCompressorNode.internalCreateDynamicsCompressorNode,
'GainNode': () => GainNode.internalCreateGainNode,
'MediaElementAudioSourceNode': () => MediaElementAudioSourceNode.internalCreateMediaElementAudioSourceNode,
'MediaStreamAudioDestinationNode': () => MediaStreamAudioDestinationNode.internalCreateMediaStreamAudioDestinationNode,
'MediaStreamAudioSourceNode': () => MediaStreamAudioSourceNode.internalCreateMediaStreamAudioSourceNode,
'OfflineAudioCompletionEvent': () => OfflineAudioCompletionEvent.internalCreateOfflineAudioCompletionEvent,
'OfflineAudioContext': () => OfflineAudioContext.internalCreateOfflineAudioContext,
'OscillatorNode': () => OscillatorNode.internalCreateOscillatorNode,
'PannerNode': () => PannerNode.internalCreatePannerNode,
'PeriodicWave': () => PeriodicWave.internalCreatePeriodicWave,
'ScriptProcessorNode': () => ScriptProcessorNode.internalCreateScriptProcessorNode,
'WaveShaperNode': () => WaveShaperNode.internalCreateWaveShaperNode,
};
// 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.
@ -95,18 +64,6 @@ class AnalyserNode extends AudioNode {
// To suppress missing implicit constructor warnings.
factory AnalyserNode._() { throw new UnsupportedError("Not supported"); }
static AnalyserNode internalCreateAnalyserNode() {
return new AnalyserNode._internalWrap();
}
factory AnalyserNode._internalWrap() {
return new AnalyserNode._internal();
}
AnalyserNode._internal() : super._internal();
@DomName('AnalyserNode.fftSize')
@DocsEditable()
int get fftSize => _blink.BlinkAnalyserNode.instance.fftSize_Getter_(unwrap_jso(this));
@ -176,20 +133,6 @@ class AudioBuffer extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory AudioBuffer._() { throw new UnsupportedError("Not supported"); }
static AudioBuffer internalCreateAudioBuffer() {
return new AudioBuffer._internalWrap();
}
JsObject blink_jsObject = null;
factory AudioBuffer._internalWrap() {
return new AudioBuffer._internal();
}
AudioBuffer._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('AudioBuffer.duration')
@DocsEditable()
double get duration => _blink.BlinkAudioBuffer.instance.duration_Getter_(unwrap_jso(this));
@ -250,18 +193,6 @@ class AudioBufferSourceNode extends AudioSourceNode {
@Experimental() // untriaged
static const EventStreamProvider<Event> endedEvent = const EventStreamProvider<Event>('ended');
static AudioBufferSourceNode internalCreateAudioBufferSourceNode() {
return new AudioBufferSourceNode._internalWrap();
}
factory AudioBufferSourceNode._internalWrap() {
return new AudioBufferSourceNode._internal();
}
AudioBufferSourceNode._internal() : super._internal();
@DomName('AudioBufferSourceNode.buffer')
@DocsEditable()
AudioBuffer get buffer => wrap_jso(_blink.BlinkAudioBufferSourceNode.instance.buffer_Getter_(unwrap_jso(this)));
@ -361,18 +292,6 @@ class AudioContext extends EventTarget {
return _blink.BlinkAudioContext.instance.constructorCallback_0_();
}
static AudioContext internalCreateAudioContext() {
return new AudioContext._internalWrap();
}
factory AudioContext._internalWrap() {
return new AudioContext._internal();
}
AudioContext._internal() : super._internal();
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@ -526,18 +445,6 @@ class AudioDestinationNode extends AudioNode {
// To suppress missing implicit constructor warnings.
factory AudioDestinationNode._() { throw new UnsupportedError("Not supported"); }
static AudioDestinationNode internalCreateAudioDestinationNode() {
return new AudioDestinationNode._internalWrap();
}
factory AudioDestinationNode._internalWrap() {
return new AudioDestinationNode._internal();
}
AudioDestinationNode._internal() : super._internal();
@DomName('AudioDestinationNode.maxChannelCount')
@DocsEditable()
int get maxChannelCount => _blink.BlinkAudioDestinationNode.instance.maxChannelCount_Getter_(unwrap_jso(this));
@ -558,20 +465,6 @@ class AudioListener extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory AudioListener._() { throw new UnsupportedError("Not supported"); }
static AudioListener internalCreateAudioListener() {
return new AudioListener._internalWrap();
}
JsObject blink_jsObject = null;
factory AudioListener._internalWrap() {
return new AudioListener._internal();
}
AudioListener._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('AudioListener.dopplerFactor')
@DocsEditable()
num get dopplerFactor => _blink.BlinkAudioListener.instance.dopplerFactor_Getter_(unwrap_jso(this));
@ -613,18 +506,6 @@ class AudioNode extends EventTarget {
// To suppress missing implicit constructor warnings.
factory AudioNode._() { throw new UnsupportedError("Not supported"); }
static AudioNode internalCreateAudioNode() {
return new AudioNode._internalWrap();
}
factory AudioNode._internalWrap() {
return new AudioNode._internal();
}
AudioNode._internal() : super._internal();
@DomName('AudioNode.channelCount')
@DocsEditable()
int get channelCount => _blink.BlinkAudioNode.instance.channelCount_Getter_(unwrap_jso(this));
@ -700,20 +581,6 @@ class AudioParam extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory AudioParam._() { throw new UnsupportedError("Not supported"); }
static AudioParam internalCreateAudioParam() {
return new AudioParam._internalWrap();
}
JsObject blink_jsObject = null;
factory AudioParam._internalWrap() {
return new AudioParam._internal();
}
AudioParam._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('AudioParam.defaultValue')
@DocsEditable()
double get defaultValue => _blink.BlinkAudioParam.instance.defaultValue_Getter_(unwrap_jso(this));
@ -766,18 +633,6 @@ class AudioProcessingEvent extends Event {
// To suppress missing implicit constructor warnings.
factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported"); }
static AudioProcessingEvent internalCreateAudioProcessingEvent() {
return new AudioProcessingEvent._internalWrap();
}
factory AudioProcessingEvent._internalWrap() {
return new AudioProcessingEvent._internal();
}
AudioProcessingEvent._internal() : super._internal();
@DomName('AudioProcessingEvent.inputBuffer')
@DocsEditable()
AudioBuffer get inputBuffer => wrap_jso(_blink.BlinkAudioProcessingEvent.instance.inputBuffer_Getter_(unwrap_jso(this)));
@ -807,18 +662,6 @@ class AudioSourceNode extends AudioNode {
// To suppress missing implicit constructor warnings.
factory AudioSourceNode._() { throw new UnsupportedError("Not supported"); }
static AudioSourceNode internalCreateAudioSourceNode() {
return new AudioSourceNode._internalWrap();
}
factory AudioSourceNode._internalWrap() {
return new AudioSourceNode._internal();
}
AudioSourceNode._internal() : super._internal();
}
// 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
@ -835,18 +678,6 @@ class BiquadFilterNode extends AudioNode {
// To suppress missing implicit constructor warnings.
factory BiquadFilterNode._() { throw new UnsupportedError("Not supported"); }
static BiquadFilterNode internalCreateBiquadFilterNode() {
return new BiquadFilterNode._internalWrap();
}
factory BiquadFilterNode._internalWrap() {
return new BiquadFilterNode._internal();
}
BiquadFilterNode._internal() : super._internal();
@DomName('BiquadFilterNode.Q')
@DocsEditable()
AudioParam get Q => wrap_jso(_blink.BlinkBiquadFilterNode.instance.Q_Getter_(unwrap_jso(this)));
@ -891,18 +722,6 @@ class ChannelMergerNode extends AudioNode {
// To suppress missing implicit constructor warnings.
factory ChannelMergerNode._() { throw new UnsupportedError("Not supported"); }
static ChannelMergerNode internalCreateChannelMergerNode() {
return new ChannelMergerNode._internalWrap();
}
factory ChannelMergerNode._internalWrap() {
return new ChannelMergerNode._internal();
}
ChannelMergerNode._internal() : super._internal();
}
// 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
@ -919,18 +738,6 @@ class ChannelSplitterNode extends AudioNode {
// To suppress missing implicit constructor warnings.
factory ChannelSplitterNode._() { throw new UnsupportedError("Not supported"); }
static ChannelSplitterNode internalCreateChannelSplitterNode() {
return new ChannelSplitterNode._internalWrap();
}
factory ChannelSplitterNode._internalWrap() {
return new ChannelSplitterNode._internal();
}
ChannelSplitterNode._internal() : super._internal();
}
// 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
@ -947,18 +754,6 @@ class ConvolverNode extends AudioNode {
// To suppress missing implicit constructor warnings.
factory ConvolverNode._() { throw new UnsupportedError("Not supported"); }
static ConvolverNode internalCreateConvolverNode() {
return new ConvolverNode._internalWrap();
}
factory ConvolverNode._internalWrap() {
return new ConvolverNode._internal();
}
ConvolverNode._internal() : super._internal();
@DomName('ConvolverNode.buffer')
@DocsEditable()
AudioBuffer get buffer => wrap_jso(_blink.BlinkConvolverNode.instance.buffer_Getter_(unwrap_jso(this)));
@ -991,18 +786,6 @@ class DelayNode extends AudioNode {
// To suppress missing implicit constructor warnings.
factory DelayNode._() { throw new UnsupportedError("Not supported"); }
static DelayNode internalCreateDelayNode() {
return new DelayNode._internalWrap();
}
factory DelayNode._internalWrap() {
return new DelayNode._internal();
}
DelayNode._internal() : super._internal();
@DomName('DelayNode.delayTime')
@DocsEditable()
AudioParam get delayTime => wrap_jso(_blink.BlinkDelayNode.instance.delayTime_Getter_(unwrap_jso(this)));
@ -1023,18 +806,6 @@ class DynamicsCompressorNode extends AudioNode {
// To suppress missing implicit constructor warnings.
factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported"); }
static DynamicsCompressorNode internalCreateDynamicsCompressorNode() {
return new DynamicsCompressorNode._internalWrap();
}
factory DynamicsCompressorNode._internalWrap() {
return new DynamicsCompressorNode._internal();
}
DynamicsCompressorNode._internal() : super._internal();
@DomName('DynamicsCompressorNode.attack')
@DocsEditable()
AudioParam get attack => wrap_jso(_blink.BlinkDynamicsCompressorNode.instance.attack_Getter_(unwrap_jso(this)));
@ -1075,18 +846,6 @@ class GainNode extends AudioNode {
// To suppress missing implicit constructor warnings.
factory GainNode._() { throw new UnsupportedError("Not supported"); }
static GainNode internalCreateGainNode() {
return new GainNode._internalWrap();
}
factory GainNode._internalWrap() {
return new GainNode._internal();
}
GainNode._internal() : super._internal();
@DomName('GainNode.gain')
@DocsEditable()
AudioParam get gain => wrap_jso(_blink.BlinkGainNode.instance.gain_Getter_(unwrap_jso(this)));
@ -1107,18 +866,6 @@ class MediaElementAudioSourceNode extends AudioSourceNode {
// To suppress missing implicit constructor warnings.
factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supported"); }
static MediaElementAudioSourceNode internalCreateMediaElementAudioSourceNode() {
return new MediaElementAudioSourceNode._internalWrap();
}
factory MediaElementAudioSourceNode._internalWrap() {
return new MediaElementAudioSourceNode._internal();
}
MediaElementAudioSourceNode._internal() : super._internal();
@DomName('MediaElementAudioSourceNode.mediaElement')
@DocsEditable()
@Experimental() // non-standard
@ -1140,18 +887,6 @@ class MediaStreamAudioDestinationNode extends AudioNode {
// To suppress missing implicit constructor warnings.
factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not supported"); }
static MediaStreamAudioDestinationNode internalCreateMediaStreamAudioDestinationNode() {
return new MediaStreamAudioDestinationNode._internalWrap();
}
factory MediaStreamAudioDestinationNode._internalWrap() {
return new MediaStreamAudioDestinationNode._internal();
}
MediaStreamAudioDestinationNode._internal() : super._internal();
@DomName('MediaStreamAudioDestinationNode.stream')
@DocsEditable()
MediaStream get stream => wrap_jso(_blink.BlinkMediaStreamAudioDestinationNode.instance.stream_Getter_(unwrap_jso(this)));
@ -1172,18 +907,6 @@ class MediaStreamAudioSourceNode extends AudioSourceNode {
// To suppress missing implicit constructor warnings.
factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not supported"); }
static MediaStreamAudioSourceNode internalCreateMediaStreamAudioSourceNode() {
return new MediaStreamAudioSourceNode._internalWrap();
}
factory MediaStreamAudioSourceNode._internalWrap() {
return new MediaStreamAudioSourceNode._internal();
}
MediaStreamAudioSourceNode._internal() : super._internal();
@DomName('MediaStreamAudioSourceNode.mediaStream')
@DocsEditable()
MediaStream get mediaStream => wrap_jso(_blink.BlinkMediaStreamAudioSourceNode.instance.mediaStream_Getter_(unwrap_jso(this)));
@ -1204,18 +927,6 @@ class OfflineAudioCompletionEvent extends Event {
// To suppress missing implicit constructor warnings.
factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supported"); }
static OfflineAudioCompletionEvent internalCreateOfflineAudioCompletionEvent() {
return new OfflineAudioCompletionEvent._internalWrap();
}
factory OfflineAudioCompletionEvent._internalWrap() {
return new OfflineAudioCompletionEvent._internal();
}
OfflineAudioCompletionEvent._internal() : super._internal();
@DomName('OfflineAudioCompletionEvent.renderedBuffer')
@DocsEditable()
AudioBuffer get renderedBuffer => wrap_jso(_blink.BlinkOfflineAudioCompletionEvent.instance.renderedBuffer_Getter_(unwrap_jso(this)));
@ -1242,18 +953,6 @@ class OfflineAudioContext extends AudioContext {
return _blink.BlinkOfflineAudioContext.instance.constructorCallback_3_(numberOfChannels, numberOfFrames, sampleRate);
}
static OfflineAudioContext internalCreateOfflineAudioContext() {
return new OfflineAudioContext._internalWrap();
}
factory OfflineAudioContext._internalWrap() {
return new OfflineAudioContext._internal();
}
OfflineAudioContext._internal() : super._internal();
}
// 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
@ -1281,18 +980,6 @@ class OscillatorNode extends AudioSourceNode {
@Experimental() // untriaged
static const EventStreamProvider<Event> endedEvent = const EventStreamProvider<Event>('ended');
static OscillatorNode internalCreateOscillatorNode() {
return new OscillatorNode._internalWrap();
}
factory OscillatorNode._internalWrap() {
return new OscillatorNode._internal();
}
OscillatorNode._internal() : super._internal();
@DomName('OscillatorNode.detune')
@DocsEditable()
AudioParam get detune => wrap_jso(_blink.BlinkOscillatorNode.instance.detune_Getter_(unwrap_jso(this)));
@ -1362,18 +1049,6 @@ class PannerNode extends AudioNode {
// To suppress missing implicit constructor warnings.
factory PannerNode._() { throw new UnsupportedError("Not supported"); }
static PannerNode internalCreatePannerNode() {
return new PannerNode._internalWrap();
}
factory PannerNode._internalWrap() {
return new PannerNode._internal();
}
PannerNode._internal() : super._internal();
@DomName('PannerNode.coneInnerAngle')
@DocsEditable()
num get coneInnerAngle => _blink.BlinkPannerNode.instance.coneInnerAngle_Getter_(unwrap_jso(this));
@ -1465,20 +1140,6 @@ class PeriodicWave extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory PeriodicWave._() { throw new UnsupportedError("Not supported"); }
static PeriodicWave internalCreatePeriodicWave() {
return new PeriodicWave._internalWrap();
}
JsObject blink_jsObject = null;
factory PeriodicWave._internalWrap() {
return new PeriodicWave._internal();
}
PeriodicWave._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
}
// 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
@ -1506,18 +1167,6 @@ class ScriptProcessorNode extends AudioNode {
@Experimental() // untriaged
static const EventStreamProvider<AudioProcessingEvent> audioProcessEvent = const EventStreamProvider<AudioProcessingEvent>('audioprocess');
static ScriptProcessorNode internalCreateScriptProcessorNode() {
return new ScriptProcessorNode._internalWrap();
}
factory ScriptProcessorNode._internalWrap() {
return new ScriptProcessorNode._internal();
}
ScriptProcessorNode._internal() : super._internal();
@DomName('ScriptProcessorNode.bufferSize')
@DocsEditable()
int get bufferSize => _blink.BlinkScriptProcessorNode.instance.bufferSize_Getter_(unwrap_jso(this));
@ -1556,18 +1205,6 @@ class WaveShaperNode extends AudioNode {
// To suppress missing implicit constructor warnings.
factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); }
static WaveShaperNode internalCreateWaveShaperNode() {
return new WaveShaperNode._internalWrap();
}
factory WaveShaperNode._internalWrap() {
return new WaveShaperNode._internal();
}
WaveShaperNode._internal() : super._internal();
@DomName('WaveShaperNode.curve')
@DocsEditable()
Float32List get curve => wrap_jso(_blink.BlinkWaveShaperNode.instance.curve_Getter_(unwrap_jso(this)));

View file

@ -58,45 +58,6 @@ final web_glBlinkMap = {
};
// FIXME: Can we make this private?
final web_glBlinkFunctionMap = {
'ANGLEInstancedArrays': () => AngleInstancedArrays.internalCreateAngleInstancedArrays,
'EXTBlendMinMax': () => ExtBlendMinMax.internalCreateExtBlendMinMax,
'EXTFragDepth': () => ExtFragDepth.internalCreateExtFragDepth,
'EXTShaderTextureLOD': () => ExtShaderTextureLod.internalCreateExtShaderTextureLod,
'EXTTextureFilterAnisotropic': () => ExtTextureFilterAnisotropic.internalCreateExtTextureFilterAnisotropic,
'OESElementIndexUint': () => OesElementIndexUint.internalCreateOesElementIndexUint,
'OESStandardDerivatives': () => OesStandardDerivatives.internalCreateOesStandardDerivatives,
'OESTextureFloat': () => OesTextureFloat.internalCreateOesTextureFloat,
'OESTextureFloatLinear': () => OesTextureFloatLinear.internalCreateOesTextureFloatLinear,
'OESTextureHalfFloat': () => OesTextureHalfFloat.internalCreateOesTextureHalfFloat,
'OESTextureHalfFloatLinear': () => OesTextureHalfFloatLinear.internalCreateOesTextureHalfFloatLinear,
'OESVertexArrayObject': () => OesVertexArrayObject.internalCreateOesVertexArrayObject,
'WebGLActiveInfo': () => ActiveInfo.internalCreateActiveInfo,
'WebGLBuffer': () => Buffer.internalCreateBuffer,
'WebGLCompressedTextureATC': () => CompressedTextureAtc.internalCreateCompressedTextureAtc,
'WebGLCompressedTextureETC1': () => CompressedTextureETC1.internalCreateCompressedTextureETC1,
'WebGLCompressedTexturePVRTC': () => CompressedTexturePvrtc.internalCreateCompressedTexturePvrtc,
'WebGLCompressedTextureS3TC': () => CompressedTextureS3TC.internalCreateCompressedTextureS3TC,
'WebGLContextAttributes': () => ContextAttributes.internalCreateContextAttributes,
'WebGLContextEvent': () => ContextEvent.internalCreateContextEvent,
'WebGLDebugRendererInfo': () => DebugRendererInfo.internalCreateDebugRendererInfo,
'WebGLDebugShaders': () => DebugShaders.internalCreateDebugShaders,
'WebGLDepthTexture': () => DepthTexture.internalCreateDepthTexture,
'WebGLDrawBuffers': () => DrawBuffers.internalCreateDrawBuffers,
'WebGLFramebuffer': () => Framebuffer.internalCreateFramebuffer,
'WebGLLoseContext': () => LoseContext.internalCreateLoseContext,
'WebGLProgram': () => Program.internalCreateProgram,
'WebGLRenderbuffer': () => Renderbuffer.internalCreateRenderbuffer,
'WebGLRenderingContext': () => RenderingContext.internalCreateRenderingContext,
'WebGLRenderingContextBase': () => _WebGLRenderingContextBase.internalCreate_WebGLRenderingContextBase,
'WebGLShader': () => Shader.internalCreateShader,
'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat.internalCreateShaderPrecisionFormat,
'WebGLTexture': () => Texture.internalCreateTexture,
'WebGLUniformLocation': () => UniformLocation.internalCreateUniformLocation,
'WebGLVertexArrayObjectOES': () => VertexArrayObject.internalCreateVertexArrayObject,
};
// Copyright (c) 2013, 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.
@ -412,20 +373,6 @@ class ActiveInfo extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ActiveInfo._() { throw new UnsupportedError("Not supported"); }
static ActiveInfo internalCreateActiveInfo() {
return new ActiveInfo._internalWrap();
}
JsObject blink_jsObject = null;
factory ActiveInfo._internalWrap() {
return new ActiveInfo._internal();
}
ActiveInfo._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('WebGLActiveInfo.name')
@DocsEditable()
String get name => _blink.BlinkWebGLActiveInfo.instance.name_Getter_(unwrap_jso(this));
@ -453,20 +400,6 @@ class AngleInstancedArrays extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported"); }
static AngleInstancedArrays internalCreateAngleInstancedArrays() {
return new AngleInstancedArrays._internalWrap();
}
JsObject blink_jsObject = null;
factory AngleInstancedArrays._internalWrap() {
return new AngleInstancedArrays._internal();
}
AngleInstancedArrays._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE')
@DocsEditable()
@Experimental() // untriaged
@ -502,20 +435,6 @@ class Buffer extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Buffer._() { throw new UnsupportedError("Not supported"); }
static Buffer internalCreateBuffer() {
return new Buffer._internalWrap();
}
JsObject blink_jsObject = null;
factory Buffer._internalWrap() {
return new Buffer._internal();
}
Buffer._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
}
// 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
@ -532,20 +451,6 @@ class CompressedTextureAtc extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory CompressedTextureAtc._() { throw new UnsupportedError("Not supported"); }
static CompressedTextureAtc internalCreateCompressedTextureAtc() {
return new CompressedTextureAtc._internalWrap();
}
JsObject blink_jsObject = null;
factory CompressedTextureAtc._internalWrap() {
return new CompressedTextureAtc._internal();
}
CompressedTextureAtc._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL')
@DocsEditable()
static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93;
@ -573,20 +478,6 @@ class CompressedTextureETC1 extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory CompressedTextureETC1._() { throw new UnsupportedError("Not supported"); }
static CompressedTextureETC1 internalCreateCompressedTextureETC1() {
return new CompressedTextureETC1._internalWrap();
}
JsObject blink_jsObject = null;
factory CompressedTextureETC1._internalWrap() {
return new CompressedTextureETC1._internal();
}
CompressedTextureETC1._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('WebGLCompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL')
@DocsEditable()
@Experimental() // untriaged
@ -608,20 +499,6 @@ class CompressedTexturePvrtc extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory CompressedTexturePvrtc._() { throw new UnsupportedError("Not supported"); }
static CompressedTexturePvrtc internalCreateCompressedTexturePvrtc() {
return new CompressedTexturePvrtc._internalWrap();
}
JsObject blink_jsObject = null;
factory CompressedTexturePvrtc._internalWrap() {
return new CompressedTexturePvrtc._internal();
}
CompressedTexturePvrtc._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG')
@DocsEditable()
static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03;
@ -654,20 +531,6 @@ class CompressedTextureS3TC extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory CompressedTextureS3TC._() { throw new UnsupportedError("Not supported"); }
static CompressedTextureS3TC internalCreateCompressedTextureS3TC() {
return new CompressedTextureS3TC._internalWrap();
}
JsObject blink_jsObject = null;
factory CompressedTextureS3TC._internalWrap() {
return new CompressedTextureS3TC._internal();
}
CompressedTextureS3TC._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT')
@DocsEditable()
static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
@ -721,20 +584,6 @@ class ContextAttributes extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ContextAttributes._() { throw new UnsupportedError("Not supported"); }
static ContextAttributes internalCreateContextAttributes() {
return new ContextAttributes._internalWrap();
}
JsObject blink_jsObject = null;
factory ContextAttributes._internalWrap() {
return new ContextAttributes._internal();
}
ContextAttributes._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('WebGLContextAttributes.alpha')
@DocsEditable()
bool get alpha => _blink.BlinkWebGLContextAttributes.instance.alpha_Getter_(unwrap_jso(this));
@ -808,18 +657,6 @@ class ContextEvent extends Event {
// To suppress missing implicit constructor warnings.
factory ContextEvent._() { throw new UnsupportedError("Not supported"); }
static ContextEvent internalCreateContextEvent() {
return new ContextEvent._internalWrap();
}
factory ContextEvent._internalWrap() {
return new ContextEvent._internal();
}
ContextEvent._internal() : super._internal();
@DomName('WebGLContextEvent.statusMessage')
@DocsEditable()
String get statusMessage => _blink.BlinkWebGLContextEvent.instance.statusMessage_Getter_(unwrap_jso(this));
@ -840,20 +677,6 @@ class DebugRendererInfo extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DebugRendererInfo._() { throw new UnsupportedError("Not supported"); }
static DebugRendererInfo internalCreateDebugRendererInfo() {
return new DebugRendererInfo._internalWrap();
}
JsObject blink_jsObject = null;
factory DebugRendererInfo._internalWrap() {
return new DebugRendererInfo._internal();
}
DebugRendererInfo._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL')
@DocsEditable()
static const int UNMASKED_RENDERER_WEBGL = 0x9246;
@ -878,20 +701,6 @@ class DebugShaders extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DebugShaders._() { throw new UnsupportedError("Not supported"); }
static DebugShaders internalCreateDebugShaders() {
return new DebugShaders._internalWrap();
}
JsObject blink_jsObject = null;
factory DebugShaders._internalWrap() {
return new DebugShaders._internal();
}
DebugShaders._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('WebGLDebugShaders.getTranslatedShaderSource')
@DocsEditable()
String getTranslatedShaderSource(Shader shader) => _blink.BlinkWebGLDebugShaders.instance.getTranslatedShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(shader));
@ -912,20 +721,6 @@ class DepthTexture extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DepthTexture._() { throw new UnsupportedError("Not supported"); }
static DepthTexture internalCreateDepthTexture() {
return new DepthTexture._internalWrap();
}
JsObject blink_jsObject = null;
factory DepthTexture._internalWrap() {
return new DepthTexture._internal();
}
DepthTexture._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL')
@DocsEditable()
static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA;
@ -946,20 +741,6 @@ class DrawBuffers extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DrawBuffers._() { throw new UnsupportedError("Not supported"); }
static DrawBuffers internalCreateDrawBuffers() {
return new DrawBuffers._internalWrap();
}
JsObject blink_jsObject = null;
factory DrawBuffers._internalWrap() {
return new DrawBuffers._internal();
}
DrawBuffers._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('WebGLDrawBuffers.COLOR_ATTACHMENT0_WEBGL')
@DocsEditable()
static const int COLOR_ATTACHMENT0_WEBGL = 0x8CE0;
@ -1115,20 +896,6 @@ class ExtBlendMinMax extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ExtBlendMinMax._() { throw new UnsupportedError("Not supported"); }
static ExtBlendMinMax internalCreateExtBlendMinMax() {
return new ExtBlendMinMax._internalWrap();
}
JsObject blink_jsObject = null;
factory ExtBlendMinMax._internalWrap() {
return new ExtBlendMinMax._internal();
}
ExtBlendMinMax._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('EXTBlendMinMax.MAX_EXT')
@DocsEditable()
@Experimental() // untriaged
@ -1155,20 +922,6 @@ class ExtFragDepth extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ExtFragDepth._() { throw new UnsupportedError("Not supported"); }
static ExtFragDepth internalCreateExtFragDepth() {
return new ExtFragDepth._internalWrap();
}
JsObject blink_jsObject = null;
factory ExtFragDepth._internalWrap() {
return new ExtFragDepth._internal();
}
ExtFragDepth._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
}
// 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
@ -1184,20 +937,6 @@ class ExtShaderTextureLod extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ExtShaderTextureLod._() { throw new UnsupportedError("Not supported"); }
static ExtShaderTextureLod internalCreateExtShaderTextureLod() {
return new ExtShaderTextureLod._internalWrap();
}
JsObject blink_jsObject = null;
factory ExtShaderTextureLod._internalWrap() {
return new ExtShaderTextureLod._internal();
}
ExtShaderTextureLod._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
}
// 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
@ -1214,20 +953,6 @@ class ExtTextureFilterAnisotropic extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ExtTextureFilterAnisotropic._() { throw new UnsupportedError("Not supported"); }
static ExtTextureFilterAnisotropic internalCreateExtTextureFilterAnisotropic() {
return new ExtTextureFilterAnisotropic._internalWrap();
}
JsObject blink_jsObject = null;
factory ExtTextureFilterAnisotropic._internalWrap() {
return new ExtTextureFilterAnisotropic._internal();
}
ExtTextureFilterAnisotropic._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT')
@DocsEditable()
static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
@ -1251,20 +976,6 @@ class Framebuffer extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Framebuffer._() { throw new UnsupportedError("Not supported"); }
static Framebuffer internalCreateFramebuffer() {
return new Framebuffer._internalWrap();
}
JsObject blink_jsObject = null;
factory Framebuffer._internalWrap() {
return new Framebuffer._internal();
}
Framebuffer._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
}
// 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
@ -1281,20 +992,6 @@ class LoseContext extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory LoseContext._() { throw new UnsupportedError("Not supported"); }
static LoseContext internalCreateLoseContext() {
return new LoseContext._internalWrap();
}
JsObject blink_jsObject = null;
factory LoseContext._internalWrap() {
return new LoseContext._internal();
}
LoseContext._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('WebGLLoseContext.loseContext')
@DocsEditable()
void loseContext() => _blink.BlinkWebGLLoseContext.instance.loseContext_Callback_0_(unwrap_jso(this));
@ -1319,20 +1016,6 @@ class OesElementIndexUint extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory OesElementIndexUint._() { throw new UnsupportedError("Not supported"); }
static OesElementIndexUint internalCreateOesElementIndexUint() {
return new OesElementIndexUint._internalWrap();
}
JsObject blink_jsObject = null;
factory OesElementIndexUint._internalWrap() {
return new OesElementIndexUint._internal();
}
OesElementIndexUint._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
}
// 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
@ -1349,20 +1032,6 @@ class OesStandardDerivatives extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory OesStandardDerivatives._() { throw new UnsupportedError("Not supported"); }
static OesStandardDerivatives internalCreateOesStandardDerivatives() {
return new OesStandardDerivatives._internalWrap();
}
JsObject blink_jsObject = null;
factory OesStandardDerivatives._internalWrap() {
return new OesStandardDerivatives._internal();
}
OesStandardDerivatives._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES')
@DocsEditable()
static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
@ -1383,20 +1052,6 @@ class OesTextureFloat extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory OesTextureFloat._() { throw new UnsupportedError("Not supported"); }
static OesTextureFloat internalCreateOesTextureFloat() {
return new OesTextureFloat._internalWrap();
}
JsObject blink_jsObject = null;
factory OesTextureFloat._internalWrap() {
return new OesTextureFloat._internal();
}
OesTextureFloat._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
}
// 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
@ -1413,20 +1068,6 @@ class OesTextureFloatLinear extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory OesTextureFloatLinear._() { throw new UnsupportedError("Not supported"); }
static OesTextureFloatLinear internalCreateOesTextureFloatLinear() {
return new OesTextureFloatLinear._internalWrap();
}
JsObject blink_jsObject = null;
factory OesTextureFloatLinear._internalWrap() {
return new OesTextureFloatLinear._internal();
}
OesTextureFloatLinear._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
}
// 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
@ -1443,20 +1084,6 @@ class OesTextureHalfFloat extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory OesTextureHalfFloat._() { throw new UnsupportedError("Not supported"); }
static OesTextureHalfFloat internalCreateOesTextureHalfFloat() {
return new OesTextureHalfFloat._internalWrap();
}
JsObject blink_jsObject = null;
factory OesTextureHalfFloat._internalWrap() {
return new OesTextureHalfFloat._internal();
}
OesTextureHalfFloat._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('OESTextureHalfFloat.HALF_FLOAT_OES')
@DocsEditable()
static const int HALF_FLOAT_OES = 0x8D61;
@ -1477,20 +1104,6 @@ class OesTextureHalfFloatLinear extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory OesTextureHalfFloatLinear._() { throw new UnsupportedError("Not supported"); }
static OesTextureHalfFloatLinear internalCreateOesTextureHalfFloatLinear() {
return new OesTextureHalfFloatLinear._internalWrap();
}
JsObject blink_jsObject = null;
factory OesTextureHalfFloatLinear._internalWrap() {
return new OesTextureHalfFloatLinear._internal();
}
OesTextureHalfFloatLinear._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
}
// 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
@ -1507,20 +1120,6 @@ class OesVertexArrayObject extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported"); }
static OesVertexArrayObject internalCreateOesVertexArrayObject() {
return new OesVertexArrayObject._internalWrap();
}
JsObject blink_jsObject = null;
factory OesVertexArrayObject._internalWrap() {
return new OesVertexArrayObject._internal();
}
OesVertexArrayObject._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES')
@DocsEditable()
static const int VERTEX_ARRAY_BINDING_OES = 0x85B5;
@ -1556,20 +1155,6 @@ class Program extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Program._() { throw new UnsupportedError("Not supported"); }
static Program internalCreateProgram() {
return new Program._internalWrap();
}
JsObject blink_jsObject = null;
factory Program._internalWrap() {
return new Program._internal();
}
Program._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
}
// 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
@ -1585,20 +1170,6 @@ class Renderbuffer extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Renderbuffer._() { throw new UnsupportedError("Not supported"); }
static Renderbuffer internalCreateRenderbuffer() {
return new Renderbuffer._internalWrap();
}
JsObject blink_jsObject = null;
factory Renderbuffer._internalWrap() {
return new Renderbuffer._internal();
}
Renderbuffer._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
}
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@ -1614,20 +1185,6 @@ class RenderingContext extends NativeFieldWrapperClass2 implements CanvasRenderi
// To suppress missing implicit constructor warnings.
factory RenderingContext._() { throw new UnsupportedError("Not supported"); }
static RenderingContext internalCreateRenderingContext() {
return new RenderingContext._internalWrap();
}
JsObject blink_jsObject = null;
factory RenderingContext._internalWrap() {
return new RenderingContext._internal();
}
RenderingContext._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@ -3560,20 +3117,6 @@ class Shader extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Shader._() { throw new UnsupportedError("Not supported"); }
static Shader internalCreateShader() {
return new Shader._internalWrap();
}
JsObject blink_jsObject = null;
factory Shader._internalWrap() {
return new Shader._internal();
}
Shader._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
}
// 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
@ -3588,20 +3131,6 @@ class ShaderPrecisionFormat extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported"); }
static ShaderPrecisionFormat internalCreateShaderPrecisionFormat() {
return new ShaderPrecisionFormat._internalWrap();
}
JsObject blink_jsObject = null;
factory ShaderPrecisionFormat._internalWrap() {
return new ShaderPrecisionFormat._internal();
}
ShaderPrecisionFormat._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('WebGLShaderPrecisionFormat.precision')
@DocsEditable()
int get precision => _blink.BlinkWebGLShaderPrecisionFormat.instance.precision_Getter_(unwrap_jso(this));
@ -3628,20 +3157,6 @@ class Texture extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Texture._() { throw new UnsupportedError("Not supported"); }
static Texture internalCreateTexture() {
return new Texture._internalWrap();
}
JsObject blink_jsObject = null;
factory Texture._internalWrap() {
return new Texture._internal();
}
Texture._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
}
// 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
@ -3656,20 +3171,6 @@ class UniformLocation extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory UniformLocation._() { throw new UnsupportedError("Not supported"); }
static UniformLocation internalCreateUniformLocation() {
return new UniformLocation._internalWrap();
}
JsObject blink_jsObject = null;
factory UniformLocation._internalWrap() {
return new UniformLocation._internal();
}
UniformLocation._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
}
// 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
@ -3686,20 +3187,6 @@ class VertexArrayObject extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); }
static VertexArrayObject internalCreateVertexArrayObject() {
return new VertexArrayObject._internalWrap();
}
JsObject blink_jsObject = null;
factory VertexArrayObject._internalWrap() {
return new VertexArrayObject._internal();
}
VertexArrayObject._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
}
// 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
@ -3715,18 +3202,4 @@ abstract class _WebGLRenderingContextBase extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not supported"); }
static _WebGLRenderingContextBase internalCreate_WebGLRenderingContextBase() {
return new _WebGLRenderingContextBase._internalWrap();
}
JsObject blink_jsObject = null;
factory _WebGLRenderingContextBase._internalWrap() {
return new _WebGLRenderingContextBase._internal();
}
_WebGLRenderingContextBase._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
}

View file

@ -34,15 +34,6 @@ final web_sqlBlinkMap = {
};
// FIXME: Can we make this private?
final web_sqlBlinkFunctionMap = {
'Database': () => SqlDatabase.internalCreateSqlDatabase,
'SQLError': () => SqlError.internalCreateSqlError,
'SQLResultSet': () => SqlResultSet.internalCreateSqlResultSet,
'SQLResultSetRowList': () => SqlResultSetRowList.internalCreateSqlResultSetRowList,
'SQLTransaction': () => SqlTransaction.internalCreateSqlTransaction,
};
// 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.
@ -105,20 +96,6 @@ class SqlDatabase extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory SqlDatabase._() { throw new UnsupportedError("Not supported"); }
static SqlDatabase internalCreateSqlDatabase() {
return new SqlDatabase._internalWrap();
}
JsObject blink_jsObject = null;
factory SqlDatabase._internalWrap() {
return new SqlDatabase._internal();
}
SqlDatabase._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@ -185,20 +162,6 @@ class SqlError extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory SqlError._() { throw new UnsupportedError("Not supported"); }
static SqlError internalCreateSqlError() {
return new SqlError._internalWrap();
}
JsObject blink_jsObject = null;
factory SqlError._internalWrap() {
return new SqlError._internal();
}
SqlError._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('SQLError.CONSTRAINT_ERR')
@DocsEditable()
static const int CONSTRAINT_ERR = 6;
@ -255,20 +218,6 @@ class SqlResultSet extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory SqlResultSet._() { throw new UnsupportedError("Not supported"); }
static SqlResultSet internalCreateSqlResultSet() {
return new SqlResultSet._internalWrap();
}
JsObject blink_jsObject = null;
factory SqlResultSet._internalWrap() {
return new SqlResultSet._internal();
}
SqlResultSet._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('SQLResultSet.insertId')
@DocsEditable()
int get insertId => _blink.BlinkSQLResultSet.instance.insertId_Getter_(unwrap_jso(this));
@ -297,20 +246,6 @@ class SqlResultSetRowList extends NativeFieldWrapperClass2 with ListMixin<Map>,
// To suppress missing implicit constructor warnings.
factory SqlResultSetRowList._() { throw new UnsupportedError("Not supported"); }
static SqlResultSetRowList internalCreateSqlResultSetRowList() {
return new SqlResultSetRowList._internalWrap();
}
JsObject blink_jsObject = null;
factory SqlResultSetRowList._internalWrap() {
return new SqlResultSetRowList._internal();
}
SqlResultSetRowList._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('SQLResultSetRowList.length')
@DocsEditable()
int get length => _blink.BlinkSQLResultSetRowList.instance.length_Getter_(unwrap_jso(this));
@ -384,20 +319,6 @@ class SqlTransaction extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory SqlTransaction._() { throw new UnsupportedError("Not supported"); }
static SqlTransaction internalCreateSqlTransaction() {
return new SqlTransaction._internalWrap();
}
JsObject blink_jsObject = null;
factory SqlTransaction._internalWrap() {
return new SqlTransaction._internal();
}
SqlTransaction._internal() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
@DomName('SQLTransaction.executeSql')
@DocsEditable()
void executeSql(String sqlStatement, List<Object> arguments, [SqlStatementCallback callback, SqlStatementErrorCallback errorCallback]) => _blink.BlinkSQLTransaction.instance.executeSql_Callback_4_(unwrap_jso(this), sqlStatement, arguments, unwrap_jso(callback), unwrap_jso(errorCallback));

View file

@ -34,4 +34,4 @@ if [[ "$1" != "" ]] ; then
fi
reset && \
./dartdomgenerator.py --systems="$SYSTEMS" --logging=40 --update-dom-metadata --gen-interop
./dartdomgenerator.py --systems="$SYSTEMS" --logging=40 --update-dom-metadata

View file

@ -187,9 +187,9 @@ class _Utils {
return element;
}
static window() => wrap_jso(_blink.Blink_Utils.window()['window']);
// TODO(terry): Above enabled for Dartium w/ interop and remove below static window() for C++.
// static window() => _blink.Blink_Utils.window();
// TODO(terry): Enable below for Dartium w/ interop and remove other static window().
// static window() => wrap_jso(_blink.Blink_Utils.window()['window']);
static window() => _blink.Blink_Utils.window();
static forwardingPrint(String message) => _blink.Blink_Utils.forwardingPrint(message);
static void spawnDomHelper(Function f, int replyTo) =>