Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Unified Diff: lib/html/dart2js/html_dart2js.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 11053016: Remove constants declaration from dart2js implementation classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « no previous file | lib/html/scripts/systemhtml.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/dart2js/html_dart2js.dart
diff --git a/lib/html/dart2js/html_dart2js.dart b/lib/html/dart2js/html_dart2js.dart
index 166d3a17fd482439b7c0d20a3388afc73de1cb8e..f3b7973bbb89f982822b4704e30d811bdd443f9a 100644
--- a/lib/html/dart2js/html_dart2js.dart
+++ b/lib/html/dart2js/html_dart2js.dart
@@ -294,18 +294,6 @@ class _AnimationEventImpl extends _EventImpl implements AnimationEvent native "*
class _AnimationImpl implements Animation native "*WebKitAnimation" {
- static const int DIRECTION_ALTERNATE = 1;
-
- static const int DIRECTION_NORMAL = 0;
-
- static const int FILL_BACKWARDS = 1;
-
- static const int FILL_BOTH = 3;
-
- static const int FILL_FORWARDS = 2;
-
- static const int FILL_NONE = 0;
-
final num delay;
final int direction;
@@ -703,14 +691,6 @@ class _AudioBufferSourceNodeImpl extends _AudioSourceNodeImpl implements AudioBu
}
}
- static const int FINISHED_STATE = 3;
-
- static const int PLAYING_STATE = 2;
-
- static const int SCHEDULED_STATE = 1;
-
- static const int UNSCHEDULED_STATE = 0;
-
_AudioBufferImpl buffer;
final _AudioGainImpl gain;
@@ -1102,18 +1082,6 @@ abstract class AudioPannerNode implements AudioNode {
class _AudioPannerNodeImpl extends _AudioNodeImpl implements AudioPannerNode native "*AudioPannerNode" {
- static const int EQUALPOWER = 0;
-
- static const int EXPONENTIAL_DISTANCE = 2;
-
- static const int HRTF = 1;
-
- static const int INVERSE_DISTANCE = 1;
-
- static const int LINEAR_DISTANCE = 0;
-
- static const int SOUNDFIELD = 2;
-
final _AudioGainImpl coneGain;
num coneInnerAngle;
@@ -1471,22 +1439,6 @@ abstract class BiquadFilterNode implements AudioNode {
class _BiquadFilterNodeImpl extends _AudioNodeImpl implements BiquadFilterNode native "*BiquadFilterNode" {
- static const int ALLPASS = 7;
-
- static const int BANDPASS = 2;
-
- static const int HIGHPASS = 1;
-
- static const int HIGHSHELF = 4;
-
- static const int LOWPASS = 0;
-
- static const int LOWSHELF = 3;
-
- static const int NOTCH = 6;
-
- static const int PEAKING = 5;
-
final _AudioParamImpl Q;
final _AudioParamImpl frequency;
@@ -2198,64 +2150,6 @@ abstract class CSSPrimitiveValue implements CSSValue {
class _CSSPrimitiveValueImpl extends _CSSValueImpl implements CSSPrimitiveValue native "*CSSPrimitiveValue" {
- static const int CSS_ATTR = 22;
-
- static const int CSS_CM = 6;
-
- static const int CSS_COUNTER = 23;
-
- static const int CSS_DEG = 11;
-
- static const int CSS_DIMENSION = 18;
-
- static const int CSS_EMS = 3;
-
- static const int CSS_EXS = 4;
-
- static const int CSS_GRAD = 13;
-
- static const int CSS_HZ = 16;
-
- static const int CSS_IDENT = 21;
-
- static const int CSS_IN = 8;
-
- static const int CSS_KHZ = 17;
-
- static const int CSS_MM = 7;
-
- static const int CSS_MS = 14;
-
- static const int CSS_NUMBER = 1;
-
- static const int CSS_PC = 10;
-
- static const int CSS_PERCENTAGE = 2;
-
- static const int CSS_PT = 9;
-
- static const int CSS_PX = 5;
-
- static const int CSS_RAD = 12;
-
- static const int CSS_RECT = 24;
-
- static const int CSS_RGBCOLOR = 25;
-
- static const int CSS_S = 15;
-
- static const int CSS_STRING = 19;
-
- static const int CSS_UNKNOWN = 0;
-
- static const int CSS_URI = 20;
-
- static const int CSS_VH = 27;
-
- static const int CSS_VMIN = 28;
-
- static const int CSS_VW = 26;
-
final int primitiveType;
_CounterImpl getCounterValue() native;
@@ -2314,24 +2208,6 @@ abstract class CSSRule {
class _CSSRuleImpl implements CSSRule native "*CSSRule" {
- static const int CHARSET_RULE = 2;
-
- static const int FONT_FACE_RULE = 5;
-
- static const int IMPORT_RULE = 3;
-
- static const int MEDIA_RULE = 4;
-
- static const int PAGE_RULE = 6;
-
- static const int STYLE_RULE = 1;
-
- static const int UNKNOWN_RULE = 0;
-
- static const int WEBKIT_KEYFRAMES_RULE = 7;
-
- static const int WEBKIT_KEYFRAME_RULE = 8;
-
String cssText;
final _CSSRuleImpl parentRule;
@@ -7259,48 +7135,6 @@ abstract class CSSTransformValue implements List<CSSValue> {
class _CSSTransformValueImpl extends _CSSValueListImpl implements CSSTransformValue native "*WebKitCSSTransformValue" {
- static const int CSS_MATRIX = 11;
-
- static const int CSS_MATRIX3D = 21;
-
- static const int CSS_PERSPECTIVE = 20;
-
- static const int CSS_ROTATE = 4;
-
- static const int CSS_ROTATE3D = 17;
-
- static const int CSS_ROTATEX = 14;
-
- static const int CSS_ROTATEY = 15;
-
- static const int CSS_ROTATEZ = 16;
-
- static const int CSS_SCALE = 5;
-
- static const int CSS_SCALE3D = 19;
-
- static const int CSS_SCALEX = 6;
-
- static const int CSS_SCALEY = 7;
-
- static const int CSS_SCALEZ = 18;
-
- static const int CSS_SKEW = 8;
-
- static const int CSS_SKEWX = 9;
-
- static const int CSS_SKEWY = 10;
-
- static const int CSS_TRANSLATE = 1;
-
- static const int CSS_TRANSLATE3D = 13;
-
- static const int CSS_TRANSLATEX = 2;
-
- static const int CSS_TRANSLATEY = 3;
-
- static const int CSS_TRANSLATEZ = 12;
-
final int operationType;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -7341,14 +7175,6 @@ abstract class CSSValue {
class _CSSValueImpl implements CSSValue native "*CSSValue" {
- static const int CSS_CUSTOM = 3;
-
- static const int CSS_INHERIT = 0;
-
- static const int CSS_PRIMITIVE_VALUE = 1;
-
- static const int CSS_VALUE_LIST = 2;
-
String cssText;
final int cssValueType;
@@ -8622,18 +8448,6 @@ class _DOMApplicationCacheImpl extends _EventTargetImpl implements DOMApplicatio
_DOMApplicationCacheEventsImpl get on =>
new _DOMApplicationCacheEventsImpl(this);
- static const int CHECKING = 2;
-
- static const int DOWNLOADING = 3;
-
- static const int IDLE = 1;
-
- static const int OBSOLETE = 5;
-
- static const int UNCACHED = 0;
-
- static const int UPDATEREADY = 4;
-
final int status;
void abort() native;
@@ -8759,56 +8573,6 @@ abstract class DOMException {
class _DOMExceptionImpl implements DOMException native "*DOMException" {
- static const int ABORT_ERR = 20;
-
- static const int DATA_CLONE_ERR = 25;
-
- static const int DOMSTRING_SIZE_ERR = 2;
-
- static const int HIERARCHY_REQUEST_ERR = 3;
-
- static const int INDEX_SIZE_ERR = 1;
-
- static const int INUSE_ATTRIBUTE_ERR = 10;
-
- static const int INVALID_ACCESS_ERR = 15;
-
- static const int INVALID_CHARACTER_ERR = 5;
-
- static const int INVALID_MODIFICATION_ERR = 13;
-
- static const int INVALID_NODE_TYPE_ERR = 24;
-
- static const int INVALID_STATE_ERR = 11;
-
- static const int NAMESPACE_ERR = 14;
-
- static const int NETWORK_ERR = 19;
-
- static const int NOT_FOUND_ERR = 8;
-
- static const int NOT_SUPPORTED_ERR = 9;
-
- static const int NO_DATA_ALLOWED_ERR = 6;
-
- static const int NO_MODIFICATION_ALLOWED_ERR = 7;
-
- static const int QUOTA_EXCEEDED_ERR = 22;
-
- static const int SECURITY_ERR = 18;
-
- static const int SYNTAX_ERR = 12;
-
- static const int TIMEOUT_ERR = 23;
-
- static const int TYPE_MISMATCH_ERR = 17;
-
- static const int URL_MISMATCH_ERR = 21;
-
- static const int VALIDATION_ERR = 16;
-
- static const int WRONG_DOCUMENT_ERR = 4;
-
final int code;
final String message;
@@ -11157,10 +10921,6 @@ abstract class EXTTextureFilterAnisotropic {
}
class _EXTTextureFilterAnisotropicImpl implements EXTTextureFilterAnisotropic native "*EXTTextureFilterAnisotropic" {
-
- static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
-
- static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
}
// 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
@@ -12392,8 +12152,6 @@ class _ElementImpl extends _NodeImpl implements Element native "*Element" {
void click() native;
- static const int ALLOW_KEYBOARD_INPUT = 1;
-
int get $dom_childElementCount() native "return this.childElementCount;";
String get $dom_className() native "return this.className;";
@@ -13279,10 +13037,6 @@ abstract class EventException {
class _EventExceptionImpl implements EventException native "*EventException" {
- static const int DISPATCH_REQUEST_ERR = 1;
-
- static const int UNSPECIFIED_EVENT_TYPE_ERR = 0;
-
final int code;
final String message;
@@ -13294,46 +13048,6 @@ class _EventExceptionImpl implements EventException native "*EventException" {
class _EventImpl implements Event native "*Event" {
- static const int AT_TARGET = 2;
-
- static const int BLUR = 8192;
-
- static const int BUBBLING_PHASE = 3;
-
- static const int CAPTURING_PHASE = 1;
-
- static const int CHANGE = 32768;
-
- static const int CLICK = 64;
-
- static const int DBLCLICK = 128;
-
- static const int DRAGDROP = 2048;
-
- static const int FOCUS = 4096;
-
- static const int KEYDOWN = 256;
-
- static const int KEYPRESS = 1024;
-
- static const int KEYUP = 512;
-
- static const int MOUSEDOWN = 1;
-
- static const int MOUSEDRAG = 32;
-
- static const int MOUSEMOVE = 16;
-
- static const int MOUSEOUT = 8;
-
- static const int MOUSEOVER = 4;
-
- static const int MOUSEUP = 2;
-
- static const int NONE = 0;
-
- static const int SELECT = 16384;
-
final bool bubbles;
bool cancelBubble;
@@ -13424,12 +13138,6 @@ class _EventSourceImpl extends _EventTargetImpl implements EventSource native "*
_EventSourceEventsImpl get on =>
new _EventSourceEventsImpl(this);
- static const int CLOSED = 2;
-
- static const int CONNECTING = 0;
-
- static const int OPEN = 1;
-
final String URL;
final int readyState;
@@ -13727,30 +13435,6 @@ abstract class FileError {
class _FileErrorImpl implements FileError native "*FileError" {
- static const int ABORT_ERR = 3;
-
- static const int ENCODING_ERR = 5;
-
- static const int INVALID_MODIFICATION_ERR = 9;
-
- static const int INVALID_STATE_ERR = 7;
-
- static const int NOT_FOUND_ERR = 1;
-
- static const int NOT_READABLE_ERR = 4;
-
- static const int NO_MODIFICATION_ALLOWED_ERR = 6;
-
- static const int PATH_EXISTS_ERR = 12;
-
- static const int QUOTA_EXCEEDED_ERR = 10;
-
- static const int SECURITY_ERR = 2;
-
- static const int SYNTAX_ERR = 8;
-
- static const int TYPE_MISMATCH_ERR = 11;
-
final int code;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -13801,30 +13485,6 @@ abstract class FileException {
class _FileExceptionImpl implements FileException native "*FileException" {
- static const int ABORT_ERR = 3;
-
- static const int ENCODING_ERR = 5;
-
- static const int INVALID_MODIFICATION_ERR = 9;
-
- static const int INVALID_STATE_ERR = 7;
-
- static const int NOT_FOUND_ERR = 1;
-
- static const int NOT_READABLE_ERR = 4;
-
- static const int NO_MODIFICATION_ALLOWED_ERR = 6;
-
- static const int PATH_EXISTS_ERR = 12;
-
- static const int QUOTA_EXCEEDED_ERR = 10;
-
- static const int SECURITY_ERR = 2;
-
- static const int SYNTAX_ERR = 8;
-
- static const int TYPE_MISMATCH_ERR = 11;
-
final int code;
final String message;
@@ -14006,12 +13666,6 @@ class _FileReaderImpl extends _EventTargetImpl implements FileReader native "*Fi
_FileReaderEventsImpl get on =>
new _FileReaderEventsImpl(this);
- static const int DONE = 2;
-
- static const int EMPTY = 0;
-
- static const int LOADING = 1;
-
final _FileErrorImpl error;
final int readyState;
@@ -14172,12 +13826,6 @@ class _FileWriterImpl extends _EventTargetImpl implements FileWriter native "*Fi
_FileWriterEventsImpl get on =>
new _FileWriterEventsImpl(this);
- static const int DONE = 2;
-
- static const int INIT = 0;
-
- static const int WRITING = 1;
-
final _FileErrorImpl error;
final int length;
@@ -14285,8 +13933,6 @@ abstract class Float32Array implements ArrayBufferView, List<num> {
class _Float32ArrayImpl extends _ArrayBufferViewImpl implements Float32Array, List<num>, JavaScriptIndexingBehavior native "*Float32Array" {
- static const int BYTES_PER_ELEMENT = 4;
-
final int length;
num operator[](int index) native "return this[index];";
@@ -14404,8 +14050,6 @@ abstract class Float64Array implements ArrayBufferView, List<num> {
class _Float64ArrayImpl extends _ArrayBufferViewImpl implements Float64Array, List<num>, JavaScriptIndexingBehavior native "*Float64Array" {
- static const int BYTES_PER_ELEMENT = 8;
-
final int length;
num operator[](int index) native "return this[index];";
@@ -15520,10 +15164,6 @@ abstract class HttpRequestException {
class _HttpRequestExceptionImpl implements HttpRequestException native "*XMLHttpRequestException" {
- static const int ABORT_ERR = 102;
-
- static const int NETWORK_ERR = 101;
-
final int code;
final String message;
@@ -15538,16 +15178,6 @@ class _HttpRequestImpl extends _EventTargetImpl implements HttpRequest native "*
_HttpRequestEventsImpl get on =>
new _HttpRequestEventsImpl(this);
- static const int DONE = 4;
-
- static const int HEADERS_RECEIVED = 2;
-
- static const int LOADING = 3;
-
- static const int OPENED = 1;
-
- static const int UNSENT = 0;
-
final int readyState;
final Object response;
@@ -15748,14 +15378,6 @@ abstract class IDBCursor {
class _IDBCursorImpl implements IDBCursor native "*IDBCursor" {
- static const int NEXT = 0;
-
- static const int NEXT_NO_DUPLICATE = 1;
-
- static const int PREV = 2;
-
- static const int PREV_NO_DUPLICATE = 3;
-
final String direction;
Dynamic get key => _convertNativeToDart_IDBKey(this._key);
@@ -15912,32 +15534,6 @@ abstract class IDBDatabaseException {
class _IDBDatabaseExceptionImpl implements IDBDatabaseException native "*IDBDatabaseException" {
- static const int ABORT_ERR = 20;
-
- static const int CONSTRAINT_ERR = 4;
-
- static const int DATA_ERR = 5;
-
- static const int NON_TRANSIENT_ERR = 2;
-
- static const int NOT_ALLOWED_ERR = 6;
-
- static const int NOT_FOUND_ERR = 8;
-
- static const int NO_ERR = 0;
-
- static const int QUOTA_ERR = 22;
-
- static const int READ_ONLY_ERR = 9;
-
- static const int TIMEOUT_ERR = 23;
-
- static const int TRANSACTION_INACTIVE_ERR = 7;
-
- static const int UNKNOWN_ERR = 1;
-
- static const int VER_ERR = 12;
-
final int code;
final String message;
@@ -16814,12 +16410,6 @@ class _IDBTransactionImpl extends _EventTargetImpl implements IDBTransaction nat
_IDBTransactionEventsImpl get on =>
new _IDBTransactionEventsImpl(this);
- static const int READ_ONLY = 0;
-
- static const int READ_WRITE = 1;
-
- static const int VERSION_CHANGE = 2;
-
final _IDBDatabaseImpl db;
final _DOMErrorImpl error;
@@ -17540,8 +17130,6 @@ abstract class Int16Array implements ArrayBufferView, List<int> {
class _Int16ArrayImpl extends _ArrayBufferViewImpl implements Int16Array, List<int>, JavaScriptIndexingBehavior native "*Int16Array" {
- static const int BYTES_PER_ELEMENT = 2;
-
final int length;
int operator[](int index) native "return this[index];";
@@ -17659,8 +17247,6 @@ abstract class Int32Array implements ArrayBufferView, List<int> {
class _Int32ArrayImpl extends _ArrayBufferViewImpl implements Int32Array, List<int>, JavaScriptIndexingBehavior native "*Int32Array" {
- static const int BYTES_PER_ELEMENT = 4;
-
final int length;
int operator[](int index) native "return this[index];";
@@ -17778,8 +17364,6 @@ abstract class Int8Array implements ArrayBufferView, List<int> {
class _Int8ArrayImpl extends _ArrayBufferViewImpl implements Int8Array, List<int>, JavaScriptIndexingBehavior native "*Int8Array" {
- static const int BYTES_PER_ELEMENT = 1;
-
final int length;
int operator[](int index) native "return this[index];";
@@ -17964,16 +17548,6 @@ abstract class JavaScriptCallFrame {
class _JavaScriptCallFrameImpl implements JavaScriptCallFrame native "*JavaScriptCallFrame" {
- static const int CATCH_SCOPE = 4;
-
- static const int CLOSURE_SCOPE = 3;
-
- static const int GLOBAL_SCOPE = 0;
-
- static const int LOCAL_SCOPE = 1;
-
- static const int WITH_SCOPE = 2;
-
final _JavaScriptCallFrameImpl caller;
final int column;
@@ -18798,24 +18372,6 @@ class _MediaElementImpl extends _ElementImpl implements MediaElement native "*HT
_MediaElementEventsImpl get on =>
new _MediaElementEventsImpl(this);
- static const int HAVE_CURRENT_DATA = 2;
-
- static const int HAVE_ENOUGH_DATA = 4;
-
- static const int HAVE_FUTURE_DATA = 3;
-
- static const int HAVE_METADATA = 1;
-
- static const int HAVE_NOTHING = 0;
-
- static const int NETWORK_EMPTY = 0;
-
- static const int NETWORK_IDLE = 1;
-
- static const int NETWORK_LOADING = 2;
-
- static const int NETWORK_NO_SOURCE = 3;
-
bool autoplay;
final _TimeRangesImpl buffered;
@@ -18975,16 +18531,6 @@ abstract class MediaError {
class _MediaErrorImpl implements MediaError native "*MediaError" {
- static const int MEDIA_ERR_ABORTED = 1;
-
- static const int MEDIA_ERR_DECODE = 3;
-
- static const int MEDIA_ERR_ENCRYPTED = 5;
-
- static const int MEDIA_ERR_NETWORK = 2;
-
- static const int MEDIA_ERR_SRC_NOT_SUPPORTED = 4;
-
final int code;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -19014,18 +18560,6 @@ abstract class MediaKeyError {
class _MediaKeyErrorImpl implements MediaKeyError native "*MediaKeyError" {
- static const int MEDIA_KEYERR_CLIENT = 2;
-
- static const int MEDIA_KEYERR_DOMAIN = 6;
-
- static const int MEDIA_KEYERR_HARDWARECHANGE = 5;
-
- static const int MEDIA_KEYERR_OUTPUT = 4;
-
- static const int MEDIA_KEYERR_SERVICE = 3;
-
- static const int MEDIA_KEYERR_UNKNOWN = 1;
-
final int code;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -19306,10 +18840,6 @@ class _MediaStreamImpl extends _EventTargetImpl implements MediaStream native "*
_MediaStreamEventsImpl get on =>
new _MediaStreamEventsImpl(this);
- static const int ENDED = 2;
-
- static const int LIVE = 1;
-
final _MediaStreamTrackListImpl audioTracks;
final String label;
@@ -19491,12 +19021,6 @@ class _MediaStreamTrackImpl extends _EventTargetImpl implements MediaStreamTrack
_MediaStreamTrackEventsImpl get on =>
new _MediaStreamTrackEventsImpl(this);
- static const int ENDED = 2;
-
- static const int LIVE = 0;
-
- static const int MUTED = 1;
-
bool enabled;
final String kind;
@@ -20099,12 +19623,6 @@ abstract class MutationEvent implements Event {
class _MutationEventImpl extends _EventImpl implements MutationEvent native "*MutationEvent" {
- static const int ADDITION = 2;
-
- static const int MODIFICATION = 1;
-
- static const int REMOVAL = 3;
-
final int attrChange;
final String attrName;
@@ -20559,8 +20077,6 @@ typedef bool NavigatorUserMediaErrorCallback(NavigatorUserMediaError error);
class _NavigatorUserMediaErrorImpl implements NavigatorUserMediaError native "*NavigatorUserMediaError" {
- static const int PERMISSION_DENIED = 1;
-
final int code;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -20739,38 +20255,6 @@ abstract class NodeFilter {
class _NodeFilterImpl implements NodeFilter native "*NodeFilter" {
- static const int FILTER_ACCEPT = 1;
-
- static const int FILTER_REJECT = 2;
-
- static const int FILTER_SKIP = 3;
-
- static const int SHOW_ALL = 0xFFFFFFFF;
-
- static const int SHOW_ATTRIBUTE = 0x00000002;
-
- static const int SHOW_CDATA_SECTION = 0x00000008;
-
- static const int SHOW_COMMENT = 0x00000080;
-
- static const int SHOW_DOCUMENT = 0x00000100;
-
- static const int SHOW_DOCUMENT_FRAGMENT = 0x00000400;
-
- static const int SHOW_DOCUMENT_TYPE = 0x00000200;
-
- static const int SHOW_ELEMENT = 0x00000001;
-
- static const int SHOW_ENTITY = 0x00000020;
-
- static const int SHOW_ENTITY_REFERENCE = 0x00000010;
-
- static const int SHOW_NOTATION = 0x00000800;
-
- static const int SHOW_PROCESSING_INSTRUCTION = 0x00000040;
-
- static const int SHOW_TEXT = 0x00000004;
-
int acceptNode(_NodeImpl n) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -20913,42 +20397,6 @@ class _NodeImpl extends _EventTargetImpl implements Node native "*Node" {
}
- static const int ATTRIBUTE_NODE = 2;
-
- static const int CDATA_SECTION_NODE = 4;
-
- static const int COMMENT_NODE = 8;
-
- static const int DOCUMENT_FRAGMENT_NODE = 11;
-
- static const int DOCUMENT_NODE = 9;
-
- static const int DOCUMENT_POSITION_CONTAINED_BY = 0x10;
-
- static const int DOCUMENT_POSITION_CONTAINS = 0x08;
-
- static const int DOCUMENT_POSITION_DISCONNECTED = 0x01;
-
- static const int DOCUMENT_POSITION_FOLLOWING = 0x04;
-
- static const int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20;
-
- static const int DOCUMENT_POSITION_PRECEDING = 0x02;
-
- static const int DOCUMENT_TYPE_NODE = 10;
-
- static const int ELEMENT_NODE = 1;
-
- static const int ENTITY_NODE = 6;
-
- static const int ENTITY_REFERENCE_NODE = 5;
-
- static const int NOTATION_NODE = 12;
-
- static const int PROCESSING_INSTRUCTION_NODE = 7;
-
- static const int TEXT_NODE = 3;
-
_NamedNodeMapImpl get $dom_attributes() native "return this.attributes;";
_NodeListImpl get $dom_childNodes() native "return this.childNodes;";
@@ -21431,8 +20879,6 @@ abstract class OESStandardDerivatives {
}
class _OESStandardDerivativesImpl implements OESStandardDerivatives native "*OESStandardDerivatives" {
-
- static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
}
// 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
@@ -21472,8 +20918,6 @@ abstract class OESVertexArrayObject {
class _OESVertexArrayObjectImpl implements OESVertexArrayObject native "*OESVertexArrayObject" {
- static const int VERTEX_ARRAY_BINDING_OES = 0x85B5;
-
void bindVertexArrayOES(_WebGLVertexArrayObjectOESImpl arrayObject) native;
_WebGLVertexArrayObjectOESImpl createVertexArrayOES() native;
@@ -21800,24 +21244,6 @@ abstract class Oscillator implements AudioSourceNode {
class _OscillatorImpl extends _AudioSourceNodeImpl implements Oscillator native "*Oscillator" {
- static const int CUSTOM = 4;
-
- static const int FINISHED_STATE = 3;
-
- static const int PLAYING_STATE = 2;
-
- static const int SAWTOOTH = 2;
-
- static const int SCHEDULED_STATE = 1;
-
- static const int SINE = 0;
-
- static const int SQUARE = 1;
-
- static const int TRIANGLE = 3;
-
- static const int UNSCHEDULED_STATE = 0;
-
final _AudioParamImpl detune;
final _AudioParamImpl frequency;
@@ -21933,12 +21359,6 @@ abstract class OverflowEvent implements Event {
class _OverflowEventImpl extends _EventImpl implements OverflowEvent native "*OverflowEvent" {
- static const int BOTH = 2;
-
- static const int HORIZONTAL = 0;
-
- static const int VERTICAL = 1;
-
final bool horizontalOverflow;
final int orient;
@@ -22154,34 +21574,6 @@ class _PeerConnection00Impl extends _EventTargetImpl implements PeerConnection00
_PeerConnection00EventsImpl get on =>
new _PeerConnection00EventsImpl(this);
- static const int ACTIVE = 2;
-
- static const int CLOSED = 3;
-
- static const int ICE_CHECKING = 0x300;
-
- static const int ICE_CLOSED = 0x700;
-
- static const int ICE_COMPLETED = 0x500;
-
- static const int ICE_CONNECTED = 0x400;
-
- static const int ICE_FAILED = 0x600;
-
- static const int ICE_GATHERING = 0x100;
-
- static const int ICE_WAITING = 0x200;
-
- static const int NEW = 0;
-
- static const int OPENING = 1;
-
- static const int SDP_ANSWER = 0x300;
-
- static const int SDP_OFFER = 0x100;
-
- static const int SDP_PRANSWER = 0x200;
-
final int iceState;
final _SessionDescriptionImpl localDescription;
@@ -22326,14 +21718,6 @@ abstract class PerformanceNavigation {
class _PerformanceNavigationImpl implements PerformanceNavigation native "*PerformanceNavigation" {
- static const int TYPE_BACK_FORWARD = 2;
-
- static const int TYPE_NAVIGATE = 0;
-
- static const int TYPE_RELOAD = 1;
-
- static const int TYPE_RESERVED = 255;
-
final int redirectCount;
final int type;
@@ -22534,12 +21918,6 @@ typedef bool PositionErrorCallback(PositionError error);
class _PositionErrorImpl implements PositionError native "*PositionError" {
- static const int PERMISSION_DENIED = 1;
-
- static const int POSITION_UNAVAILABLE = 2;
-
- static const int TIMEOUT = 3;
-
final int code;
final String message;
@@ -23201,10 +22579,6 @@ abstract class RangeException {
class _RangeExceptionImpl implements RangeException native "*RangeException" {
- static const int BAD_BOUNDARYPOINTS_ERR = 1;
-
- static const int INVALID_NODE_TYPE_ERR = 2;
-
final int code;
final String message;
@@ -23216,22 +22590,6 @@ class _RangeExceptionImpl implements RangeException native "*RangeException" {
class _RangeImpl implements Range native "*Range" {
- static const int END_TO_END = 2;
-
- static const int END_TO_START = 3;
-
- static const int NODE_AFTER = 1;
-
- static const int NODE_BEFORE = 0;
-
- static const int NODE_BEFORE_AND_AFTER = 2;
-
- static const int NODE_INSIDE = 3;
-
- static const int START_TO_END = 1;
-
- static const int START_TO_START = 0;
-
final bool collapsed;
final _NodeImpl commonAncestorContainer;
@@ -23419,22 +22777,6 @@ abstract class SQLError {
class _SQLErrorImpl implements SQLError native "*SQLError" {
- static const int CONSTRAINT_ERR = 6;
-
- static const int DATABASE_ERR = 1;
-
- static const int QUOTA_ERR = 4;
-
- static const int SYNTAX_ERR = 5;
-
- static const int TIMEOUT_ERR = 7;
-
- static const int TOO_LARGE_ERR = 3;
-
- static const int UNKNOWN_ERR = 0;
-
- static const int VERSION_ERR = 2;
-
final int code;
final String message;
@@ -23473,22 +22815,6 @@ abstract class SQLException {
class _SQLExceptionImpl implements SQLException native "*SQLException" {
- static const int CONSTRAINT_ERR = 6;
-
- static const int DATABASE_ERR = 1;
-
- static const int QUOTA_ERR = 4;
-
- static const int SYNTAX_ERR = 5;
-
- static const int TIMEOUT_ERR = 7;
-
- static const int TOO_LARGE_ERR = 3;
-
- static const int UNKNOWN_ERR = 0;
-
- static const int VERSION_ERR = 2;
-
final int code;
final String message;
@@ -23772,16 +23098,6 @@ abstract class SVGAngle {
class _SVGAngleImpl implements SVGAngle native "*SVGAngle" {
- static const int SVG_ANGLETYPE_DEG = 2;
-
- static const int SVG_ANGLETYPE_GRAD = 4;
-
- static const int SVG_ANGLETYPE_RAD = 3;
-
- static const int SVG_ANGLETYPE_UNKNOWN = 0;
-
- static const int SVG_ANGLETYPE_UNSPECIFIED = 1;
-
final int unitType;
num value;
@@ -24578,14 +23894,6 @@ abstract class SVGColor implements CSSValue {
class _SVGColorImpl extends _CSSValueImpl implements SVGColor native "*SVGColor" {
- static const int SVG_COLORTYPE_CURRENTCOLOR = 3;
-
- static const int SVG_COLORTYPE_RGBCOLOR = 1;
-
- static const int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2;
-
- static const int SVG_COLORTYPE_UNKNOWN = 0;
-
final int colorType;
final _RGBColorImpl rgbColor;
@@ -24641,18 +23949,6 @@ abstract class SVGComponentTransferFunctionElement implements SVGElement {
class _SVGComponentTransferFunctionElementImpl extends _SVGElementImpl implements SVGComponentTransferFunctionElement native "*SVGComponentTransferFunctionElement" {
- static const int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3;
-
- static const int SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5;
-
- static const int SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1;
-
- static const int SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4;
-
- static const int SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2;
-
- static const int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0;
-
final _SVGAnimatedNumberImpl amplitude;
final _SVGAnimatedNumberImpl exponent;
@@ -25332,12 +24628,6 @@ abstract class SVGException {
class _SVGExceptionImpl implements SVGException native "*SVGException" {
- static const int SVG_INVALID_VALUE_ERR = 1;
-
- static const int SVG_MATRIX_NOT_INVERTABLE = 2;
-
- static const int SVG_WRONG_TYPE_ERR = 0;
-
final int code;
final String message;
@@ -25391,18 +24681,6 @@ abstract class SVGFEBlendElement implements SVGElement, SVGFilterPrimitiveStanda
class _SVGFEBlendElementImpl extends _SVGElementImpl implements SVGFEBlendElement native "*SVGFEBlendElement" {
- static const int SVG_FEBLEND_MODE_DARKEN = 4;
-
- static const int SVG_FEBLEND_MODE_LIGHTEN = 5;
-
- static const int SVG_FEBLEND_MODE_MULTIPLY = 2;
-
- static const int SVG_FEBLEND_MODE_NORMAL = 1;
-
- static const int SVG_FEBLEND_MODE_SCREEN = 3;
-
- static const int SVG_FEBLEND_MODE_UNKNOWN = 0;
-
final _SVGAnimatedStringImpl in1;
final _SVGAnimatedStringImpl in2;
@@ -25461,16 +24739,6 @@ abstract class SVGFEColorMatrixElement implements SVGElement, SVGFilterPrimitive
class _SVGFEColorMatrixElementImpl extends _SVGElementImpl implements SVGFEColorMatrixElement native "*SVGFEColorMatrixElement" {
- static const int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3;
-
- static const int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4;
-
- static const int SVG_FECOLORMATRIX_TYPE_MATRIX = 1;
-
- static const int SVG_FECOLORMATRIX_TYPE_SATURATE = 2;
-
- static const int SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0;
-
final _SVGAnimatedStringImpl in1;
final _SVGAnimatedEnumerationImpl type;
@@ -25583,20 +24851,6 @@ abstract class SVGFECompositeElement implements SVGElement, SVGFilterPrimitiveSt
class _SVGFECompositeElementImpl extends _SVGElementImpl implements SVGFECompositeElement native "*SVGFECompositeElement" {
- static const int SVG_FECOMPOSITE_OPERATOR_ARITHMETIC = 6;
-
- static const int SVG_FECOMPOSITE_OPERATOR_ATOP = 4;
-
- static const int SVG_FECOMPOSITE_OPERATOR_IN = 2;
-
- static const int SVG_FECOMPOSITE_OPERATOR_OUT = 3;
-
- static const int SVG_FECOMPOSITE_OPERATOR_OVER = 1;
-
- static const int SVG_FECOMPOSITE_OPERATOR_UNKNOWN = 0;
-
- static const int SVG_FECOMPOSITE_OPERATOR_XOR = 5;
-
final _SVGAnimatedStringImpl in1;
final _SVGAnimatedStringImpl in2;
@@ -25688,14 +24942,6 @@ abstract class SVGFEConvolveMatrixElement implements SVGElement, SVGFilterPrimit
class _SVGFEConvolveMatrixElementImpl extends _SVGElementImpl implements SVGFEConvolveMatrixElement native "*SVGFEConvolveMatrixElement" {
- static const int SVG_EDGEMODE_DUPLICATE = 1;
-
- static const int SVG_EDGEMODE_NONE = 3;
-
- static const int SVG_EDGEMODE_UNKNOWN = 0;
-
- static const int SVG_EDGEMODE_WRAP = 2;
-
final _SVGAnimatedNumberImpl bias;
final _SVGAnimatedNumberImpl divisor;
@@ -25836,16 +25082,6 @@ abstract class SVGFEDisplacementMapElement implements SVGElement, SVGFilterPrimi
class _SVGFEDisplacementMapElementImpl extends _SVGElementImpl implements SVGFEDisplacementMapElement native "*SVGFEDisplacementMapElement" {
- static const int SVG_CHANNEL_A = 4;
-
- static const int SVG_CHANNEL_B = 3;
-
- static const int SVG_CHANNEL_G = 2;
-
- static const int SVG_CHANNEL_R = 1;
-
- static const int SVG_CHANNEL_UNKNOWN = 0;
-
final _SVGAnimatedStringImpl in1;
final _SVGAnimatedStringImpl in2;
@@ -26231,12 +25467,6 @@ abstract class SVGFEMorphologyElement implements SVGElement, SVGFilterPrimitiveS
class _SVGFEMorphologyElementImpl extends _SVGElementImpl implements SVGFEMorphologyElement native "*SVGFEMorphologyElement" {
- static const int SVG_MORPHOLOGY_OPERATOR_DILATE = 2;
-
- static const int SVG_MORPHOLOGY_OPERATOR_ERODE = 1;
-
- static const int SVG_MORPHOLOGY_OPERATOR_UNKNOWN = 0;
-
final _SVGAnimatedStringImpl in1;
final _SVGAnimatedEnumerationImpl operator;
@@ -26528,18 +25758,6 @@ abstract class SVGFETurbulenceElement implements SVGElement, SVGFilterPrimitiveS
class _SVGFETurbulenceElementImpl extends _SVGElementImpl implements SVGFETurbulenceElement native "*SVGFETurbulenceElement" {
- static const int SVG_STITCHTYPE_NOSTITCH = 2;
-
- static const int SVG_STITCHTYPE_STITCH = 1;
-
- static const int SVG_STITCHTYPE_UNKNOWN = 0;
-
- static const int SVG_TURBULENCE_TYPE_FRACTALNOISE = 1;
-
- static const int SVG_TURBULENCE_TYPE_TURBULENCE = 2;
-
- static const int SVG_TURBULENCE_TYPE_UNKNOWN = 0;
-
final _SVGAnimatedNumberImpl baseFrequencyX;
final _SVGAnimatedNumberImpl baseFrequencyY;
@@ -26998,14 +26216,6 @@ abstract class SVGGradientElement implements SVGElement, SVGURIReference, SVGExt
class _SVGGradientElementImpl extends _SVGElementImpl implements SVGGradientElement native "*SVGGradientElement" {
- static const int SVG_SPREADMETHOD_PAD = 1;
-
- static const int SVG_SPREADMETHOD_REFLECT = 2;
-
- static const int SVG_SPREADMETHOD_REPEAT = 3;
-
- static const int SVG_SPREADMETHOD_UNKNOWN = 0;
-
final _SVGAnimatedTransformListImpl gradientTransform;
final _SVGAnimatedEnumerationImpl gradientUnits;
@@ -27196,28 +26406,6 @@ abstract class SVGLength {
class _SVGLengthImpl implements SVGLength native "*SVGLength" {
- static const int SVG_LENGTHTYPE_CM = 6;
-
- static const int SVG_LENGTHTYPE_EMS = 3;
-
- static const int SVG_LENGTHTYPE_EXS = 4;
-
- static const int SVG_LENGTHTYPE_IN = 8;
-
- static const int SVG_LENGTHTYPE_MM = 7;
-
- static const int SVG_LENGTHTYPE_NUMBER = 1;
-
- static const int SVG_LENGTHTYPE_PC = 10;
-
- static const int SVG_LENGTHTYPE_PERCENTAGE = 2;
-
- static const int SVG_LENGTHTYPE_PT = 9;
-
- static const int SVG_LENGTHTYPE_PX = 5;
-
- static const int SVG_LENGTHTYPE_UNKNOWN = 0;
-
final int unitType;
num value;
@@ -27572,18 +26760,6 @@ abstract class SVGMarkerElement implements SVGElement, SVGLangSpace, SVGExternal
class _SVGMarkerElementImpl extends _SVGElementImpl implements SVGMarkerElement native "*SVGMarkerElement" {
- static const int SVG_MARKERUNITS_STROKEWIDTH = 2;
-
- static const int SVG_MARKERUNITS_UNKNOWN = 0;
-
- static const int SVG_MARKERUNITS_USERSPACEONUSE = 1;
-
- static const int SVG_MARKER_ORIENT_ANGLE = 2;
-
- static const int SVG_MARKER_ORIENT_AUTO = 1;
-
- static const int SVG_MARKER_ORIENT_UNKNOWN = 0;
-
final _SVGAnimatedLengthImpl markerHeight;
final _SVGAnimatedEnumerationImpl markerUnits;
@@ -28013,26 +27189,6 @@ abstract class SVGPaint implements SVGColor {
class _SVGPaintImpl extends _SVGColorImpl implements SVGPaint native "*SVGPaint" {
- static const int SVG_PAINTTYPE_CURRENTCOLOR = 102;
-
- static const int SVG_PAINTTYPE_NONE = 101;
-
- static const int SVG_PAINTTYPE_RGBCOLOR = 1;
-
- static const int SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2;
-
- static const int SVG_PAINTTYPE_UNKNOWN = 0;
-
- static const int SVG_PAINTTYPE_URI = 107;
-
- static const int SVG_PAINTTYPE_URI_CURRENTCOLOR = 104;
-
- static const int SVG_PAINTTYPE_URI_NONE = 103;
-
- static const int SVG_PAINTTYPE_URI_RGBCOLOR = 105;
-
- static const int SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106;
-
final int paintType;
final String uri;
@@ -28655,46 +27811,6 @@ class _SVGPathSegCurvetoQuadraticSmoothRelImpl extends _SVGPathSegImpl implement
class _SVGPathSegImpl implements SVGPathSeg native "*SVGPathSeg" {
- static const int PATHSEG_ARC_ABS = 10;
-
- static const int PATHSEG_ARC_REL = 11;
-
- static const int PATHSEG_CLOSEPATH = 1;
-
- static const int PATHSEG_CURVETO_CUBIC_ABS = 6;
-
- static const int PATHSEG_CURVETO_CUBIC_REL = 7;
-
- static const int PATHSEG_CURVETO_CUBIC_SMOOTH_ABS = 16;
-
- static const int PATHSEG_CURVETO_CUBIC_SMOOTH_REL = 17;
-
- static const int PATHSEG_CURVETO_QUADRATIC_ABS = 8;
-
- static const int PATHSEG_CURVETO_QUADRATIC_REL = 9;
-
- static const int PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18;
-
- static const int PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19;
-
- static const int PATHSEG_LINETO_ABS = 4;
-
- static const int PATHSEG_LINETO_HORIZONTAL_ABS = 12;
-
- static const int PATHSEG_LINETO_HORIZONTAL_REL = 13;
-
- static const int PATHSEG_LINETO_REL = 5;
-
- static const int PATHSEG_LINETO_VERTICAL_ABS = 14;
-
- static const int PATHSEG_LINETO_VERTICAL_REL = 15;
-
- static const int PATHSEG_MOVETO_ABS = 2;
-
- static const int PATHSEG_MOVETO_REL = 3;
-
- static const int PATHSEG_UNKNOWN = 0;
-
final int pathSegType;
final String pathSegTypeAsLetter;
@@ -29337,34 +28453,6 @@ abstract class SVGPreserveAspectRatio {
class _SVGPreserveAspectRatioImpl implements SVGPreserveAspectRatio native "*SVGPreserveAspectRatio" {
- static const int SVG_MEETORSLICE_MEET = 1;
-
- static const int SVG_MEETORSLICE_SLICE = 2;
-
- static const int SVG_MEETORSLICE_UNKNOWN = 0;
-
- static const int SVG_PRESERVEASPECTRATIO_NONE = 1;
-
- static const int SVG_PRESERVEASPECTRATIO_UNKNOWN = 0;
-
- static const int SVG_PRESERVEASPECTRATIO_XMAXYMAX = 10;
-
- static const int SVG_PRESERVEASPECTRATIO_XMAXYMID = 7;
-
- static const int SVG_PRESERVEASPECTRATIO_XMAXYMIN = 4;
-
- static const int SVG_PRESERVEASPECTRATIO_XMIDYMAX = 9;
-
- static const int SVG_PRESERVEASPECTRATIO_XMIDYMID = 6;
-
- static const int SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3;
-
- static const int SVG_PRESERVEASPECTRATIO_XMINYMAX = 8;
-
- static const int SVG_PRESERVEASPECTRATIO_XMINYMID = 5;
-
- static const int SVG_PRESERVEASPECTRATIO_XMINYMIN = 2;
-
int align;
int meetOrSlice;
@@ -29550,18 +28638,6 @@ abstract class SVGRenderingIntent {
}
class _SVGRenderingIntentImpl implements SVGRenderingIntent native "*SVGRenderingIntent" {
-
- static const int RENDERING_INTENT_ABSOLUTE_COLORIMETRIC = 5;
-
- static const int RENDERING_INTENT_AUTO = 1;
-
- static const int RENDERING_INTENT_PERCEPTUAL = 2;
-
- static const int RENDERING_INTENT_RELATIVE_COLORIMETRIC = 3;
-
- static const int RENDERING_INTENT_SATURATION = 4;
-
- static const int RENDERING_INTENT_UNKNOWN = 0;
}
// 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
@@ -30270,12 +29346,6 @@ abstract class SVGTextContentElement implements SVGElement, SVGTests, SVGLangSpa
class _SVGTextContentElementImpl extends _SVGElementImpl implements SVGTextContentElement native "*SVGTextContentElement" {
- static const int LENGTHADJUST_SPACING = 1;
-
- static const int LENGTHADJUST_SPACINGANDGLYPHS = 2;
-
- static const int LENGTHADJUST_UNKNOWN = 0;
-
final _SVGAnimatedEnumerationImpl lengthAdjust;
final _SVGAnimatedLengthImpl textLength;
@@ -30390,18 +29460,6 @@ abstract class SVGTextPathElement implements SVGTextContentElement, SVGURIRefere
class _SVGTextPathElementImpl extends _SVGTextContentElementImpl implements SVGTextPathElement native "*SVGTextPathElement" {
- static const int TEXTPATH_METHODTYPE_ALIGN = 1;
-
- static const int TEXTPATH_METHODTYPE_STRETCH = 2;
-
- static const int TEXTPATH_METHODTYPE_UNKNOWN = 0;
-
- static const int TEXTPATH_SPACINGTYPE_AUTO = 1;
-
- static const int TEXTPATH_SPACINGTYPE_EXACT = 2;
-
- static const int TEXTPATH_SPACINGTYPE_UNKNOWN = 0;
-
final _SVGAnimatedEnumerationImpl method;
final _SVGAnimatedEnumerationImpl spacing;
@@ -30529,20 +29587,6 @@ abstract class SVGTransform {
class _SVGTransformImpl implements SVGTransform native "*SVGTransform" {
- static const int SVG_TRANSFORM_MATRIX = 1;
-
- static const int SVG_TRANSFORM_ROTATE = 4;
-
- static const int SVG_TRANSFORM_SCALE = 3;
-
- static const int SVG_TRANSFORM_SKEWX = 5;
-
- static const int SVG_TRANSFORM_SKEWY = 6;
-
- static const int SVG_TRANSFORM_TRANSLATE = 2;
-
- static const int SVG_TRANSFORM_UNKNOWN = 0;
-
final num angle;
final _SVGMatrixImpl matrix;
@@ -30745,12 +29789,6 @@ abstract class SVGUnitTypes {
}
class _SVGUnitTypesImpl implements SVGUnitTypes native "*SVGUnitTypes" {
-
- static const int SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2;
-
- static const int SVG_UNIT_TYPE_UNKNOWN = 0;
-
- static const int SVG_UNIT_TYPE_USERSPACEONUSE = 1;
}
// 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
@@ -32064,24 +31102,6 @@ abstract class SpeechRecognitionError implements Event {
class _SpeechRecognitionErrorImpl extends _EventImpl implements SpeechRecognitionError native "*SpeechRecognitionError" {
- static const int ABORTED = 2;
-
- static const int AUDIO_CAPTURE = 3;
-
- static const int BAD_GRAMMAR = 7;
-
- static const int LANGUAGE_NOT_SUPPORTED = 8;
-
- static const int NETWORK = 4;
-
- static const int NOT_ALLOWED = 5;
-
- static const int NO_SPEECH = 1;
-
- static const int OTHER = 0;
-
- static const int SERVICE_NOT_ALLOWED = 6;
-
final int code;
final String message;
@@ -32450,10 +31470,6 @@ typedef bool StorageInfoErrorCallback(DOMException error);
class _StorageInfoImpl implements StorageInfo native "*StorageInfo" {
- static const int PERSISTENT = 1;
-
- static const int TEMPORARY = 0;
-
void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallback, StorageInfoErrorCallback errorCallback]) native;
void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallback quotaCallback, StorageInfoErrorCallback errorCallback]) native;
@@ -34058,14 +33074,6 @@ abstract class TrackElement implements Element {
class _TrackElementImpl extends _ElementImpl implements TrackElement native "*HTMLTrackElement" {
- static const int ERROR = 3;
-
- static const int LOADED = 2;
-
- static const int LOADING = 1;
-
- static const int NONE = 0;
-
bool get defaultValue() native "return this.default;";
void set defaultValue(bool value) native "this.default = value;";
@@ -34311,126 +33319,122 @@ abstract class Uint16Array implements ArrayBufferView, List<int> {
class _Uint16ArrayImpl extends _ArrayBufferViewImpl implements Uint16Array, List<int>, JavaScriptIndexingBehavior native "*Uint16Array" {
- static const int BYTES_PER_ELEMENT = 2;
-
- final int length;
-
- int operator[](int index) native "return this[index];";
-
- void operator[]=(int index, int value) native "this[index] = value";
- // -- start List<int> mixins.
- // int is the element type.
-
- // From Iterable<int>:
-
- Iterator<int> iterator() {
- // Note: NodeLists are not fixed size. And most probably length shouldn't
- // be cached in both iterator _and_ forEach method. For now caching it
- // for consistency.
- return new _FixedSizeListIterator<int>(this);
- }
-
- // From Collection<int>:
-
- void add(int value) {
- throw const UnsupportedOperationException("Cannot add to immutable List.");
- }
-
- void addLast(int value) {
- throw const UnsupportedOperationException("Cannot add to immutable List.");
- }
-
- void addAll(Collection<int> collection) {
- throw const UnsupportedOperationException("Cannot add to immutable List.");
- }
-
- void forEach(void f(int element)) => _Collections.forEach(this, f);
-
- Collection map(f(int element)) => _Collections.map(this, [], f);
-
- Collection<int> filter(bool f(int element)) =>
- _Collections.filter(this, <int>[], f);
-
- bool every(bool f(int element)) => _Collections.every(this, f);
-
- bool some(bool f(int element)) => _Collections.some(this, f);
-
- bool isEmpty() => this.length == 0;
-
- // From List<int>:
-
- void sort(int compare(int a, int b)) {
- throw const UnsupportedOperationException("Cannot sort immutable List.");
- }
-
- int indexOf(int element, [int start = 0]) =>
- _Lists.indexOf(this, element, start, this.length);
-
- int lastIndexOf(int element, [int start]) {
- if (start === null) start = length - 1;
- return _Lists.lastIndexOf(this, element, start);
- }
-
- int last() => this[length - 1];
-
- int removeLast() {
- throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
- }
-
- void setRange(int start, int rangeLength, List<int> from, [int startFrom]) {
- throw const UnsupportedOperationException("Cannot setRange on immutable List.");
- }
-
- void removeRange(int start, int rangeLength) {
- throw const UnsupportedOperationException("Cannot removeRange on immutable List.");
- }
-
- void insertRange(int start, int rangeLength, [int initialValue]) {
- throw const UnsupportedOperationException("Cannot insertRange on immutable List.");
- }
-
- List<int> getRange(int start, int rangeLength) =>
- _Lists.getRange(this, start, rangeLength, <int>[]);
-
- // -- end List<int> mixins.
-
- void setElements(Object array, [int offset]) native "set";
-
- _Uint16ArrayImpl subarray(int start, [int end]) native;
-}
-// 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.
-
-/// @domName Uint32Array
-abstract class Uint32Array implements ArrayBufferView, List<int> {
-
- factory Uint32Array(int length) =>
- _TypedArrayFactoryProvider.createUint32Array(length);
-
- factory Uint32Array.fromList(List<int> list) =>
- _TypedArrayFactoryProvider.createUint32Array_fromList(list);
-
- factory Uint32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
- _TypedArrayFactoryProvider.createUint32Array_fromBuffer(buffer, byteOffset, length);
-
- static const int BYTES_PER_ELEMENT = 4;
-
- /** @domName Uint32Array.length */
- abstract int get length;
-
- /** @domName Uint32Array.setElements */
- void setElements(Object array, [int offset]);
-
- /** @domName Uint32Array.subarray */
- Uint32Array subarray(int start, [int end]);
-}
-
-class _Uint32ArrayImpl extends _ArrayBufferViewImpl implements Uint32Array, List<int>, JavaScriptIndexingBehavior native "*Uint32Array" {
-
- static const int BYTES_PER_ELEMENT = 4;
+ final int length;
+
+ int operator[](int index) native "return this[index];";
+
+ void operator[]=(int index, int value) native "this[index] = value";
+ // -- start List<int> mixins.
+ // int is the element type.
+
+ // From Iterable<int>:
+
+ Iterator<int> iterator() {
+ // Note: NodeLists are not fixed size. And most probably length shouldn't
+ // be cached in both iterator _and_ forEach method. For now caching it
+ // for consistency.
+ return new _FixedSizeListIterator<int>(this);
+ }
+
+ // From Collection<int>:
+
+ void add(int value) {
+ throw const UnsupportedOperationException("Cannot add to immutable List.");
+ }
+
+ void addLast(int value) {
+ throw const UnsupportedOperationException("Cannot add to immutable List.");
+ }
+
+ void addAll(Collection<int> collection) {
+ throw const UnsupportedOperationException("Cannot add to immutable List.");
+ }
+
+ void forEach(void f(int element)) => _Collections.forEach(this, f);
+
+ Collection map(f(int element)) => _Collections.map(this, [], f);
+
+ Collection<int> filter(bool f(int element)) =>
+ _Collections.filter(this, <int>[], f);
+
+ bool every(bool f(int element)) => _Collections.every(this, f);
+
+ bool some(bool f(int element)) => _Collections.some(this, f);
+
+ bool isEmpty() => this.length == 0;
+
+ // From List<int>:
+
+ void sort(int compare(int a, int b)) {
+ throw const UnsupportedOperationException("Cannot sort immutable List.");
+ }
+
+ int indexOf(int element, [int start = 0]) =>
+ _Lists.indexOf(this, element, start, this.length);
+
+ int lastIndexOf(int element, [int start]) {
+ if (start === null) start = length - 1;
+ return _Lists.lastIndexOf(this, element, start);
+ }
+
+ int last() => this[length - 1];
+
+ int removeLast() {
+ throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
+ }
+
+ void setRange(int start, int rangeLength, List<int> from, [int startFrom]) {
+ throw const UnsupportedOperationException("Cannot setRange on immutable List.");
+ }
+
+ void removeRange(int start, int rangeLength) {
+ throw const UnsupportedOperationException("Cannot removeRange on immutable List.");
+ }
+
+ void insertRange(int start, int rangeLength, [int initialValue]) {
+ throw const UnsupportedOperationException("Cannot insertRange on immutable List.");
+ }
+
+ List<int> getRange(int start, int rangeLength) =>
+ _Lists.getRange(this, start, rangeLength, <int>[]);
+
+ // -- end List<int> mixins.
+
+ void setElements(Object array, [int offset]) native "set";
+
+ _Uint16ArrayImpl subarray(int start, [int end]) native;
+}
+// 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.
+
+/// @domName Uint32Array
+abstract class Uint32Array implements ArrayBufferView, List<int> {
+
+ factory Uint32Array(int length) =>
+ _TypedArrayFactoryProvider.createUint32Array(length);
+
+ factory Uint32Array.fromList(List<int> list) =>
+ _TypedArrayFactoryProvider.createUint32Array_fromList(list);
+
+ factory Uint32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
+ _TypedArrayFactoryProvider.createUint32Array_fromBuffer(buffer, byteOffset, length);
+
+ static const int BYTES_PER_ELEMENT = 4;
+
+ /** @domName Uint32Array.length */
+ abstract int get length;
+
+ /** @domName Uint32Array.setElements */
+ void setElements(Object array, [int offset]);
+
+ /** @domName Uint32Array.subarray */
+ Uint32Array subarray(int start, [int end]);
+}
+
+class _Uint32ArrayImpl extends _ArrayBufferViewImpl implements Uint32Array, List<int>, JavaScriptIndexingBehavior native "*Uint32Array" {
final int length;
@@ -34549,8 +33553,6 @@ abstract class Uint8Array implements ArrayBufferView, List<int> {
class _Uint8ArrayImpl extends _ArrayBufferViewImpl implements Uint8Array, List<int>, JavaScriptIndexingBehavior native "*Uint8Array" {
- static const int BYTES_PER_ELEMENT = 1;
-
final int length;
int operator[](int index) native "return this[index];";
@@ -34915,14 +33917,6 @@ abstract class WebGLCompressedTextureS3TC {
}
class _WebGLCompressedTextureS3TCImpl implements WebGLCompressedTextureS3TC native "*WebGLCompressedTextureS3TC" {
-
- static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
-
- static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2;
-
- static const int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3;
-
- static const int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
}
// 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
@@ -34998,10 +33992,6 @@ abstract class WebGLDebugRendererInfo {
}
class _WebGLDebugRendererInfoImpl implements WebGLDebugRendererInfo native "*WebGLDebugRendererInfo" {
-
- static const int UNMASKED_RENDERER_WEBGL = 0x9246;
-
- static const int UNMASKED_VENDOR_WEBGL = 0x9245;
}
// 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
@@ -35033,8 +34023,6 @@ abstract class WebGLDepthTexture {
}
class _WebGLDepthTextureImpl implements WebGLDepthTexture native "*WebGLDepthTexture" {
-
- static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA;
}
// 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
@@ -36113,596 +35101,6 @@ abstract class WebGLRenderingContext implements CanvasRenderingContext {
class _WebGLRenderingContextImpl extends _CanvasRenderingContextImpl implements WebGLRenderingContext native "*WebGLRenderingContext" {
- static const int ACTIVE_ATTRIBUTES = 0x8B89;
-
- static const int ACTIVE_TEXTURE = 0x84E0;
-
- static const int ACTIVE_UNIFORMS = 0x8B86;
-
- static const int ALIASED_LINE_WIDTH_RANGE = 0x846E;
-
- static const int ALIASED_POINT_SIZE_RANGE = 0x846D;
-
- static const int ALPHA = 0x1906;
-
- static const int ALPHA_BITS = 0x0D55;
-
- static const int ALWAYS = 0x0207;
-
- static const int ARRAY_BUFFER = 0x8892;
-
- static const int ARRAY_BUFFER_BINDING = 0x8894;
-
- static const int ATTACHED_SHADERS = 0x8B85;
-
- static const int BACK = 0x0405;
-
- static const int BLEND = 0x0BE2;
-
- static const int BLEND_COLOR = 0x8005;
-
- static const int BLEND_DST_ALPHA = 0x80CA;
-
- static const int BLEND_DST_RGB = 0x80C8;
-
- static const int BLEND_EQUATION = 0x8009;
-
- static const int BLEND_EQUATION_ALPHA = 0x883D;
-
- static const int BLEND_EQUATION_RGB = 0x8009;
-
- static const int BLEND_SRC_ALPHA = 0x80CB;
-
- static const int BLEND_SRC_RGB = 0x80C9;
-
- static const int BLUE_BITS = 0x0D54;
-
- static const int BOOL = 0x8B56;
-
- static const int BOOL_VEC2 = 0x8B57;
-
- static const int BOOL_VEC3 = 0x8B58;
-
- static const int BOOL_VEC4 = 0x8B59;
-
- static const int BROWSER_DEFAULT_WEBGL = 0x9244;
-
- static const int BUFFER_SIZE = 0x8764;
-
- static const int BUFFER_USAGE = 0x8765;
-
- static const int BYTE = 0x1400;
-
- static const int CCW = 0x0901;
-
- static const int CLAMP_TO_EDGE = 0x812F;
-
- static const int COLOR_ATTACHMENT0 = 0x8CE0;
-
- static const int COLOR_BUFFER_BIT = 0x00004000;
-
- static const int COLOR_CLEAR_VALUE = 0x0C22;
-
- static const int COLOR_WRITEMASK = 0x0C23;
-
- static const int COMPILE_STATUS = 0x8B81;
-
- static const int COMPRESSED_TEXTURE_FORMATS = 0x86A3;
-
- static const int CONSTANT_ALPHA = 0x8003;
-
- static const int CONSTANT_COLOR = 0x8001;
-
- static const int CONTEXT_LOST_WEBGL = 0x9242;
-
- static const int CULL_FACE = 0x0B44;
-
- static const int CULL_FACE_MODE = 0x0B45;
-
- static const int CURRENT_PROGRAM = 0x8B8D;
-
- static const int CURRENT_VERTEX_ATTRIB = 0x8626;
-
- static const int CW = 0x0900;
-
- static const int DECR = 0x1E03;
-
- static const int DECR_WRAP = 0x8508;
-
- static const int DELETE_STATUS = 0x8B80;
-
- static const int DEPTH_ATTACHMENT = 0x8D00;
-
- static const int DEPTH_BITS = 0x0D56;
-
- static const int DEPTH_BUFFER_BIT = 0x00000100;
-
- static const int DEPTH_CLEAR_VALUE = 0x0B73;
-
- static const int DEPTH_COMPONENT = 0x1902;
-
- static const int DEPTH_COMPONENT16 = 0x81A5;
-
- static const int DEPTH_FUNC = 0x0B74;
-
- static const int DEPTH_RANGE = 0x0B70;
-
- static const int DEPTH_STENCIL = 0x84F9;
-
- static const int DEPTH_STENCIL_ATTACHMENT = 0x821A;
-
- static const int DEPTH_TEST = 0x0B71;
-
- static const int DEPTH_WRITEMASK = 0x0B72;
-
- static const int DITHER = 0x0BD0;
-
- static const int DONT_CARE = 0x1100;
-
- static const int DST_ALPHA = 0x0304;
-
- static const int DST_COLOR = 0x0306;
-
- static const int DYNAMIC_DRAW = 0x88E8;
-
- static const int ELEMENT_ARRAY_BUFFER = 0x8893;
-
- static const int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895;
-
- static const int EQUAL = 0x0202;
-
- static const int FASTEST = 0x1101;
-
- static const int FLOAT = 0x1406;
-
- static const int FLOAT_MAT2 = 0x8B5A;
-
- static const int FLOAT_MAT3 = 0x8B5B;
-
- static const int FLOAT_MAT4 = 0x8B5C;
-
- static const int FLOAT_VEC2 = 0x8B50;
-
- static const int FLOAT_VEC3 = 0x8B51;
-
- static const int FLOAT_VEC4 = 0x8B52;
-
- static const int FRAGMENT_SHADER = 0x8B30;
-
- static const int FRAMEBUFFER = 0x8D40;
-
- static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1;
-
- static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0;
-
- static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3;
-
- static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2;
-
- static const int FRAMEBUFFER_BINDING = 0x8CA6;
-
- static const int FRAMEBUFFER_COMPLETE = 0x8CD5;
-
- static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6;
-
- static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9;
-
- static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7;
-
- static const int FRAMEBUFFER_UNSUPPORTED = 0x8CDD;
-
- static const int FRONT = 0x0404;
-
- static const int FRONT_AND_BACK = 0x0408;
-
- static const int FRONT_FACE = 0x0B46;
-
- static const int FUNC_ADD = 0x8006;
-
- static const int FUNC_REVERSE_SUBTRACT = 0x800B;
-
- static const int FUNC_SUBTRACT = 0x800A;
-
- static const int GENERATE_MIPMAP_HINT = 0x8192;
-
- static const int GEQUAL = 0x0206;
-
- static const int GREATER = 0x0204;
-
- static const int GREEN_BITS = 0x0D53;
-
- static const int HIGH_FLOAT = 0x8DF2;
-
- static const int HIGH_INT = 0x8DF5;
-
- static const int INCR = 0x1E02;
-
- static const int INCR_WRAP = 0x8507;
-
- static const int INT = 0x1404;
-
- static const int INT_VEC2 = 0x8B53;
-
- static const int INT_VEC3 = 0x8B54;
-
- static const int INT_VEC4 = 0x8B55;
-
- static const int INVALID_ENUM = 0x0500;
-
- static const int INVALID_FRAMEBUFFER_OPERATION = 0x0506;
-
- static const int INVALID_OPERATION = 0x0502;
-
- static const int INVALID_VALUE = 0x0501;
-
- static const int INVERT = 0x150A;
-
- static const int KEEP = 0x1E00;
-
- static const int LEQUAL = 0x0203;
-
- static const int LESS = 0x0201;
-
- static const int LINEAR = 0x2601;
-
- static const int LINEAR_MIPMAP_LINEAR = 0x2703;
-
- static const int LINEAR_MIPMAP_NEAREST = 0x2701;
-
- static const int LINES = 0x0001;
-
- static const int LINE_LOOP = 0x0002;
-
- static const int LINE_STRIP = 0x0003;
-
- static const int LINE_WIDTH = 0x0B21;
-
- static const int LINK_STATUS = 0x8B82;
-
- static const int LOW_FLOAT = 0x8DF0;
-
- static const int LOW_INT = 0x8DF3;
-
- static const int LUMINANCE = 0x1909;
-
- static const int LUMINANCE_ALPHA = 0x190A;
-
- static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D;
-
- static const int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C;
-
- static const int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD;
-
- static const int MAX_RENDERBUFFER_SIZE = 0x84E8;
-
- static const int MAX_TEXTURE_IMAGE_UNITS = 0x8872;
-
- static const int MAX_TEXTURE_SIZE = 0x0D33;
-
- static const int MAX_VARYING_VECTORS = 0x8DFC;
-
- static const int MAX_VERTEX_ATTRIBS = 0x8869;
-
- static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C;
-
- static const int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB;
-
- static const int MAX_VIEWPORT_DIMS = 0x0D3A;
-
- static const int MEDIUM_FLOAT = 0x8DF1;
-
- static const int MEDIUM_INT = 0x8DF4;
-
- static const int MIRRORED_REPEAT = 0x8370;
-
- static const int NEAREST = 0x2600;
-
- static const int NEAREST_MIPMAP_LINEAR = 0x2702;
-
- static const int NEAREST_MIPMAP_NEAREST = 0x2700;
-
- static const int NEVER = 0x0200;
-
- static const int NICEST = 0x1102;
-
- static const int NONE = 0;
-
- static const int NOTEQUAL = 0x0205;
-
- static const int NO_ERROR = 0;
-
- static const int ONE = 1;
-
- static const int ONE_MINUS_CONSTANT_ALPHA = 0x8004;
-
- static const int ONE_MINUS_CONSTANT_COLOR = 0x8002;
-
- static const int ONE_MINUS_DST_ALPHA = 0x0305;
-
- static const int ONE_MINUS_DST_COLOR = 0x0307;
-
- static const int ONE_MINUS_SRC_ALPHA = 0x0303;
-
- static const int ONE_MINUS_SRC_COLOR = 0x0301;
-
- static const int OUT_OF_MEMORY = 0x0505;
-
- static const int PACK_ALIGNMENT = 0x0D05;
-
- static const int POINTS = 0x0000;
-
- static const int POLYGON_OFFSET_FACTOR = 0x8038;
-
- static const int POLYGON_OFFSET_FILL = 0x8037;
-
- static const int POLYGON_OFFSET_UNITS = 0x2A00;
-
- static const int RED_BITS = 0x0D52;
-
- static const int RENDERBUFFER = 0x8D41;
-
- static const int RENDERBUFFER_ALPHA_SIZE = 0x8D53;
-
- static const int RENDERBUFFER_BINDING = 0x8CA7;
-
- static const int RENDERBUFFER_BLUE_SIZE = 0x8D52;
-
- static const int RENDERBUFFER_DEPTH_SIZE = 0x8D54;
-
- static const int RENDERBUFFER_GREEN_SIZE = 0x8D51;
-
- static const int RENDERBUFFER_HEIGHT = 0x8D43;
-
- static const int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44;
-
- static const int RENDERBUFFER_RED_SIZE = 0x8D50;
-
- static const int RENDERBUFFER_STENCIL_SIZE = 0x8D55;
-
- static const int RENDERBUFFER_WIDTH = 0x8D42;
-
- static const int RENDERER = 0x1F01;
-
- static const int REPEAT = 0x2901;
-
- static const int REPLACE = 0x1E01;
-
- static const int RGB = 0x1907;
-
- static const int RGB565 = 0x8D62;
-
- static const int RGB5_A1 = 0x8057;
-
- static const int RGBA = 0x1908;
-
- static const int RGBA4 = 0x8056;
-
- static const int SAMPLER_2D = 0x8B5E;
-
- static const int SAMPLER_CUBE = 0x8B60;
-
- static const int SAMPLES = 0x80A9;
-
- static const int SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
-
- static const int SAMPLE_BUFFERS = 0x80A8;
-
- static const int SAMPLE_COVERAGE = 0x80A0;
-
- static const int SAMPLE_COVERAGE_INVERT = 0x80AB;
-
- static const int SAMPLE_COVERAGE_VALUE = 0x80AA;
-
- static const int SCISSOR_BOX = 0x0C10;
-
- static const int SCISSOR_TEST = 0x0C11;
-
- static const int SHADER_TYPE = 0x8B4F;
-
- static const int SHADING_LANGUAGE_VERSION = 0x8B8C;
-
- static const int SHORT = 0x1402;
-
- static const int SRC_ALPHA = 0x0302;
-
- static const int SRC_ALPHA_SATURATE = 0x0308;
-
- static const int SRC_COLOR = 0x0300;
-
- static const int STATIC_DRAW = 0x88E4;
-
- static const int STENCIL_ATTACHMENT = 0x8D20;
-
- static const int STENCIL_BACK_FAIL = 0x8801;
-
- static const int STENCIL_BACK_FUNC = 0x8800;
-
- static const int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802;
-
- static const int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803;
-
- static const int STENCIL_BACK_REF = 0x8CA3;
-
- static const int STENCIL_BACK_VALUE_MASK = 0x8CA4;
-
- static const int STENCIL_BACK_WRITEMASK = 0x8CA5;
-
- static const int STENCIL_BITS = 0x0D57;
-
- static const int STENCIL_BUFFER_BIT = 0x00000400;
-
- static const int STENCIL_CLEAR_VALUE = 0x0B91;
-
- static const int STENCIL_FAIL = 0x0B94;
-
- static const int STENCIL_FUNC = 0x0B92;
-
- static const int STENCIL_INDEX = 0x1901;
-
- static const int STENCIL_INDEX8 = 0x8D48;
-
- static const int STENCIL_PASS_DEPTH_FAIL = 0x0B95;
-
- static const int STENCIL_PASS_DEPTH_PASS = 0x0B96;
-
- static const int STENCIL_REF = 0x0B97;
-
- static const int STENCIL_TEST = 0x0B90;
-
- static const int STENCIL_VALUE_MASK = 0x0B93;
-
- static const int STENCIL_WRITEMASK = 0x0B98;
-
- static const int STREAM_DRAW = 0x88E0;
-
- static const int SUBPIXEL_BITS = 0x0D50;
-
- static const int TEXTURE = 0x1702;
-
- static const int TEXTURE0 = 0x84C0;
-
- static const int TEXTURE1 = 0x84C1;
-
- static const int TEXTURE10 = 0x84CA;
-
- static const int TEXTURE11 = 0x84CB;
-
- static const int TEXTURE12 = 0x84CC;
-
- static const int TEXTURE13 = 0x84CD;
-
- static const int TEXTURE14 = 0x84CE;
-
- static const int TEXTURE15 = 0x84CF;
-
- static const int TEXTURE16 = 0x84D0;
-
- static const int TEXTURE17 = 0x84D1;
-
- static const int TEXTURE18 = 0x84D2;
-
- static const int TEXTURE19 = 0x84D3;
-
- static const int TEXTURE2 = 0x84C2;
-
- static const int TEXTURE20 = 0x84D4;
-
- static const int TEXTURE21 = 0x84D5;
-
- static const int TEXTURE22 = 0x84D6;
-
- static const int TEXTURE23 = 0x84D7;
-
- static const int TEXTURE24 = 0x84D8;
-
- static const int TEXTURE25 = 0x84D9;
-
- static const int TEXTURE26 = 0x84DA;
-
- static const int TEXTURE27 = 0x84DB;
-
- static const int TEXTURE28 = 0x84DC;
-
- static const int TEXTURE29 = 0x84DD;
-
- static const int TEXTURE3 = 0x84C3;
-
- static const int TEXTURE30 = 0x84DE;
-
- static const int TEXTURE31 = 0x84DF;
-
- static const int TEXTURE4 = 0x84C4;
-
- static const int TEXTURE5 = 0x84C5;
-
- static const int TEXTURE6 = 0x84C6;
-
- static const int TEXTURE7 = 0x84C7;
-
- static const int TEXTURE8 = 0x84C8;
-
- static const int TEXTURE9 = 0x84C9;
-
- static const int TEXTURE_2D = 0x0DE1;
-
- static const int TEXTURE_BINDING_2D = 0x8069;
-
- static const int TEXTURE_BINDING_CUBE_MAP = 0x8514;
-
- static const int TEXTURE_CUBE_MAP = 0x8513;
-
- static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
-
- static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
-
- static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
-
- static const int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
-
- static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
-
- static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
-
- static const int TEXTURE_MAG_FILTER = 0x2800;
-
- static const int TEXTURE_MIN_FILTER = 0x2801;
-
- static const int TEXTURE_WRAP_S = 0x2802;
-
- static const int TEXTURE_WRAP_T = 0x2803;
-
- static const int TRIANGLES = 0x0004;
-
- static const int TRIANGLE_FAN = 0x0006;
-
- static const int TRIANGLE_STRIP = 0x0005;
-
- static const int UNPACK_ALIGNMENT = 0x0CF5;
-
- static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243;
-
- static const int UNPACK_FLIP_Y_WEBGL = 0x9240;
-
- static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241;
-
- static const int UNSIGNED_BYTE = 0x1401;
-
- static const int UNSIGNED_INT = 0x1405;
-
- static const int UNSIGNED_SHORT = 0x1403;
-
- static const int UNSIGNED_SHORT_4_4_4_4 = 0x8033;
-
- static const int UNSIGNED_SHORT_5_5_5_1 = 0x8034;
-
- static const int UNSIGNED_SHORT_5_6_5 = 0x8363;
-
- static const int VALIDATE_STATUS = 0x8B83;
-
- static const int VENDOR = 0x1F00;
-
- static const int VERSION = 0x1F02;
-
- static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F;
-
- static const int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622;
-
- static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A;
-
- static const int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
-
- static const int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623;
-
- static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624;
-
- static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625;
-
- static const int VERTEX_SHADER = 0x8B31;
-
- static const int VIEWPORT = 0x0BA2;
-
- static const int ZERO = 0;
-
final int drawingBufferHeight;
final int drawingBufferWidth;
@@ -37176,30 +35574,6 @@ abstract class WebKitCSSFilterValue implements List<CSSValue> {
class _WebKitCSSFilterValueImpl extends _CSSValueListImpl implements WebKitCSSFilterValue native "*WebKitCSSFilterValue" {
- static const int CSS_FILTER_BLUR = 10;
-
- static const int CSS_FILTER_BRIGHTNESS = 8;
-
- static const int CSS_FILTER_CONTRAST = 9;
-
- static const int CSS_FILTER_CUSTOM = 12;
-
- static const int CSS_FILTER_DROP_SHADOW = 11;
-
- static const int CSS_FILTER_GRAYSCALE = 2;
-
- static const int CSS_FILTER_HUE_ROTATE = 5;
-
- static const int CSS_FILTER_INVERT = 6;
-
- static const int CSS_FILTER_OPACITY = 7;
-
- static const int CSS_FILTER_REFERENCE = 1;
-
- static const int CSS_FILTER_SATURATE = 4;
-
- static const int CSS_FILTER_SEPIA = 3;
-
final int operationType;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -37336,14 +35710,6 @@ class _WebSocketImpl extends _EventTargetImpl implements WebSocket native "*WebS
_WebSocketEventsImpl get on =>
new _WebSocketEventsImpl(this);
- static const int CLOSED = 3;
-
- static const int CLOSING = 2;
-
- static const int CONNECTING = 0;
-
- static const int OPEN = 1;
-
final String URL;
String binaryType;
@@ -38104,10 +36470,6 @@ class _WindowImpl extends _EventTargetImpl implements Window native "@*DOMWindow
_WindowEventsImpl get on =>
new _WindowEventsImpl(this);
- static const int PERSISTENT = 1;
-
- static const int TEMPORARY = 0;
-
final _DOMApplicationCacheImpl applicationCache;
final _NavigatorImpl clientInformation;
@@ -38550,10 +36912,6 @@ class _WorkerContextImpl extends _EventTargetImpl implements WorkerContext nativ
_WorkerContextEventsImpl get on =>
new _WorkerContextEventsImpl(this);
- static const int PERSISTENT = 1;
-
- static const int TEMPORARY = 0;
-
final _IDBFactoryImpl indexedDB;
final _WorkerLocationImpl location;
@@ -38788,10 +37146,6 @@ abstract class XPathException {
class _XPathExceptionImpl implements XPathException native "*XPathException" {
- static const int INVALID_EXPRESSION_ERR = 51;
-
- static const int TYPE_ERR = 52;
-
final int code;
final String message;
@@ -38893,26 +37247,6 @@ abstract class XPathResult {
class _XPathResultImpl implements XPathResult native "*XPathResult" {
- static const int ANY_TYPE = 0;
-
- static const int ANY_UNORDERED_NODE_TYPE = 8;
-
- static const int BOOLEAN_TYPE = 3;
-
- static const int FIRST_ORDERED_NODE_TYPE = 9;
-
- static const int NUMBER_TYPE = 1;
-
- static const int ORDERED_NODE_ITERATOR_TYPE = 5;
-
- static const int ORDERED_NODE_SNAPSHOT_TYPE = 7;
-
- static const int STRING_TYPE = 2;
-
- static const int UNORDERED_NODE_ITERATOR_TYPE = 4;
-
- static const int UNORDERED_NODE_SNAPSHOT_TYPE = 6;
-
final bool booleanValue;
final bool invalidIteratorState;
« no previous file with comments | « no previous file | lib/html/scripts/systemhtml.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698