Index: lib/dom/dart2js/dom_dart2js.dart |
=================================================================== |
--- lib/dom/dart2js/dom_dart2js.dart (revision 11969) |
+++ lib/dom/dart2js/dom_dart2js.dart (working copy) |
@@ -1,25554 +0,0 @@ |
-#library('dart:dom_deprecated'); |
- |
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// DO NOT EDIT |
-// Auto-generated Dart DOM library. |
- |
- |
- |
- |
-// TODO(sra): What 'window' do we get in a worker? Perhaps this |
-// should return the interface type. |
-DOMWindow get window() native "return window;"; |
- |
-HTMLDocument get document() native "return document;"; |
- |
-// TODO(vsm): Implement these. |
-interface LayoutTestController {} |
-LayoutTestController layoutTestController; |
- |
-spawnDomIsolate(Window targetWindow, String entryPoint) { |
- throw const NotImplementedException(); |
-} |
- |
-class _AbstractWorkerJs extends _EventTargetJs implements AbstractWorker native "*AbstractWorker" { |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs evt) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
-} |
- |
-class _ArrayBufferJs extends _DOMTypeJs implements ArrayBuffer native "*ArrayBuffer" { |
- |
- final int byteLength; |
- |
- _ArrayBufferJs slice(int begin, [int end]) native; |
-} |
- |
-class _ArrayBufferViewJs extends _DOMTypeJs implements ArrayBufferView native "*ArrayBufferView" { |
- |
- final _ArrayBufferJs buffer; |
- |
- final int byteLength; |
- |
- final int byteOffset; |
-} |
- |
-class _AttrJs extends _NodeJs implements Attr native "*Attr" { |
- |
- final bool isId; |
- |
- final String name; |
- |
- final _ElementJs ownerElement; |
- |
- final bool specified; |
- |
- String value; |
-} |
- |
-class _AudioBufferJs extends _DOMTypeJs implements AudioBuffer native "*AudioBuffer" { |
- |
- final num duration; |
- |
- num gain; |
- |
- final int length; |
- |
- final int numberOfChannels; |
- |
- final num sampleRate; |
- |
- _Float32ArrayJs getChannelData(int channelIndex) native; |
-} |
- |
-class _AudioBufferSourceNodeJs extends _AudioSourceNodeJs implements AudioBufferSourceNode native "*AudioBufferSourceNode" { |
- |
- static const int FINISHED_STATE = 3; |
- |
- static const int PLAYING_STATE = 2; |
- |
- static const int SCHEDULED_STATE = 1; |
- |
- static const int UNSCHEDULED_STATE = 0; |
- |
- _AudioBufferJs buffer; |
- |
- final _AudioGainJs gain; |
- |
- bool loop; |
- |
- bool looping; |
- |
- final _AudioParamJs playbackRate; |
- |
- final int playbackState; |
- |
- void noteGrainOn(num when, num grainOffset, num grainDuration) native; |
- |
- void noteOff(num when) native; |
- |
- void noteOn(num when) native; |
-} |
- |
-class _AudioChannelMergerJs extends _AudioNodeJs implements AudioChannelMerger native "*AudioChannelMerger" { |
-} |
- |
-class _AudioChannelSplitterJs extends _AudioNodeJs implements AudioChannelSplitter native "*AudioChannelSplitter" { |
-} |
- |
-class _AudioContextJs extends _EventTargetJs implements AudioContext native "*AudioContext" { |
- |
- final int activeSourceCount; |
- |
- final num currentTime; |
- |
- final _AudioDestinationNodeJs destination; |
- |
- final _AudioListenerJs listener; |
- |
- final num sampleRate; |
- |
- _RealtimeAnalyserNodeJs createAnalyser() native; |
- |
- _BiquadFilterNodeJs createBiquadFilter() native; |
- |
- _AudioBufferJs createBuffer(buffer_OR_numberOfChannels, mixToMono_OR_numberOfFrames, [num sampleRate]) native; |
- |
- _AudioBufferSourceNodeJs createBufferSource() native; |
- |
- _AudioChannelMergerJs createChannelMerger([int numberOfInputs]) native; |
- |
- _AudioChannelSplitterJs createChannelSplitter([int numberOfOutputs]) native; |
- |
- _ConvolverNodeJs createConvolver() native; |
- |
- _DelayNodeJs createDelayNode([num maxDelayTime]) native; |
- |
- _DynamicsCompressorNodeJs createDynamicsCompressor() native; |
- |
- _AudioGainNodeJs createGainNode() native; |
- |
- _JavaScriptAudioNodeJs createJavaScriptNode(int bufferSize, [int numberOfInputChannels, int numberOfOutputChannels]) native; |
- |
- _MediaElementAudioSourceNodeJs createMediaElementSource(_HTMLMediaElementJs mediaElement) native; |
- |
- _MediaStreamAudioSourceNodeJs createMediaStreamSource(_MediaStreamJs mediaStream) native; |
- |
- _OscillatorJs createOscillator() native; |
- |
- _AudioPannerNodeJs createPanner() native; |
- |
- _WaveShaperNodeJs createWaveShaper() native; |
- |
- _WaveTableJs createWaveTable(_Float32ArrayJs real, _Float32ArrayJs imag) native; |
- |
- void decodeAudioData(_ArrayBufferJs audioData, AudioBufferCallback successCallback, [AudioBufferCallback errorCallback]) native; |
- |
- void startRendering() native; |
-} |
- |
-class _AudioDestinationNodeJs extends _AudioNodeJs implements AudioDestinationNode native "*AudioDestinationNode" { |
- |
- final int numberOfChannels; |
-} |
- |
-class _AudioGainJs extends _AudioParamJs implements AudioGain native "*AudioGain" { |
-} |
- |
-class _AudioGainNodeJs extends _AudioNodeJs implements AudioGainNode native "*AudioGainNode" { |
- |
- final _AudioGainJs gain; |
-} |
- |
-class _AudioListenerJs extends _DOMTypeJs implements AudioListener native "*AudioListener" { |
- |
- num dopplerFactor; |
- |
- num speedOfSound; |
- |
- void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) native; |
- |
- void setPosition(num x, num y, num z) native; |
- |
- void setVelocity(num x, num y, num z) native; |
-} |
- |
-class _AudioNodeJs extends _DOMTypeJs implements AudioNode native "*AudioNode" { |
- |
- final _AudioContextJs context; |
- |
- final int numberOfInputs; |
- |
- final int numberOfOutputs; |
- |
- void connect(destination, int output, [int input]) native; |
- |
- void disconnect(int output) native; |
-} |
- |
-class _AudioPannerNodeJs extends _AudioNodeJs 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 _AudioGainJs coneGain; |
- |
- num coneInnerAngle; |
- |
- num coneOuterAngle; |
- |
- num coneOuterGain; |
- |
- final _AudioGainJs distanceGain; |
- |
- int distanceModel; |
- |
- num maxDistance; |
- |
- int panningModel; |
- |
- num refDistance; |
- |
- num rolloffFactor; |
- |
- void setOrientation(num x, num y, num z) native; |
- |
- void setPosition(num x, num y, num z) native; |
- |
- void setVelocity(num x, num y, num z) native; |
-} |
- |
-class _AudioParamJs extends _DOMTypeJs implements AudioParam native "*AudioParam" { |
- |
- final num defaultValue; |
- |
- final num maxValue; |
- |
- final num minValue; |
- |
- final String name; |
- |
- final int units; |
- |
- num value; |
- |
- void cancelScheduledValues(num startTime) native; |
- |
- void exponentialRampToValueAtTime(num value, num time) native; |
- |
- void linearRampToValueAtTime(num value, num time) native; |
- |
- void setTargetValueAtTime(num targetValue, num time, num timeConstant) native; |
- |
- void setValueAtTime(num value, num time) native; |
- |
- void setValueCurveAtTime(_Float32ArrayJs values, num time, num duration) native; |
-} |
- |
-class _AudioProcessingEventJs extends _EventJs implements AudioProcessingEvent native "*AudioProcessingEvent" { |
- |
- final _AudioBufferJs inputBuffer; |
- |
- final _AudioBufferJs outputBuffer; |
-} |
- |
-class _AudioSourceNodeJs extends _AudioNodeJs implements AudioSourceNode native "*AudioSourceNode" { |
-} |
- |
-class _BarInfoJs extends _DOMTypeJs implements BarInfo native "*BarInfo" { |
- |
- final bool visible; |
-} |
- |
-class _BatteryManagerJs extends _EventTargetJs implements BatteryManager native "*BatteryManager" { |
- |
- final bool charging; |
- |
- final num chargingTime; |
- |
- final num dischargingTime; |
- |
- final num level; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs evt) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
-} |
- |
-class _BeforeLoadEventJs extends _EventJs implements BeforeLoadEvent native "*BeforeLoadEvent" { |
- |
- final String url; |
-} |
- |
-class _BiquadFilterNodeJs extends _AudioNodeJs 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 _AudioParamJs Q; |
- |
- final _AudioParamJs frequency; |
- |
- final _AudioParamJs gain; |
- |
- int type; |
- |
- void getFrequencyResponse(_Float32ArrayJs frequencyHz, _Float32ArrayJs magResponse, _Float32ArrayJs phaseResponse) native; |
-} |
- |
-class _BlobJs extends _DOMTypeJs implements Blob native "*Blob" { |
- |
- final int size; |
- |
- final String type; |
- |
- _BlobJs slice([int start, int end, String contentType]) native; |
- |
- _BlobJs webkitSlice([int start, int end, String contentType]) native; |
-} |
- |
-class _CDATASectionJs extends _TextJs implements CDATASection native "*CDATASection" { |
-} |
- |
-class _CSSCharsetRuleJs extends _CSSRuleJs implements CSSCharsetRule native "*CSSCharsetRule" { |
- |
- String encoding; |
-} |
- |
-class _CSSFontFaceRuleJs extends _CSSRuleJs implements CSSFontFaceRule native "*CSSFontFaceRule" { |
- |
- final _CSSStyleDeclarationJs style; |
-} |
- |
-class _CSSImportRuleJs extends _CSSRuleJs implements CSSImportRule native "*CSSImportRule" { |
- |
- final String href; |
- |
- final _MediaListJs media; |
- |
- final _CSSStyleSheetJs styleSheet; |
-} |
- |
-class _CSSMediaRuleJs extends _CSSRuleJs implements CSSMediaRule native "*CSSMediaRule" { |
- |
- final _CSSRuleListJs cssRules; |
- |
- final _MediaListJs media; |
- |
- void deleteRule(int index) native; |
- |
- int insertRule(String rule, int index) native; |
-} |
- |
-class _CSSPageRuleJs extends _CSSRuleJs implements CSSPageRule native "*CSSPageRule" { |
- |
- String selectorText; |
- |
- final _CSSStyleDeclarationJs style; |
-} |
- |
-class _CSSPrimitiveValueJs extends _CSSValueJs 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; |
- |
- _CounterJs getCounterValue() native; |
- |
- num getFloatValue(int unitType) native; |
- |
- _RGBColorJs getRGBColorValue() native; |
- |
- _RectJs getRectValue() native; |
- |
- String getStringValue() native; |
- |
- void setFloatValue(int unitType, num floatValue) native; |
- |
- void setStringValue(int stringType, String stringValue) native; |
-} |
- |
-class _CSSRuleJs extends _DOMTypeJs 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 _CSSRuleJs parentRule; |
- |
- final _CSSStyleSheetJs parentStyleSheet; |
- |
- final int type; |
-} |
- |
-class _CSSRuleListJs extends _DOMTypeJs implements CSSRuleList native "*CSSRuleList" { |
- |
- final int length; |
- |
- _CSSRuleJs item(int index) native; |
-} |
- |
-class _CSSStyleDeclarationJs extends _DOMTypeJs implements CSSStyleDeclaration native "*CSSStyleDeclaration" { |
- |
- String cssText; |
- |
- final int length; |
- |
- final _CSSRuleJs parentRule; |
- |
- _CSSValueJs getPropertyCSSValue(String propertyName) native; |
- |
- String getPropertyPriority(String propertyName) native; |
- |
- String getPropertyShorthand(String propertyName) native; |
- |
- String getPropertyValue(String propertyName) native; |
- |
- bool isPropertyImplicit(String propertyName) native; |
- |
- String item(int index) native; |
- |
- String removeProperty(String propertyName) native; |
- |
- void setProperty(String propertyName, String value, [String priority]) native; |
-} |
- |
-class _CSSStyleRuleJs extends _CSSRuleJs implements CSSStyleRule native "*CSSStyleRule" { |
- |
- String selectorText; |
- |
- final _CSSStyleDeclarationJs style; |
-} |
- |
-class _CSSStyleSheetJs extends _StyleSheetJs implements CSSStyleSheet native "*CSSStyleSheet" { |
- |
- final _CSSRuleListJs cssRules; |
- |
- final _CSSRuleJs ownerRule; |
- |
- final _CSSRuleListJs rules; |
- |
- int addRule(String selector, String style, [int index]) native; |
- |
- void deleteRule(int index) native; |
- |
- int insertRule(String rule, int index) native; |
- |
- void removeRule(int index) native; |
-} |
- |
-class _CSSUnknownRuleJs extends _CSSRuleJs implements CSSUnknownRule native "*CSSUnknownRule" { |
-} |
- |
-class _CSSValueJs extends _DOMTypeJs 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; |
-} |
- |
-class _CSSValueListJs extends _CSSValueJs implements CSSValueList native "*CSSValueList" { |
- |
- final int length; |
- |
- _CSSValueJs item(int index) native; |
-} |
- |
-class _CanvasGradientJs extends _DOMTypeJs implements CanvasGradient native "*CanvasGradient" { |
- |
- void addColorStop(num offset, String color) native; |
-} |
- |
-class _CanvasPatternJs extends _DOMTypeJs implements CanvasPattern native "*CanvasPattern" { |
-} |
- |
-class _CanvasRenderingContextJs extends _DOMTypeJs implements CanvasRenderingContext native "*CanvasRenderingContext" { |
- |
- final _HTMLCanvasElementJs canvas; |
-} |
- |
-class _CanvasRenderingContext2DJs extends _CanvasRenderingContextJs implements CanvasRenderingContext2D native "*CanvasRenderingContext2D" { |
- |
- var fillStyle; |
- |
- String font; |
- |
- num globalAlpha; |
- |
- String globalCompositeOperation; |
- |
- String lineCap; |
- |
- String lineJoin; |
- |
- num lineWidth; |
- |
- num miterLimit; |
- |
- num shadowBlur; |
- |
- String shadowColor; |
- |
- num shadowOffsetX; |
- |
- num shadowOffsetY; |
- |
- var strokeStyle; |
- |
- String textAlign; |
- |
- String textBaseline; |
- |
- final num webkitBackingStorePixelRatio; |
- |
- bool webkitImageSmoothingEnabled; |
- |
- List webkitLineDash; |
- |
- num webkitLineDashOffset; |
- |
- void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticlockwise) native; |
- |
- void arcTo(num x1, num y1, num x2, num y2, num radius) native; |
- |
- void beginPath() native; |
- |
- void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) native; |
- |
- void clearRect(num x, num y, num width, num height) native; |
- |
- void clearShadow() native; |
- |
- void clip() native; |
- |
- void closePath() native; |
- |
- _ImageDataJs createImageData(imagedata_OR_sw, [num sh]) native; |
- |
- _CanvasGradientJs createLinearGradient(num x0, num y0, num x1, num y1) native; |
- |
- _CanvasPatternJs createPattern(canvas_OR_image, String repetitionType) native; |
- |
- _CanvasGradientJs createRadialGradient(num x0, num y0, num r0, num x1, num y1, num r1) native; |
- |
- void drawImage(canvas_OR_image_OR_video, num sx_OR_x, num sy_OR_y, [num sw_OR_width, num height_OR_sh, num dx, num dy, num dw, num dh]) native; |
- |
- void drawImageFromRect(_HTMLImageElementJs image, [num sx, num sy, num sw, num sh, num dx, num dy, num dw, num dh, String compositeOperation]) native; |
- |
- void fill() native; |
- |
- void fillRect(num x, num y, num width, num height) native; |
- |
- void fillText(String text, num x, num y, [num maxWidth]) native; |
- |
- _ImageDataJs getImageData(num sx, num sy, num sw, num sh) native; |
- |
- bool isPointInPath(num x, num y) native; |
- |
- void lineTo(num x, num y) native; |
- |
- _TextMetricsJs measureText(String text) native; |
- |
- void moveTo(num x, num y) native; |
- |
- void putImageData(_ImageDataJs imagedata, num dx, num dy, [num dirtyX, num dirtyY, num dirtyWidth, num dirtyHeight]) native; |
- |
- void quadraticCurveTo(num cpx, num cpy, num x, num y) native; |
- |
- void rect(num x, num y, num width, num height) native; |
- |
- void restore() native; |
- |
- void rotate(num angle) native; |
- |
- void save() native; |
- |
- void scale(num sx, num sy) native; |
- |
- void setAlpha(num alpha) native; |
- |
- void setCompositeOperation(String compositeOperation) native; |
- |
- void setFillColor(c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]) native; |
- |
- void setLineCap(String cap) native; |
- |
- void setLineJoin(String join) native; |
- |
- void setLineWidth(num width) native; |
- |
- void setMiterLimit(num limit) native; |
- |
- void setShadow(num width, num height, num blur, [c_OR_color_OR_grayLevel_OR_r, num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]) native; |
- |
- void setStrokeColor(c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]) native; |
- |
- void setTransform(num m11, num m12, num m21, num m22, num dx, num dy) native; |
- |
- void stroke() native; |
- |
- void strokeRect(num x, num y, num width, num height, [num lineWidth]) native; |
- |
- void strokeText(String text, num x, num y, [num maxWidth]) native; |
- |
- void transform(num m11, num m12, num m21, num m22, num dx, num dy) native; |
- |
- void translate(num tx, num ty) native; |
- |
- _ImageDataJs webkitGetImageDataHD(num sx, num sy, num sw, num sh) native; |
- |
- void webkitPutImageDataHD(_ImageDataJs imagedata, num dx, num dy, [num dirtyX, num dirtyY, num dirtyWidth, num dirtyHeight]) native; |
-} |
- |
-class _CharacterDataJs extends _NodeJs implements CharacterData native "*CharacterData" { |
- |
- String data; |
- |
- final int length; |
- |
- void appendData(String data) native; |
- |
- void deleteData(int offset, int length) native; |
- |
- void insertData(int offset, String data) native; |
- |
- void replaceData(int offset, int length, String data) native; |
- |
- String substringData(int offset, int length) native; |
-} |
- |
-class _ClientRectJs extends _DOMTypeJs implements ClientRect native "*ClientRect" { |
- |
- final num bottom; |
- |
- final num height; |
- |
- final num left; |
- |
- final num right; |
- |
- final num top; |
- |
- final num width; |
-} |
- |
-class _ClientRectListJs extends _DOMTypeJs implements ClientRectList native "*ClientRectList" { |
- |
- final int length; |
- |
- _ClientRectJs item(int index) native; |
-} |
- |
-class _ClipboardJs extends _DOMTypeJs implements Clipboard native "*Clipboard" { |
- |
- String dropEffect; |
- |
- String effectAllowed; |
- |
- final _FileListJs files; |
- |
- final _DataTransferItemListJs items; |
- |
- final List types; |
- |
- void clearData([String type]) native; |
- |
- String getData(String type) native; |
- |
- bool setData(String type, String data) native; |
- |
- void setDragImage(_HTMLImageElementJs image, int x, int y) native; |
-} |
- |
-class _CloseEventJs extends _EventJs implements CloseEvent native "*CloseEvent" { |
- |
- final int code; |
- |
- final String reason; |
- |
- final bool wasClean; |
-} |
- |
-class _CommentJs extends _CharacterDataJs implements Comment native "*Comment" { |
-} |
- |
-class _CompositionEventJs extends _UIEventJs implements CompositionEvent native "*CompositionEvent" { |
- |
- final String data; |
- |
- void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableArg, _DOMWindowJs viewArg, String dataArg) 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. |
- |
-class _ConsoleJs |
- // Implement DOMType directly. Console is sometimes a singleton |
- // bag-of-properties without a prototype, so it can't inherit from |
- // DOMTypeJs. |
- implements Console, DOMType |
- native "=(typeof console == 'undefined' ? {} : console)" { |
- |
- final _MemoryInfoJs memory; |
- |
- final List<ScriptProfile> profiles; |
- |
- void assertCondition(bool condition, Object arg) native; |
- |
- void count(Object arg) native; |
- |
- void debug(Object arg) native; |
- |
- void dir(Object arg) native; |
- |
- void dirxml(Object arg) native; |
- |
- void error(Object arg) native; |
- |
- void group(Object arg) native; |
- |
- void groupCollapsed(Object arg) native; |
- |
- void groupEnd() native; |
- |
- void info(Object arg) native; |
- |
- void log(Object arg) native; |
- |
- void markTimeline(Object arg) native; |
- |
- void profile(String title) native; |
- |
- void profileEnd(String title) native; |
- |
- void time(String title) native; |
- |
- void timeEnd(String title, Object arg) native; |
- |
- void timeStamp(Object arg) native; |
- |
- void trace(Object arg) native; |
- |
- void warn(Object arg) native; |
- |
- |
- // Keep these in sync with dart2js_DOMTypeJs.dart. |
- var dartObjectLocalStorage; |
- String get typeName() native; |
-} |
- |
-class _ConvolverNodeJs extends _AudioNodeJs implements ConvolverNode native "*ConvolverNode" { |
- |
- _AudioBufferJs buffer; |
- |
- bool normalize; |
-} |
- |
-class _CoordinatesJs extends _DOMTypeJs implements Coordinates native "*Coordinates" { |
- |
- final num accuracy; |
- |
- final num altitude; |
- |
- final num altitudeAccuracy; |
- |
- final num heading; |
- |
- final num latitude; |
- |
- final num longitude; |
- |
- final num speed; |
-} |
- |
-class _CounterJs extends _DOMTypeJs implements Counter native "*Counter" { |
- |
- final String identifier; |
- |
- final String listStyle; |
- |
- final String separator; |
-} |
- |
-class _CryptoJs extends _DOMTypeJs implements Crypto native "*Crypto" { |
- |
- void getRandomValues(_ArrayBufferViewJs array) native; |
-} |
- |
-class _CustomEventJs extends _EventJs implements CustomEvent native "*CustomEvent" { |
- |
- final Object detail; |
- |
- void initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Object detailArg) native; |
-} |
- |
-class _DOMApplicationCacheJs extends _EventTargetJs implements DOMApplicationCache native "*DOMApplicationCache" { |
- |
- 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; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs evt) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- void swapCache() native; |
- |
- void update() native; |
-} |
- |
-class _DOMErrorJs extends _DOMTypeJs implements DOMError native "*DOMError" { |
- |
- final String name; |
-} |
- |
-class _DOMExceptionJs extends _DOMTypeJs 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; |
- |
- final String name; |
- |
- String toString() native; |
-} |
- |
-class _DOMFileSystemJs extends _DOMTypeJs implements DOMFileSystem native "*DOMFileSystem" { |
- |
- final String name; |
- |
- final _DirectoryEntryJs root; |
-} |
- |
-class _DOMFileSystemSyncJs extends _DOMTypeJs implements DOMFileSystemSync native "*DOMFileSystemSync" { |
- |
- final String name; |
- |
- final _DirectoryEntrySyncJs root; |
-} |
- |
-class _DOMFormDataJs extends _DOMTypeJs implements DOMFormData native "*DOMFormData" { |
- |
- void append(String name, String value, String filename) native; |
-} |
- |
-class _DOMImplementationJs extends _DOMTypeJs implements DOMImplementation native "*DOMImplementation" { |
- |
- _CSSStyleSheetJs createCSSStyleSheet(String title, String media) native; |
- |
- _DocumentJs createDocument(String namespaceURI, String qualifiedName, _DocumentTypeJs doctype) native; |
- |
- _DocumentTypeJs createDocumentType(String qualifiedName, String publicId, String systemId) native; |
- |
- _HTMLDocumentJs createHTMLDocument(String title) native; |
- |
- bool hasFeature(String feature, String version) native; |
-} |
- |
-class _DOMMimeTypeJs extends _DOMTypeJs implements DOMMimeType native "*DOMMimeType" { |
- |
- final String description; |
- |
- final _DOMPluginJs enabledPlugin; |
- |
- final String suffixes; |
- |
- final String type; |
-} |
- |
-class _DOMMimeTypeArrayJs extends _DOMTypeJs implements DOMMimeTypeArray native "*DOMMimeTypeArray" { |
- |
- final int length; |
- |
- _DOMMimeTypeJs item(int index) native; |
- |
- _DOMMimeTypeJs namedItem(String name) native; |
-} |
- |
-class _DOMParserJs extends _DOMTypeJs implements DOMParser native "*DOMParser" { |
- |
- _DocumentJs parseFromString(String str, String contentType) native; |
-} |
- |
-class _DOMPluginJs extends _DOMTypeJs implements DOMPlugin native "*DOMPlugin" { |
- |
- final String description; |
- |
- final String filename; |
- |
- final int length; |
- |
- final String name; |
- |
- _DOMMimeTypeJs item(int index) native; |
- |
- _DOMMimeTypeJs namedItem(String name) native; |
-} |
- |
-class _DOMPluginArrayJs extends _DOMTypeJs implements DOMPluginArray native "*DOMPluginArray" { |
- |
- final int length; |
- |
- _DOMPluginJs item(int index) native; |
- |
- _DOMPluginJs namedItem(String name) native; |
- |
- void refresh(bool reload) native; |
-} |
- |
-class _DOMSelectionJs extends _DOMTypeJs implements DOMSelection native "*DOMSelection" { |
- |
- final _NodeJs anchorNode; |
- |
- final int anchorOffset; |
- |
- final _NodeJs baseNode; |
- |
- final int baseOffset; |
- |
- final _NodeJs extentNode; |
- |
- final int extentOffset; |
- |
- final _NodeJs focusNode; |
- |
- final int focusOffset; |
- |
- final bool isCollapsed; |
- |
- final int rangeCount; |
- |
- final String type; |
- |
- void addRange(_RangeJs range) native; |
- |
- void collapse(_NodeJs node, int index) native; |
- |
- void collapseToEnd() native; |
- |
- void collapseToStart() native; |
- |
- bool containsNode(_NodeJs node, bool allowPartial) native; |
- |
- void deleteFromDocument() native; |
- |
- void empty() native; |
- |
- void extend(_NodeJs node, int offset) native; |
- |
- _RangeJs getRangeAt(int index) native; |
- |
- void modify(String alter, String direction, String granularity) native; |
- |
- void removeAllRanges() native; |
- |
- void selectAllChildren(_NodeJs node) native; |
- |
- void setBaseAndExtent(_NodeJs baseNode, int baseOffset, _NodeJs extentNode, int extentOffset) native; |
- |
- void setPosition(_NodeJs node, int offset) native; |
- |
- String toString() native; |
-} |
- |
-class _DOMSettableTokenListJs extends _DOMTokenListJs implements DOMSettableTokenList native "*DOMSettableTokenList" { |
- |
- String value; |
-} |
- |
-class _DOMStringListJs extends _DOMTypeJs implements DOMStringList native "*DOMStringList" { |
- |
- final int length; |
- |
- String operator[](int index) native "return this[index];"; |
- |
- void operator[]=(int index, String value) { |
- throw new UnsupportedOperationException("Cannot assign element of immutable List."); |
- } |
- // -- start List<String> mixins. |
- // String is the element type. |
- |
- // From Iterable<String>: |
- |
- Iterator<String> 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<String>(this); |
- } |
- |
- // From Collection<String>: |
- |
- void add(String value) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void addLast(String value) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void addAll(Collection<String> collection) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void forEach(void f(String element)) => _Collections.forEach(this, f); |
- |
- Collection map(f(String element)) => _Collections.map(this, [], f); |
- |
- Collection<String> filter(bool f(String element)) => |
- _Collections.filter(this, <String>[], f); |
- |
- bool every(bool f(String element)) => _Collections.every(this, f); |
- |
- bool some(bool f(String element)) => _Collections.some(this, f); |
- |
- bool isEmpty() => this.length == 0; |
- |
- // From List<String>: |
- |
- void sort(int compare(String a, String b)) { |
- throw const UnsupportedOperationException("Cannot sort immutable List."); |
- } |
- |
- int indexOf(String element, [int start = 0]) => |
- _Lists.indexOf(this, element, start, this.length); |
- |
- int lastIndexOf(String element, [int start]) { |
- if (start === null) start = length - 1; |
- return _Lists.lastIndexOf(this, element, start); |
- } |
- |
- String last() => this[length - 1]; |
- |
- String removeLast() { |
- throw const UnsupportedOperationException("Cannot removeLast on immutable List."); |
- } |
- |
- // FIXME: implement these. |
- void setRange(int start, int rangeLength, List<String> 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, [String initialValue]) { |
- throw const UnsupportedOperationException("Cannot insertRange on immutable List."); |
- } |
- |
- List<String> getRange(int start, int rangeLength) => |
- _Lists.getRange(this, start, rangeLength, <String>[]); |
- |
- // -- end List<String> mixins. |
- |
- bool contains(String string) native; |
- |
- String item(int index) native; |
-} |
- |
-class _DOMTokenListJs extends _DOMTypeJs implements DOMTokenList native "*DOMTokenList" { |
- |
- final int length; |
- |
- void add(String token) native; |
- |
- bool contains(String token) native; |
- |
- String item(int index) native; |
- |
- void remove(String token) native; |
- |
- String toString() native; |
- |
- bool toggle(String token) native; |
-} |
- |
-class _DOMURLJs extends _DOMTypeJs implements DOMURL native "*DOMURL" { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _DOMWindowJs extends _EventTargetJs implements DOMWindow native "@*DOMWindow" { |
- |
- Window get _top() native "return this.top;"; |
- |
- // Override top to return secure wrapper. |
- Window get top() => _DOMWindowCrossFrameImpl._createSafe(_top); |
- |
- int requestAnimationFrame(RequestAnimationFrameCallback callback) native ''' |
- if (!window.requestAnimationFrame) { |
- window.requestAnimationFrame = |
- window.webkitRequestAnimationFrame || |
- window.mozRequestAnimationFrame || |
- window.msRequestAnimationFrame || |
- window.oRequestAnimationFrame || |
- function (callback) { |
- window.setTimeout(callback, 16 /* 16ms ~= 60fps */); |
- }; |
- } |
- return window.requestAnimationFrame(callback); |
-'''; |
- |
- // Protect member 'requestAnimationFrame'. |
- _requestAnimationFrame() native 'requestAnimationFrame'; |
- |
- |
- static const int PERSISTENT = 1; |
- |
- static const int TEMPORARY = 0; |
- |
- final _DOMApplicationCacheJs applicationCache; |
- |
- final _NavigatorJs clientInformation; |
- |
- final bool closed; |
- |
- final _ConsoleJs console; |
- |
- final _CryptoJs crypto; |
- |
- String defaultStatus; |
- |
- String defaultstatus; |
- |
- final num devicePixelRatio; |
- |
- final _DocumentJs document; |
- |
- final _EventJs event; |
- |
- final _DOMWindowJs frames; |
- |
- final _HistoryJs history; |
- |
- final int innerHeight; |
- |
- final int innerWidth; |
- |
- final int length; |
- |
- final _StorageJs localStorage; |
- |
- _LocationJs location; |
- |
- final _BarInfoJs locationbar; |
- |
- final _BarInfoJs menubar; |
- |
- String name; |
- |
- final _NavigatorJs navigator; |
- |
- final bool offscreenBuffering; |
- |
- final _DOMWindowJs opener; |
- |
- final int outerHeight; |
- |
- final int outerWidth; |
- |
- final _PagePopupControllerJs pagePopupController; |
- |
- final int pageXOffset; |
- |
- final int pageYOffset; |
- |
- final _DOMWindowJs parent; |
- |
- final _PerformanceJs performance; |
- |
- final _BarInfoJs personalbar; |
- |
- final _ScreenJs screen; |
- |
- final int screenLeft; |
- |
- final int screenTop; |
- |
- final int screenX; |
- |
- final int screenY; |
- |
- final int scrollX; |
- |
- final int scrollY; |
- |
- final _BarInfoJs scrollbars; |
- |
- final _DOMWindowJs self; |
- |
- final _StorageJs sessionStorage; |
- |
- String status; |
- |
- final _BarInfoJs statusbar; |
- |
- final _StyleMediaJs styleMedia; |
- |
- final _BarInfoJs toolbar; |
- |
- final _IDBFactoryJs webkitIndexedDB; |
- |
- final _NotificationCenterJs webkitNotifications; |
- |
- final _StorageInfoJs webkitStorageInfo; |
- |
- final _DOMWindowJs window; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- void alert(String message) native; |
- |
- String atob(String string) native; |
- |
- void blur() native; |
- |
- String btoa(String string) native; |
- |
- void captureEvents() native; |
- |
- void clearInterval(int handle) native; |
- |
- void clearTimeout(int handle) native; |
- |
- void close() native; |
- |
- bool confirm(String message) native; |
- |
- bool dispatchEvent(_EventJs evt) native; |
- |
- bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog) native; |
- |
- void focus() native; |
- |
- _CSSStyleDeclarationJs getComputedStyle(_ElementJs element, String pseudoElement) native; |
- |
- _CSSRuleListJs getMatchedCSSRules(_ElementJs element, String pseudoElement) native; |
- |
- _DOMSelectionJs getSelection() native; |
- |
- _MediaQueryListJs matchMedia(String query) native; |
- |
- void moveBy(num x, num y) native; |
- |
- void moveTo(num x, num y) native; |
- |
- _DOMWindowJs open(String url, String name, [String options]) native; |
- |
- _DatabaseJs openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]) native; |
- |
- void postMessage(message, String targetOrigin, [List messagePorts]) native; |
- |
- void print() native; |
- |
- String prompt(String message, String defaultValue) native; |
- |
- void releaseEvents() native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- void resizeBy(num x, num y) native; |
- |
- void resizeTo(num width, num height) native; |
- |
- void scroll(int x, int y) native; |
- |
- void scrollBy(int x, int y) native; |
- |
- void scrollTo(int x, int y) native; |
- |
- int setInterval(TimeoutHandler handler, int timeout) native; |
- |
- int setTimeout(TimeoutHandler handler, int timeout) native; |
- |
- Object showModalDialog(String url, [Object dialogArgs, String featureArgs]) native; |
- |
- void stop() native; |
- |
- void webkitCancelAnimationFrame(int id) native; |
- |
- void webkitCancelRequestAnimationFrame(int id) native; |
- |
- _WebKitPointJs webkitConvertPointFromNodeToPage(_NodeJs node, _WebKitPointJs p) native; |
- |
- _WebKitPointJs webkitConvertPointFromPageToNode(_NodeJs node, _WebKitPointJs p) native; |
- |
- void webkitPostMessage(message, String targetOrigin, [List transferList]) native; |
- |
- int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback) native; |
- |
- void webkitRequestFileSystem(int type, int size, FileSystemCallback successCallback, [ErrorCallback errorCallback]) native; |
- |
- void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallback, ErrorCallback errorCallback]) native; |
- |
-} |
- |
-class _DataTransferItemJs extends _DOMTypeJs implements DataTransferItem native "*DataTransferItem" { |
- |
- final String kind; |
- |
- final String type; |
- |
- _BlobJs getAsFile() native; |
- |
- void getAsString([StringCallback callback]) native; |
- |
- _EntryJs webkitGetAsEntry() native; |
-} |
- |
-class _DataTransferItemListJs extends _DOMTypeJs implements DataTransferItemList native "*DataTransferItemList" { |
- |
- final int length; |
- |
- void add(data_OR_file, [String type]) native; |
- |
- void clear() native; |
- |
- _DataTransferItemJs item(int index) native; |
-} |
- |
-class _DataViewJs extends _ArrayBufferViewJs implements DataView native "*DataView" { |
- |
- num getFloat32(int byteOffset, [bool littleEndian]) native; |
- |
- num getFloat64(int byteOffset, [bool littleEndian]) native; |
- |
- int getInt16(int byteOffset, [bool littleEndian]) native; |
- |
- int getInt32(int byteOffset, [bool littleEndian]) native; |
- |
- int getInt8(int byteOffset) native; |
- |
- int getUint16(int byteOffset, [bool littleEndian]) native; |
- |
- int getUint32(int byteOffset, [bool littleEndian]) native; |
- |
- int getUint8(int byteOffset) native; |
- |
- void setFloat32(int byteOffset, num value, [bool littleEndian]) native; |
- |
- void setFloat64(int byteOffset, num value, [bool littleEndian]) native; |
- |
- void setInt16(int byteOffset, int value, [bool littleEndian]) native; |
- |
- void setInt32(int byteOffset, int value, [bool littleEndian]) native; |
- |
- void setInt8(int byteOffset, int value) native; |
- |
- void setUint16(int byteOffset, int value, [bool littleEndian]) native; |
- |
- void setUint32(int byteOffset, int value, [bool littleEndian]) native; |
- |
- void setUint8(int byteOffset, int value) native; |
-} |
- |
-class _DatabaseJs extends _DOMTypeJs implements Database native "*Database" { |
- |
- final String version; |
- |
- void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallback callback, SQLTransactionErrorCallback errorCallback, VoidCallback successCallback]) native; |
- |
- void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback, VoidCallback successCallback]) native; |
- |
- void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback, VoidCallback successCallback]) native; |
-} |
- |
-class _DatabaseSyncJs extends _DOMTypeJs implements DatabaseSync native "*DatabaseSync" { |
- |
- final String lastErrorMessage; |
- |
- final String version; |
- |
- void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCallback callback]) native; |
- |
- void readTransaction(SQLTransactionSyncCallback callback) native; |
- |
- void transaction(SQLTransactionSyncCallback callback) native; |
-} |
- |
-class _DedicatedWorkerContextJs extends _WorkerContextJs implements DedicatedWorkerContext native "*DedicatedWorkerContext" { |
- |
- void postMessage(Object message, [List messagePorts]) native; |
- |
- void webkitPostMessage(Object message, [List transferList]) native; |
-} |
- |
-class _DelayNodeJs extends _AudioNodeJs implements DelayNode native "*DelayNode" { |
- |
- final _AudioParamJs delayTime; |
-} |
- |
-class _DeviceMotionEventJs extends _EventJs implements DeviceMotionEvent native "*DeviceMotionEvent" { |
- |
- final num interval; |
-} |
- |
-class _DeviceOrientationEventJs extends _EventJs implements DeviceOrientationEvent native "*DeviceOrientationEvent" { |
- |
- final bool absolute; |
- |
- final num alpha; |
- |
- final num beta; |
- |
- final num gamma; |
- |
- void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, num alpha, num beta, num gamma, bool absolute) native; |
-} |
- |
-class _DirectoryEntryJs extends _EntryJs implements DirectoryEntry native "*DirectoryEntry" { |
- |
- _DirectoryReaderJs createReader() native; |
- |
- void getDirectory(String path, [Map options, EntryCallback successCallback, ErrorCallback errorCallback]) native; |
- |
- void getFile(String path, [Map options, EntryCallback successCallback, ErrorCallback errorCallback]) native; |
- |
- void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallback]) native; |
-} |
- |
-class _DirectoryEntrySyncJs extends _EntrySyncJs implements DirectoryEntrySync native "*DirectoryEntrySync" { |
- |
- _DirectoryReaderSyncJs createReader() native; |
- |
- _DirectoryEntrySyncJs getDirectory(String path, Map flags) native; |
- |
- _FileEntrySyncJs getFile(String path, Map flags) native; |
- |
- void removeRecursively() native; |
-} |
- |
-class _DirectoryReaderJs extends _DOMTypeJs implements DirectoryReader native "*DirectoryReader" { |
- |
- void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback]) native; |
-} |
- |
-class _DirectoryReaderSyncJs extends _DOMTypeJs implements DirectoryReaderSync native "*DirectoryReaderSync" { |
- |
- _EntryArraySyncJs readEntries() native; |
-} |
- |
-class _DocumentJs extends _NodeJs implements Document native "*Document" { |
- |
- final String URL; |
- |
- final _HTMLCollectionJs anchors; |
- |
- final _HTMLCollectionJs applets; |
- |
- _HTMLElementJs body; |
- |
- final String characterSet; |
- |
- String charset; |
- |
- final String compatMode; |
- |
- String cookie; |
- |
- final String defaultCharset; |
- |
- final _DOMWindowJs defaultView; |
- |
- final _DocumentTypeJs doctype; |
- |
- final _ElementJs documentElement; |
- |
- final String documentURI; |
- |
- String domain; |
- |
- final _HTMLCollectionJs forms; |
- |
- final _HTMLHeadElementJs head; |
- |
- final _HTMLCollectionJs images; |
- |
- final _DOMImplementationJs implementation; |
- |
- final String inputEncoding; |
- |
- final String lastModified; |
- |
- final _HTMLCollectionJs links; |
- |
- _LocationJs location; |
- |
- final String preferredStylesheetSet; |
- |
- final String readyState; |
- |
- final String referrer; |
- |
- String selectedStylesheetSet; |
- |
- final _StyleSheetListJs styleSheets; |
- |
- String title; |
- |
- final _ElementJs webkitCurrentFullScreenElement; |
- |
- final bool webkitFullScreenKeyboardInputAllowed; |
- |
- final _ElementJs webkitFullscreenElement; |
- |
- final bool webkitFullscreenEnabled; |
- |
- final bool webkitHidden; |
- |
- final bool webkitIsFullScreen; |
- |
- final _ElementJs webkitPointerLockElement; |
- |
- final String webkitVisibilityState; |
- |
- final String xmlEncoding; |
- |
- bool xmlStandalone; |
- |
- String xmlVersion; |
- |
- _NodeJs adoptNode(_NodeJs source) native; |
- |
- _RangeJs caretRangeFromPoint(int x, int y) native; |
- |
- _AttrJs createAttribute(String name) native; |
- |
- _AttrJs createAttributeNS(String namespaceURI, String qualifiedName) native; |
- |
- _CDATASectionJs createCDATASection(String data) native; |
- |
- _CommentJs createComment(String data) native; |
- |
- _DocumentFragmentJs createDocumentFragment() native; |
- |
- _ElementJs createElement(String tagName) native; |
- |
- _ElementJs createElementNS(String namespaceURI, String qualifiedName) native; |
- |
- _EntityReferenceJs createEntityReference(String name) native; |
- |
- _EventJs createEvent(String eventType) native; |
- |
- _XPathExpressionJs createExpression(String expression, _XPathNSResolverJs resolver) native; |
- |
- _XPathNSResolverJs createNSResolver(_NodeJs nodeResolver) native; |
- |
- _NodeIteratorJs createNodeIterator(_NodeJs root, int whatToShow, _NodeFilterJs filter, bool expandEntityReferences) native; |
- |
- _ProcessingInstructionJs createProcessingInstruction(String target, String data) native; |
- |
- _RangeJs createRange() native; |
- |
- _TextJs createTextNode(String data) native; |
- |
- _TouchJs createTouch(_DOMWindowJs window, _EventTargetJs target, int identifier, int pageX, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY, num webkitRotationAngle, num webkitForce) native; |
- |
- _TouchListJs createTouchList() native; |
- |
- _TreeWalkerJs createTreeWalker(_NodeJs root, int whatToShow, _NodeFilterJs filter, bool expandEntityReferences) native; |
- |
- _ElementJs elementFromPoint(int x, int y) native; |
- |
- _XPathResultJs evaluate(String expression, _NodeJs contextNode, _XPathNSResolverJs resolver, int type, _XPathResultJs inResult) native; |
- |
- bool execCommand(String command, bool userInterface, String value) native; |
- |
- _CanvasRenderingContextJs getCSSCanvasContext(String contextId, String name, int width, int height) native; |
- |
- _ElementJs getElementById(String elementId) native; |
- |
- _NodeListJs getElementsByClassName(String tagname) native; |
- |
- _NodeListJs getElementsByName(String elementName) native; |
- |
- _NodeListJs getElementsByTagName(String tagname) native; |
- |
- _NodeListJs getElementsByTagNameNS(String namespaceURI, String localName) native; |
- |
- _CSSStyleDeclarationJs getOverrideStyle(_ElementJs element, String pseudoElement) native; |
- |
- _DOMSelectionJs getSelection() native; |
- |
- _NodeJs importNode(_NodeJs importedNode, [bool deep]) native; |
- |
- bool queryCommandEnabled(String command) native; |
- |
- bool queryCommandIndeterm(String command) native; |
- |
- bool queryCommandState(String command) native; |
- |
- bool queryCommandSupported(String command) native; |
- |
- String queryCommandValue(String command) native; |
- |
- _ElementJs querySelector(String selectors) native; |
- |
- _NodeListJs querySelectorAll(String selectors) native; |
- |
- void webkitCancelFullScreen() native; |
- |
- void webkitExitFullscreen() native; |
- |
- void webkitExitPointerLock() native; |
-} |
- |
-class _DocumentFragmentJs extends _NodeJs implements DocumentFragment native "*DocumentFragment" { |
- |
- _ElementJs querySelector(String selectors) native; |
- |
- _NodeListJs querySelectorAll(String selectors) native; |
-} |
- |
-class _DocumentTypeJs extends _NodeJs implements DocumentType native "*DocumentType" { |
- |
- final _NamedNodeMapJs entities; |
- |
- final String internalSubset; |
- |
- final String name; |
- |
- final _NamedNodeMapJs notations; |
- |
- final String publicId; |
- |
- final String systemId; |
-} |
- |
-class _DynamicsCompressorNodeJs extends _AudioNodeJs implements DynamicsCompressorNode native "*DynamicsCompressorNode" { |
- |
- final _AudioParamJs attack; |
- |
- final _AudioParamJs knee; |
- |
- final _AudioParamJs ratio; |
- |
- final _AudioParamJs reduction; |
- |
- final _AudioParamJs release; |
- |
- final _AudioParamJs threshold; |
-} |
- |
-class _EXTTextureFilterAnisotropicJs extends _DOMTypeJs implements EXTTextureFilterAnisotropic native "*EXTTextureFilterAnisotropic" { |
- |
- static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; |
- |
- static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; |
-} |
- |
-class _ElementJs extends _NodeJs implements Element native "*Element" { |
- |
- static const int ALLOW_KEYBOARD_INPUT = 1; |
- |
- final int childElementCount; |
- |
- final _DOMTokenListJs classList; |
- |
- String className; |
- |
- final int clientHeight; |
- |
- final int clientLeft; |
- |
- final int clientTop; |
- |
- final int clientWidth; |
- |
- final Map<String, String> dataset; |
- |
- final _ElementJs firstElementChild; |
- |
- final _ElementJs lastElementChild; |
- |
- final _ElementJs nextElementSibling; |
- |
- final int offsetHeight; |
- |
- final int offsetLeft; |
- |
- final _ElementJs offsetParent; |
- |
- final int offsetTop; |
- |
- final int offsetWidth; |
- |
- final _ElementJs previousElementSibling; |
- |
- final int scrollHeight; |
- |
- int scrollLeft; |
- |
- int scrollTop; |
- |
- final int scrollWidth; |
- |
- final _CSSStyleDeclarationJs style; |
- |
- final String tagName; |
- |
- final String webkitRegionOverset; |
- |
- void blur() native; |
- |
- void focus() native; |
- |
- String getAttribute(String name) native; |
- |
- String getAttributeNS(String namespaceURI, String localName) native; |
- |
- _AttrJs getAttributeNode(String name) native; |
- |
- _AttrJs getAttributeNodeNS(String namespaceURI, String localName) native; |
- |
- _ClientRectJs getBoundingClientRect() native; |
- |
- _ClientRectListJs getClientRects() native; |
- |
- _NodeListJs getElementsByClassName(String name) native; |
- |
- _NodeListJs getElementsByTagName(String name) native; |
- |
- _NodeListJs getElementsByTagNameNS(String namespaceURI, String localName) native; |
- |
- bool hasAttribute(String name) native; |
- |
- bool hasAttributeNS(String namespaceURI, String localName) native; |
- |
- _ElementJs querySelector(String selectors) native; |
- |
- _NodeListJs querySelectorAll(String selectors) native; |
- |
- void removeAttribute(String name) native; |
- |
- void removeAttributeNS(String namespaceURI, String localName) native; |
- |
- _AttrJs removeAttributeNode(_AttrJs oldAttr) native; |
- |
- void scrollByLines(int lines) native; |
- |
- void scrollByPages(int pages) native; |
- |
- void scrollIntoView([bool alignWithTop]) native; |
- |
- void scrollIntoViewIfNeeded([bool centerIfNeeded]) native; |
- |
- void setAttribute(String name, String value) native; |
- |
- void setAttributeNS(String namespaceURI, String qualifiedName, String value) native; |
- |
- _AttrJs setAttributeNode(_AttrJs newAttr) native; |
- |
- _AttrJs setAttributeNodeNS(_AttrJs newAttr) native; |
- |
- bool webkitMatchesSelector(String selectors) native; |
- |
- void webkitRequestFullScreen(int flags) native; |
- |
- void webkitRequestFullscreen() native; |
- |
- void webkitRequestPointerLock() native; |
-} |
- |
-class _EntityJs extends _NodeJs implements Entity native "*Entity" { |
- |
- final String notationName; |
- |
- final String publicId; |
- |
- final String systemId; |
-} |
- |
-class _EntityReferenceJs extends _NodeJs implements EntityReference native "*EntityReference" { |
-} |
- |
-class _EntryJs extends _DOMTypeJs implements Entry native "*Entry" { |
- |
- final _DOMFileSystemJs filesystem; |
- |
- final String fullPath; |
- |
- final bool isDirectory; |
- |
- final bool isFile; |
- |
- final String name; |
- |
- void copyTo(_DirectoryEntryJs parent, [String name, EntryCallback successCallback, ErrorCallback errorCallback]) native; |
- |
- void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallback]) native; |
- |
- void getParent([EntryCallback successCallback, ErrorCallback errorCallback]) native; |
- |
- void moveTo(_DirectoryEntryJs parent, [String name, EntryCallback successCallback, ErrorCallback errorCallback]) native; |
- |
- void remove(VoidCallback successCallback, [ErrorCallback errorCallback]) native; |
- |
- String toURL() native; |
-} |
- |
-class _EntryArrayJs extends _DOMTypeJs implements EntryArray native "*EntryArray" { |
- |
- final int length; |
- |
- _EntryJs item(int index) native; |
-} |
- |
-class _EntryArraySyncJs extends _DOMTypeJs implements EntryArraySync native "*EntryArraySync" { |
- |
- final int length; |
- |
- _EntrySyncJs item(int index) native; |
-} |
- |
-class _EntrySyncJs extends _DOMTypeJs implements EntrySync native "*EntrySync" { |
- |
- final _DOMFileSystemSyncJs filesystem; |
- |
- final String fullPath; |
- |
- final bool isDirectory; |
- |
- final bool isFile; |
- |
- final String name; |
- |
- _EntrySyncJs copyTo(_DirectoryEntrySyncJs parent, String name) native; |
- |
- _MetadataJs getMetadata() native; |
- |
- _EntrySyncJs getParent() native; |
- |
- _EntrySyncJs moveTo(_DirectoryEntrySyncJs parent, String name) native; |
- |
- void remove() native; |
- |
- String toURL() native; |
-} |
- |
-class _ErrorEventJs extends _EventJs implements ErrorEvent native "*ErrorEvent" { |
- |
- final String filename; |
- |
- final int lineno; |
- |
- final String message; |
-} |
- |
-class _EventJs extends _DOMTypeJs 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; |
- |
- final bool cancelable; |
- |
- final _ClipboardJs clipboardData; |
- |
- final _EventTargetJs currentTarget; |
- |
- final bool defaultPrevented; |
- |
- final int eventPhase; |
- |
- bool returnValue; |
- |
- final _EventTargetJs srcElement; |
- |
- final _EventTargetJs target; |
- |
- final int timeStamp; |
- |
- final String type; |
- |
- void initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) native; |
- |
- void preventDefault() native; |
- |
- void stopImmediatePropagation() native; |
- |
- void stopPropagation() native; |
-} |
- |
-class _EventExceptionJs extends _DOMTypeJs 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; |
- |
- final String name; |
- |
- String toString() native; |
-} |
- |
-class _EventSourceJs extends _EventTargetJs implements EventSource native "*EventSource" { |
- |
- static const int CLOSED = 2; |
- |
- static const int CONNECTING = 0; |
- |
- static const int OPEN = 1; |
- |
- final String URL; |
- |
- final int readyState; |
- |
- final String url; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- void close() native; |
- |
- bool dispatchEvent(_EventJs evt) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
-} |
- |
-class _EventTargetJs extends _DOMTypeJs implements EventTarget native "*EventTarget" { |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs event) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
-} |
- |
-class _FileJs extends _BlobJs implements File native "*File" { |
- |
- final Date lastModifiedDate; |
- |
- final String name; |
- |
- final String webkitRelativePath; |
-} |
- |
-class _FileEntryJs extends _EntryJs implements FileEntry native "*FileEntry" { |
- |
- void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCallback]) native; |
- |
- void file(FileCallback successCallback, [ErrorCallback errorCallback]) native; |
-} |
- |
-class _FileEntrySyncJs extends _EntrySyncJs implements FileEntrySync native "*FileEntrySync" { |
- |
- _FileWriterSyncJs createWriter() native; |
- |
- _FileJs file() native; |
-} |
- |
-class _FileErrorJs extends _DOMTypeJs 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; |
-} |
- |
-class _FileExceptionJs extends _DOMTypeJs 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; |
- |
- final String name; |
- |
- String toString() native; |
-} |
- |
-class _FileListJs extends _DOMTypeJs implements FileList native "*FileList" { |
- |
- final int length; |
- |
- _FileJs operator[](int index) native "return this[index];"; |
- |
- void operator[]=(int index, _FileJs value) { |
- throw new UnsupportedOperationException("Cannot assign element of immutable List."); |
- } |
- // -- start List<File> mixins. |
- // File is the element type. |
- |
- // From Iterable<File>: |
- |
- Iterator<File> 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<File>(this); |
- } |
- |
- // From Collection<File>: |
- |
- void add(File value) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void addLast(File value) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void addAll(Collection<File> collection) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void forEach(void f(File element)) => _Collections.forEach(this, f); |
- |
- Collection map(f(File element)) => _Collections.map(this, [], f); |
- |
- Collection<File> filter(bool f(File element)) => |
- _Collections.filter(this, <File>[], f); |
- |
- bool every(bool f(File element)) => _Collections.every(this, f); |
- |
- bool some(bool f(File element)) => _Collections.some(this, f); |
- |
- bool isEmpty() => this.length == 0; |
- |
- // From List<File>: |
- |
- void sort(int compare(File a, File b)) { |
- throw const UnsupportedOperationException("Cannot sort immutable List."); |
- } |
- |
- int indexOf(File element, [int start = 0]) => |
- _Lists.indexOf(this, element, start, this.length); |
- |
- int lastIndexOf(File element, [int start]) { |
- if (start === null) start = length - 1; |
- return _Lists.lastIndexOf(this, element, start); |
- } |
- |
- File last() => this[length - 1]; |
- |
- File removeLast() { |
- throw const UnsupportedOperationException("Cannot removeLast on immutable List."); |
- } |
- |
- // FIXME: implement these. |
- void setRange(int start, int rangeLength, List<File> 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, [File initialValue]) { |
- throw const UnsupportedOperationException("Cannot insertRange on immutable List."); |
- } |
- |
- List<File> getRange(int start, int rangeLength) => |
- _Lists.getRange(this, start, rangeLength, <File>[]); |
- |
- // -- end List<File> mixins. |
- |
- _FileJs item(int index) native; |
-} |
- |
-class _FileReaderJs extends _EventTargetJs implements FileReader native "*FileReader" { |
- |
- static const int DONE = 2; |
- |
- static const int EMPTY = 0; |
- |
- static const int LOADING = 1; |
- |
- final _FileErrorJs error; |
- |
- final int readyState; |
- |
- final Object result; |
- |
- void abort() native; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs evt) native; |
- |
- void readAsArrayBuffer(_BlobJs blob) native; |
- |
- void readAsBinaryString(_BlobJs blob) native; |
- |
- void readAsDataURL(_BlobJs blob) native; |
- |
- void readAsText(_BlobJs blob, [String encoding]) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
-} |
- |
-class _FileReaderSyncJs extends _DOMTypeJs implements FileReaderSync native "*FileReaderSync" { |
- |
- _ArrayBufferJs readAsArrayBuffer(_BlobJs blob) native; |
- |
- String readAsBinaryString(_BlobJs blob) native; |
- |
- String readAsDataURL(_BlobJs blob) native; |
- |
- String readAsText(_BlobJs blob, [String encoding]) native; |
-} |
- |
-class _FileWriterJs extends _EventTargetJs implements FileWriter native "*FileWriter" { |
- |
- static const int DONE = 2; |
- |
- static const int INIT = 0; |
- |
- static const int WRITING = 1; |
- |
- final _FileErrorJs error; |
- |
- final int length; |
- |
- final int position; |
- |
- final int readyState; |
- |
- void abort() native; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs evt) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- void seek(int position) native; |
- |
- void truncate(int size) native; |
- |
- void write(_BlobJs data) native; |
-} |
- |
-class _FileWriterSyncJs extends _DOMTypeJs implements FileWriterSync native "*FileWriterSync" { |
- |
- final int length; |
- |
- final int position; |
- |
- void seek(int position) native; |
- |
- void truncate(int size) native; |
- |
- void write(_BlobJs data) native; |
-} |
- |
-class _Float32ArrayJs extends _ArrayBufferViewJs implements Float32Array, List<num> native "*Float32Array" { |
- |
- static const int BYTES_PER_ELEMENT = 4; |
- |
- final int length; |
- |
- num operator[](int index) native "return this[index];"; |
- |
- void operator[]=(int index, num value) native "this[index] = value"; |
- // -- start List<num> mixins. |
- // num is the element type. |
- |
- // From Iterable<num>: |
- |
- Iterator<num> 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<num>(this); |
- } |
- |
- // From Collection<num>: |
- |
- void add(num value) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void addLast(num value) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void addAll(Collection<num> collection) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void forEach(void f(num element)) => _Collections.forEach(this, f); |
- |
- Collection map(f(num element)) => _Collections.map(this, [], f); |
- |
- Collection<num> filter(bool f(num element)) => |
- _Collections.filter(this, <num>[], f); |
- |
- bool every(bool f(num element)) => _Collections.every(this, f); |
- |
- bool some(bool f(num element)) => _Collections.some(this, f); |
- |
- bool isEmpty() => this.length == 0; |
- |
- // From List<num>: |
- |
- void sort(int compare(num a, num b)) { |
- throw const UnsupportedOperationException("Cannot sort immutable List."); |
- } |
- |
- int indexOf(num element, [int start = 0]) => |
- _Lists.indexOf(this, element, start, this.length); |
- |
- int lastIndexOf(num element, [int start]) { |
- if (start === null) start = length - 1; |
- return _Lists.lastIndexOf(this, element, start); |
- } |
- |
- num last() => this[length - 1]; |
- |
- num removeLast() { |
- throw const UnsupportedOperationException("Cannot removeLast on immutable List."); |
- } |
- |
- // FIXME: implement these. |
- void setRange(int start, int rangeLength, List<num> 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, [num initialValue]) { |
- throw const UnsupportedOperationException("Cannot insertRange on immutable List."); |
- } |
- |
- List<num> getRange(int start, int rangeLength) => |
- _Lists.getRange(this, start, rangeLength, <num>[]); |
- |
- // -- end List<num> mixins. |
- |
- void setElements(Object array, [int offset]) native 'set'; |
- |
- _Float32ArrayJs subarray(int start, [int end]) native; |
-} |
- |
-class _Float64ArrayJs extends _ArrayBufferViewJs implements Float64Array, List<num> native "*Float64Array" { |
- |
- static const int BYTES_PER_ELEMENT = 8; |
- |
- final int length; |
- |
- num operator[](int index) native "return this[index];"; |
- |
- void operator[]=(int index, num value) native "this[index] = value"; |
- // -- start List<num> mixins. |
- // num is the element type. |
- |
- // From Iterable<num>: |
- |
- Iterator<num> 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<num>(this); |
- } |
- |
- // From Collection<num>: |
- |
- void add(num value) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void addLast(num value) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void addAll(Collection<num> collection) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void forEach(void f(num element)) => _Collections.forEach(this, f); |
- |
- Collection map(f(num element)) => _Collections.map(this, [], f); |
- |
- Collection<num> filter(bool f(num element)) => |
- _Collections.filter(this, <num>[], f); |
- |
- bool every(bool f(num element)) => _Collections.every(this, f); |
- |
- bool some(bool f(num element)) => _Collections.some(this, f); |
- |
- bool isEmpty() => this.length == 0; |
- |
- // From List<num>: |
- |
- void sort(int compare(num a, num b)) { |
- throw const UnsupportedOperationException("Cannot sort immutable List."); |
- } |
- |
- int indexOf(num element, [int start = 0]) => |
- _Lists.indexOf(this, element, start, this.length); |
- |
- int lastIndexOf(num element, [int start]) { |
- if (start === null) start = length - 1; |
- return _Lists.lastIndexOf(this, element, start); |
- } |
- |
- num last() => this[length - 1]; |
- |
- num removeLast() { |
- throw const UnsupportedOperationException("Cannot removeLast on immutable List."); |
- } |
- |
- // FIXME: implement these. |
- void setRange(int start, int rangeLength, List<num> 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, [num initialValue]) { |
- throw const UnsupportedOperationException("Cannot insertRange on immutable List."); |
- } |
- |
- List<num> getRange(int start, int rangeLength) => |
- _Lists.getRange(this, start, rangeLength, <num>[]); |
- |
- // -- end List<num> mixins. |
- |
- void setElements(Object array, [int offset]) native 'set'; |
- |
- _Float64ArrayJs subarray(int start, [int end]) native; |
-} |
- |
-class _GamepadJs extends _DOMTypeJs implements Gamepad native "*Gamepad" { |
- |
- final List<num> axes; |
- |
- final List<num> buttons; |
- |
- final String id; |
- |
- final int index; |
- |
- final int timestamp; |
-} |
- |
-class _GamepadListJs extends _DOMTypeJs implements GamepadList native "*GamepadList" { |
- |
- final int length; |
- |
- _GamepadJs item(int index) native; |
-} |
- |
-class _GeolocationJs extends _DOMTypeJs implements Geolocation native "*Geolocation" { |
- |
- void clearWatch(int watchId) native; |
- |
- void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallback errorCallback, Object options]) native; |
- |
- int watchPosition(PositionCallback successCallback, [PositionErrorCallback errorCallback, Object options]) native; |
-} |
- |
-class _GeopositionJs extends _DOMTypeJs implements Geoposition native "*Geoposition" { |
- |
- final _CoordinatesJs coords; |
- |
- final int timestamp; |
-} |
- |
-class _HTMLAllCollectionJs extends _DOMTypeJs implements HTMLAllCollection native "*HTMLAllCollection" { |
- |
- final int length; |
- |
- _NodeJs item(int index) native; |
- |
- _NodeJs namedItem(String name) native; |
- |
- _NodeListJs tags(String name) native; |
-} |
- |
-class _HTMLAnchorElementJs extends _HTMLElementJs implements HTMLAnchorElement native "*HTMLAnchorElement" { |
- |
- String charset; |
- |
- String coords; |
- |
- String download; |
- |
- String hash; |
- |
- String host; |
- |
- String hostname; |
- |
- String href; |
- |
- String hreflang; |
- |
- String name; |
- |
- final String origin; |
- |
- String pathname; |
- |
- String ping; |
- |
- String port; |
- |
- String protocol; |
- |
- String rel; |
- |
- String rev; |
- |
- String search; |
- |
- String shape; |
- |
- String target; |
- |
- final String text; |
- |
- String type; |
- |
- String toString() native; |
-} |
- |
-class _HTMLAppletElementJs extends _HTMLElementJs implements HTMLAppletElement native "*HTMLAppletElement" { |
- |
- String align; |
- |
- String alt; |
- |
- String archive; |
- |
- String code; |
- |
- String codeBase; |
- |
- String height; |
- |
- String hspace; |
- |
- String name; |
- |
- String object; |
- |
- String vspace; |
- |
- String width; |
-} |
- |
-class _HTMLAreaElementJs extends _HTMLElementJs implements HTMLAreaElement native "*HTMLAreaElement" { |
- |
- String alt; |
- |
- String coords; |
- |
- final String hash; |
- |
- final String host; |
- |
- final String hostname; |
- |
- String href; |
- |
- bool noHref; |
- |
- final String pathname; |
- |
- String ping; |
- |
- final String port; |
- |
- final String protocol; |
- |
- final String search; |
- |
- String shape; |
- |
- String target; |
-} |
- |
-class _HTMLAudioElementJs extends _HTMLMediaElementJs implements HTMLAudioElement native "*HTMLAudioElement" { |
-} |
- |
-class _HTMLBRElementJs extends _HTMLElementJs implements HTMLBRElement native "*HTMLBRElement" { |
- |
- String clear; |
-} |
- |
-class _HTMLBaseElementJs extends _HTMLElementJs implements HTMLBaseElement native "*HTMLBaseElement" { |
- |
- String href; |
- |
- String target; |
-} |
- |
-class _HTMLBaseFontElementJs extends _HTMLElementJs implements HTMLBaseFontElement native "*HTMLBaseFontElement" { |
- |
- String color; |
- |
- String face; |
- |
- int size; |
-} |
- |
-class _HTMLBodyElementJs extends _HTMLElementJs implements HTMLBodyElement native "*HTMLBodyElement" { |
- |
- String aLink; |
- |
- String background; |
- |
- String bgColor; |
- |
- String link; |
- |
- String text; |
- |
- String vLink; |
-} |
- |
-class _HTMLButtonElementJs extends _HTMLElementJs implements HTMLButtonElement native "*HTMLButtonElement" { |
- |
- bool autofocus; |
- |
- bool disabled; |
- |
- final _HTMLFormElementJs form; |
- |
- String formAction; |
- |
- String formEnctype; |
- |
- String formMethod; |
- |
- bool formNoValidate; |
- |
- String formTarget; |
- |
- final _NodeListJs labels; |
- |
- String name; |
- |
- String type; |
- |
- final String validationMessage; |
- |
- final _ValidityStateJs validity; |
- |
- String value; |
- |
- final bool willValidate; |
- |
- bool checkValidity() native; |
- |
- void setCustomValidity(String error) native; |
-} |
- |
-class _HTMLCanvasElementJs extends _HTMLElementJs implements HTMLCanvasElement native "*HTMLCanvasElement" { |
- |
- int height; |
- |
- int width; |
- |
- Object getContext(String contextId) native; |
- |
- String toDataURL(String type, [num quality]) native; |
-} |
- |
-class _HTMLCollectionJs extends _DOMTypeJs implements HTMLCollection native "*HTMLCollection" { |
- |
- final int length; |
- |
- _NodeJs operator[](int index) native "return this[index];"; |
- |
- void operator[]=(int index, _NodeJs value) { |
- throw new UnsupportedOperationException("Cannot assign element of immutable List."); |
- } |
- // -- start List<Node> mixins. |
- // Node is the element type. |
- |
- // From Iterable<Node>: |
- |
- Iterator<Node> 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<Node>(this); |
- } |
- |
- // From Collection<Node>: |
- |
- void add(Node value) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void addLast(Node value) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void addAll(Collection<Node> collection) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void forEach(void f(Node element)) => _Collections.forEach(this, f); |
- |
- Collection map(f(Node element)) => _Collections.map(this, [], f); |
- |
- Collection<Node> filter(bool f(Node element)) => |
- _Collections.filter(this, <Node>[], f); |
- |
- bool every(bool f(Node element)) => _Collections.every(this, f); |
- |
- bool some(bool f(Node element)) => _Collections.some(this, f); |
- |
- bool isEmpty() => this.length == 0; |
- |
- // From List<Node>: |
- |
- void sort(int compare(Node a, Node b)) { |
- throw const UnsupportedOperationException("Cannot sort immutable List."); |
- } |
- |
- int indexOf(Node element, [int start = 0]) => |
- _Lists.indexOf(this, element, start, this.length); |
- |
- int lastIndexOf(Node element, [int start]) { |
- if (start === null) start = length - 1; |
- return _Lists.lastIndexOf(this, element, start); |
- } |
- |
- Node last() => this[length - 1]; |
- |
- Node removeLast() { |
- throw const UnsupportedOperationException("Cannot removeLast on immutable List."); |
- } |
- |
- // FIXME: implement these. |
- void setRange(int start, int rangeLength, List<Node> 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, [Node initialValue]) { |
- throw const UnsupportedOperationException("Cannot insertRange on immutable List."); |
- } |
- |
- List<Node> getRange(int start, int rangeLength) => |
- _Lists.getRange(this, start, rangeLength, <Node>[]); |
- |
- // -- end List<Node> mixins. |
- |
- _NodeJs item(int index) native; |
- |
- _NodeJs namedItem(String name) native; |
-} |
- |
-class _HTMLContentElementJs extends _HTMLElementJs implements HTMLContentElement native "*HTMLContentElement" { |
- |
- String select; |
-} |
- |
-class _HTMLDListElementJs extends _HTMLElementJs implements HTMLDListElement native "*HTMLDListElement" { |
- |
- bool compact; |
-} |
- |
-class _HTMLDataListElementJs extends _HTMLElementJs implements HTMLDataListElement native "*HTMLDataListElement" { |
- |
- final _HTMLCollectionJs options; |
-} |
- |
-class _HTMLDetailsElementJs extends _HTMLElementJs implements HTMLDetailsElement native "*HTMLDetailsElement" { |
- |
- bool open; |
-} |
- |
-class _HTMLDirectoryElementJs extends _HTMLElementJs implements HTMLDirectoryElement native "*HTMLDirectoryElement" { |
- |
- bool compact; |
-} |
- |
-class _HTMLDivElementJs extends _HTMLElementJs implements HTMLDivElement native "*HTMLDivElement" { |
- |
- String align; |
-} |
- |
-class _HTMLDocumentJs extends _DocumentJs implements HTMLDocument native "*HTMLDocument" { |
- |
- final _ElementJs activeElement; |
- |
- String alinkColor; |
- |
- _HTMLAllCollectionJs all; |
- |
- String bgColor; |
- |
- // Use implementation from Document. |
- // final String compatMode; |
- |
- String designMode; |
- |
- String dir; |
- |
- final _HTMLCollectionJs embeds; |
- |
- String fgColor; |
- |
- final int height; |
- |
- String linkColor; |
- |
- final _HTMLCollectionJs plugins; |
- |
- final _HTMLCollectionJs scripts; |
- |
- String vlinkColor; |
- |
- final int width; |
- |
- void captureEvents() native; |
- |
- void clear() native; |
- |
- void close() native; |
- |
- bool hasFocus() native; |
- |
- void open() native; |
- |
- void releaseEvents() native; |
- |
- void write(String text) native; |
- |
- void writeln(String text) native; |
-} |
- |
-class _HTMLElementJs extends _ElementJs implements HTMLElement native "*HTMLElement" { |
- |
- String accessKey; |
- |
- final _HTMLCollectionJs children; |
- |
- String contentEditable; |
- |
- String dir; |
- |
- bool draggable; |
- |
- bool hidden; |
- |
- String id; |
- |
- String innerHTML; |
- |
- String innerText; |
- |
- final bool isContentEditable; |
- |
- String lang; |
- |
- String outerHTML; |
- |
- String outerText; |
- |
- bool spellcheck; |
- |
- int tabIndex; |
- |
- String title; |
- |
- bool translate; |
- |
- String webkitdropzone; |
- |
- void click() native; |
- |
- _ElementJs insertAdjacentElement(String where, _ElementJs element) native; |
- |
- void insertAdjacentHTML(String where, String html) native; |
- |
- void insertAdjacentText(String where, String text) native; |
-} |
- |
-class _HTMLEmbedElementJs extends _HTMLElementJs implements HTMLEmbedElement native "*HTMLEmbedElement" { |
- |
- String align; |
- |
- String height; |
- |
- String name; |
- |
- String src; |
- |
- String type; |
- |
- String width; |
- |
- _SVGDocumentJs getSVGDocument() native; |
-} |
- |
-class _HTMLFieldSetElementJs extends _HTMLElementJs implements HTMLFieldSetElement native "*HTMLFieldSetElement" { |
- |
- bool disabled; |
- |
- final _HTMLCollectionJs elements; |
- |
- final _HTMLFormElementJs form; |
- |
- String name; |
- |
- final String type; |
- |
- final String validationMessage; |
- |
- final _ValidityStateJs validity; |
- |
- final bool willValidate; |
- |
- bool checkValidity() native; |
- |
- void setCustomValidity(String error) native; |
-} |
- |
-class _HTMLFontElementJs extends _HTMLElementJs implements HTMLFontElement native "*HTMLFontElement" { |
- |
- String color; |
- |
- String face; |
- |
- String size; |
-} |
- |
-class _HTMLFormElementJs extends _HTMLElementJs implements HTMLFormElement native "*HTMLFormElement" { |
- |
- String acceptCharset; |
- |
- String action; |
- |
- String autocomplete; |
- |
- final _HTMLCollectionJs elements; |
- |
- String encoding; |
- |
- String enctype; |
- |
- final int length; |
- |
- String method; |
- |
- String name; |
- |
- bool noValidate; |
- |
- String target; |
- |
- bool checkValidity() native; |
- |
- void reset() native; |
- |
- void submit() native; |
-} |
- |
-class _HTMLFrameElementJs extends _HTMLElementJs implements HTMLFrameElement native "*HTMLFrameElement" { |
- |
- final _DocumentJs contentDocument; |
- |
- final _DOMWindowJs contentWindow; |
- |
- String frameBorder; |
- |
- final int height; |
- |
- String location; |
- |
- String longDesc; |
- |
- String marginHeight; |
- |
- String marginWidth; |
- |
- String name; |
- |
- bool noResize; |
- |
- String scrolling; |
- |
- String src; |
- |
- final int width; |
- |
- _SVGDocumentJs getSVGDocument() native; |
-} |
- |
-class _HTMLFrameSetElementJs extends _HTMLElementJs implements HTMLFrameSetElement native "*HTMLFrameSetElement" { |
- |
- String cols; |
- |
- String rows; |
-} |
- |
-class _HTMLHRElementJs extends _HTMLElementJs implements HTMLHRElement native "*HTMLHRElement" { |
- |
- String align; |
- |
- bool noShade; |
- |
- String size; |
- |
- String width; |
-} |
- |
-class _HTMLHeadElementJs extends _HTMLElementJs implements HTMLHeadElement native "*HTMLHeadElement" { |
- |
- String profile; |
-} |
- |
-class _HTMLHeadingElementJs extends _HTMLElementJs implements HTMLHeadingElement native "*HTMLHeadingElement" { |
- |
- String align; |
-} |
- |
-class _HTMLHtmlElementJs extends _HTMLElementJs implements HTMLHtmlElement native "*HTMLHtmlElement" { |
- |
- String manifest; |
- |
- String version; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _HTMLIFrameElementJs extends _HTMLElementJs implements HTMLIFrameElement native "*HTMLIFrameElement" { |
- |
- String align; |
- |
- String frameBorder; |
- |
- String height; |
- |
- String longDesc; |
- |
- String marginHeight; |
- |
- String marginWidth; |
- |
- String name; |
- |
- String sandbox; |
- |
- String scrolling; |
- |
- String src; |
- |
- String srcdoc; |
- |
- String width; |
- |
- _SVGDocumentJs getSVGDocument() native; |
- |
- |
- Window get _contentWindow() native "return this.contentWindow;"; |
- |
- // Override contentWindow to return secure wrapper. |
- Window get contentWindow() { |
- return _DOMWindowCrossFrameImpl._createSafe(_contentWindow); |
- } |
-} |
- |
-class _HTMLImageElementJs extends _HTMLElementJs implements HTMLImageElement native "*HTMLImageElement" { |
- |
- String align; |
- |
- String alt; |
- |
- String border; |
- |
- final bool complete; |
- |
- String crossOrigin; |
- |
- int height; |
- |
- int hspace; |
- |
- bool isMap; |
- |
- String longDesc; |
- |
- String lowsrc; |
- |
- String name; |
- |
- final int naturalHeight; |
- |
- final int naturalWidth; |
- |
- String src; |
- |
- String useMap; |
- |
- int vspace; |
- |
- int width; |
- |
- final int x; |
- |
- final int y; |
-} |
- |
-class _HTMLInputElementJs extends _HTMLElementJs implements HTMLInputElement native "*HTMLInputElement" { |
- |
- String accept; |
- |
- String align; |
- |
- String alt; |
- |
- String autocomplete; |
- |
- bool autofocus; |
- |
- bool checked; |
- |
- bool defaultChecked; |
- |
- String defaultValue; |
- |
- String dirName; |
- |
- bool disabled; |
- |
- _FileListJs files; |
- |
- final _HTMLFormElementJs form; |
- |
- String formAction; |
- |
- String formEnctype; |
- |
- String formMethod; |
- |
- bool formNoValidate; |
- |
- String formTarget; |
- |
- int height; |
- |
- bool incremental; |
- |
- bool indeterminate; |
- |
- final _NodeListJs labels; |
- |
- final _HTMLElementJs list; |
- |
- String max; |
- |
- int maxLength; |
- |
- String min; |
- |
- bool multiple; |
- |
- String name; |
- |
- String pattern; |
- |
- String placeholder; |
- |
- bool readOnly; |
- |
- bool required; |
- |
- String selectionDirection; |
- |
- int selectionEnd; |
- |
- int selectionStart; |
- |
- int size; |
- |
- String src; |
- |
- String step; |
- |
- String type; |
- |
- String useMap; |
- |
- final String validationMessage; |
- |
- final _ValidityStateJs validity; |
- |
- String value; |
- |
- Date valueAsDate; |
- |
- num valueAsNumber; |
- |
- final _EntryArrayJs webkitEntries; |
- |
- bool webkitGrammar; |
- |
- bool webkitSpeech; |
- |
- bool webkitdirectory; |
- |
- int width; |
- |
- final bool willValidate; |
- |
- bool checkValidity() native; |
- |
- void select() native; |
- |
- void setCustomValidity(String error) native; |
- |
- void setSelectionRange(int start, int end, [String direction]) native; |
- |
- void stepDown([int n]) native; |
- |
- void stepUp([int n]) native; |
-} |
- |
-class _HTMLKeygenElementJs extends _HTMLElementJs implements HTMLKeygenElement native "*HTMLKeygenElement" { |
- |
- bool autofocus; |
- |
- String challenge; |
- |
- bool disabled; |
- |
- final _HTMLFormElementJs form; |
- |
- String keytype; |
- |
- final _NodeListJs labels; |
- |
- String name; |
- |
- final String type; |
- |
- final String validationMessage; |
- |
- final _ValidityStateJs validity; |
- |
- final bool willValidate; |
- |
- bool checkValidity() native; |
- |
- void setCustomValidity(String error) native; |
-} |
- |
-class _HTMLLIElementJs extends _HTMLElementJs implements HTMLLIElement native "*HTMLLIElement" { |
- |
- String type; |
- |
- int value; |
-} |
- |
-class _HTMLLabelElementJs extends _HTMLElementJs implements HTMLLabelElement native "*HTMLLabelElement" { |
- |
- final _HTMLElementJs control; |
- |
- final _HTMLFormElementJs form; |
- |
- String htmlFor; |
-} |
- |
-class _HTMLLegendElementJs extends _HTMLElementJs implements HTMLLegendElement native "*HTMLLegendElement" { |
- |
- String align; |
- |
- final _HTMLFormElementJs form; |
-} |
- |
-class _HTMLLinkElementJs extends _HTMLElementJs implements HTMLLinkElement native "*HTMLLinkElement" { |
- |
- String charset; |
- |
- bool disabled; |
- |
- String href; |
- |
- String hreflang; |
- |
- String media; |
- |
- String rel; |
- |
- String rev; |
- |
- final _StyleSheetJs sheet; |
- |
- _DOMSettableTokenListJs sizes; |
- |
- String target; |
- |
- String type; |
-} |
- |
-class _HTMLMapElementJs extends _HTMLElementJs implements HTMLMapElement native "*HTMLMapElement" { |
- |
- final _HTMLCollectionJs areas; |
- |
- String name; |
-} |
- |
-class _HTMLMarqueeElementJs extends _HTMLElementJs implements HTMLMarqueeElement native "*HTMLMarqueeElement" { |
- |
- String behavior; |
- |
- String bgColor; |
- |
- String direction; |
- |
- String height; |
- |
- int hspace; |
- |
- int loop; |
- |
- int scrollAmount; |
- |
- int scrollDelay; |
- |
- bool trueSpeed; |
- |
- int vspace; |
- |
- String width; |
- |
- void start() native; |
- |
- void stop() native; |
-} |
- |
-class _HTMLMediaElementJs extends _HTMLElementJs implements HTMLMediaElement native "*HTMLMediaElement" { |
- |
- 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 _TimeRangesJs buffered; |
- |
- _MediaControllerJs controller; |
- |
- bool controls; |
- |
- final String currentSrc; |
- |
- num currentTime; |
- |
- bool defaultMuted; |
- |
- num defaultPlaybackRate; |
- |
- final num duration; |
- |
- final bool ended; |
- |
- final _MediaErrorJs error; |
- |
- final num initialTime; |
- |
- bool loop; |
- |
- String mediaGroup; |
- |
- bool muted; |
- |
- final int networkState; |
- |
- final bool paused; |
- |
- num playbackRate; |
- |
- final _TimeRangesJs played; |
- |
- String preload; |
- |
- final int readyState; |
- |
- final _TimeRangesJs seekable; |
- |
- final bool seeking; |
- |
- String src; |
- |
- final num startTime; |
- |
- final _TextTrackListJs textTracks; |
- |
- num volume; |
- |
- final int webkitAudioDecodedByteCount; |
- |
- bool webkitClosedCaptionsVisible; |
- |
- final bool webkitHasClosedCaptions; |
- |
- bool webkitPreservesPitch; |
- |
- final int webkitVideoDecodedByteCount; |
- |
- _TextTrackJs addTextTrack(String kind, [String label, String language]) native; |
- |
- String canPlayType(String type, String keySystem) native; |
- |
- void load() native; |
- |
- void pause() native; |
- |
- void play() native; |
- |
- void webkitAddKey(String keySystem, _Uint8ArrayJs key, [_Uint8ArrayJs initData, String sessionId]) native; |
- |
- void webkitCancelKeyRequest(String keySystem, String sessionId) native; |
- |
- void webkitGenerateKeyRequest(String keySystem, [_Uint8ArrayJs initData]) native; |
-} |
- |
-class _HTMLMenuElementJs extends _HTMLElementJs implements HTMLMenuElement native "*HTMLMenuElement" { |
- |
- bool compact; |
-} |
- |
-class _HTMLMetaElementJs extends _HTMLElementJs implements HTMLMetaElement native "*HTMLMetaElement" { |
- |
- String content; |
- |
- String httpEquiv; |
- |
- String name; |
- |
- String scheme; |
-} |
- |
-class _HTMLMeterElementJs extends _HTMLElementJs implements HTMLMeterElement native "*HTMLMeterElement" { |
- |
- num high; |
- |
- final _NodeListJs labels; |
- |
- num low; |
- |
- num max; |
- |
- num min; |
- |
- num optimum; |
- |
- num value; |
-} |
- |
-class _HTMLModElementJs extends _HTMLElementJs implements HTMLModElement native "*HTMLModElement" { |
- |
- String cite; |
- |
- String dateTime; |
-} |
- |
-class _HTMLOListElementJs extends _HTMLElementJs implements HTMLOListElement native "*HTMLOListElement" { |
- |
- bool compact; |
- |
- bool reversed; |
- |
- int start; |
- |
- String type; |
-} |
- |
-class _HTMLObjectElementJs extends _HTMLElementJs implements HTMLObjectElement native "*HTMLObjectElement" { |
- |
- String align; |
- |
- String archive; |
- |
- String border; |
- |
- String code; |
- |
- String codeBase; |
- |
- String codeType; |
- |
- final _DocumentJs contentDocument; |
- |
- String data; |
- |
- bool declare; |
- |
- final _HTMLFormElementJs form; |
- |
- String height; |
- |
- int hspace; |
- |
- String name; |
- |
- String standby; |
- |
- String type; |
- |
- String useMap; |
- |
- final String validationMessage; |
- |
- final _ValidityStateJs validity; |
- |
- int vspace; |
- |
- String width; |
- |
- final bool willValidate; |
- |
- bool checkValidity() native; |
- |
- _SVGDocumentJs getSVGDocument() native; |
- |
- void setCustomValidity(String error) native; |
-} |
- |
-class _HTMLOptGroupElementJs extends _HTMLElementJs implements HTMLOptGroupElement native "*HTMLOptGroupElement" { |
- |
- bool disabled; |
- |
- String label; |
-} |
- |
-class _HTMLOptionElementJs extends _HTMLElementJs implements HTMLOptionElement native "*HTMLOptionElement" { |
- |
- bool defaultSelected; |
- |
- bool disabled; |
- |
- final _HTMLFormElementJs form; |
- |
- final int index; |
- |
- String label; |
- |
- bool selected; |
- |
- String text; |
- |
- String value; |
-} |
- |
-class _HTMLOptionsCollectionJs extends _HTMLCollectionJs implements HTMLOptionsCollection native "*HTMLOptionsCollection" { |
- |
- // Shadowing definition. |
- int get length() native "return this.length;"; |
- void set length(int value) native "this.length = value;"; |
- |
- int selectedIndex; |
- |
- void remove(int index) native; |
-} |
- |
-class _HTMLOutputElementJs extends _HTMLElementJs implements HTMLOutputElement native "*HTMLOutputElement" { |
- |
- String defaultValue; |
- |
- final _HTMLFormElementJs form; |
- |
- _DOMSettableTokenListJs htmlFor; |
- |
- final _NodeListJs labels; |
- |
- String name; |
- |
- final String type; |
- |
- final String validationMessage; |
- |
- final _ValidityStateJs validity; |
- |
- String value; |
- |
- final bool willValidate; |
- |
- bool checkValidity() native; |
- |
- void setCustomValidity(String error) native; |
-} |
- |
-class _HTMLParagraphElementJs extends _HTMLElementJs implements HTMLParagraphElement native "*HTMLParagraphElement" { |
- |
- String align; |
-} |
- |
-class _HTMLParamElementJs extends _HTMLElementJs implements HTMLParamElement native "*HTMLParamElement" { |
- |
- String name; |
- |
- String type; |
- |
- String value; |
- |
- String valueType; |
-} |
- |
-class _HTMLPreElementJs extends _HTMLElementJs implements HTMLPreElement native "*HTMLPreElement" { |
- |
- int width; |
- |
- bool wrap; |
-} |
- |
-class _HTMLProgressElementJs extends _HTMLElementJs implements HTMLProgressElement native "*HTMLProgressElement" { |
- |
- final _NodeListJs labels; |
- |
- num max; |
- |
- final num position; |
- |
- num value; |
-} |
- |
-class _HTMLQuoteElementJs extends _HTMLElementJs implements HTMLQuoteElement native "*HTMLQuoteElement" { |
- |
- String cite; |
-} |
- |
-class _HTMLScriptElementJs extends _HTMLElementJs implements HTMLScriptElement native "*HTMLScriptElement" { |
- |
- bool async; |
- |
- String charset; |
- |
- String crossOrigin; |
- |
- bool defer; |
- |
- String event; |
- |
- String htmlFor; |
- |
- String src; |
- |
- String text; |
- |
- String type; |
-} |
- |
-class _HTMLSelectElementJs extends _HTMLElementJs implements HTMLSelectElement native "*HTMLSelectElement" { |
- |
- bool autofocus; |
- |
- bool disabled; |
- |
- final _HTMLFormElementJs form; |
- |
- final _NodeListJs labels; |
- |
- int length; |
- |
- bool multiple; |
- |
- String name; |
- |
- final _HTMLOptionsCollectionJs options; |
- |
- bool required; |
- |
- int selectedIndex; |
- |
- final _HTMLCollectionJs selectedOptions; |
- |
- int size; |
- |
- final String type; |
- |
- final String validationMessage; |
- |
- final _ValidityStateJs validity; |
- |
- String value; |
- |
- final bool willValidate; |
- |
- void add(_HTMLElementJs element, _HTMLElementJs before) native; |
- |
- bool checkValidity() native; |
- |
- _NodeJs item(int index) native; |
- |
- _NodeJs namedItem(String name) native; |
- |
- void remove(index_OR_option) native; |
- |
- void setCustomValidity(String error) native; |
-} |
- |
-class _HTMLShadowElementJs extends _HTMLElementJs implements HTMLShadowElement native "*HTMLShadowElement" { |
-} |
- |
-class _HTMLSourceElementJs extends _HTMLElementJs implements HTMLSourceElement native "*HTMLSourceElement" { |
- |
- String media; |
- |
- String src; |
- |
- String type; |
-} |
- |
-class _HTMLSpanElementJs extends _HTMLElementJs implements HTMLSpanElement native "*HTMLSpanElement" { |
-} |
- |
-class _HTMLStyleElementJs extends _HTMLElementJs implements HTMLStyleElement native "*HTMLStyleElement" { |
- |
- bool disabled; |
- |
- String media; |
- |
- bool scoped; |
- |
- final _StyleSheetJs sheet; |
- |
- String type; |
-} |
- |
-class _HTMLTableCaptionElementJs extends _HTMLElementJs implements HTMLTableCaptionElement native "*HTMLTableCaptionElement" { |
- |
- String align; |
-} |
- |
-class _HTMLTableCellElementJs extends _HTMLElementJs implements HTMLTableCellElement native "*HTMLTableCellElement" { |
- |
- String abbr; |
- |
- String align; |
- |
- String axis; |
- |
- String bgColor; |
- |
- final int cellIndex; |
- |
- String ch; |
- |
- String chOff; |
- |
- int colSpan; |
- |
- String headers; |
- |
- String height; |
- |
- bool noWrap; |
- |
- int rowSpan; |
- |
- String scope; |
- |
- String vAlign; |
- |
- String width; |
-} |
- |
-class _HTMLTableColElementJs extends _HTMLElementJs implements HTMLTableColElement native "*HTMLTableColElement" { |
- |
- String align; |
- |
- String ch; |
- |
- String chOff; |
- |
- int span; |
- |
- String vAlign; |
- |
- String width; |
-} |
- |
-class _HTMLTableElementJs extends _HTMLElementJs implements HTMLTableElement native "*HTMLTableElement" { |
- |
- String align; |
- |
- String bgColor; |
- |
- String border; |
- |
- _HTMLTableCaptionElementJs caption; |
- |
- String cellPadding; |
- |
- String cellSpacing; |
- |
- String frame; |
- |
- final _HTMLCollectionJs rows; |
- |
- String rules; |
- |
- String summary; |
- |
- final _HTMLCollectionJs tBodies; |
- |
- _HTMLTableSectionElementJs tFoot; |
- |
- _HTMLTableSectionElementJs tHead; |
- |
- String width; |
- |
- _HTMLElementJs createCaption() native; |
- |
- _HTMLElementJs createTBody() native; |
- |
- _HTMLElementJs createTFoot() native; |
- |
- _HTMLElementJs createTHead() native; |
- |
- void deleteCaption() native; |
- |
- void deleteRow(int index) native; |
- |
- void deleteTFoot() native; |
- |
- void deleteTHead() native; |
- |
- _HTMLElementJs insertRow(int index) native; |
-} |
- |
-class _HTMLTableRowElementJs extends _HTMLElementJs implements HTMLTableRowElement native "*HTMLTableRowElement" { |
- |
- String align; |
- |
- String bgColor; |
- |
- final _HTMLCollectionJs cells; |
- |
- String ch; |
- |
- String chOff; |
- |
- final int rowIndex; |
- |
- final int sectionRowIndex; |
- |
- String vAlign; |
- |
- void deleteCell(int index) native; |
- |
- _HTMLElementJs insertCell(int index) native; |
-} |
- |
-class _HTMLTableSectionElementJs extends _HTMLElementJs implements HTMLTableSectionElement native "*HTMLTableSectionElement" { |
- |
- String align; |
- |
- String ch; |
- |
- String chOff; |
- |
- final _HTMLCollectionJs rows; |
- |
- String vAlign; |
- |
- void deleteRow(int index) native; |
- |
- _HTMLElementJs insertRow(int index) native; |
-} |
- |
-class _HTMLTextAreaElementJs extends _HTMLElementJs implements HTMLTextAreaElement native "*HTMLTextAreaElement" { |
- |
- bool autofocus; |
- |
- int cols; |
- |
- String defaultValue; |
- |
- String dirName; |
- |
- bool disabled; |
- |
- final _HTMLFormElementJs form; |
- |
- final _NodeListJs labels; |
- |
- int maxLength; |
- |
- String name; |
- |
- String placeholder; |
- |
- bool readOnly; |
- |
- bool required; |
- |
- int rows; |
- |
- String selectionDirection; |
- |
- int selectionEnd; |
- |
- int selectionStart; |
- |
- final int textLength; |
- |
- final String type; |
- |
- final String validationMessage; |
- |
- final _ValidityStateJs validity; |
- |
- String value; |
- |
- final bool willValidate; |
- |
- String wrap; |
- |
- bool checkValidity() native; |
- |
- void select() native; |
- |
- void setCustomValidity(String error) native; |
- |
- void setSelectionRange(int start, int end, [String direction]) native; |
-} |
- |
-class _HTMLTitleElementJs extends _HTMLElementJs implements HTMLTitleElement native "*HTMLTitleElement" { |
- |
- String text; |
-} |
- |
-class _HTMLTrackElementJs extends _HTMLElementJs implements HTMLTrackElement 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;"; |
- |
- String kind; |
- |
- String label; |
- |
- final int readyState; |
- |
- String src; |
- |
- String srclang; |
- |
- final _TextTrackJs track; |
-} |
- |
-class _HTMLUListElementJs extends _HTMLElementJs implements HTMLUListElement native "*HTMLUListElement" { |
- |
- bool compact; |
- |
- String type; |
-} |
- |
-class _HTMLUnknownElementJs extends _HTMLElementJs implements HTMLUnknownElement native "*HTMLUnknownElement" { |
-} |
- |
-class _HTMLVideoElementJs extends _HTMLMediaElementJs implements HTMLVideoElement native "*HTMLVideoElement" { |
- |
- int height; |
- |
- String poster; |
- |
- final int videoHeight; |
- |
- final int videoWidth; |
- |
- final int webkitDecodedFrameCount; |
- |
- final bool webkitDisplayingFullscreen; |
- |
- final int webkitDroppedFrameCount; |
- |
- final bool webkitSupportsFullscreen; |
- |
- int width; |
- |
- void webkitEnterFullScreen() native; |
- |
- void webkitEnterFullscreen() native; |
- |
- void webkitExitFullScreen() native; |
- |
- void webkitExitFullscreen() native; |
-} |
- |
-class _HashChangeEventJs extends _EventJs implements HashChangeEvent native "*HashChangeEvent" { |
- |
- final String newURL; |
- |
- final String oldURL; |
- |
- void initHashChangeEvent(String type, bool canBubble, bool cancelable, String oldURL, String newURL) native; |
-} |
- |
-class _HistoryJs extends _DOMTypeJs implements History native "*History" { |
- |
- final int length; |
- |
- final state; |
- |
- void back() native; |
- |
- void forward() native; |
- |
- void go(int distance) native; |
- |
- void pushState(Object data, String title, [String url]) native; |
- |
- void replaceState(Object data, String title, [String url]) native; |
-} |
- |
-class _IDBAnyJs extends _DOMTypeJs implements IDBAny native "*IDBAny" { |
-} |
- |
-class _IDBCursorJs extends _DOMTypeJs 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; |
- |
- final key; |
- |
- final primaryKey; |
- |
- final source; |
- |
- void advance(int count) native; |
- |
- void continueFunction([key]) native 'continue'; |
- |
- _IDBRequestJs delete() native; |
- |
- _IDBRequestJs update(value) native; |
-} |
- |
-class _IDBCursorWithValueJs extends _IDBCursorJs implements IDBCursorWithValue native "*IDBCursorWithValue" { |
- |
- final value; |
-} |
- |
-class _IDBDatabaseJs extends _EventTargetJs implements IDBDatabase native "*IDBDatabase" { |
- |
- final String name; |
- |
- final List<String> objectStoreNames; |
- |
- final version; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- void close() native; |
- |
- _IDBObjectStoreJs createObjectStore(String name, [Map options]) native; |
- |
- void deleteObjectStore(String name) native; |
- |
- bool dispatchEvent(_EventJs evt) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- _IDBVersionChangeRequestJs setVersion(String version) native; |
- |
- _IDBTransactionJs transaction(storeName_OR_storeNames, String mode) native; |
-} |
- |
-class _IDBDatabaseExceptionJs extends _DOMTypeJs 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; |
- |
- final String name; |
- |
- String toString() native; |
-} |
- |
-class _IDBFactoryJs extends _DOMTypeJs implements IDBFactory native "*IDBFactory" { |
- |
- int cmp(first, second) native; |
- |
- _IDBVersionChangeRequestJs deleteDatabase(String name) native; |
- |
- _IDBOpenDBRequestJs open(String name, [int version]) native; |
- |
- _IDBRequestJs webkitGetDatabaseNames() native; |
-} |
- |
-class _IDBIndexJs extends _DOMTypeJs implements IDBIndex native "*IDBIndex" { |
- |
- final keyPath; |
- |
- final bool multiEntry; |
- |
- final String name; |
- |
- final _IDBObjectStoreJs objectStore; |
- |
- final bool unique; |
- |
- _IDBRequestJs count([key_OR_range]) native; |
- |
- _IDBRequestJs get(key) native; |
- |
- _IDBRequestJs getKey(key) native; |
- |
- _IDBRequestJs openCursor([key_OR_range, direction]) native; |
- |
- _IDBRequestJs openKeyCursor([key_OR_range, direction]) native; |
-} |
- |
-class _IDBKeyJs extends _DOMTypeJs implements IDBKey native "*IDBKey" { |
-} |
- |
-class _IDBKeyRangeJs extends _DOMTypeJs implements IDBKeyRange native "*IDBKeyRange" { |
- |
- final lower; |
- |
- final bool lowerOpen; |
- |
- final upper; |
- |
- final bool upperOpen; |
-} |
- |
-class _IDBObjectStoreJs extends _DOMTypeJs implements IDBObjectStore native "*IDBObjectStore" { |
- |
- final bool autoIncrement; |
- |
- final List<String> indexNames; |
- |
- final keyPath; |
- |
- final String name; |
- |
- final _IDBTransactionJs transaction; |
- |
- _IDBRequestJs add(value, [key]) native; |
- |
- _IDBRequestJs clear() native; |
- |
- _IDBRequestJs count([key_OR_range]) native; |
- |
- _IDBIndexJs createIndex(String name, keyPath, [Map options]) native; |
- |
- _IDBRequestJs delete(key_OR_keyRange) native; |
- |
- void deleteIndex(String name) native; |
- |
- _IDBRequestJs getObject(key) native 'get'; |
- |
- _IDBIndexJs index(String name) native; |
- |
- _IDBRequestJs openCursor([key_OR_range, direction]) native; |
- |
- _IDBRequestJs put(value, [key]) native; |
-} |
- |
-class _IDBOpenDBRequestJs extends _IDBRequestJs implements IDBOpenDBRequest native "*IDBOpenDBRequest" { |
- |
- // From EventTarget |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs event) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
-} |
- |
-class _IDBRequestJs extends _EventTargetJs implements IDBRequest native "*IDBRequest" { |
- |
- final _DOMErrorJs error; |
- |
- final int errorCode; |
- |
- final String readyState; |
- |
- final result; |
- |
- final source; |
- |
- final _IDBTransactionJs transaction; |
- |
- final String webkitErrorMessage; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs evt) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
-} |
- |
-class _IDBTransactionJs extends _EventTargetJs implements IDBTransaction native "*IDBTransaction" { |
- |
- static const int READ_ONLY = 0; |
- |
- static const int READ_WRITE = 1; |
- |
- static const int VERSION_CHANGE = 2; |
- |
- final _IDBDatabaseJs db; |
- |
- final _DOMErrorJs error; |
- |
- final String mode; |
- |
- void abort() native; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs evt) native; |
- |
- _IDBObjectStoreJs objectStore(String name) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
-} |
- |
-class _IDBUpgradeNeededEventJs extends _EventJs implements IDBUpgradeNeededEvent native "*IDBUpgradeNeededEvent" { |
- |
- final int newVersion; |
- |
- final int oldVersion; |
-} |
- |
-class _IDBVersionChangeEventJs extends _EventJs implements IDBVersionChangeEvent native "*IDBVersionChangeEvent" { |
- |
- final String version; |
-} |
- |
-class _IDBVersionChangeRequestJs extends _IDBRequestJs implements IDBVersionChangeRequest native "*IDBVersionChangeRequest" { |
- |
- // From EventTarget |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs event) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
-} |
- |
-class _IceCandidateJs extends _DOMTypeJs implements IceCandidate native "*IceCandidate" { |
- |
- final String label; |
- |
- String toSdp() native; |
-} |
- |
-class _ImageDataJs extends _DOMTypeJs implements ImageData native "*ImageData" { |
- |
- final _Uint8ClampedArrayJs data; |
- |
- final int height; |
- |
- final int width; |
-} |
- |
-class _Int16ArrayJs extends _ArrayBufferViewJs implements Int16Array, List<int> native "*Int16Array" { |
- |
- 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."); |
- } |
- |
- // FIXME: implement these. |
- 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'; |
- |
- _Int16ArrayJs subarray(int start, [int end]) native; |
-} |
- |
-class _Int32ArrayJs extends _ArrayBufferViewJs implements Int32Array, List<int> native "*Int32Array" { |
- |
- 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."); |
- } |
- |
- // FIXME: implement these. |
- 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'; |
- |
- _Int32ArrayJs subarray(int start, [int end]) native; |
-} |
- |
-class _Int8ArrayJs extends _ArrayBufferViewJs implements Int8Array, List<int> native "*Int8Array" { |
- |
- static const int BYTES_PER_ELEMENT = 1; |
- |
- 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."); |
- } |
- |
- // FIXME: implement these. |
- 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'; |
- |
- _Int8ArrayJs subarray(int start, [int end]) native; |
-} |
- |
-class _JavaScriptAudioNodeJs extends _AudioNodeJs implements JavaScriptAudioNode native "*JavaScriptAudioNode" { |
- |
- final int bufferSize; |
- |
- // From EventTarget |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs event) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
-} |
- |
-class _JavaScriptCallFrameJs extends _DOMTypeJs 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 _JavaScriptCallFrameJs caller; |
- |
- final int column; |
- |
- final String functionName; |
- |
- final int line; |
- |
- final List scopeChain; |
- |
- final int sourceID; |
- |
- final Object thisObject; |
- |
- final String type; |
- |
- void evaluate(String script) native; |
- |
- Object restart() native; |
- |
- int scopeType(int scopeIndex) native; |
-} |
- |
-class _KeyboardEventJs extends _UIEventJs implements KeyboardEvent native "*KeyboardEvent" { |
- |
- final bool altGraphKey; |
- |
- final bool altKey; |
- |
- final bool ctrlKey; |
- |
- final String keyIdentifier; |
- |
- final int keyLocation; |
- |
- final bool metaKey; |
- |
- final bool shiftKey; |
- |
- void initKeyboardEvent(String type, bool canBubble, bool cancelable, _DOMWindowJs view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey) native; |
-} |
- |
-class _LocalMediaStreamJs extends _MediaStreamJs implements LocalMediaStream native "*LocalMediaStream" { |
- |
- void stop() native; |
- |
- // From EventTarget |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs event) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
-} |
- |
-class _LocationJs extends _DOMTypeJs implements Location native "*Location" { |
- |
- final List<String> ancestorOrigins; |
- |
- String hash; |
- |
- String host; |
- |
- String hostname; |
- |
- String href; |
- |
- final String origin; |
- |
- String pathname; |
- |
- String port; |
- |
- String protocol; |
- |
- String search; |
- |
- void assign(String url) native; |
- |
- void reload() native; |
- |
- void replace(String url) native; |
- |
- String toString() native; |
-} |
- |
-class _MediaControllerJs extends _EventTargetJs implements MediaController native "*MediaController" { |
- |
- final _TimeRangesJs buffered; |
- |
- num currentTime; |
- |
- num defaultPlaybackRate; |
- |
- final num duration; |
- |
- bool muted; |
- |
- final bool paused; |
- |
- num playbackRate; |
- |
- final _TimeRangesJs played; |
- |
- final _TimeRangesJs seekable; |
- |
- num volume; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs evt) native; |
- |
- void pause() native; |
- |
- void play() native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
-} |
- |
-class _MediaElementAudioSourceNodeJs extends _AudioSourceNodeJs implements MediaElementAudioSourceNode native "*MediaElementAudioSourceNode" { |
- |
- final _HTMLMediaElementJs mediaElement; |
-} |
- |
-class _MediaErrorJs extends _DOMTypeJs 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; |
-} |
- |
-class _MediaKeyErrorJs extends _DOMTypeJs 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; |
-} |
- |
-class _MediaKeyEventJs extends _EventJs implements MediaKeyEvent native "*MediaKeyEvent" { |
- |
- final String defaultURL; |
- |
- final _MediaKeyErrorJs errorCode; |
- |
- final _Uint8ArrayJs initData; |
- |
- final String keySystem; |
- |
- final _Uint8ArrayJs message; |
- |
- final String sessionId; |
- |
- final int systemCode; |
-} |
- |
-class _MediaListJs extends _DOMTypeJs implements MediaList native "*MediaList" { |
- |
- final int length; |
- |
- String mediaText; |
- |
- String operator[](int index) native "return this[index];"; |
- |
- void operator[]=(int index, String value) { |
- throw new UnsupportedOperationException("Cannot assign element of immutable List."); |
- } |
- // -- start List<String> mixins. |
- // String is the element type. |
- |
- // From Iterable<String>: |
- |
- Iterator<String> 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<String>(this); |
- } |
- |
- // From Collection<String>: |
- |
- void add(String value) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void addLast(String value) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void addAll(Collection<String> collection) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void forEach(void f(String element)) => _Collections.forEach(this, f); |
- |
- Collection map(f(String element)) => _Collections.map(this, [], f); |
- |
- Collection<String> filter(bool f(String element)) => |
- _Collections.filter(this, <String>[], f); |
- |
- bool every(bool f(String element)) => _Collections.every(this, f); |
- |
- bool some(bool f(String element)) => _Collections.some(this, f); |
- |
- bool isEmpty() => this.length == 0; |
- |
- // From List<String>: |
- |
- void sort(int compare(String a, String b)) { |
- throw const UnsupportedOperationException("Cannot sort immutable List."); |
- } |
- |
- int indexOf(String element, [int start = 0]) => |
- _Lists.indexOf(this, element, start, this.length); |
- |
- int lastIndexOf(String element, [int start]) { |
- if (start === null) start = length - 1; |
- return _Lists.lastIndexOf(this, element, start); |
- } |
- |
- String last() => this[length - 1]; |
- |
- String removeLast() { |
- throw const UnsupportedOperationException("Cannot removeLast on immutable List."); |
- } |
- |
- // FIXME: implement these. |
- void setRange(int start, int rangeLength, List<String> 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, [String initialValue]) { |
- throw const UnsupportedOperationException("Cannot insertRange on immutable List."); |
- } |
- |
- List<String> getRange(int start, int rangeLength) => |
- _Lists.getRange(this, start, rangeLength, <String>[]); |
- |
- // -- end List<String> mixins. |
- |
- void appendMedium(String newMedium) native; |
- |
- void deleteMedium(String oldMedium) native; |
- |
- String item(int index) native; |
-} |
- |
-class _MediaQueryListJs extends _DOMTypeJs implements MediaQueryList native "*MediaQueryList" { |
- |
- final bool matches; |
- |
- final String media; |
- |
- void addListener(MediaQueryListListener listener) native; |
- |
- void removeListener(MediaQueryListListener listener) native; |
-} |
- |
-class _MediaSourceJs extends _EventTargetJs implements MediaSource native "*MediaSource" { |
- |
- final _SourceBufferListJs activeSourceBuffers; |
- |
- final String readyState; |
- |
- final _SourceBufferListJs sourceBuffers; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- _SourceBufferJs addSourceBuffer(String type) native; |
- |
- bool dispatchEvent(_EventJs event) native; |
- |
- void endOfStream(String error) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- void removeSourceBuffer(_SourceBufferJs buffer) native; |
-} |
- |
-class _MediaStreamJs extends _EventTargetJs implements MediaStream native "*MediaStream" { |
- |
- static const int ENDED = 2; |
- |
- static const int LIVE = 1; |
- |
- final _MediaStreamTrackListJs audioTracks; |
- |
- final String label; |
- |
- final int readyState; |
- |
- final _MediaStreamTrackListJs videoTracks; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs event) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
-} |
- |
-class _MediaStreamAudioSourceNodeJs extends _AudioSourceNodeJs implements MediaStreamAudioSourceNode native "*MediaStreamAudioSourceNode" { |
- |
- final _MediaStreamJs mediaStream; |
-} |
- |
-class _MediaStreamEventJs extends _EventJs implements MediaStreamEvent native "*MediaStreamEvent" { |
- |
- final _MediaStreamJs stream; |
-} |
- |
-class _MediaStreamListJs extends _DOMTypeJs implements MediaStreamList native "*MediaStreamList" { |
- |
- final int length; |
- |
- _MediaStreamJs item(int index) native; |
-} |
- |
-class _MediaStreamTrackJs extends _EventTargetJs implements MediaStreamTrack native "*MediaStreamTrack" { |
- |
- static const int ENDED = 2; |
- |
- static const int LIVE = 0; |
- |
- static const int MUTED = 1; |
- |
- bool enabled; |
- |
- final String kind; |
- |
- final String label; |
- |
- final int readyState; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs event) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
-} |
- |
-class _MediaStreamTrackEventJs extends _EventJs implements MediaStreamTrackEvent native "*MediaStreamTrackEvent" { |
- |
- final _MediaStreamTrackJs track; |
-} |
- |
-class _MediaStreamTrackListJs extends _EventTargetJs implements MediaStreamTrackList native "*MediaStreamTrackList" { |
- |
- final int length; |
- |
- void add(_MediaStreamTrackJs track) native; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs event) native; |
- |
- _MediaStreamTrackJs item(int index) native; |
- |
- void remove(_MediaStreamTrackJs track) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
-} |
- |
-class _MemoryInfoJs extends _DOMTypeJs implements MemoryInfo native "*MemoryInfo" { |
- |
- final int jsHeapSizeLimit; |
- |
- final int totalJSHeapSize; |
- |
- final int usedJSHeapSize; |
-} |
- |
-class _MessageChannelJs extends _DOMTypeJs implements MessageChannel native "*MessageChannel" { |
- |
- final _MessagePortJs port1; |
- |
- final _MessagePortJs port2; |
-} |
- |
-class _MessageEventJs extends _EventJs implements MessageEvent native "*MessageEvent" { |
- |
- final Object data; |
- |
- final String lastEventId; |
- |
- final String origin; |
- |
- final List ports; |
- |
- final _DOMWindowJs source; |
- |
- void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Object dataArg, String originArg, String lastEventIdArg, _DOMWindowJs sourceArg, List messagePorts) native; |
- |
- void webkitInitMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Object dataArg, String originArg, String lastEventIdArg, _DOMWindowJs sourceArg, List transferables) native; |
-} |
- |
-class _MessagePortJs extends _EventTargetJs implements MessagePort native "*MessagePort" { |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- void close() native; |
- |
- bool dispatchEvent(_EventJs evt) native; |
- |
- void postMessage(String message, [List messagePorts]) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- void start() native; |
- |
- void webkitPostMessage(String message, [List transfer]) native; |
-} |
- |
-class _MetadataJs extends _DOMTypeJs implements Metadata native "*Metadata" { |
- |
- final Date modificationTime; |
- |
- final int size; |
-} |
- |
-class _MouseEventJs extends _UIEventJs implements MouseEvent native "*MouseEvent" { |
- |
- final bool altKey; |
- |
- final int button; |
- |
- final int clientX; |
- |
- final int clientY; |
- |
- final bool ctrlKey; |
- |
- final _ClipboardJs dataTransfer; |
- |
- final _NodeJs fromElement; |
- |
- final bool metaKey; |
- |
- final int offsetX; |
- |
- final int offsetY; |
- |
- final _EventTargetJs relatedTarget; |
- |
- final int screenX; |
- |
- final int screenY; |
- |
- final bool shiftKey; |
- |
- final _NodeJs toElement; |
- |
- final int webkitMovementX; |
- |
- final int webkitMovementY; |
- |
- final int x; |
- |
- final int y; |
- |
- void initMouseEvent(String type, bool canBubble, bool cancelable, _DOMWindowJs view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, int button, _EventTargetJs relatedTarget) native; |
-} |
- |
-class _MutationEventJs extends _EventJs 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; |
- |
- final String newValue; |
- |
- final String prevValue; |
- |
- final _NodeJs relatedNode; |
- |
- void initMutationEvent(String type, bool canBubble, bool cancelable, _NodeJs relatedNode, String prevValue, String newValue, String attrName, int attrChange) native; |
-} |
- |
-class _MutationObserverJs extends _DOMTypeJs implements MutationObserver native "*MutationObserver" { |
- |
- void disconnect() native; |
- |
- void _observe(_NodeJs target, Map options) native 'observe'; |
- |
- List<MutationRecord> takeRecords() native; |
-} |
- |
-class _MutationRecordJs extends _DOMTypeJs implements MutationRecord native "*MutationRecord" { |
- |
- final _NodeListJs addedNodes; |
- |
- final String attributeName; |
- |
- final String attributeNamespace; |
- |
- final _NodeJs nextSibling; |
- |
- final String oldValue; |
- |
- final _NodeJs previousSibling; |
- |
- final _NodeListJs removedNodes; |
- |
- final _NodeJs target; |
- |
- final String type; |
-} |
- |
-class _NamedNodeMapJs extends _DOMTypeJs implements NamedNodeMap native "*NamedNodeMap" { |
- |
- final int length; |
- |
- _NodeJs operator[](int index) native "return this[index];"; |
- |
- void operator[]=(int index, _NodeJs value) { |
- throw new UnsupportedOperationException("Cannot assign element of immutable List."); |
- } |
- // -- start List<Node> mixins. |
- // Node is the element type. |
- |
- // From Iterable<Node>: |
- |
- Iterator<Node> 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<Node>(this); |
- } |
- |
- // From Collection<Node>: |
- |
- void add(Node value) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void addLast(Node value) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void addAll(Collection<Node> collection) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void forEach(void f(Node element)) => _Collections.forEach(this, f); |
- |
- Collection map(f(Node element)) => _Collections.map(this, [], f); |
- |
- Collection<Node> filter(bool f(Node element)) => |
- _Collections.filter(this, <Node>[], f); |
- |
- bool every(bool f(Node element)) => _Collections.every(this, f); |
- |
- bool some(bool f(Node element)) => _Collections.some(this, f); |
- |
- bool isEmpty() => this.length == 0; |
- |
- // From List<Node>: |
- |
- void sort(int compare(Node a, Node b)) { |
- throw const UnsupportedOperationException("Cannot sort immutable List."); |
- } |
- |
- int indexOf(Node element, [int start = 0]) => |
- _Lists.indexOf(this, element, start, this.length); |
- |
- int lastIndexOf(Node element, [int start]) { |
- if (start === null) start = length - 1; |
- return _Lists.lastIndexOf(this, element, start); |
- } |
- |
- Node last() => this[length - 1]; |
- |
- Node removeLast() { |
- throw const UnsupportedOperationException("Cannot removeLast on immutable List."); |
- } |
- |
- // FIXME: implement these. |
- void setRange(int start, int rangeLength, List<Node> 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, [Node initialValue]) { |
- throw const UnsupportedOperationException("Cannot insertRange on immutable List."); |
- } |
- |
- List<Node> getRange(int start, int rangeLength) => |
- _Lists.getRange(this, start, rangeLength, <Node>[]); |
- |
- // -- end List<Node> mixins. |
- |
- _NodeJs getNamedItem(String name) native; |
- |
- _NodeJs getNamedItemNS(String namespaceURI, String localName) native; |
- |
- _NodeJs item(int index) native; |
- |
- _NodeJs removeNamedItem(String name) native; |
- |
- _NodeJs removeNamedItemNS(String namespaceURI, String localName) native; |
- |
- _NodeJs setNamedItem(_NodeJs node) native; |
- |
- _NodeJs setNamedItemNS(_NodeJs node) native; |
-} |
- |
-class _NavigatorJs extends _DOMTypeJs implements Navigator native "*Navigator" { |
- |
- final String appCodeName; |
- |
- final String appName; |
- |
- final String appVersion; |
- |
- final bool cookieEnabled; |
- |
- final _GeolocationJs geolocation; |
- |
- final String language; |
- |
- final _DOMMimeTypeArrayJs mimeTypes; |
- |
- final bool onLine; |
- |
- final String platform; |
- |
- final _DOMPluginArrayJs plugins; |
- |
- final String product; |
- |
- final String productSub; |
- |
- final String userAgent; |
- |
- final String vendor; |
- |
- final String vendorSub; |
- |
- final _BatteryManagerJs webkitBattery; |
- |
- void getStorageUpdates() native; |
- |
- bool javaEnabled() native; |
- |
- _GamepadListJs webkitGetGamepads() native; |
- |
- void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback successCallback, [NavigatorUserMediaErrorCallback errorCallback]) native; |
-} |
- |
-class _NavigatorUserMediaErrorJs extends _DOMTypeJs implements NavigatorUserMediaError native "*NavigatorUserMediaError" { |
- |
- static const int PERMISSION_DENIED = 1; |
- |
- final int code; |
-} |
- |
-class _NodeJs extends _EventTargetJs 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; |
- |
- final _NamedNodeMapJs attributes; |
- |
- final String baseURI; |
- |
- final _NodeListJs childNodes; |
- |
- final _NodeJs firstChild; |
- |
- final _NodeJs lastChild; |
- |
- final String localName; |
- |
- final String namespaceURI; |
- |
- final _NodeJs nextSibling; |
- |
- final String nodeName; |
- |
- final int nodeType; |
- |
- String nodeValue; |
- |
- final _DocumentJs ownerDocument; |
- |
- final _ElementJs parentElement; |
- |
- final _NodeJs parentNode; |
- |
- String prefix; |
- |
- final _NodeJs previousSibling; |
- |
- String textContent; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- _NodeJs appendChild(_NodeJs newChild) native; |
- |
- _NodeJs cloneNode(bool deep) native; |
- |
- int compareDocumentPosition(_NodeJs other) native; |
- |
- bool contains(_NodeJs other) native; |
- |
- bool dispatchEvent(_EventJs event) native; |
- |
- bool hasAttributes() native; |
- |
- bool hasChildNodes() native; |
- |
- _NodeJs insertBefore(_NodeJs newChild, _NodeJs refChild) native; |
- |
- bool isDefaultNamespace(String namespaceURI) native; |
- |
- bool isEqualNode(_NodeJs other) native; |
- |
- bool isSameNode(_NodeJs other) native; |
- |
- bool isSupported(String feature, String version) native; |
- |
- String lookupNamespaceURI(String prefix) native; |
- |
- String lookupPrefix(String namespaceURI) native; |
- |
- void normalize() native; |
- |
- _NodeJs removeChild(_NodeJs oldChild) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- _NodeJs replaceChild(_NodeJs newChild, _NodeJs oldChild) native; |
-} |
- |
-class _NodeFilterJs extends _DOMTypeJs 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(_NodeJs n) native; |
-} |
- |
-class _NodeIteratorJs extends _DOMTypeJs implements NodeIterator native "*NodeIterator" { |
- |
- final bool expandEntityReferences; |
- |
- final _NodeFilterJs filter; |
- |
- final bool pointerBeforeReferenceNode; |
- |
- final _NodeJs referenceNode; |
- |
- final _NodeJs root; |
- |
- final int whatToShow; |
- |
- void detach() native; |
- |
- _NodeJs nextNode() native; |
- |
- _NodeJs previousNode() native; |
-} |
- |
-class _NodeListJs extends _DOMTypeJs implements NodeList native "*NodeList" { |
- |
- final int length; |
- |
- _NodeJs operator[](int index) native "return this[index];"; |
- |
- void operator[]=(int index, _NodeJs value) { |
- throw new UnsupportedOperationException("Cannot assign element of immutable List."); |
- } |
- // -- start List<Node> mixins. |
- // Node is the element type. |
- |
- // From Iterable<Node>: |
- |
- Iterator<Node> 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<Node>(this); |
- } |
- |
- // From Collection<Node>: |
- |
- void add(Node value) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void addLast(Node value) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void addAll(Collection<Node> collection) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void forEach(void f(Node element)) => _Collections.forEach(this, f); |
- |
- Collection map(f(Node element)) => _Collections.map(this, [], f); |
- |
- Collection<Node> filter(bool f(Node element)) => |
- _Collections.filter(this, <Node>[], f); |
- |
- bool every(bool f(Node element)) => _Collections.every(this, f); |
- |
- bool some(bool f(Node element)) => _Collections.some(this, f); |
- |
- bool isEmpty() => this.length == 0; |
- |
- // From List<Node>: |
- |
- void sort(int compare(Node a, Node b)) { |
- throw const UnsupportedOperationException("Cannot sort immutable List."); |
- } |
- |
- int indexOf(Node element, [int start = 0]) => |
- _Lists.indexOf(this, element, start, this.length); |
- |
- int lastIndexOf(Node element, [int start]) { |
- if (start === null) start = length - 1; |
- return _Lists.lastIndexOf(this, element, start); |
- } |
- |
- Node last() => this[length - 1]; |
- |
- Node removeLast() { |
- throw const UnsupportedOperationException("Cannot removeLast on immutable List."); |
- } |
- |
- // FIXME: implement these. |
- void setRange(int start, int rangeLength, List<Node> 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, [Node initialValue]) { |
- throw const UnsupportedOperationException("Cannot insertRange on immutable List."); |
- } |
- |
- List<Node> getRange(int start, int rangeLength) => |
- _Lists.getRange(this, start, rangeLength, <Node>[]); |
- |
- // -- end List<Node> mixins. |
- |
- _NodeJs item(int index) native; |
-} |
- |
-class _NotationJs extends _NodeJs implements Notation native "*Notation" { |
- |
- final String publicId; |
- |
- final String systemId; |
-} |
- |
-class _NotificationJs extends _EventTargetJs implements Notification native "*Notification" { |
- |
- String dir; |
- |
- final String permission; |
- |
- String replaceId; |
- |
- String tag; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- void cancel() native; |
- |
- void close() native; |
- |
- bool dispatchEvent(_EventJs evt) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- void show() native; |
-} |
- |
-class _NotificationCenterJs extends _DOMTypeJs implements NotificationCenter native "*NotificationCenter" { |
- |
- int checkPermission() native; |
- |
- _NotificationJs createHTMLNotification(String url) native; |
- |
- _NotificationJs createNotification(String iconUrl, String title, String body) native; |
- |
- void requestPermission(VoidCallback callback) native; |
-} |
- |
-class _OESStandardDerivativesJs extends _DOMTypeJs implements OESStandardDerivatives native "*OESStandardDerivatives" { |
- |
- static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; |
-} |
- |
-class _OESTextureFloatJs extends _DOMTypeJs implements OESTextureFloat native "*OESTextureFloat" { |
-} |
- |
-class _OESVertexArrayObjectJs extends _DOMTypeJs implements OESVertexArrayObject native "*OESVertexArrayObject" { |
- |
- static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; |
- |
- void bindVertexArrayOES(_WebGLVertexArrayObjectOESJs arrayObject) native; |
- |
- _WebGLVertexArrayObjectOESJs createVertexArrayOES() native; |
- |
- void deleteVertexArrayOES(_WebGLVertexArrayObjectOESJs arrayObject) native; |
- |
- bool isVertexArrayOES(_WebGLVertexArrayObjectOESJs arrayObject) native; |
-} |
- |
-class _OfflineAudioCompletionEventJs extends _EventJs implements OfflineAudioCompletionEvent native "*OfflineAudioCompletionEvent" { |
- |
- final _AudioBufferJs renderedBuffer; |
-} |
- |
-class _OscillatorJs extends _AudioSourceNodeJs 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 _AudioParamJs detune; |
- |
- final _AudioParamJs frequency; |
- |
- final int playbackState; |
- |
- int type; |
- |
- void noteOff(num when) native; |
- |
- void noteOn(num when) native; |
- |
- void setWaveTable(_WaveTableJs waveTable) native; |
-} |
- |
-class _OverflowEventJs extends _EventJs 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; |
- |
- final bool verticalOverflow; |
-} |
- |
-class _PagePopupControllerJs extends _DOMTypeJs implements PagePopupController native "*PagePopupController" { |
- |
- String localizeNumberString(String numberString) native; |
- |
- void setValueAndClosePopup(int numberValue, String stringValue) native; |
-} |
- |
-class _PageTransitionEventJs extends _EventJs implements PageTransitionEvent native "*PageTransitionEvent" { |
- |
- final bool persisted; |
-} |
- |
-class _PeerConnection00Js extends _EventTargetJs implements PeerConnection00 native "*PeerConnection00" { |
- |
- 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 _SessionDescriptionJs localDescription; |
- |
- final _MediaStreamListJs localStreams; |
- |
- final int readyState; |
- |
- final _SessionDescriptionJs remoteDescription; |
- |
- final _MediaStreamListJs remoteStreams; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- void addStream(_MediaStreamJs stream, [Map mediaStreamHints]) native; |
- |
- void close() native; |
- |
- _SessionDescriptionJs createAnswer(String offer, [Map mediaHints]) native; |
- |
- _SessionDescriptionJs createOffer([Map mediaHints]) native; |
- |
- bool dispatchEvent(_EventJs event) native; |
- |
- void processIceMessage(_IceCandidateJs candidate) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- void removeStream(_MediaStreamJs stream) native; |
- |
- void setLocalDescription(int action, _SessionDescriptionJs desc) native; |
- |
- void setRemoteDescription(int action, _SessionDescriptionJs desc) native; |
- |
- void startIce([Map iceOptions]) native; |
-} |
- |
-class _PerformanceJs extends _EventTargetJs implements Performance native "*Performance" { |
- |
- final _MemoryInfoJs memory; |
- |
- final _PerformanceNavigationJs navigation; |
- |
- final _PerformanceTimingJs timing; |
- |
- num webkitNow() native; |
-} |
- |
-class _PerformanceNavigationJs extends _DOMTypeJs 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; |
-} |
- |
-class _PerformanceTimingJs extends _DOMTypeJs implements PerformanceTiming native "*PerformanceTiming" { |
- |
- final int connectEnd; |
- |
- final int connectStart; |
- |
- final int domComplete; |
- |
- final int domContentLoadedEventEnd; |
- |
- final int domContentLoadedEventStart; |
- |
- final int domInteractive; |
- |
- final int domLoading; |
- |
- final int domainLookupEnd; |
- |
- final int domainLookupStart; |
- |
- final int fetchStart; |
- |
- final int loadEventEnd; |
- |
- final int loadEventStart; |
- |
- final int navigationStart; |
- |
- final int redirectEnd; |
- |
- final int redirectStart; |
- |
- final int requestStart; |
- |
- final int responseEnd; |
- |
- final int responseStart; |
- |
- final int secureConnectionStart; |
- |
- final int unloadEventEnd; |
- |
- final int unloadEventStart; |
-} |
- |
-class _PopStateEventJs extends _EventJs implements PopStateEvent native "*PopStateEvent" { |
- |
- final Object state; |
-} |
- |
-class _PositionErrorJs extends _DOMTypeJs 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; |
-} |
- |
-class _ProcessingInstructionJs extends _NodeJs implements ProcessingInstruction native "*ProcessingInstruction" { |
- |
- String data; |
- |
- final _StyleSheetJs sheet; |
- |
- final String target; |
-} |
- |
-class _ProgressEventJs extends _EventJs implements ProgressEvent native "*ProgressEvent" { |
- |
- final bool lengthComputable; |
- |
- final int loaded; |
- |
- final int total; |
-} |
- |
-class _RGBColorJs extends _DOMTypeJs implements RGBColor native "*RGBColor" { |
- |
- final _CSSPrimitiveValueJs blue; |
- |
- final _CSSPrimitiveValueJs green; |
- |
- final _CSSPrimitiveValueJs red; |
-} |
- |
-class _RTCPeerConnectionJs extends _EventTargetJs implements RTCPeerConnection native "*RTCPeerConnection" { |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs event) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
-} |
- |
-class _RadioNodeListJs extends _NodeListJs implements RadioNodeList native "*RadioNodeList" { |
- |
- String value; |
-} |
- |
-class _RangeJs extends _DOMTypeJs 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 _NodeJs commonAncestorContainer; |
- |
- final _NodeJs endContainer; |
- |
- final int endOffset; |
- |
- final _NodeJs startContainer; |
- |
- final int startOffset; |
- |
- _DocumentFragmentJs cloneContents() native; |
- |
- _RangeJs cloneRange() native; |
- |
- void collapse(bool toStart) native; |
- |
- int compareNode(_NodeJs refNode) native; |
- |
- int comparePoint(_NodeJs refNode, int offset) native; |
- |
- _DocumentFragmentJs createContextualFragment(String html) native; |
- |
- void deleteContents() native; |
- |
- void detach() native; |
- |
- void expand(String unit) native; |
- |
- _DocumentFragmentJs extractContents() native; |
- |
- _ClientRectJs getBoundingClientRect() native; |
- |
- _ClientRectListJs getClientRects() native; |
- |
- void insertNode(_NodeJs newNode) native; |
- |
- bool intersectsNode(_NodeJs refNode) native; |
- |
- bool isPointInRange(_NodeJs refNode, int offset) native; |
- |
- void selectNode(_NodeJs refNode) native; |
- |
- void selectNodeContents(_NodeJs refNode) native; |
- |
- void setEnd(_NodeJs refNode, int offset) native; |
- |
- void setEndAfter(_NodeJs refNode) native; |
- |
- void setEndBefore(_NodeJs refNode) native; |
- |
- void setStart(_NodeJs refNode, int offset) native; |
- |
- void setStartAfter(_NodeJs refNode) native; |
- |
- void setStartBefore(_NodeJs refNode) native; |
- |
- void surroundContents(_NodeJs newParent) native; |
- |
- String toString() native; |
-} |
- |
-class _RangeExceptionJs extends _DOMTypeJs 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; |
- |
- final String name; |
- |
- String toString() native; |
-} |
- |
-class _RealtimeAnalyserNodeJs extends _AudioNodeJs implements RealtimeAnalyserNode native "*RealtimeAnalyserNode" { |
- |
- int fftSize; |
- |
- final int frequencyBinCount; |
- |
- num maxDecibels; |
- |
- num minDecibels; |
- |
- num smoothingTimeConstant; |
- |
- void getByteFrequencyData(_Uint8ArrayJs array) native; |
- |
- void getByteTimeDomainData(_Uint8ArrayJs array) native; |
- |
- void getFloatFrequencyData(_Float32ArrayJs array) native; |
-} |
- |
-class _RectJs extends _DOMTypeJs implements Rect native "*Rect" { |
- |
- final _CSSPrimitiveValueJs bottom; |
- |
- final _CSSPrimitiveValueJs left; |
- |
- final _CSSPrimitiveValueJs right; |
- |
- final _CSSPrimitiveValueJs top; |
-} |
- |
-class _SQLErrorJs extends _DOMTypeJs 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; |
-} |
- |
-class _SQLExceptionJs extends _DOMTypeJs 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; |
-} |
- |
-class _SQLResultSetJs extends _DOMTypeJs implements SQLResultSet native "*SQLResultSet" { |
- |
- final int insertId; |
- |
- final _SQLResultSetRowListJs rows; |
- |
- final int rowsAffected; |
-} |
- |
-class _SQLResultSetRowListJs extends _DOMTypeJs implements SQLResultSetRowList native "*SQLResultSetRowList" { |
- |
- final int length; |
- |
- Map item(int index) native; |
-} |
- |
-class _SQLTransactionJs extends _DOMTypeJs implements SQLTransaction native "*SQLTransaction" { |
- |
- void executeSql(String sqlStatement, List arguments, [SQLStatementCallback callback, SQLStatementErrorCallback errorCallback]) native; |
-} |
- |
-class _SQLTransactionSyncJs extends _DOMTypeJs implements SQLTransactionSync native "*SQLTransactionSync" { |
- |
- _SQLResultSetJs executeSql(String sqlStatement, List arguments) native; |
-} |
- |
-class _SVGAElementJs extends _SVGElementJs implements SVGAElement native "*SVGAElement" { |
- |
- final _SVGAnimatedStringJs target; |
- |
- // From SVGURIReference |
- |
- final _SVGAnimatedStringJs href; |
- |
- // From SVGTests |
- |
- final _SVGStringListJs requiredExtensions; |
- |
- final _SVGStringListJs requiredFeatures; |
- |
- final _SVGStringListJs systemLanguage; |
- |
- bool hasExtension(String extension) native; |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
- |
- // From SVGTransformable |
- |
- final _SVGAnimatedTransformListJs transform; |
- |
- // From SVGLocatable |
- |
- final _SVGElementJs farthestViewportElement; |
- |
- final _SVGElementJs nearestViewportElement; |
- |
- _SVGRectJs getBBox() native; |
- |
- _SVGMatrixJs getCTM() native; |
- |
- _SVGMatrixJs getScreenCTM() native; |
- |
- _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
-} |
- |
-class _SVGAltGlyphDefElementJs extends _SVGElementJs implements SVGAltGlyphDefElement native "*SVGAltGlyphDefElement" { |
-} |
- |
-class _SVGAltGlyphElementJs extends _SVGTextPositioningElementJs implements SVGAltGlyphElement native "*SVGAltGlyphElement" { |
- |
- String format; |
- |
- String glyphRef; |
- |
- // From SVGURIReference |
- |
- final _SVGAnimatedStringJs href; |
-} |
- |
-class _SVGAltGlyphItemElementJs extends _SVGElementJs implements SVGAltGlyphItemElement native "*SVGAltGlyphItemElement" { |
-} |
- |
-class _SVGAngleJs extends _DOMTypeJs 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; |
- |
- String valueAsString; |
- |
- num valueInSpecifiedUnits; |
- |
- void convertToSpecifiedUnits(int unitType) native; |
- |
- void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; |
-} |
- |
-class _SVGAnimateColorElementJs extends _SVGAnimationElementJs implements SVGAnimateColorElement native "*SVGAnimateColorElement" { |
-} |
- |
-class _SVGAnimateElementJs extends _SVGAnimationElementJs implements SVGAnimateElement native "*SVGAnimateElement" { |
-} |
- |
-class _SVGAnimateMotionElementJs extends _SVGAnimationElementJs implements SVGAnimateMotionElement native "*SVGAnimateMotionElement" { |
-} |
- |
-class _SVGAnimateTransformElementJs extends _SVGAnimationElementJs implements SVGAnimateTransformElement native "*SVGAnimateTransformElement" { |
-} |
- |
-class _SVGAnimatedAngleJs extends _DOMTypeJs implements SVGAnimatedAngle native "*SVGAnimatedAngle" { |
- |
- final _SVGAngleJs animVal; |
- |
- final _SVGAngleJs baseVal; |
-} |
- |
-class _SVGAnimatedBooleanJs extends _DOMTypeJs implements SVGAnimatedBoolean native "*SVGAnimatedBoolean" { |
- |
- final bool animVal; |
- |
- bool baseVal; |
-} |
- |
-class _SVGAnimatedEnumerationJs extends _DOMTypeJs implements SVGAnimatedEnumeration native "*SVGAnimatedEnumeration" { |
- |
- final int animVal; |
- |
- int baseVal; |
-} |
- |
-class _SVGAnimatedIntegerJs extends _DOMTypeJs implements SVGAnimatedInteger native "*SVGAnimatedInteger" { |
- |
- final int animVal; |
- |
- int baseVal; |
-} |
- |
-class _SVGAnimatedLengthJs extends _DOMTypeJs implements SVGAnimatedLength native "*SVGAnimatedLength" { |
- |
- final _SVGLengthJs animVal; |
- |
- final _SVGLengthJs baseVal; |
-} |
- |
-class _SVGAnimatedLengthListJs extends _DOMTypeJs implements SVGAnimatedLengthList native "*SVGAnimatedLengthList" { |
- |
- final _SVGLengthListJs animVal; |
- |
- final _SVGLengthListJs baseVal; |
-} |
- |
-class _SVGAnimatedNumberJs extends _DOMTypeJs implements SVGAnimatedNumber native "*SVGAnimatedNumber" { |
- |
- final num animVal; |
- |
- num baseVal; |
-} |
- |
-class _SVGAnimatedNumberListJs extends _DOMTypeJs implements SVGAnimatedNumberList native "*SVGAnimatedNumberList" { |
- |
- final _SVGNumberListJs animVal; |
- |
- final _SVGNumberListJs baseVal; |
-} |
- |
-class _SVGAnimatedPreserveAspectRatioJs extends _DOMTypeJs implements SVGAnimatedPreserveAspectRatio native "*SVGAnimatedPreserveAspectRatio" { |
- |
- final _SVGPreserveAspectRatioJs animVal; |
- |
- final _SVGPreserveAspectRatioJs baseVal; |
-} |
- |
-class _SVGAnimatedRectJs extends _DOMTypeJs implements SVGAnimatedRect native "*SVGAnimatedRect" { |
- |
- final _SVGRectJs animVal; |
- |
- final _SVGRectJs baseVal; |
-} |
- |
-class _SVGAnimatedStringJs extends _DOMTypeJs implements SVGAnimatedString native "*SVGAnimatedString" { |
- |
- final String animVal; |
- |
- String baseVal; |
-} |
- |
-class _SVGAnimatedTransformListJs extends _DOMTypeJs implements SVGAnimatedTransformList native "*SVGAnimatedTransformList" { |
- |
- final _SVGTransformListJs animVal; |
- |
- final _SVGTransformListJs baseVal; |
-} |
- |
-class _SVGAnimationElementJs extends _SVGElementJs implements SVGAnimationElement native "*SVGAnimationElement" { |
- |
- final _SVGElementJs targetElement; |
- |
- num getCurrentTime() native; |
- |
- num getSimpleDuration() native; |
- |
- num getStartTime() native; |
- |
- // From SVGTests |
- |
- final _SVGStringListJs requiredExtensions; |
- |
- final _SVGStringListJs requiredFeatures; |
- |
- final _SVGStringListJs systemLanguage; |
- |
- bool hasExtension(String extension) native; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From ElementTimeControl |
- |
- void beginElement() native; |
- |
- void beginElementAt(num offset) native; |
- |
- void endElement() native; |
- |
- void endElementAt(num offset) native; |
-} |
- |
-class _SVGCircleElementJs extends _SVGElementJs implements SVGCircleElement native "*SVGCircleElement" { |
- |
- final _SVGAnimatedLengthJs cx; |
- |
- final _SVGAnimatedLengthJs cy; |
- |
- final _SVGAnimatedLengthJs r; |
- |
- // From SVGTests |
- |
- final _SVGStringListJs requiredExtensions; |
- |
- final _SVGStringListJs requiredFeatures; |
- |
- final _SVGStringListJs systemLanguage; |
- |
- bool hasExtension(String extension) native; |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
- |
- // From SVGTransformable |
- |
- final _SVGAnimatedTransformListJs transform; |
- |
- // From SVGLocatable |
- |
- final _SVGElementJs farthestViewportElement; |
- |
- final _SVGElementJs nearestViewportElement; |
- |
- _SVGRectJs getBBox() native; |
- |
- _SVGMatrixJs getCTM() native; |
- |
- _SVGMatrixJs getScreenCTM() native; |
- |
- _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
-} |
- |
-class _SVGClipPathElementJs extends _SVGElementJs implements SVGClipPathElement native "*SVGClipPathElement" { |
- |
- final _SVGAnimatedEnumerationJs clipPathUnits; |
- |
- // From SVGTests |
- |
- final _SVGStringListJs requiredExtensions; |
- |
- final _SVGStringListJs requiredFeatures; |
- |
- final _SVGStringListJs systemLanguage; |
- |
- bool hasExtension(String extension) native; |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
- |
- // From SVGTransformable |
- |
- final _SVGAnimatedTransformListJs transform; |
- |
- // From SVGLocatable |
- |
- final _SVGElementJs farthestViewportElement; |
- |
- final _SVGElementJs nearestViewportElement; |
- |
- _SVGRectJs getBBox() native; |
- |
- _SVGMatrixJs getCTM() native; |
- |
- _SVGMatrixJs getScreenCTM() native; |
- |
- _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
-} |
- |
-class _SVGColorJs extends _CSSValueJs 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 _RGBColorJs rgbColor; |
- |
- void setColor(int colorType, String rgbColor, String iccColor) native; |
- |
- void setRGBColor(String rgbColor) native; |
- |
- void setRGBColorICCColor(String rgbColor, String iccColor) native; |
-} |
- |
-class _SVGComponentTransferFunctionElementJs extends _SVGElementJs 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 _SVGAnimatedNumberJs amplitude; |
- |
- final _SVGAnimatedNumberJs exponent; |
- |
- final _SVGAnimatedNumberJs intercept; |
- |
- final _SVGAnimatedNumberJs offset; |
- |
- final _SVGAnimatedNumberJs slope; |
- |
- final _SVGAnimatedNumberListJs tableValues; |
- |
- final _SVGAnimatedEnumerationJs type; |
-} |
- |
-class _SVGCursorElementJs extends _SVGElementJs implements SVGCursorElement native "*SVGCursorElement" { |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGURIReference |
- |
- final _SVGAnimatedStringJs href; |
- |
- // From SVGTests |
- |
- final _SVGStringListJs requiredExtensions; |
- |
- final _SVGStringListJs requiredFeatures; |
- |
- final _SVGStringListJs systemLanguage; |
- |
- bool hasExtension(String extension) native; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
-} |
- |
-class _SVGDefsElementJs extends _SVGElementJs implements SVGDefsElement native "*SVGDefsElement" { |
- |
- // From SVGTests |
- |
- final _SVGStringListJs requiredExtensions; |
- |
- final _SVGStringListJs requiredFeatures; |
- |
- final _SVGStringListJs systemLanguage; |
- |
- bool hasExtension(String extension) native; |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
- |
- // From SVGTransformable |
- |
- final _SVGAnimatedTransformListJs transform; |
- |
- // From SVGLocatable |
- |
- final _SVGElementJs farthestViewportElement; |
- |
- final _SVGElementJs nearestViewportElement; |
- |
- _SVGRectJs getBBox() native; |
- |
- _SVGMatrixJs getCTM() native; |
- |
- _SVGMatrixJs getScreenCTM() native; |
- |
- _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
-} |
- |
-class _SVGDescElementJs extends _SVGElementJs implements SVGDescElement native "*SVGDescElement" { |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGDocumentJs extends _DocumentJs implements SVGDocument native "*SVGDocument" { |
- |
- final _SVGSVGElementJs rootElement; |
- |
- _EventJs createEvent(String eventType) native; |
-} |
- |
-class _SVGElementJs extends _ElementJs implements SVGElement native "*SVGElement" { |
- |
- String id; |
- |
- final _SVGSVGElementJs ownerSVGElement; |
- |
- final _SVGElementJs viewportElement; |
- |
- String xmlbase; |
-} |
- |
-class _SVGElementInstanceJs extends _EventTargetJs implements SVGElementInstance native "*SVGElementInstance" { |
- |
- final _SVGElementInstanceListJs childNodes; |
- |
- final _SVGElementJs correspondingElement; |
- |
- final _SVGUseElementJs correspondingUseElement; |
- |
- final _SVGElementInstanceJs firstChild; |
- |
- final _SVGElementInstanceJs lastChild; |
- |
- final _SVGElementInstanceJs nextSibling; |
- |
- final _SVGElementInstanceJs parentNode; |
- |
- final _SVGElementInstanceJs previousSibling; |
-} |
- |
-class _SVGElementInstanceListJs extends _DOMTypeJs implements SVGElementInstanceList native "*SVGElementInstanceList" { |
- |
- final int length; |
- |
- _SVGElementInstanceJs item(int index) native; |
-} |
- |
-class _SVGEllipseElementJs extends _SVGElementJs implements SVGEllipseElement native "*SVGEllipseElement" { |
- |
- final _SVGAnimatedLengthJs cx; |
- |
- final _SVGAnimatedLengthJs cy; |
- |
- final _SVGAnimatedLengthJs rx; |
- |
- final _SVGAnimatedLengthJs ry; |
- |
- // From SVGTests |
- |
- final _SVGStringListJs requiredExtensions; |
- |
- final _SVGStringListJs requiredFeatures; |
- |
- final _SVGStringListJs systemLanguage; |
- |
- bool hasExtension(String extension) native; |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
- |
- // From SVGTransformable |
- |
- final _SVGAnimatedTransformListJs transform; |
- |
- // From SVGLocatable |
- |
- final _SVGElementJs farthestViewportElement; |
- |
- final _SVGElementJs nearestViewportElement; |
- |
- _SVGRectJs getBBox() native; |
- |
- _SVGMatrixJs getCTM() native; |
- |
- _SVGMatrixJs getScreenCTM() native; |
- |
- _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
-} |
- |
-class _SVGExceptionJs extends _DOMTypeJs 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; |
- |
- final String name; |
- |
- String toString() native; |
-} |
- |
-class _SVGFEBlendElementJs extends _SVGElementJs 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 _SVGAnimatedStringJs in1; |
- |
- final _SVGAnimatedStringJs in2; |
- |
- final _SVGAnimatedEnumerationJs mode; |
- |
- // From SVGFilterPrimitiveStandardAttributes |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGAnimatedStringJs result; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGFEColorMatrixElementJs extends _SVGElementJs 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 _SVGAnimatedStringJs in1; |
- |
- final _SVGAnimatedEnumerationJs type; |
- |
- final _SVGAnimatedNumberListJs values; |
- |
- // From SVGFilterPrimitiveStandardAttributes |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGAnimatedStringJs result; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGFEComponentTransferElementJs extends _SVGElementJs implements SVGFEComponentTransferElement native "*SVGFEComponentTransferElement" { |
- |
- final _SVGAnimatedStringJs in1; |
- |
- // From SVGFilterPrimitiveStandardAttributes |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGAnimatedStringJs result; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGFECompositeElementJs extends _SVGElementJs 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 _SVGAnimatedStringJs in1; |
- |
- final _SVGAnimatedStringJs in2; |
- |
- final _SVGAnimatedNumberJs k1; |
- |
- final _SVGAnimatedNumberJs k2; |
- |
- final _SVGAnimatedNumberJs k3; |
- |
- final _SVGAnimatedNumberJs k4; |
- |
- final _SVGAnimatedEnumerationJs operator; |
- |
- // From SVGFilterPrimitiveStandardAttributes |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGAnimatedStringJs result; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGFEConvolveMatrixElementJs extends _SVGElementJs 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 _SVGAnimatedNumberJs bias; |
- |
- final _SVGAnimatedNumberJs divisor; |
- |
- final _SVGAnimatedEnumerationJs edgeMode; |
- |
- final _SVGAnimatedStringJs in1; |
- |
- final _SVGAnimatedNumberListJs kernelMatrix; |
- |
- final _SVGAnimatedNumberJs kernelUnitLengthX; |
- |
- final _SVGAnimatedNumberJs kernelUnitLengthY; |
- |
- final _SVGAnimatedIntegerJs orderX; |
- |
- final _SVGAnimatedIntegerJs orderY; |
- |
- final _SVGAnimatedBooleanJs preserveAlpha; |
- |
- final _SVGAnimatedIntegerJs targetX; |
- |
- final _SVGAnimatedIntegerJs targetY; |
- |
- // From SVGFilterPrimitiveStandardAttributes |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGAnimatedStringJs result; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGFEDiffuseLightingElementJs extends _SVGElementJs implements SVGFEDiffuseLightingElement native "*SVGFEDiffuseLightingElement" { |
- |
- final _SVGAnimatedNumberJs diffuseConstant; |
- |
- final _SVGAnimatedStringJs in1; |
- |
- final _SVGAnimatedNumberJs kernelUnitLengthX; |
- |
- final _SVGAnimatedNumberJs kernelUnitLengthY; |
- |
- final _SVGAnimatedNumberJs surfaceScale; |
- |
- // From SVGFilterPrimitiveStandardAttributes |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGAnimatedStringJs result; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGFEDisplacementMapElementJs extends _SVGElementJs 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 _SVGAnimatedStringJs in1; |
- |
- final _SVGAnimatedStringJs in2; |
- |
- final _SVGAnimatedNumberJs scale; |
- |
- final _SVGAnimatedEnumerationJs xChannelSelector; |
- |
- final _SVGAnimatedEnumerationJs yChannelSelector; |
- |
- // From SVGFilterPrimitiveStandardAttributes |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGAnimatedStringJs result; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGFEDistantLightElementJs extends _SVGElementJs implements SVGFEDistantLightElement native "*SVGFEDistantLightElement" { |
- |
- final _SVGAnimatedNumberJs azimuth; |
- |
- final _SVGAnimatedNumberJs elevation; |
-} |
- |
-class _SVGFEDropShadowElementJs extends _SVGElementJs implements SVGFEDropShadowElement native "*SVGFEDropShadowElement" { |
- |
- final _SVGAnimatedNumberJs dx; |
- |
- final _SVGAnimatedNumberJs dy; |
- |
- final _SVGAnimatedStringJs in1; |
- |
- final _SVGAnimatedNumberJs stdDeviationX; |
- |
- final _SVGAnimatedNumberJs stdDeviationY; |
- |
- void setStdDeviation(num stdDeviationX, num stdDeviationY) native; |
- |
- // From SVGFilterPrimitiveStandardAttributes |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGAnimatedStringJs result; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGFEFloodElementJs extends _SVGElementJs implements SVGFEFloodElement native "*SVGFEFloodElement" { |
- |
- // From SVGFilterPrimitiveStandardAttributes |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGAnimatedStringJs result; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGFEFuncAElementJs extends _SVGComponentTransferFunctionElementJs implements SVGFEFuncAElement native "*SVGFEFuncAElement" { |
-} |
- |
-class _SVGFEFuncBElementJs extends _SVGComponentTransferFunctionElementJs implements SVGFEFuncBElement native "*SVGFEFuncBElement" { |
-} |
- |
-class _SVGFEFuncGElementJs extends _SVGComponentTransferFunctionElementJs implements SVGFEFuncGElement native "*SVGFEFuncGElement" { |
-} |
- |
-class _SVGFEFuncRElementJs extends _SVGComponentTransferFunctionElementJs implements SVGFEFuncRElement native "*SVGFEFuncRElement" { |
-} |
- |
-class _SVGFEGaussianBlurElementJs extends _SVGElementJs implements SVGFEGaussianBlurElement native "*SVGFEGaussianBlurElement" { |
- |
- final _SVGAnimatedStringJs in1; |
- |
- final _SVGAnimatedNumberJs stdDeviationX; |
- |
- final _SVGAnimatedNumberJs stdDeviationY; |
- |
- void setStdDeviation(num stdDeviationX, num stdDeviationY) native; |
- |
- // From SVGFilterPrimitiveStandardAttributes |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGAnimatedStringJs result; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGFEImageElementJs extends _SVGElementJs implements SVGFEImageElement native "*SVGFEImageElement" { |
- |
- final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio; |
- |
- // From SVGURIReference |
- |
- final _SVGAnimatedStringJs href; |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGFilterPrimitiveStandardAttributes |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGAnimatedStringJs result; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGFEMergeElementJs extends _SVGElementJs implements SVGFEMergeElement native "*SVGFEMergeElement" { |
- |
- // From SVGFilterPrimitiveStandardAttributes |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGAnimatedStringJs result; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGFEMergeNodeElementJs extends _SVGElementJs implements SVGFEMergeNodeElement native "*SVGFEMergeNodeElement" { |
- |
- final _SVGAnimatedStringJs in1; |
-} |
- |
-class _SVGFEMorphologyElementJs extends _SVGElementJs 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 _SVGAnimatedStringJs in1; |
- |
- final _SVGAnimatedEnumerationJs operator; |
- |
- final _SVGAnimatedNumberJs radiusX; |
- |
- final _SVGAnimatedNumberJs radiusY; |
- |
- void setRadius(num radiusX, num radiusY) native; |
- |
- // From SVGFilterPrimitiveStandardAttributes |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGAnimatedStringJs result; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGFEOffsetElementJs extends _SVGElementJs implements SVGFEOffsetElement native "*SVGFEOffsetElement" { |
- |
- final _SVGAnimatedNumberJs dx; |
- |
- final _SVGAnimatedNumberJs dy; |
- |
- final _SVGAnimatedStringJs in1; |
- |
- // From SVGFilterPrimitiveStandardAttributes |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGAnimatedStringJs result; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGFEPointLightElementJs extends _SVGElementJs implements SVGFEPointLightElement native "*SVGFEPointLightElement" { |
- |
- final _SVGAnimatedNumberJs x; |
- |
- final _SVGAnimatedNumberJs y; |
- |
- final _SVGAnimatedNumberJs z; |
-} |
- |
-class _SVGFESpecularLightingElementJs extends _SVGElementJs implements SVGFESpecularLightingElement native "*SVGFESpecularLightingElement" { |
- |
- final _SVGAnimatedStringJs in1; |
- |
- final _SVGAnimatedNumberJs specularConstant; |
- |
- final _SVGAnimatedNumberJs specularExponent; |
- |
- final _SVGAnimatedNumberJs surfaceScale; |
- |
- // From SVGFilterPrimitiveStandardAttributes |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGAnimatedStringJs result; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGFESpotLightElementJs extends _SVGElementJs implements SVGFESpotLightElement native "*SVGFESpotLightElement" { |
- |
- final _SVGAnimatedNumberJs limitingConeAngle; |
- |
- final _SVGAnimatedNumberJs pointsAtX; |
- |
- final _SVGAnimatedNumberJs pointsAtY; |
- |
- final _SVGAnimatedNumberJs pointsAtZ; |
- |
- final _SVGAnimatedNumberJs specularExponent; |
- |
- final _SVGAnimatedNumberJs x; |
- |
- final _SVGAnimatedNumberJs y; |
- |
- final _SVGAnimatedNumberJs z; |
-} |
- |
-class _SVGFETileElementJs extends _SVGElementJs implements SVGFETileElement native "*SVGFETileElement" { |
- |
- final _SVGAnimatedStringJs in1; |
- |
- // From SVGFilterPrimitiveStandardAttributes |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGAnimatedStringJs result; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGFETurbulenceElementJs extends _SVGElementJs 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 _SVGAnimatedNumberJs baseFrequencyX; |
- |
- final _SVGAnimatedNumberJs baseFrequencyY; |
- |
- final _SVGAnimatedIntegerJs numOctaves; |
- |
- final _SVGAnimatedNumberJs seed; |
- |
- final _SVGAnimatedEnumerationJs stitchTiles; |
- |
- final _SVGAnimatedEnumerationJs type; |
- |
- // From SVGFilterPrimitiveStandardAttributes |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGAnimatedStringJs result; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGFilterElementJs extends _SVGElementJs implements SVGFilterElement native "*SVGFilterElement" { |
- |
- final _SVGAnimatedIntegerJs filterResX; |
- |
- final _SVGAnimatedIntegerJs filterResY; |
- |
- final _SVGAnimatedEnumerationJs filterUnits; |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGAnimatedEnumerationJs primitiveUnits; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- void setFilterRes(int filterResX, int filterResY) native; |
- |
- // From SVGURIReference |
- |
- final _SVGAnimatedStringJs href; |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGFontElementJs extends _SVGElementJs implements SVGFontElement native "*SVGFontElement" { |
-} |
- |
-class _SVGFontFaceElementJs extends _SVGElementJs implements SVGFontFaceElement native "*SVGFontFaceElement" { |
-} |
- |
-class _SVGFontFaceFormatElementJs extends _SVGElementJs implements SVGFontFaceFormatElement native "*SVGFontFaceFormatElement" { |
-} |
- |
-class _SVGFontFaceNameElementJs extends _SVGElementJs implements SVGFontFaceNameElement native "*SVGFontFaceNameElement" { |
-} |
- |
-class _SVGFontFaceSrcElementJs extends _SVGElementJs implements SVGFontFaceSrcElement native "*SVGFontFaceSrcElement" { |
-} |
- |
-class _SVGFontFaceUriElementJs extends _SVGElementJs implements SVGFontFaceUriElement native "*SVGFontFaceUriElement" { |
-} |
- |
-class _SVGForeignObjectElementJs extends _SVGElementJs implements SVGForeignObjectElement native "*SVGForeignObjectElement" { |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGTests |
- |
- final _SVGStringListJs requiredExtensions; |
- |
- final _SVGStringListJs requiredFeatures; |
- |
- final _SVGStringListJs systemLanguage; |
- |
- bool hasExtension(String extension) native; |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
- |
- // From SVGTransformable |
- |
- final _SVGAnimatedTransformListJs transform; |
- |
- // From SVGLocatable |
- |
- final _SVGElementJs farthestViewportElement; |
- |
- final _SVGElementJs nearestViewportElement; |
- |
- _SVGRectJs getBBox() native; |
- |
- _SVGMatrixJs getCTM() native; |
- |
- _SVGMatrixJs getScreenCTM() native; |
- |
- _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
-} |
- |
-class _SVGGElementJs extends _SVGElementJs implements SVGGElement native "*SVGGElement" { |
- |
- // From SVGTests |
- |
- final _SVGStringListJs requiredExtensions; |
- |
- final _SVGStringListJs requiredFeatures; |
- |
- final _SVGStringListJs systemLanguage; |
- |
- bool hasExtension(String extension) native; |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
- |
- // From SVGTransformable |
- |
- final _SVGAnimatedTransformListJs transform; |
- |
- // From SVGLocatable |
- |
- final _SVGElementJs farthestViewportElement; |
- |
- final _SVGElementJs nearestViewportElement; |
- |
- _SVGRectJs getBBox() native; |
- |
- _SVGMatrixJs getCTM() native; |
- |
- _SVGMatrixJs getScreenCTM() native; |
- |
- _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
-} |
- |
-class _SVGGlyphElementJs extends _SVGElementJs implements SVGGlyphElement native "*SVGGlyphElement" { |
-} |
- |
-class _SVGGlyphRefElementJs extends _SVGElementJs implements SVGGlyphRefElement native "*SVGGlyphRefElement" { |
- |
- num dx; |
- |
- num dy; |
- |
- String format; |
- |
- String glyphRef; |
- |
- num x; |
- |
- num y; |
- |
- // From SVGURIReference |
- |
- final _SVGAnimatedStringJs href; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGGradientElementJs extends _SVGElementJs 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 _SVGAnimatedTransformListJs gradientTransform; |
- |
- final _SVGAnimatedEnumerationJs gradientUnits; |
- |
- final _SVGAnimatedEnumerationJs spreadMethod; |
- |
- // From SVGURIReference |
- |
- final _SVGAnimatedStringJs href; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGHKernElementJs extends _SVGElementJs implements SVGHKernElement native "*SVGHKernElement" { |
-} |
- |
-class _SVGImageElementJs extends _SVGElementJs implements SVGImageElement native "*SVGImageElement" { |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGURIReference |
- |
- final _SVGAnimatedStringJs href; |
- |
- // From SVGTests |
- |
- final _SVGStringListJs requiredExtensions; |
- |
- final _SVGStringListJs requiredFeatures; |
- |
- final _SVGStringListJs systemLanguage; |
- |
- bool hasExtension(String extension) native; |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
- |
- // From SVGTransformable |
- |
- final _SVGAnimatedTransformListJs transform; |
- |
- // From SVGLocatable |
- |
- final _SVGElementJs farthestViewportElement; |
- |
- final _SVGElementJs nearestViewportElement; |
- |
- _SVGRectJs getBBox() native; |
- |
- _SVGMatrixJs getCTM() native; |
- |
- _SVGMatrixJs getScreenCTM() native; |
- |
- _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
-} |
- |
-class _SVGLengthJs extends _DOMTypeJs 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; |
- |
- String valueAsString; |
- |
- num valueInSpecifiedUnits; |
- |
- void convertToSpecifiedUnits(int unitType) native; |
- |
- void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; |
-} |
- |
-class _SVGLengthListJs extends _DOMTypeJs implements SVGLengthList native "*SVGLengthList" { |
- |
- final int numberOfItems; |
- |
- _SVGLengthJs appendItem(_SVGLengthJs item) native; |
- |
- void clear() native; |
- |
- _SVGLengthJs getItem(int index) native; |
- |
- _SVGLengthJs initialize(_SVGLengthJs item) native; |
- |
- _SVGLengthJs insertItemBefore(_SVGLengthJs item, int index) native; |
- |
- _SVGLengthJs removeItem(int index) native; |
- |
- _SVGLengthJs replaceItem(_SVGLengthJs item, int index) native; |
-} |
- |
-class _SVGLineElementJs extends _SVGElementJs implements SVGLineElement native "*SVGLineElement" { |
- |
- final _SVGAnimatedLengthJs x1; |
- |
- final _SVGAnimatedLengthJs x2; |
- |
- final _SVGAnimatedLengthJs y1; |
- |
- final _SVGAnimatedLengthJs y2; |
- |
- // From SVGTests |
- |
- final _SVGStringListJs requiredExtensions; |
- |
- final _SVGStringListJs requiredFeatures; |
- |
- final _SVGStringListJs systemLanguage; |
- |
- bool hasExtension(String extension) native; |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
- |
- // From SVGTransformable |
- |
- final _SVGAnimatedTransformListJs transform; |
- |
- // From SVGLocatable |
- |
- final _SVGElementJs farthestViewportElement; |
- |
- final _SVGElementJs nearestViewportElement; |
- |
- _SVGRectJs getBBox() native; |
- |
- _SVGMatrixJs getCTM() native; |
- |
- _SVGMatrixJs getScreenCTM() native; |
- |
- _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
-} |
- |
-class _SVGLinearGradientElementJs extends _SVGGradientElementJs implements SVGLinearGradientElement native "*SVGLinearGradientElement" { |
- |
- final _SVGAnimatedLengthJs x1; |
- |
- final _SVGAnimatedLengthJs x2; |
- |
- final _SVGAnimatedLengthJs y1; |
- |
- final _SVGAnimatedLengthJs y2; |
-} |
- |
-class _SVGMPathElementJs extends _SVGElementJs implements SVGMPathElement native "*SVGMPathElement" { |
- |
- // From SVGURIReference |
- |
- final _SVGAnimatedStringJs href; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
-} |
- |
-class _SVGMarkerElementJs extends _SVGElementJs 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 _SVGAnimatedLengthJs markerHeight; |
- |
- final _SVGAnimatedEnumerationJs markerUnits; |
- |
- final _SVGAnimatedLengthJs markerWidth; |
- |
- final _SVGAnimatedAngleJs orientAngle; |
- |
- final _SVGAnimatedEnumerationJs orientType; |
- |
- final _SVGAnimatedLengthJs refX; |
- |
- final _SVGAnimatedLengthJs refY; |
- |
- void setOrientToAngle(_SVGAngleJs angle) native; |
- |
- void setOrientToAuto() native; |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
- |
- // From SVGFitToViewBox |
- |
- final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio; |
- |
- final _SVGAnimatedRectJs viewBox; |
-} |
- |
-class _SVGMaskElementJs extends _SVGElementJs implements SVGMaskElement native "*SVGMaskElement" { |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGAnimatedEnumerationJs maskContentUnits; |
- |
- final _SVGAnimatedEnumerationJs maskUnits; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGTests |
- |
- final _SVGStringListJs requiredExtensions; |
- |
- final _SVGStringListJs requiredFeatures; |
- |
- final _SVGStringListJs systemLanguage; |
- |
- bool hasExtension(String extension) native; |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGMatrixJs extends _DOMTypeJs implements SVGMatrix native "*SVGMatrix" { |
- |
- num a; |
- |
- num b; |
- |
- num c; |
- |
- num d; |
- |
- num e; |
- |
- num f; |
- |
- _SVGMatrixJs flipX() native; |
- |
- _SVGMatrixJs flipY() native; |
- |
- _SVGMatrixJs inverse() native; |
- |
- _SVGMatrixJs multiply(_SVGMatrixJs secondMatrix) native; |
- |
- _SVGMatrixJs rotate(num angle) native; |
- |
- _SVGMatrixJs rotateFromVector(num x, num y) native; |
- |
- _SVGMatrixJs scale(num scaleFactor) native; |
- |
- _SVGMatrixJs scaleNonUniform(num scaleFactorX, num scaleFactorY) native; |
- |
- _SVGMatrixJs skewX(num angle) native; |
- |
- _SVGMatrixJs skewY(num angle) native; |
- |
- _SVGMatrixJs translate(num x, num y) native; |
-} |
- |
-class _SVGMetadataElementJs extends _SVGElementJs implements SVGMetadataElement native "*SVGMetadataElement" { |
-} |
- |
-class _SVGMissingGlyphElementJs extends _SVGElementJs implements SVGMissingGlyphElement native "*SVGMissingGlyphElement" { |
-} |
- |
-class _SVGNumberJs extends _DOMTypeJs implements SVGNumber native "*SVGNumber" { |
- |
- num value; |
-} |
- |
-class _SVGNumberListJs extends _DOMTypeJs implements SVGNumberList native "*SVGNumberList" { |
- |
- final int numberOfItems; |
- |
- _SVGNumberJs appendItem(_SVGNumberJs item) native; |
- |
- void clear() native; |
- |
- _SVGNumberJs getItem(int index) native; |
- |
- _SVGNumberJs initialize(_SVGNumberJs item) native; |
- |
- _SVGNumberJs insertItemBefore(_SVGNumberJs item, int index) native; |
- |
- _SVGNumberJs removeItem(int index) native; |
- |
- _SVGNumberJs replaceItem(_SVGNumberJs item, int index) native; |
-} |
- |
-class _SVGPaintJs extends _SVGColorJs 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; |
- |
- void setPaint(int paintType, String uri, String rgbColor, String iccColor) native; |
- |
- void setUri(String uri) native; |
-} |
- |
-class _SVGPathElementJs extends _SVGElementJs implements SVGPathElement native "*SVGPathElement" { |
- |
- final _SVGPathSegListJs animatedNormalizedPathSegList; |
- |
- final _SVGPathSegListJs animatedPathSegList; |
- |
- final _SVGPathSegListJs normalizedPathSegList; |
- |
- final _SVGAnimatedNumberJs pathLength; |
- |
- final _SVGPathSegListJs pathSegList; |
- |
- _SVGPathSegArcAbsJs createSVGPathSegArcAbs(num x, num y, num r1, num r2, num angle, bool largeArcFlag, bool sweepFlag) native; |
- |
- _SVGPathSegArcRelJs createSVGPathSegArcRel(num x, num y, num r1, num r2, num angle, bool largeArcFlag, bool sweepFlag) native; |
- |
- _SVGPathSegClosePathJs createSVGPathSegClosePath() native; |
- |
- _SVGPathSegCurvetoCubicAbsJs createSVGPathSegCurvetoCubicAbs(num x, num y, num x1, num y1, num x2, num y2) native; |
- |
- _SVGPathSegCurvetoCubicRelJs createSVGPathSegCurvetoCubicRel(num x, num y, num x1, num y1, num x2, num y2) native; |
- |
- _SVGPathSegCurvetoCubicSmoothAbsJs createSVGPathSegCurvetoCubicSmoothAbs(num x, num y, num x2, num y2) native; |
- |
- _SVGPathSegCurvetoCubicSmoothRelJs createSVGPathSegCurvetoCubicSmoothRel(num x, num y, num x2, num y2) native; |
- |
- _SVGPathSegCurvetoQuadraticAbsJs createSVGPathSegCurvetoQuadraticAbs(num x, num y, num x1, num y1) native; |
- |
- _SVGPathSegCurvetoQuadraticRelJs createSVGPathSegCurvetoQuadraticRel(num x, num y, num x1, num y1) native; |
- |
- _SVGPathSegCurvetoQuadraticSmoothAbsJs createSVGPathSegCurvetoQuadraticSmoothAbs(num x, num y) native; |
- |
- _SVGPathSegCurvetoQuadraticSmoothRelJs createSVGPathSegCurvetoQuadraticSmoothRel(num x, num y) native; |
- |
- _SVGPathSegLinetoAbsJs createSVGPathSegLinetoAbs(num x, num y) native; |
- |
- _SVGPathSegLinetoHorizontalAbsJs createSVGPathSegLinetoHorizontalAbs(num x) native; |
- |
- _SVGPathSegLinetoHorizontalRelJs createSVGPathSegLinetoHorizontalRel(num x) native; |
- |
- _SVGPathSegLinetoRelJs createSVGPathSegLinetoRel(num x, num y) native; |
- |
- _SVGPathSegLinetoVerticalAbsJs createSVGPathSegLinetoVerticalAbs(num y) native; |
- |
- _SVGPathSegLinetoVerticalRelJs createSVGPathSegLinetoVerticalRel(num y) native; |
- |
- _SVGPathSegMovetoAbsJs createSVGPathSegMovetoAbs(num x, num y) native; |
- |
- _SVGPathSegMovetoRelJs createSVGPathSegMovetoRel(num x, num y) native; |
- |
- int getPathSegAtLength(num distance) native; |
- |
- _SVGPointJs getPointAtLength(num distance) native; |
- |
- num getTotalLength() native; |
- |
- // From SVGTests |
- |
- final _SVGStringListJs requiredExtensions; |
- |
- final _SVGStringListJs requiredFeatures; |
- |
- final _SVGStringListJs systemLanguage; |
- |
- bool hasExtension(String extension) native; |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
- |
- // From SVGTransformable |
- |
- final _SVGAnimatedTransformListJs transform; |
- |
- // From SVGLocatable |
- |
- final _SVGElementJs farthestViewportElement; |
- |
- final _SVGElementJs nearestViewportElement; |
- |
- _SVGRectJs getBBox() native; |
- |
- _SVGMatrixJs getCTM() native; |
- |
- _SVGMatrixJs getScreenCTM() native; |
- |
- _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
-} |
- |
-class _SVGPathSegJs extends _DOMTypeJs 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; |
-} |
- |
-class _SVGPathSegArcAbsJs extends _SVGPathSegJs implements SVGPathSegArcAbs native "*SVGPathSegArcAbs" { |
- |
- num angle; |
- |
- bool largeArcFlag; |
- |
- num r1; |
- |
- num r2; |
- |
- bool sweepFlag; |
- |
- num x; |
- |
- num y; |
-} |
- |
-class _SVGPathSegArcRelJs extends _SVGPathSegJs implements SVGPathSegArcRel native "*SVGPathSegArcRel" { |
- |
- num angle; |
- |
- bool largeArcFlag; |
- |
- num r1; |
- |
- num r2; |
- |
- bool sweepFlag; |
- |
- num x; |
- |
- num y; |
-} |
- |
-class _SVGPathSegClosePathJs extends _SVGPathSegJs implements SVGPathSegClosePath native "*SVGPathSegClosePath" { |
-} |
- |
-class _SVGPathSegCurvetoCubicAbsJs extends _SVGPathSegJs implements SVGPathSegCurvetoCubicAbs native "*SVGPathSegCurvetoCubicAbs" { |
- |
- num x; |
- |
- num x1; |
- |
- num x2; |
- |
- num y; |
- |
- num y1; |
- |
- num y2; |
-} |
- |
-class _SVGPathSegCurvetoCubicRelJs extends _SVGPathSegJs implements SVGPathSegCurvetoCubicRel native "*SVGPathSegCurvetoCubicRel" { |
- |
- num x; |
- |
- num x1; |
- |
- num x2; |
- |
- num y; |
- |
- num y1; |
- |
- num y2; |
-} |
- |
-class _SVGPathSegCurvetoCubicSmoothAbsJs extends _SVGPathSegJs implements SVGPathSegCurvetoCubicSmoothAbs native "*SVGPathSegCurvetoCubicSmoothAbs" { |
- |
- num x; |
- |
- num x2; |
- |
- num y; |
- |
- num y2; |
-} |
- |
-class _SVGPathSegCurvetoCubicSmoothRelJs extends _SVGPathSegJs implements SVGPathSegCurvetoCubicSmoothRel native "*SVGPathSegCurvetoCubicSmoothRel" { |
- |
- num x; |
- |
- num x2; |
- |
- num y; |
- |
- num y2; |
-} |
- |
-class _SVGPathSegCurvetoQuadraticAbsJs extends _SVGPathSegJs implements SVGPathSegCurvetoQuadraticAbs native "*SVGPathSegCurvetoQuadraticAbs" { |
- |
- num x; |
- |
- num x1; |
- |
- num y; |
- |
- num y1; |
-} |
- |
-class _SVGPathSegCurvetoQuadraticRelJs extends _SVGPathSegJs implements SVGPathSegCurvetoQuadraticRel native "*SVGPathSegCurvetoQuadraticRel" { |
- |
- num x; |
- |
- num x1; |
- |
- num y; |
- |
- num y1; |
-} |
- |
-class _SVGPathSegCurvetoQuadraticSmoothAbsJs extends _SVGPathSegJs implements SVGPathSegCurvetoQuadraticSmoothAbs native "*SVGPathSegCurvetoQuadraticSmoothAbs" { |
- |
- num x; |
- |
- num y; |
-} |
- |
-class _SVGPathSegCurvetoQuadraticSmoothRelJs extends _SVGPathSegJs implements SVGPathSegCurvetoQuadraticSmoothRel native "*SVGPathSegCurvetoQuadraticSmoothRel" { |
- |
- num x; |
- |
- num y; |
-} |
- |
-class _SVGPathSegLinetoAbsJs extends _SVGPathSegJs implements SVGPathSegLinetoAbs native "*SVGPathSegLinetoAbs" { |
- |
- num x; |
- |
- num y; |
-} |
- |
-class _SVGPathSegLinetoHorizontalAbsJs extends _SVGPathSegJs implements SVGPathSegLinetoHorizontalAbs native "*SVGPathSegLinetoHorizontalAbs" { |
- |
- num x; |
-} |
- |
-class _SVGPathSegLinetoHorizontalRelJs extends _SVGPathSegJs implements SVGPathSegLinetoHorizontalRel native "*SVGPathSegLinetoHorizontalRel" { |
- |
- num x; |
-} |
- |
-class _SVGPathSegLinetoRelJs extends _SVGPathSegJs implements SVGPathSegLinetoRel native "*SVGPathSegLinetoRel" { |
- |
- num x; |
- |
- num y; |
-} |
- |
-class _SVGPathSegLinetoVerticalAbsJs extends _SVGPathSegJs implements SVGPathSegLinetoVerticalAbs native "*SVGPathSegLinetoVerticalAbs" { |
- |
- num y; |
-} |
- |
-class _SVGPathSegLinetoVerticalRelJs extends _SVGPathSegJs implements SVGPathSegLinetoVerticalRel native "*SVGPathSegLinetoVerticalRel" { |
- |
- num y; |
-} |
- |
-class _SVGPathSegListJs extends _DOMTypeJs implements SVGPathSegList native "*SVGPathSegList" { |
- |
- final int numberOfItems; |
- |
- _SVGPathSegJs appendItem(_SVGPathSegJs newItem) native; |
- |
- void clear() native; |
- |
- _SVGPathSegJs getItem(int index) native; |
- |
- _SVGPathSegJs initialize(_SVGPathSegJs newItem) native; |
- |
- _SVGPathSegJs insertItemBefore(_SVGPathSegJs newItem, int index) native; |
- |
- _SVGPathSegJs removeItem(int index) native; |
- |
- _SVGPathSegJs replaceItem(_SVGPathSegJs newItem, int index) native; |
-} |
- |
-class _SVGPathSegMovetoAbsJs extends _SVGPathSegJs implements SVGPathSegMovetoAbs native "*SVGPathSegMovetoAbs" { |
- |
- num x; |
- |
- num y; |
-} |
- |
-class _SVGPathSegMovetoRelJs extends _SVGPathSegJs implements SVGPathSegMovetoRel native "*SVGPathSegMovetoRel" { |
- |
- num x; |
- |
- num y; |
-} |
- |
-class _SVGPatternElementJs extends _SVGElementJs implements SVGPatternElement native "*SVGPatternElement" { |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGAnimatedEnumerationJs patternContentUnits; |
- |
- final _SVGAnimatedTransformListJs patternTransform; |
- |
- final _SVGAnimatedEnumerationJs patternUnits; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGURIReference |
- |
- final _SVGAnimatedStringJs href; |
- |
- // From SVGTests |
- |
- final _SVGStringListJs requiredExtensions; |
- |
- final _SVGStringListJs requiredFeatures; |
- |
- final _SVGStringListJs systemLanguage; |
- |
- bool hasExtension(String extension) native; |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
- |
- // From SVGFitToViewBox |
- |
- final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio; |
- |
- final _SVGAnimatedRectJs viewBox; |
-} |
- |
-class _SVGPointJs extends _DOMTypeJs implements SVGPoint native "*SVGPoint" { |
- |
- num x; |
- |
- num y; |
- |
- _SVGPointJs matrixTransform(_SVGMatrixJs matrix) native; |
-} |
- |
-class _SVGPointListJs extends _DOMTypeJs implements SVGPointList native "*SVGPointList" { |
- |
- final int numberOfItems; |
- |
- _SVGPointJs appendItem(_SVGPointJs item) native; |
- |
- void clear() native; |
- |
- _SVGPointJs getItem(int index) native; |
- |
- _SVGPointJs initialize(_SVGPointJs item) native; |
- |
- _SVGPointJs insertItemBefore(_SVGPointJs item, int index) native; |
- |
- _SVGPointJs removeItem(int index) native; |
- |
- _SVGPointJs replaceItem(_SVGPointJs item, int index) native; |
-} |
- |
-class _SVGPolygonElementJs extends _SVGElementJs implements SVGPolygonElement native "*SVGPolygonElement" { |
- |
- final _SVGPointListJs animatedPoints; |
- |
- final _SVGPointListJs points; |
- |
- // From SVGTests |
- |
- final _SVGStringListJs requiredExtensions; |
- |
- final _SVGStringListJs requiredFeatures; |
- |
- final _SVGStringListJs systemLanguage; |
- |
- bool hasExtension(String extension) native; |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
- |
- // From SVGTransformable |
- |
- final _SVGAnimatedTransformListJs transform; |
- |
- // From SVGLocatable |
- |
- final _SVGElementJs farthestViewportElement; |
- |
- final _SVGElementJs nearestViewportElement; |
- |
- _SVGRectJs getBBox() native; |
- |
- _SVGMatrixJs getCTM() native; |
- |
- _SVGMatrixJs getScreenCTM() native; |
- |
- _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
-} |
- |
-class _SVGPolylineElementJs extends _SVGElementJs implements SVGPolylineElement native "*SVGPolylineElement" { |
- |
- final _SVGPointListJs animatedPoints; |
- |
- final _SVGPointListJs points; |
- |
- // From SVGTests |
- |
- final _SVGStringListJs requiredExtensions; |
- |
- final _SVGStringListJs requiredFeatures; |
- |
- final _SVGStringListJs systemLanguage; |
- |
- bool hasExtension(String extension) native; |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
- |
- // From SVGTransformable |
- |
- final _SVGAnimatedTransformListJs transform; |
- |
- // From SVGLocatable |
- |
- final _SVGElementJs farthestViewportElement; |
- |
- final _SVGElementJs nearestViewportElement; |
- |
- _SVGRectJs getBBox() native; |
- |
- _SVGMatrixJs getCTM() native; |
- |
- _SVGMatrixJs getScreenCTM() native; |
- |
- _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
-} |
- |
-class _SVGPreserveAspectRatioJs extends _DOMTypeJs 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; |
-} |
- |
-class _SVGRadialGradientElementJs extends _SVGGradientElementJs implements SVGRadialGradientElement native "*SVGRadialGradientElement" { |
- |
- final _SVGAnimatedLengthJs cx; |
- |
- final _SVGAnimatedLengthJs cy; |
- |
- final _SVGAnimatedLengthJs fx; |
- |
- final _SVGAnimatedLengthJs fy; |
- |
- final _SVGAnimatedLengthJs r; |
-} |
- |
-class _SVGRectJs extends _DOMTypeJs implements SVGRect native "*SVGRect" { |
- |
- num height; |
- |
- num width; |
- |
- num x; |
- |
- num y; |
-} |
- |
-class _SVGRectElementJs extends _SVGElementJs implements SVGRectElement native "*SVGRectElement" { |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGAnimatedLengthJs rx; |
- |
- final _SVGAnimatedLengthJs ry; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGTests |
- |
- final _SVGStringListJs requiredExtensions; |
- |
- final _SVGStringListJs requiredFeatures; |
- |
- final _SVGStringListJs systemLanguage; |
- |
- bool hasExtension(String extension) native; |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
- |
- // From SVGTransformable |
- |
- final _SVGAnimatedTransformListJs transform; |
- |
- // From SVGLocatable |
- |
- final _SVGElementJs farthestViewportElement; |
- |
- final _SVGElementJs nearestViewportElement; |
- |
- _SVGRectJs getBBox() native; |
- |
- _SVGMatrixJs getCTM() native; |
- |
- _SVGMatrixJs getScreenCTM() native; |
- |
- _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
-} |
- |
-class _SVGRenderingIntentJs extends _DOMTypeJs 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; |
-} |
- |
-class _SVGSVGElementJs extends _SVGElementJs implements SVGSVGElement native "*SVGSVGElement" { |
- |
- String contentScriptType; |
- |
- String contentStyleType; |
- |
- num currentScale; |
- |
- final _SVGPointJs currentTranslate; |
- |
- final _SVGViewSpecJs currentView; |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final num pixelUnitToMillimeterX; |
- |
- final num pixelUnitToMillimeterY; |
- |
- final num screenPixelToMillimeterX; |
- |
- final num screenPixelToMillimeterY; |
- |
- final bool useCurrentView; |
- |
- final _SVGRectJs viewport; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- bool animationsPaused() native; |
- |
- bool checkEnclosure(_SVGElementJs element, _SVGRectJs rect) native; |
- |
- bool checkIntersection(_SVGElementJs element, _SVGRectJs rect) native; |
- |
- _SVGAngleJs createSVGAngle() native; |
- |
- _SVGLengthJs createSVGLength() native; |
- |
- _SVGMatrixJs createSVGMatrix() native; |
- |
- _SVGNumberJs createSVGNumber() native; |
- |
- _SVGPointJs createSVGPoint() native; |
- |
- _SVGRectJs createSVGRect() native; |
- |
- _SVGTransformJs createSVGTransform() native; |
- |
- _SVGTransformJs createSVGTransformFromMatrix(_SVGMatrixJs matrix) native; |
- |
- void deselectAll() native; |
- |
- void forceRedraw() native; |
- |
- num getCurrentTime() native; |
- |
- _ElementJs getElementById(String elementId) native; |
- |
- _NodeListJs getEnclosureList(_SVGRectJs rect, _SVGElementJs referenceElement) native; |
- |
- _NodeListJs getIntersectionList(_SVGRectJs rect, _SVGElementJs referenceElement) native; |
- |
- void pauseAnimations() native; |
- |
- void setCurrentTime(num seconds) native; |
- |
- int suspendRedraw(int maxWaitMilliseconds) native; |
- |
- void unpauseAnimations() native; |
- |
- void unsuspendRedraw(int suspendHandleId) native; |
- |
- void unsuspendRedrawAll() native; |
- |
- // From SVGTests |
- |
- final _SVGStringListJs requiredExtensions; |
- |
- final _SVGStringListJs requiredFeatures; |
- |
- final _SVGStringListJs systemLanguage; |
- |
- bool hasExtension(String extension) native; |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
- |
- // From SVGLocatable |
- |
- final _SVGElementJs farthestViewportElement; |
- |
- final _SVGElementJs nearestViewportElement; |
- |
- _SVGRectJs getBBox() native; |
- |
- _SVGMatrixJs getCTM() native; |
- |
- _SVGMatrixJs getScreenCTM() native; |
- |
- _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
- |
- // From SVGFitToViewBox |
- |
- final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio; |
- |
- final _SVGAnimatedRectJs viewBox; |
- |
- // From SVGZoomAndPan |
- |
- int zoomAndPan; |
-} |
- |
-class _SVGScriptElementJs extends _SVGElementJs implements SVGScriptElement native "*SVGScriptElement" { |
- |
- String type; |
- |
- // From SVGURIReference |
- |
- final _SVGAnimatedStringJs href; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
-} |
- |
-class _SVGSetElementJs extends _SVGAnimationElementJs implements SVGSetElement native "*SVGSetElement" { |
-} |
- |
-class _SVGStopElementJs extends _SVGElementJs implements SVGStopElement native "*SVGStopElement" { |
- |
- final _SVGAnimatedNumberJs offset; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGStringListJs extends _DOMTypeJs implements SVGStringList native "*SVGStringList" { |
- |
- final int numberOfItems; |
- |
- String appendItem(String item) native; |
- |
- void clear() native; |
- |
- String getItem(int index) native; |
- |
- String initialize(String item) native; |
- |
- String insertItemBefore(String item, int index) native; |
- |
- String removeItem(int index) native; |
- |
- String replaceItem(String item, int index) native; |
-} |
- |
-class _SVGStyleElementJs extends _SVGElementJs implements SVGStyleElement native "*SVGStyleElement" { |
- |
- bool disabled; |
- |
- String media; |
- |
- String title; |
- |
- String type; |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
-} |
- |
-class _SVGSwitchElementJs extends _SVGElementJs implements SVGSwitchElement native "*SVGSwitchElement" { |
- |
- // From SVGTests |
- |
- final _SVGStringListJs requiredExtensions; |
- |
- final _SVGStringListJs requiredFeatures; |
- |
- final _SVGStringListJs systemLanguage; |
- |
- bool hasExtension(String extension) native; |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
- |
- // From SVGTransformable |
- |
- final _SVGAnimatedTransformListJs transform; |
- |
- // From SVGLocatable |
- |
- final _SVGElementJs farthestViewportElement; |
- |
- final _SVGElementJs nearestViewportElement; |
- |
- _SVGRectJs getBBox() native; |
- |
- _SVGMatrixJs getCTM() native; |
- |
- _SVGMatrixJs getScreenCTM() native; |
- |
- _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
-} |
- |
-class _SVGSymbolElementJs extends _SVGElementJs implements SVGSymbolElement native "*SVGSymbolElement" { |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
- |
- // From SVGFitToViewBox |
- |
- final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio; |
- |
- final _SVGAnimatedRectJs viewBox; |
-} |
- |
-class _SVGTRefElementJs extends _SVGTextPositioningElementJs implements SVGTRefElement native "*SVGTRefElement" { |
- |
- // From SVGURIReference |
- |
- final _SVGAnimatedStringJs href; |
-} |
- |
-class _SVGTSpanElementJs extends _SVGTextPositioningElementJs implements SVGTSpanElement native "*SVGTSpanElement" { |
-} |
- |
-class _SVGTextContentElementJs extends _SVGElementJs implements SVGTextContentElement native "*SVGTextContentElement" { |
- |
- static const int LENGTHADJUST_SPACING = 1; |
- |
- static const int LENGTHADJUST_SPACINGANDGLYPHS = 2; |
- |
- static const int LENGTHADJUST_UNKNOWN = 0; |
- |
- final _SVGAnimatedEnumerationJs lengthAdjust; |
- |
- final _SVGAnimatedLengthJs textLength; |
- |
- int getCharNumAtPosition(_SVGPointJs point) native; |
- |
- num getComputedTextLength() native; |
- |
- _SVGPointJs getEndPositionOfChar(int offset) native; |
- |
- _SVGRectJs getExtentOfChar(int offset) native; |
- |
- int getNumberOfChars() native; |
- |
- num getRotationOfChar(int offset) native; |
- |
- _SVGPointJs getStartPositionOfChar(int offset) native; |
- |
- num getSubStringLength(int offset, int length) native; |
- |
- void selectSubString(int offset, int length) native; |
- |
- // From SVGTests |
- |
- final _SVGStringListJs requiredExtensions; |
- |
- final _SVGStringListJs requiredFeatures; |
- |
- final _SVGStringListJs systemLanguage; |
- |
- bool hasExtension(String extension) native; |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGTextElementJs extends _SVGTextPositioningElementJs implements SVGTextElement native "*SVGTextElement" { |
- |
- // From SVGTransformable |
- |
- final _SVGAnimatedTransformListJs transform; |
- |
- // From SVGLocatable |
- |
- final _SVGElementJs farthestViewportElement; |
- |
- final _SVGElementJs nearestViewportElement; |
- |
- _SVGRectJs getBBox() native; |
- |
- _SVGMatrixJs getCTM() native; |
- |
- _SVGMatrixJs getScreenCTM() native; |
- |
- _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
-} |
- |
-class _SVGTextPathElementJs extends _SVGTextContentElementJs 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 _SVGAnimatedEnumerationJs method; |
- |
- final _SVGAnimatedEnumerationJs spacing; |
- |
- final _SVGAnimatedLengthJs startOffset; |
- |
- // From SVGURIReference |
- |
- final _SVGAnimatedStringJs href; |
-} |
- |
-class _SVGTextPositioningElementJs extends _SVGTextContentElementJs implements SVGTextPositioningElement native "*SVGTextPositioningElement" { |
- |
- final _SVGAnimatedLengthListJs dx; |
- |
- final _SVGAnimatedLengthListJs dy; |
- |
- final _SVGAnimatedNumberListJs rotate; |
- |
- final _SVGAnimatedLengthListJs x; |
- |
- final _SVGAnimatedLengthListJs y; |
-} |
- |
-class _SVGTitleElementJs extends _SVGElementJs implements SVGTitleElement native "*SVGTitleElement" { |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
-} |
- |
-class _SVGTransformJs extends _DOMTypeJs 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 _SVGMatrixJs matrix; |
- |
- final int type; |
- |
- void setMatrix(_SVGMatrixJs matrix) native; |
- |
- void setRotate(num angle, num cx, num cy) native; |
- |
- void setScale(num sx, num sy) native; |
- |
- void setSkewX(num angle) native; |
- |
- void setSkewY(num angle) native; |
- |
- void setTranslate(num tx, num ty) native; |
-} |
- |
-class _SVGTransformListJs extends _DOMTypeJs implements SVGTransformList native "*SVGTransformList" { |
- |
- final int numberOfItems; |
- |
- _SVGTransformJs appendItem(_SVGTransformJs item) native; |
- |
- void clear() native; |
- |
- _SVGTransformJs consolidate() native; |
- |
- _SVGTransformJs createSVGTransformFromMatrix(_SVGMatrixJs matrix) native; |
- |
- _SVGTransformJs getItem(int index) native; |
- |
- _SVGTransformJs initialize(_SVGTransformJs item) native; |
- |
- _SVGTransformJs insertItemBefore(_SVGTransformJs item, int index) native; |
- |
- _SVGTransformJs removeItem(int index) native; |
- |
- _SVGTransformJs replaceItem(_SVGTransformJs item, int index) native; |
-} |
- |
-class _SVGUnitTypesJs extends _DOMTypeJs 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; |
-} |
- |
-class _SVGUseElementJs extends _SVGElementJs implements SVGUseElement native "*SVGUseElement" { |
- |
- final _SVGElementInstanceJs animatedInstanceRoot; |
- |
- final _SVGAnimatedLengthJs height; |
- |
- final _SVGElementInstanceJs instanceRoot; |
- |
- final _SVGAnimatedLengthJs width; |
- |
- final _SVGAnimatedLengthJs x; |
- |
- final _SVGAnimatedLengthJs y; |
- |
- // From SVGURIReference |
- |
- final _SVGAnimatedStringJs href; |
- |
- // From SVGTests |
- |
- final _SVGStringListJs requiredExtensions; |
- |
- final _SVGStringListJs requiredFeatures; |
- |
- final _SVGStringListJs systemLanguage; |
- |
- bool hasExtension(String extension) native; |
- |
- // From SVGLangSpace |
- |
- String xmllang; |
- |
- String xmlspace; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGStylable |
- |
- // Shadowing definition. |
- _SVGAnimatedStringJs get className() native "return this.className;"; |
- |
- // Use implementation from Element. |
- // final _CSSStyleDeclarationJs style; |
- |
- _CSSValueJs getPresentationAttribute(String name) native; |
- |
- // From SVGTransformable |
- |
- final _SVGAnimatedTransformListJs transform; |
- |
- // From SVGLocatable |
- |
- final _SVGElementJs farthestViewportElement; |
- |
- final _SVGElementJs nearestViewportElement; |
- |
- _SVGRectJs getBBox() native; |
- |
- _SVGMatrixJs getCTM() native; |
- |
- _SVGMatrixJs getScreenCTM() native; |
- |
- _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
-} |
- |
-class _SVGVKernElementJs extends _SVGElementJs implements SVGVKernElement native "*SVGVKernElement" { |
-} |
- |
-class _SVGViewElementJs extends _SVGElementJs implements SVGViewElement native "*SVGViewElement" { |
- |
- final _SVGStringListJs viewTarget; |
- |
- // From SVGExternalResourcesRequired |
- |
- final _SVGAnimatedBooleanJs externalResourcesRequired; |
- |
- // From SVGFitToViewBox |
- |
- final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio; |
- |
- final _SVGAnimatedRectJs viewBox; |
- |
- // From SVGZoomAndPan |
- |
- int zoomAndPan; |
-} |
- |
-class _SVGViewSpecJs extends _DOMTypeJs implements SVGViewSpec native "*SVGViewSpec" { |
- |
- final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio; |
- |
- final String preserveAspectRatioString; |
- |
- final _SVGTransformListJs transform; |
- |
- final String transformString; |
- |
- final _SVGAnimatedRectJs viewBox; |
- |
- final String viewBoxString; |
- |
- final _SVGElementJs viewTarget; |
- |
- final String viewTargetString; |
- |
- int zoomAndPan; |
-} |
- |
-class _SVGZoomEventJs extends _UIEventJs implements SVGZoomEvent native "*SVGZoomEvent" { |
- |
- final num newScale; |
- |
- final _SVGPointJs newTranslate; |
- |
- final num previousScale; |
- |
- final _SVGPointJs previousTranslate; |
- |
- final _SVGRectJs zoomRectScreen; |
-} |
- |
-class _ScreenJs extends _DOMTypeJs implements Screen native "*Screen" { |
- |
- final int availHeight; |
- |
- final int availLeft; |
- |
- final int availTop; |
- |
- final int availWidth; |
- |
- final int colorDepth; |
- |
- final int height; |
- |
- final int pixelDepth; |
- |
- final int width; |
-} |
- |
-class _ScriptProfileJs extends _DOMTypeJs implements ScriptProfile native "*ScriptProfile" { |
- |
- final _ScriptProfileNodeJs head; |
- |
- final String title; |
- |
- final int uid; |
-} |
- |
-class _ScriptProfileNodeJs extends _DOMTypeJs implements ScriptProfileNode native "*ScriptProfileNode" { |
- |
- final int callUID; |
- |
- final String functionName; |
- |
- final int lineNumber; |
- |
- final int numberOfCalls; |
- |
- final num selfTime; |
- |
- final num totalTime; |
- |
- final String url; |
- |
- final bool visible; |
- |
- List<ScriptProfileNode> children() native; |
-} |
- |
-class _SessionDescriptionJs extends _DOMTypeJs implements SessionDescription native "*SessionDescription" { |
- |
- void addCandidate(_IceCandidateJs candidate) native; |
- |
- String toSdp() native; |
-} |
- |
-class _ShadowRootJs extends _DocumentFragmentJs implements ShadowRoot native "*ShadowRoot" { |
- |
- final _ElementJs activeElement; |
- |
- bool applyAuthorStyles; |
- |
- String innerHTML; |
- |
- bool resetStyleInheritance; |
- |
- _ElementJs getElementById(String elementId) native; |
- |
- _NodeListJs getElementsByClassName(String className) native; |
- |
- _NodeListJs getElementsByTagName(String tagName) native; |
- |
- _NodeListJs getElementsByTagNameNS(String namespaceURI, String localName) native; |
- |
- _DOMSelectionJs getSelection() native; |
-} |
- |
-class _SharedWorkerJs extends _AbstractWorkerJs implements SharedWorker native "*SharedWorker" { |
- |
- final _MessagePortJs port; |
-} |
- |
-class _SharedWorkerContextJs extends _WorkerContextJs implements SharedWorkerContext native "*SharedWorkerContext" { |
- |
- final String name; |
-} |
- |
-class _SourceBufferJs extends _DOMTypeJs implements SourceBuffer native "*SourceBuffer" { |
- |
- final _TimeRangesJs buffered; |
- |
- num timestampOffset; |
- |
- void abort() native; |
- |
- void append(_Uint8ArrayJs data) native; |
-} |
- |
-class _SourceBufferListJs extends _EventTargetJs implements SourceBufferList native "*SourceBufferList" { |
- |
- final int length; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs event) native; |
- |
- _SourceBufferJs item(int index) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
-} |
- |
-class _SpeechGrammarJs extends _DOMTypeJs implements SpeechGrammar native "*SpeechGrammar" { |
- |
- String src; |
- |
- num weight; |
-} |
- |
-class _SpeechGrammarListJs extends _DOMTypeJs implements SpeechGrammarList native "*SpeechGrammarList" { |
- |
- final int length; |
- |
- void addFromString(String string, [num weight]) native; |
- |
- void addFromUri(String src, [num weight]) native; |
- |
- _SpeechGrammarJs item(int index) native; |
-} |
- |
-class _SpeechInputEventJs extends _EventJs implements SpeechInputEvent native "*SpeechInputEvent" { |
- |
- final _SpeechInputResultListJs results; |
-} |
- |
-class _SpeechInputResultJs extends _DOMTypeJs implements SpeechInputResult native "*SpeechInputResult" { |
- |
- final num confidence; |
- |
- final String utterance; |
-} |
- |
-class _SpeechInputResultListJs extends _DOMTypeJs implements SpeechInputResultList native "*SpeechInputResultList" { |
- |
- final int length; |
- |
- _SpeechInputResultJs item(int index) native; |
-} |
- |
-class _SpeechRecognitionJs extends _EventTargetJs implements SpeechRecognition native "*SpeechRecognition" { |
- |
- bool continuous; |
- |
- _SpeechGrammarListJs grammars; |
- |
- String lang; |
- |
- int maxAlternatives; |
- |
- void abort() native; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs evt) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- void start() native; |
- |
- void stop() native; |
-} |
- |
-class _SpeechRecognitionAlternativeJs extends _DOMTypeJs implements SpeechRecognitionAlternative native "*SpeechRecognitionAlternative" { |
- |
- final num confidence; |
- |
- final String transcript; |
-} |
- |
-class _SpeechRecognitionErrorJs extends _EventJs 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; |
-} |
- |
-class _SpeechRecognitionEventJs extends _EventJs implements SpeechRecognitionEvent native "*SpeechRecognitionEvent" { |
- |
- final _SpeechRecognitionResultJs result; |
- |
- final _SpeechRecognitionResultListJs resultHistory; |
- |
- final int resultIndex; |
-} |
- |
-class _SpeechRecognitionResultJs extends _DOMTypeJs implements SpeechRecognitionResult native "*SpeechRecognitionResult" { |
- |
- final _DocumentJs emma; |
- |
- bool get finalValue() native "return this.final;"; |
- |
- final int length; |
- |
- _SpeechRecognitionAlternativeJs item(int index) native; |
-} |
- |
-class _SpeechRecognitionResultListJs extends _DOMTypeJs implements SpeechRecognitionResultList native "*SpeechRecognitionResultList" { |
- |
- final int length; |
- |
- _SpeechRecognitionResultJs item(int index) 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. |
- |
-class _StorageJs extends _DOMTypeJs implements Storage native "*Storage" { |
- |
- final int length; |
- |
- void clear() native; |
- |
- String getItem(String key) native; |
- |
- String key(int index) native; |
- |
- void removeItem(String key) native; |
- |
- void setItem(String key, String data) native; |
- |
- |
- // Storage needs a special implementation of dartObjectLocalStorage since it |
- // captures what would normally be an expando and places property in the |
- // storage, stringifying the assigned value. |
- |
- get dartObjectLocalStorage() native """ |
- if (this === window.localStorage) |
- return window._dartLocalStorageLocalStorage; |
- else if (this === window.sessionStorage) |
- return window._dartSessionStorageLocalStorage; |
- else |
- throw new UnsupportedOperationException('Cannot dartObjectLocalStorage for unknown Storage object.'); |
-""" { throw new UnsupportedOperationException(''); } |
- |
- void set dartObjectLocalStorage(var value) native """ |
- if (this === window.localStorage) |
- window._dartLocalStorageLocalStorage = value; |
- else if (this === window.sessionStorage) |
- window._dartSessionStorageLocalStorage = value; |
- else |
- throw new UnsupportedOperationException('Cannot dartObjectLocalStorage for unknown Storage object.'); |
-""" { throw new UnsupportedOperationException(''); } |
-} |
- |
-class _StorageEventJs extends _EventJs implements StorageEvent native "*StorageEvent" { |
- |
- final String key; |
- |
- final String newValue; |
- |
- final String oldValue; |
- |
- final _StorageJs storageArea; |
- |
- final String url; |
- |
- void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, String keyArg, String oldValueArg, String newValueArg, String urlArg, _StorageJs storageAreaArg) native; |
-} |
- |
-class _StorageInfoJs extends _DOMTypeJs 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; |
-} |
- |
-class _StyleMediaJs extends _DOMTypeJs implements StyleMedia native "*StyleMedia" { |
- |
- final String type; |
- |
- bool matchMedium(String mediaquery) native; |
-} |
- |
-class _StyleSheetJs extends _DOMTypeJs implements StyleSheet native "*StyleSheet" { |
- |
- bool disabled; |
- |
- final String href; |
- |
- final _MediaListJs media; |
- |
- final _NodeJs ownerNode; |
- |
- final _StyleSheetJs parentStyleSheet; |
- |
- final String title; |
- |
- final String type; |
-} |
- |
-class _StyleSheetListJs extends _DOMTypeJs implements StyleSheetList native "*StyleSheetList" { |
- |
- final int length; |
- |
- _StyleSheetJs operator[](int index) native "return this[index];"; |
- |
- void operator[]=(int index, _StyleSheetJs value) { |
- throw new UnsupportedOperationException("Cannot assign element of immutable List."); |
- } |
- // -- start List<StyleSheet> mixins. |
- // StyleSheet is the element type. |
- |
- // From Iterable<StyleSheet>: |
- |
- Iterator<StyleSheet> 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<StyleSheet>(this); |
- } |
- |
- // From Collection<StyleSheet>: |
- |
- void add(StyleSheet value) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void addLast(StyleSheet value) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void addAll(Collection<StyleSheet> collection) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void forEach(void f(StyleSheet element)) => _Collections.forEach(this, f); |
- |
- Collection map(f(StyleSheet element)) => _Collections.map(this, [], f); |
- |
- Collection<StyleSheet> filter(bool f(StyleSheet element)) => |
- _Collections.filter(this, <StyleSheet>[], f); |
- |
- bool every(bool f(StyleSheet element)) => _Collections.every(this, f); |
- |
- bool some(bool f(StyleSheet element)) => _Collections.some(this, f); |
- |
- bool isEmpty() => this.length == 0; |
- |
- // From List<StyleSheet>: |
- |
- void sort(int compare(StyleSheet a, StyleSheet b)) { |
- throw const UnsupportedOperationException("Cannot sort immutable List."); |
- } |
- |
- int indexOf(StyleSheet element, [int start = 0]) => |
- _Lists.indexOf(this, element, start, this.length); |
- |
- int lastIndexOf(StyleSheet element, [int start]) { |
- if (start === null) start = length - 1; |
- return _Lists.lastIndexOf(this, element, start); |
- } |
- |
- StyleSheet last() => this[length - 1]; |
- |
- StyleSheet removeLast() { |
- throw const UnsupportedOperationException("Cannot removeLast on immutable List."); |
- } |
- |
- // FIXME: implement these. |
- void setRange(int start, int rangeLength, List<StyleSheet> 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, [StyleSheet initialValue]) { |
- throw const UnsupportedOperationException("Cannot insertRange on immutable List."); |
- } |
- |
- List<StyleSheet> getRange(int start, int rangeLength) => |
- _Lists.getRange(this, start, rangeLength, <StyleSheet>[]); |
- |
- // -- end List<StyleSheet> mixins. |
- |
- _StyleSheetJs item(int index) native; |
-} |
- |
-class _TextJs extends _CharacterDataJs implements Text native "*Text" { |
- |
- final String wholeText; |
- |
- _TextJs replaceWholeText(String content) native; |
- |
- _TextJs splitText(int offset) native; |
-} |
- |
-class _TextEventJs extends _UIEventJs implements TextEvent native "*TextEvent" { |
- |
- final String data; |
- |
- void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, _DOMWindowJs viewArg, String dataArg) native; |
-} |
- |
-class _TextMetricsJs extends _DOMTypeJs implements TextMetrics native "*TextMetrics" { |
- |
- final num width; |
-} |
- |
-class _TextTrackJs extends _EventTargetJs implements TextTrack native "*TextTrack" { |
- |
- static const int DISABLED = 0; |
- |
- static const int HIDDEN = 1; |
- |
- static const int SHOWING = 2; |
- |
- final _TextTrackCueListJs activeCues; |
- |
- final _TextTrackCueListJs cues; |
- |
- final String kind; |
- |
- final String label; |
- |
- final String language; |
- |
- int mode; |
- |
- void addCue(_TextTrackCueJs cue) native; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs evt) native; |
- |
- void removeCue(_TextTrackCueJs cue) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
-} |
- |
-class _TextTrackCueJs extends _EventTargetJs implements TextTrackCue native "*TextTrackCue" { |
- |
- String align; |
- |
- num endTime; |
- |
- String id; |
- |
- int line; |
- |
- bool pauseOnExit; |
- |
- int position; |
- |
- int size; |
- |
- bool snapToLines; |
- |
- num startTime; |
- |
- String text; |
- |
- final _TextTrackJs track; |
- |
- String vertical; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs evt) native; |
- |
- _DocumentFragmentJs getCueAsHTML() native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
-} |
- |
-class _TextTrackCueListJs extends _DOMTypeJs implements TextTrackCueList native "*TextTrackCueList" { |
- |
- final int length; |
- |
- _TextTrackCueJs getCueById(String id) native; |
- |
- _TextTrackCueJs item(int index) native; |
-} |
- |
-class _TextTrackListJs extends _EventTargetJs implements TextTrackList native "*TextTrackList" { |
- |
- final int length; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs evt) native; |
- |
- _TextTrackJs item(int index) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
-} |
- |
-class _TimeRangesJs extends _DOMTypeJs implements TimeRanges native "*TimeRanges" { |
- |
- final int length; |
- |
- num end(int index) native; |
- |
- num start(int index) native; |
-} |
- |
-class _TouchJs extends _DOMTypeJs implements Touch native "*Touch" { |
- |
- final int clientX; |
- |
- final int clientY; |
- |
- final int identifier; |
- |
- final int pageX; |
- |
- final int pageY; |
- |
- final int screenX; |
- |
- final int screenY; |
- |
- final _EventTargetJs target; |
- |
- final num webkitForce; |
- |
- final int webkitRadiusX; |
- |
- final int webkitRadiusY; |
- |
- final num webkitRotationAngle; |
-} |
- |
-class _TouchEventJs extends _UIEventJs implements TouchEvent native "*TouchEvent" { |
- |
- final bool altKey; |
- |
- final _TouchListJs changedTouches; |
- |
- final bool ctrlKey; |
- |
- final bool metaKey; |
- |
- final bool shiftKey; |
- |
- final _TouchListJs targetTouches; |
- |
- final _TouchListJs touches; |
- |
- void initTouchEvent(_TouchListJs touches, _TouchListJs targetTouches, _TouchListJs changedTouches, String type, _DOMWindowJs view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native; |
-} |
- |
-class _TouchListJs extends _DOMTypeJs implements TouchList native "*TouchList" { |
- |
- final int length; |
- |
- _TouchJs operator[](int index) native "return this[index];"; |
- |
- void operator[]=(int index, _TouchJs value) { |
- throw new UnsupportedOperationException("Cannot assign element of immutable List."); |
- } |
- // -- start List<Touch> mixins. |
- // Touch is the element type. |
- |
- // From Iterable<Touch>: |
- |
- Iterator<Touch> 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<Touch>(this); |
- } |
- |
- // From Collection<Touch>: |
- |
- void add(Touch value) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void addLast(Touch value) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void addAll(Collection<Touch> collection) { |
- throw const UnsupportedOperationException("Cannot add to immutable List."); |
- } |
- |
- void forEach(void f(Touch element)) => _Collections.forEach(this, f); |
- |
- Collection map(f(Touch element)) => _Collections.map(this, [], f); |
- |
- Collection<Touch> filter(bool f(Touch element)) => |
- _Collections.filter(this, <Touch>[], f); |
- |
- bool every(bool f(Touch element)) => _Collections.every(this, f); |
- |
- bool some(bool f(Touch element)) => _Collections.some(this, f); |
- |
- bool isEmpty() => this.length == 0; |
- |
- // From List<Touch>: |
- |
- void sort(int compare(Touch a, Touch b)) { |
- throw const UnsupportedOperationException("Cannot sort immutable List."); |
- } |
- |
- int indexOf(Touch element, [int start = 0]) => |
- _Lists.indexOf(this, element, start, this.length); |
- |
- int lastIndexOf(Touch element, [int start]) { |
- if (start === null) start = length - 1; |
- return _Lists.lastIndexOf(this, element, start); |
- } |
- |
- Touch last() => this[length - 1]; |
- |
- Touch removeLast() { |
- throw const UnsupportedOperationException("Cannot removeLast on immutable List."); |
- } |
- |
- // FIXME: implement these. |
- void setRange(int start, int rangeLength, List<Touch> 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, [Touch initialValue]) { |
- throw const UnsupportedOperationException("Cannot insertRange on immutable List."); |
- } |
- |
- List<Touch> getRange(int start, int rangeLength) => |
- _Lists.getRange(this, start, rangeLength, <Touch>[]); |
- |
- // -- end List<Touch> mixins. |
- |
- _TouchJs item(int index) native; |
-} |
- |
-class _TrackEventJs extends _EventJs implements TrackEvent native "*TrackEvent" { |
- |
- final Object track; |
-} |
- |
-class _TreeWalkerJs extends _DOMTypeJs implements TreeWalker native "*TreeWalker" { |
- |
- _NodeJs currentNode; |
- |
- final bool expandEntityReferences; |
- |
- final _NodeFilterJs filter; |
- |
- final _NodeJs root; |
- |
- final int whatToShow; |
- |
- _NodeJs firstChild() native; |
- |
- _NodeJs lastChild() native; |
- |
- _NodeJs nextNode() native; |
- |
- _NodeJs nextSibling() native; |
- |
- _NodeJs parentNode() native; |
- |
- _NodeJs previousNode() native; |
- |
- _NodeJs previousSibling() native; |
-} |
- |
-class _UIEventJs extends _EventJs implements UIEvent native "*UIEvent" { |
- |
- final int charCode; |
- |
- final int detail; |
- |
- final int keyCode; |
- |
- final int layerX; |
- |
- final int layerY; |
- |
- final int pageX; |
- |
- final int pageY; |
- |
- final _DOMWindowJs view; |
- |
- final int which; |
- |
- void initUIEvent(String type, bool canBubble, bool cancelable, _DOMWindowJs view, int detail) native; |
-} |
- |
-class _Uint16ArrayJs extends _ArrayBufferViewJs implements Uint16Array, List<int> 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."); |
- } |
- |
- // FIXME: implement these. |
- 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'; |
- |
- _Uint16ArrayJs subarray(int start, [int end]) native; |
-} |
- |
-class _Uint32ArrayJs extends _ArrayBufferViewJs implements Uint32Array, List<int> 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."); |
- } |
- |
- // FIXME: implement these. |
- 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'; |
- |
- _Uint32ArrayJs subarray(int start, [int end]) native; |
-} |
- |
-class _Uint8ArrayJs extends _ArrayBufferViewJs implements Uint8Array, List<int> native "*Uint8Array" { |
- |
- static const int BYTES_PER_ELEMENT = 1; |
- |
- 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."); |
- } |
- |
- // FIXME: implement these. |
- 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'; |
- |
- _Uint8ArrayJs subarray(int start, [int end]) native; |
-} |
- |
-class _Uint8ClampedArrayJs extends _Uint8ArrayJs implements Uint8ClampedArray native "*Uint8ClampedArray" { |
- |
- // Use implementation from Uint8Array. |
- // final int length; |
- |
- void setElements(Object array, [int offset]) native 'set'; |
- |
- _Uint8ClampedArrayJs subarray(int start, [int end]) native; |
-} |
- |
-class _ValidityStateJs extends _DOMTypeJs implements ValidityState native "*ValidityState" { |
- |
- final bool customError; |
- |
- final bool patternMismatch; |
- |
- final bool rangeOverflow; |
- |
- final bool rangeUnderflow; |
- |
- final bool stepMismatch; |
- |
- final bool tooLong; |
- |
- final bool typeMismatch; |
- |
- final bool valid; |
- |
- final bool valueMissing; |
-} |
- |
-class _WaveShaperNodeJs extends _AudioNodeJs implements WaveShaperNode native "*WaveShaperNode" { |
- |
- _Float32ArrayJs curve; |
-} |
- |
-class _WaveTableJs extends _DOMTypeJs implements WaveTable native "*WaveTable" { |
-} |
- |
-class _WebGLActiveInfoJs extends _DOMTypeJs implements WebGLActiveInfo native "*WebGLActiveInfo" { |
- |
- final String name; |
- |
- final int size; |
- |
- final int type; |
-} |
- |
-class _WebGLBufferJs extends _DOMTypeJs implements WebGLBuffer native "*WebGLBuffer" { |
-} |
- |
-class _WebGLCompressedTextureS3TCJs extends _DOMTypeJs 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; |
-} |
- |
-class _WebGLContextAttributesJs extends _DOMTypeJs implements WebGLContextAttributes native "*WebGLContextAttributes" { |
- |
- bool alpha; |
- |
- bool antialias; |
- |
- bool depth; |
- |
- bool premultipliedAlpha; |
- |
- bool preserveDrawingBuffer; |
- |
- bool stencil; |
-} |
- |
-class _WebGLContextEventJs extends _EventJs implements WebGLContextEvent native "*WebGLContextEvent" { |
- |
- final String statusMessage; |
-} |
- |
-class _WebGLDebugRendererInfoJs extends _DOMTypeJs implements WebGLDebugRendererInfo native "*WebGLDebugRendererInfo" { |
- |
- static const int UNMASKED_RENDERER_WEBGL = 0x9246; |
- |
- static const int UNMASKED_VENDOR_WEBGL = 0x9245; |
-} |
- |
-class _WebGLDebugShadersJs extends _DOMTypeJs implements WebGLDebugShaders native "*WebGLDebugShaders" { |
- |
- String getTranslatedShaderSource(_WebGLShaderJs shader) native; |
-} |
- |
-class _WebGLDepthTextureJs extends _DOMTypeJs implements WebGLDepthTexture native "*WebGLDepthTexture" { |
- |
- static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA; |
-} |
- |
-class _WebGLFramebufferJs extends _DOMTypeJs implements WebGLFramebuffer native "*WebGLFramebuffer" { |
-} |
- |
-class _WebGLLoseContextJs extends _DOMTypeJs implements WebGLLoseContext native "*WebGLLoseContext" { |
- |
- void loseContext() native; |
- |
- void restoreContext() native; |
-} |
- |
-class _WebGLProgramJs extends _DOMTypeJs implements WebGLProgram native "*WebGLProgram" { |
-} |
- |
-class _WebGLRenderbufferJs extends _DOMTypeJs implements WebGLRenderbuffer native "*WebGLRenderbuffer" { |
-} |
- |
-class _WebGLRenderingContextJs extends _CanvasRenderingContextJs 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; |
- |
- void activeTexture(int texture) native; |
- |
- void attachShader(_WebGLProgramJs program, _WebGLShaderJs shader) native; |
- |
- void bindAttribLocation(_WebGLProgramJs program, int index, String name) native; |
- |
- void bindBuffer(int target, _WebGLBufferJs buffer) native; |
- |
- void bindFramebuffer(int target, _WebGLFramebufferJs framebuffer) native; |
- |
- void bindRenderbuffer(int target, _WebGLRenderbufferJs renderbuffer) native; |
- |
- void bindTexture(int target, _WebGLTextureJs texture) native; |
- |
- void blendColor(num red, num green, num blue, num alpha) native; |
- |
- void blendEquation(int mode) native; |
- |
- void blendEquationSeparate(int modeRGB, int modeAlpha) native; |
- |
- void blendFunc(int sfactor, int dfactor) native; |
- |
- void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) native; |
- |
- void bufferData(int target, data_OR_size, int usage) native; |
- |
- void bufferSubData(int target, int offset, data) native; |
- |
- int checkFramebufferStatus(int target) native; |
- |
- void clear(int mask) native; |
- |
- void clearColor(num red, num green, num blue, num alpha) native; |
- |
- void clearDepth(num depth) native; |
- |
- void clearStencil(int s) native; |
- |
- void colorMask(bool red, bool green, bool blue, bool alpha) native; |
- |
- void compileShader(_WebGLShaderJs shader) native; |
- |
- void compressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, _ArrayBufferViewJs data) native; |
- |
- void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, _ArrayBufferViewJs data) native; |
- |
- void copyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border) native; |
- |
- void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) native; |
- |
- _WebGLBufferJs createBuffer() native; |
- |
- _WebGLFramebufferJs createFramebuffer() native; |
- |
- _WebGLProgramJs createProgram() native; |
- |
- _WebGLRenderbufferJs createRenderbuffer() native; |
- |
- _WebGLShaderJs createShader(int type) native; |
- |
- _WebGLTextureJs createTexture() native; |
- |
- void cullFace(int mode) native; |
- |
- void deleteBuffer(_WebGLBufferJs buffer) native; |
- |
- void deleteFramebuffer(_WebGLFramebufferJs framebuffer) native; |
- |
- void deleteProgram(_WebGLProgramJs program) native; |
- |
- void deleteRenderbuffer(_WebGLRenderbufferJs renderbuffer) native; |
- |
- void deleteShader(_WebGLShaderJs shader) native; |
- |
- void deleteTexture(_WebGLTextureJs texture) native; |
- |
- void depthFunc(int func) native; |
- |
- void depthMask(bool flag) native; |
- |
- void depthRange(num zNear, num zFar) native; |
- |
- void detachShader(_WebGLProgramJs program, _WebGLShaderJs shader) native; |
- |
- void disable(int cap) native; |
- |
- void disableVertexAttribArray(int index) native; |
- |
- void drawArrays(int mode, int first, int count) native; |
- |
- void drawElements(int mode, int count, int type, int offset) native; |
- |
- void enable(int cap) native; |
- |
- void enableVertexAttribArray(int index) native; |
- |
- void finish() native; |
- |
- void flush() native; |
- |
- void framebufferRenderbuffer(int target, int attachment, int renderbuffertarget, _WebGLRenderbufferJs renderbuffer) native; |
- |
- void framebufferTexture2D(int target, int attachment, int textarget, _WebGLTextureJs texture, int level) native; |
- |
- void frontFace(int mode) native; |
- |
- void generateMipmap(int target) native; |
- |
- _WebGLActiveInfoJs getActiveAttrib(_WebGLProgramJs program, int index) native; |
- |
- _WebGLActiveInfoJs getActiveUniform(_WebGLProgramJs program, int index) native; |
- |
- List<Object> getAttachedShaders(_WebGLProgramJs program) native; |
- |
- int getAttribLocation(_WebGLProgramJs program, String name) native; |
- |
- Object getBufferParameter(int target, int pname) native; |
- |
- _WebGLContextAttributesJs getContextAttributes() native; |
- |
- int getError() native; |
- |
- Object getExtension(String name) native; |
- |
- Object getFramebufferAttachmentParameter(int target, int attachment, int pname) native; |
- |
- Object getParameter(int pname) native; |
- |
- String getProgramInfoLog(_WebGLProgramJs program) native; |
- |
- Object getProgramParameter(_WebGLProgramJs program, int pname) native; |
- |
- Object getRenderbufferParameter(int target, int pname) native; |
- |
- String getShaderInfoLog(_WebGLShaderJs shader) native; |
- |
- Object getShaderParameter(_WebGLShaderJs shader, int pname) native; |
- |
- _WebGLShaderPrecisionFormatJs getShaderPrecisionFormat(int shadertype, int precisiontype) native; |
- |
- String getShaderSource(_WebGLShaderJs shader) native; |
- |
- List<String> getSupportedExtensions() native; |
- |
- Object getTexParameter(int target, int pname) native; |
- |
- Object getUniform(_WebGLProgramJs program, _WebGLUniformLocationJs location) native; |
- |
- _WebGLUniformLocationJs getUniformLocation(_WebGLProgramJs program, String name) native; |
- |
- Object getVertexAttrib(int index, int pname) native; |
- |
- int getVertexAttribOffset(int index, int pname) native; |
- |
- void hint(int target, int mode) native; |
- |
- bool isBuffer(_WebGLBufferJs buffer) native; |
- |
- bool isContextLost() native; |
- |
- bool isEnabled(int cap) native; |
- |
- bool isFramebuffer(_WebGLFramebufferJs framebuffer) native; |
- |
- bool isProgram(_WebGLProgramJs program) native; |
- |
- bool isRenderbuffer(_WebGLRenderbufferJs renderbuffer) native; |
- |
- bool isShader(_WebGLShaderJs shader) native; |
- |
- bool isTexture(_WebGLTextureJs texture) native; |
- |
- void lineWidth(num width) native; |
- |
- void linkProgram(_WebGLProgramJs program) native; |
- |
- void pixelStorei(int pname, int param) native; |
- |
- void polygonOffset(num factor, num units) native; |
- |
- void readPixels(int x, int y, int width, int height, int format, int type, _ArrayBufferViewJs pixels) native; |
- |
- void releaseShaderCompiler() native; |
- |
- void renderbufferStorage(int target, int internalformat, int width, int height) native; |
- |
- void sampleCoverage(num value, bool invert) native; |
- |
- void scissor(int x, int y, int width, int height) native; |
- |
- void shaderSource(_WebGLShaderJs shader, String string) native; |
- |
- void stencilFunc(int func, int ref, int mask) native; |
- |
- void stencilFuncSeparate(int face, int func, int ref, int mask) native; |
- |
- void stencilMask(int mask) native; |
- |
- void stencilMaskSeparate(int face, int mask) native; |
- |
- void stencilOp(int fail, int zfail, int zpass) native; |
- |
- void stencilOpSeparate(int face, int fail, int zfail, int zpass) native; |
- |
- void texImage2D(int target, int level, int internalformat, int format_OR_width, int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format, int type, _ArrayBufferViewJs pixels]) native; |
- |
- void texParameterf(int target, int pname, num param) native; |
- |
- void texParameteri(int target, int pname, int param) native; |
- |
- void texSubImage2D(int target, int level, int xoffset, int yoffset, int format_OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [int type, _ArrayBufferViewJs pixels]) native; |
- |
- void uniform1f(_WebGLUniformLocationJs location, num x) native; |
- |
- void uniform1fv(_WebGLUniformLocationJs location, _Float32ArrayJs v) native; |
- |
- void uniform1i(_WebGLUniformLocationJs location, int x) native; |
- |
- void uniform1iv(_WebGLUniformLocationJs location, _Int32ArrayJs v) native; |
- |
- void uniform2f(_WebGLUniformLocationJs location, num x, num y) native; |
- |
- void uniform2fv(_WebGLUniformLocationJs location, _Float32ArrayJs v) native; |
- |
- void uniform2i(_WebGLUniformLocationJs location, int x, int y) native; |
- |
- void uniform2iv(_WebGLUniformLocationJs location, _Int32ArrayJs v) native; |
- |
- void uniform3f(_WebGLUniformLocationJs location, num x, num y, num z) native; |
- |
- void uniform3fv(_WebGLUniformLocationJs location, _Float32ArrayJs v) native; |
- |
- void uniform3i(_WebGLUniformLocationJs location, int x, int y, int z) native; |
- |
- void uniform3iv(_WebGLUniformLocationJs location, _Int32ArrayJs v) native; |
- |
- void uniform4f(_WebGLUniformLocationJs location, num x, num y, num z, num w) native; |
- |
- void uniform4fv(_WebGLUniformLocationJs location, _Float32ArrayJs v) native; |
- |
- void uniform4i(_WebGLUniformLocationJs location, int x, int y, int z, int w) native; |
- |
- void uniform4iv(_WebGLUniformLocationJs location, _Int32ArrayJs v) native; |
- |
- void uniformMatrix2fv(_WebGLUniformLocationJs location, bool transpose, _Float32ArrayJs array) native; |
- |
- void uniformMatrix3fv(_WebGLUniformLocationJs location, bool transpose, _Float32ArrayJs array) native; |
- |
- void uniformMatrix4fv(_WebGLUniformLocationJs location, bool transpose, _Float32ArrayJs array) native; |
- |
- void useProgram(_WebGLProgramJs program) native; |
- |
- void validateProgram(_WebGLProgramJs program) native; |
- |
- void vertexAttrib1f(int indx, num x) native; |
- |
- void vertexAttrib1fv(int indx, _Float32ArrayJs values) native; |
- |
- void vertexAttrib2f(int indx, num x, num y) native; |
- |
- void vertexAttrib2fv(int indx, _Float32ArrayJs values) native; |
- |
- void vertexAttrib3f(int indx, num x, num y, num z) native; |
- |
- void vertexAttrib3fv(int indx, _Float32ArrayJs values) native; |
- |
- void vertexAttrib4f(int indx, num x, num y, num z, num w) native; |
- |
- void vertexAttrib4fv(int indx, _Float32ArrayJs values) native; |
- |
- void vertexAttribPointer(int indx, int size, int type, bool normalized, int stride, int offset) native; |
- |
- void viewport(int x, int y, int width, int height) native; |
-} |
- |
-class _WebGLShaderJs extends _DOMTypeJs implements WebGLShader native "*WebGLShader" { |
-} |
- |
-class _WebGLShaderPrecisionFormatJs extends _DOMTypeJs implements WebGLShaderPrecisionFormat native "*WebGLShaderPrecisionFormat" { |
- |
- final int precision; |
- |
- final int rangeMax; |
- |
- final int rangeMin; |
-} |
- |
-class _WebGLTextureJs extends _DOMTypeJs implements WebGLTexture native "*WebGLTexture" { |
-} |
- |
-class _WebGLUniformLocationJs extends _DOMTypeJs implements WebGLUniformLocation native "*WebGLUniformLocation" { |
-} |
- |
-class _WebGLVertexArrayObjectOESJs extends _DOMTypeJs implements WebGLVertexArrayObjectOES native "*WebGLVertexArrayObjectOES" { |
-} |
- |
-class _WebKitAnimationJs extends _DOMTypeJs implements WebKitAnimation 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; |
- |
- final num duration; |
- |
- num elapsedTime; |
- |
- final bool ended; |
- |
- final int fillMode; |
- |
- final int iterationCount; |
- |
- final String name; |
- |
- final bool paused; |
- |
- void pause() native; |
- |
- void play() native; |
-} |
- |
-class _WebKitAnimationEventJs extends _EventJs implements WebKitAnimationEvent native "*WebKitAnimationEvent" { |
- |
- final String animationName; |
- |
- final num elapsedTime; |
-} |
- |
-class _WebKitAnimationListJs extends _DOMTypeJs implements WebKitAnimationList native "*WebKitAnimationList" { |
- |
- final int length; |
- |
- _WebKitAnimationJs item(int index) native; |
-} |
- |
-class _WebKitCSSFilterValueJs extends _CSSValueListJs 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; |
-} |
- |
-class _WebKitCSSKeyframeRuleJs extends _CSSRuleJs implements WebKitCSSKeyframeRule native "*WebKitCSSKeyframeRule" { |
- |
- String keyText; |
- |
- final _CSSStyleDeclarationJs style; |
-} |
- |
-class _WebKitCSSKeyframesRuleJs extends _CSSRuleJs implements WebKitCSSKeyframesRule native "*WebKitCSSKeyframesRule" { |
- |
- final _CSSRuleListJs cssRules; |
- |
- String name; |
- |
- void deleteRule(String key) native; |
- |
- _WebKitCSSKeyframeRuleJs findRule(String key) native; |
- |
- void insertRule(String rule) native; |
-} |
- |
-class _WebKitCSSMatrixJs extends _DOMTypeJs implements WebKitCSSMatrix native "*WebKitCSSMatrix" { |
- |
- num a; |
- |
- num b; |
- |
- num c; |
- |
- num d; |
- |
- num e; |
- |
- num f; |
- |
- num m11; |
- |
- num m12; |
- |
- num m13; |
- |
- num m14; |
- |
- num m21; |
- |
- num m22; |
- |
- num m23; |
- |
- num m24; |
- |
- num m31; |
- |
- num m32; |
- |
- num m33; |
- |
- num m34; |
- |
- num m41; |
- |
- num m42; |
- |
- num m43; |
- |
- num m44; |
- |
- _WebKitCSSMatrixJs inverse() native; |
- |
- _WebKitCSSMatrixJs multiply(_WebKitCSSMatrixJs secondMatrix) native; |
- |
- _WebKitCSSMatrixJs rotate(num rotX, num rotY, num rotZ) native; |
- |
- _WebKitCSSMatrixJs rotateAxisAngle(num x, num y, num z, num angle) native; |
- |
- _WebKitCSSMatrixJs scale(num scaleX, num scaleY, num scaleZ) native; |
- |
- void setMatrixValue(String string) native; |
- |
- _WebKitCSSMatrixJs skewX(num angle) native; |
- |
- _WebKitCSSMatrixJs skewY(num angle) native; |
- |
- String toString() native; |
- |
- _WebKitCSSMatrixJs translate(num x, num y, num z) native; |
-} |
- |
-class _WebKitCSSTransformValueJs extends _CSSValueListJs implements WebKitCSSTransformValue 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; |
-} |
- |
-class _WebKitNamedFlowJs extends _EventTargetJs implements WebKitNamedFlow native "*WebKitNamedFlow" { |
- |
- final int firstEmptyRegionIndex; |
- |
- final String name; |
- |
- final bool overset; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs event) native; |
- |
- _NodeListJs getContent() native; |
- |
- _NodeListJs getRegions() native; |
- |
- _NodeListJs getRegionsByContent(_NodeJs contentNode) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
-} |
- |
-class _WebKitPointJs extends _DOMTypeJs implements WebKitPoint native "*WebKitPoint" { |
- |
- num x; |
- |
- num y; |
-} |
- |
-class _WebKitTransitionEventJs extends _EventJs implements WebKitTransitionEvent native "*WebKitTransitionEvent" { |
- |
- final num elapsedTime; |
- |
- final String propertyName; |
-} |
- |
-class _WebSocketJs extends _EventTargetJs implements WebSocket native "*WebSocket" { |
- |
- 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; |
- |
- final int bufferedAmount; |
- |
- final String extensions; |
- |
- final String protocol; |
- |
- final int readyState; |
- |
- final String url; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- void close([int code, String reason]) native; |
- |
- bool dispatchEvent(_EventJs evt) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- void send(data) native; |
-} |
- |
-class _WheelEventJs extends _MouseEventJs implements WheelEvent native "*WheelEvent" { |
- |
- final bool webkitDirectionInvertedFromDevice; |
- |
- final int wheelDelta; |
- |
- final int wheelDeltaX; |
- |
- final int wheelDeltaY; |
- |
- void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, _DOMWindowJs view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native; |
-} |
- |
-class _WorkerJs extends _AbstractWorkerJs implements Worker native "*Worker" { |
- |
- void postMessage(message, [List messagePorts]) native; |
- |
- void terminate() native; |
- |
- void webkitPostMessage(message, [List messagePorts]) native; |
-} |
- |
-class _WorkerContextJs extends _EventTargetJs implements WorkerContext native "*WorkerContext" { |
- |
- static const int PERSISTENT = 1; |
- |
- static const int TEMPORARY = 0; |
- |
- final _WorkerLocationJs location; |
- |
- final _WorkerNavigatorJs navigator; |
- |
- final _WorkerContextJs self; |
- |
- final _IDBFactoryJs webkitIndexedDB; |
- |
- final _NotificationCenterJs webkitNotifications; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- void clearInterval(int handle) native; |
- |
- void clearTimeout(int handle) native; |
- |
- void close() native; |
- |
- bool dispatchEvent(_EventJs evt) native; |
- |
- void importScripts() native; |
- |
- _DatabaseJs openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]) native; |
- |
- _DatabaseSyncJs openDatabaseSync(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- int setInterval(TimeoutHandler handler, int timeout) native; |
- |
- int setTimeout(TimeoutHandler handler, int timeout) native; |
- |
- void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCallback, ErrorCallback errorCallback]) native; |
- |
- _DOMFileSystemSyncJs webkitRequestFileSystemSync(int type, int size) native; |
- |
- _EntrySyncJs webkitResolveLocalFileSystemSyncURL(String url) native; |
- |
- void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallback, ErrorCallback errorCallback]) native; |
-} |
- |
-class _WorkerLocationJs extends _DOMTypeJs implements WorkerLocation native "*WorkerLocation" { |
- |
- final String hash; |
- |
- final String host; |
- |
- final String hostname; |
- |
- final String href; |
- |
- final String pathname; |
- |
- final String port; |
- |
- final String protocol; |
- |
- final String search; |
- |
- String toString() native; |
-} |
- |
-class _WorkerNavigatorJs extends _DOMTypeJs implements WorkerNavigator native "*WorkerNavigator" { |
- |
- final String appName; |
- |
- final String appVersion; |
- |
- final bool onLine; |
- |
- final String platform; |
- |
- final String userAgent; |
-} |
- |
-class _XMLHttpRequestJs extends _EventTargetJs implements XMLHttpRequest native "*XMLHttpRequest" { |
- |
- 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; |
- |
- final String responseText; |
- |
- String responseType; |
- |
- final _DocumentJs responseXML; |
- |
- final int status; |
- |
- final String statusText; |
- |
- final _XMLHttpRequestUploadJs upload; |
- |
- bool withCredentials; |
- |
- void abort() native; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs evt) native; |
- |
- String getAllResponseHeaders() native; |
- |
- String getResponseHeader(String header) native; |
- |
- void open(String method, String url, [bool async, String user, String password]) native; |
- |
- void overrideMimeType(String override) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- void send([data]) native; |
- |
- void setRequestHeader(String header, String value) native; |
-} |
- |
-class _XMLHttpRequestExceptionJs extends _DOMTypeJs implements XMLHttpRequestException native "*XMLHttpRequestException" { |
- |
- static const int ABORT_ERR = 102; |
- |
- static const int NETWORK_ERR = 101; |
- |
- final int code; |
- |
- final String message; |
- |
- final String name; |
- |
- String toString() native; |
-} |
- |
-class _XMLHttpRequestProgressEventJs extends _ProgressEventJs implements XMLHttpRequestProgressEvent native "*XMLHttpRequestProgressEvent" { |
- |
- final int position; |
- |
- final int totalSize; |
-} |
- |
-class _XMLHttpRequestUploadJs extends _EventTargetJs implements XMLHttpRequestUpload native "*XMLHttpRequestUpload" { |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]) native; |
- |
- bool dispatchEvent(_EventJs evt) native; |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]) native; |
-} |
- |
-class _XMLSerializerJs extends _DOMTypeJs implements XMLSerializer native "*XMLSerializer" { |
- |
- String serializeToString(_NodeJs node) native; |
-} |
- |
-class _XPathEvaluatorJs extends _DOMTypeJs implements XPathEvaluator native "*XPathEvaluator" { |
- |
- _XPathExpressionJs createExpression(String expression, _XPathNSResolverJs resolver) native; |
- |
- _XPathNSResolverJs createNSResolver(_NodeJs nodeResolver) native; |
- |
- _XPathResultJs evaluate(String expression, _NodeJs contextNode, _XPathNSResolverJs resolver, int type, _XPathResultJs inResult) native; |
-} |
- |
-class _XPathExceptionJs extends _DOMTypeJs implements XPathException native "*XPathException" { |
- |
- static const int INVALID_EXPRESSION_ERR = 51; |
- |
- static const int TYPE_ERR = 52; |
- |
- final int code; |
- |
- final String message; |
- |
- final String name; |
- |
- String toString() native; |
-} |
- |
-class _XPathExpressionJs extends _DOMTypeJs implements XPathExpression native "*XPathExpression" { |
- |
- _XPathResultJs evaluate(_NodeJs contextNode, int type, _XPathResultJs inResult) native; |
-} |
- |
-class _XPathNSResolverJs extends _DOMTypeJs implements XPathNSResolver native "*XPathNSResolver" { |
- |
- String lookupNamespaceURI(String prefix) native; |
-} |
- |
-class _XPathResultJs extends _DOMTypeJs 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; |
- |
- final num numberValue; |
- |
- final int resultType; |
- |
- final _NodeJs singleNodeValue; |
- |
- final int snapshotLength; |
- |
- final String stringValue; |
- |
- _NodeJs iterateNext() native; |
- |
- _NodeJs snapshotItem(int index) native; |
-} |
- |
-class _XSLTProcessorJs extends _DOMTypeJs implements XSLTProcessor native "*XSLTProcessor" { |
- |
- void clearParameters() native; |
- |
- String getParameter(String namespaceURI, String localName) native; |
- |
- void importStylesheet(_NodeJs stylesheet) native; |
- |
- void removeParameter(String namespaceURI, String localName) native; |
- |
- void reset() native; |
- |
- void setParameter(String namespaceURI, String localName, String value) native; |
- |
- _DocumentJs transformToDocument(_NodeJs source) native; |
- |
- _DocumentFragmentJs transformToFragment(_NodeJs source, _DocumentJs docVal) 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. |
- |
-class _ArrayBufferFactoryProvider { |
- factory ArrayBuffer(int length) native |
- '''return new ArrayBuffer(length);'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _BlobFactoryProvider { |
- factory Blob(List blobParts, [String type, String endings]) native |
- '''return new Blob(blobParts, type, endings);'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _DOMFormDataFactoryProvider { |
- factory DOMFormData([FormElement form]) native |
- '''return new DOMFormData(form);'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _DOMParserFactoryProvider { |
- factory DOMParser() native |
- '''return new DOMParser();'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _DOMURLFactoryProvider { |
- factory DOMURL() native |
- '''return new DOMURL();'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _DataViewFactoryProvider { |
- factory DataView(ArrayBuffer buffer, [int byteOffset, int byteLength]) native |
- '''return new DataView(buffer, byteOffset, byteLength);'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _EventSourceFactoryProvider { |
- factory EventSource(String scriptUrl) native |
- '''return new EventSource(scriptUrl);'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _FileReaderFactoryProvider { |
- factory FileReader() native |
- '''return new FileReader();'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _FileReaderSyncFactoryProvider { |
- factory FileReaderSync() native |
- '''return new FileReaderSync();'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _HTMLAudioElementFactoryProvider { |
- factory HTMLAudioElement([String src = null]) native |
-''' |
-if (src == null) return new Audio(); |
-return new Audio(src); |
-'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _HTMLOptionElementFactoryProvider { |
- factory HTMLOptionElement([String data = null, String value = null, |
- bool defaultSelected = null, bool selected = null]) |
- native |
-''' |
-if (data == null) return new Option(); |
-if (value == null) return new Option(data); |
-if (defaultSelected == null) return new Option(data, value); |
-if (selected == null) return new Option(data, value, defaultSelected); |
-return new Option(data, value, defaultSelected, selected); |
-'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _IceCandidateFactoryProvider { |
- factory IceCandidate(String label, String candidateLine) native |
- '''return new IceCandidate(label, candidateLine);'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _MediaControllerFactoryProvider { |
- factory MediaController() native |
- '''return new MediaController();'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _MediaSourceFactoryProvider { |
- factory MediaSource() native |
- '''return new MediaSource();'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _MediaStreamFactoryProvider { |
- factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks) native |
- '''return new MediaStream(audioTracks, videoTracks);'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _MessageChannelFactoryProvider { |
- factory MessageChannel() native |
- '''return new MessageChannel();'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _MutationObserverFactoryProvider { |
- factory MutationObserver(MutationCallback callback) native |
- '''return new MutationObserver(callback);'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _NotificationFactoryProvider { |
- factory Notification(String title, [Map options]) native |
- '''return new Notification(title, options);'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _PeerConnection00FactoryProvider { |
- factory PeerConnection00(String serverConfiguration, IceCallback iceCallback) native |
- '''return new PeerConnection00(serverConfiguration, iceCallback);'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _RTCPeerConnectionFactoryProvider { |
- factory RTCPeerConnection(Map rtcICEServers, [Map mediaConstraints]) native |
- '''return new RTCPeerConnection(rtcICEServers, mediaConstraints);'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _SessionDescriptionFactoryProvider { |
- factory SessionDescription(String sdp) native |
- '''return new SessionDescription(sdp);'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _ShadowRootFactoryProvider { |
- factory ShadowRoot(Element host) native |
- '''return new ShadowRoot(host);'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _SharedWorkerFactoryProvider { |
- factory SharedWorker(String scriptURL, [String name]) native |
-''' |
-if (name == null) return new SharedWorker(scriptURL); |
-return new SharedWorker(scriptURL, name); |
-'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _SpeechGrammarFactoryProvider { |
- factory SpeechGrammar() native |
- '''return new SpeechGrammar();'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _SpeechGrammarListFactoryProvider { |
- factory SpeechGrammarList() native |
- '''return new SpeechGrammarList();'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _SpeechRecognitionFactoryProvider { |
- factory SpeechRecognition() native |
- '''return new SpeechRecognition();'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _TextTrackCueFactoryProvider { |
- factory TextTrackCue(String id, num startTime, num endTime, String text, |
- [String settings, bool pauseOnExit]) native |
-''' |
-if (settings == null) |
- return new TextTrackCue(id, startTime, endTime, text); |
-if (pauseOnExit == null) |
- return new TextTrackCue(id, startTime, endTime, text, settings); |
-return new TextTrackCue(id, startTime, endTime, text, settings, pauseOnExit); |
-'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _WebKitCSSMatrixFactoryProvider { |
- factory WebKitCSSMatrix([String cssValue = null]) native |
-''' |
-if (cssValue == null) return new WebKitCSSMatrix(); |
-return new WebKitCSSMatrix(cssValue); |
-'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _WorkerFactoryProvider { |
- factory Worker(String scriptUrl) native |
- '''return new Worker(scriptUrl);'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _XMLHttpRequestFactoryProvider { |
- factory XMLHttpRequest() native |
- '''return new XMLHttpRequest();'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _XMLSerializerFactoryProvider { |
- factory XMLSerializer() native |
- '''return new XMLSerializer();'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _XPathEvaluatorFactoryProvider { |
- factory XPathEvaluator() native |
- '''return new XPathEvaluator();'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _XSLTProcessorFactoryProvider { |
- factory XSLTProcessor() native |
- '''return new XSLTProcessor();'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface AbstractWorker extends EventTarget { |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- bool dispatchEvent(Event evt); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface ArrayBuffer default _ArrayBufferFactoryProvider { |
- |
- ArrayBuffer(int length); |
- |
- final int byteLength; |
- |
- ArrayBuffer slice(int begin, [int end]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface ArrayBufferView { |
- |
- final ArrayBuffer buffer; |
- |
- final int byteLength; |
- |
- final int byteOffset; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Attr extends Node { |
- |
- final bool isId; |
- |
- final String name; |
- |
- final Element ownerElement; |
- |
- final bool specified; |
- |
- String value; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface AudioBuffer { |
- |
- final num duration; |
- |
- num gain; |
- |
- final int length; |
- |
- final int numberOfChannels; |
- |
- final num sampleRate; |
- |
- Float32Array getChannelData(int channelIndex); |
-} |
-// 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. |
- |
-typedef bool AudioBufferCallback(AudioBuffer audioBuffer); |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface AudioBufferSourceNode extends AudioSourceNode { |
- |
- static const int FINISHED_STATE = 3; |
- |
- static const int PLAYING_STATE = 2; |
- |
- static const int SCHEDULED_STATE = 1; |
- |
- static const int UNSCHEDULED_STATE = 0; |
- |
- AudioBuffer buffer; |
- |
- final AudioGain gain; |
- |
- bool loop; |
- |
- bool looping; |
- |
- final AudioParam playbackRate; |
- |
- final int playbackState; |
- |
- void noteGrainOn(num when, num grainOffset, num grainDuration); |
- |
- void noteOff(num when); |
- |
- void noteOn(num when); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface AudioChannelMerger extends AudioNode { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface AudioChannelSplitter extends AudioNode { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface AudioContext extends EventTarget default _AudioContextFactoryProvider { |
- |
- AudioContext(); |
- |
- final int activeSourceCount; |
- |
- final num currentTime; |
- |
- final AudioDestinationNode destination; |
- |
- final AudioListener listener; |
- |
- final num sampleRate; |
- |
- RealtimeAnalyserNode createAnalyser(); |
- |
- BiquadFilterNode createBiquadFilter(); |
- |
- AudioBuffer createBuffer(buffer_OR_numberOfChannels, mixToMono_OR_numberOfFrames, [num sampleRate]); |
- |
- AudioBufferSourceNode createBufferSource(); |
- |
- AudioChannelMerger createChannelMerger([int numberOfInputs]); |
- |
- AudioChannelSplitter createChannelSplitter([int numberOfOutputs]); |
- |
- ConvolverNode createConvolver(); |
- |
- DelayNode createDelayNode([num maxDelayTime]); |
- |
- DynamicsCompressorNode createDynamicsCompressor(); |
- |
- AudioGainNode createGainNode(); |
- |
- JavaScriptAudioNode createJavaScriptNode(int bufferSize, [int numberOfInputChannels, int numberOfOutputChannels]); |
- |
- MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaElement); |
- |
- MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream); |
- |
- Oscillator createOscillator(); |
- |
- AudioPannerNode createPanner(); |
- |
- WaveShaperNode createWaveShaper(); |
- |
- WaveTable createWaveTable(Float32Array real, Float32Array imag); |
- |
- void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallback, [AudioBufferCallback errorCallback]); |
- |
- void startRendering(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface AudioDestinationNode extends AudioNode { |
- |
- final int numberOfChannels; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface AudioGain extends AudioParam { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface AudioGainNode extends AudioNode { |
- |
- final AudioGain gain; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface AudioListener { |
- |
- num dopplerFactor; |
- |
- num speedOfSound; |
- |
- void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp); |
- |
- void setPosition(num x, num y, num z); |
- |
- void setVelocity(num x, num y, num z); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface AudioNode { |
- |
- final AudioContext context; |
- |
- final int numberOfInputs; |
- |
- final int numberOfOutputs; |
- |
- void connect(destination, int output, [int input]); |
- |
- void disconnect(int output); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface AudioPannerNode extends AudioNode { |
- |
- 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 AudioGain coneGain; |
- |
- num coneInnerAngle; |
- |
- num coneOuterAngle; |
- |
- num coneOuterGain; |
- |
- final AudioGain distanceGain; |
- |
- int distanceModel; |
- |
- num maxDistance; |
- |
- int panningModel; |
- |
- num refDistance; |
- |
- num rolloffFactor; |
- |
- void setOrientation(num x, num y, num z); |
- |
- void setPosition(num x, num y, num z); |
- |
- void setVelocity(num x, num y, num z); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface AudioParam { |
- |
- final num defaultValue; |
- |
- final num maxValue; |
- |
- final num minValue; |
- |
- final String name; |
- |
- final int units; |
- |
- num value; |
- |
- void cancelScheduledValues(num startTime); |
- |
- void exponentialRampToValueAtTime(num value, num time); |
- |
- void linearRampToValueAtTime(num value, num time); |
- |
- void setTargetValueAtTime(num targetValue, num time, num timeConstant); |
- |
- void setValueAtTime(num value, num time); |
- |
- void setValueCurveAtTime(Float32Array values, num time, num duration); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface AudioProcessingEvent extends Event { |
- |
- final AudioBuffer inputBuffer; |
- |
- final AudioBuffer outputBuffer; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface AudioSourceNode extends AudioNode { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface BarProp { |
- |
- final bool visible; |
-} |
- |
-interface BarInfo extends BarProp { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface BatteryManager extends EventTarget { |
- |
- final bool charging; |
- |
- final num chargingTime; |
- |
- final num dischargingTime; |
- |
- final num level; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- bool dispatchEvent(Event evt); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface BeforeLoadEvent extends Event { |
- |
- final String url; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface BiquadFilterNode extends AudioNode { |
- |
- 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 AudioParam Q; |
- |
- final AudioParam frequency; |
- |
- final AudioParam gain; |
- |
- int type; |
- |
- void getFrequencyResponse(Float32Array frequencyHz, Float32Array magResponse, Float32Array phaseResponse); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Blob default _BlobFactoryProvider { |
- |
- Blob(List blobParts, [String type, String endings]); |
- |
- final int size; |
- |
- final String type; |
- |
- Blob slice([int start, int end, String contentType]); |
- |
- Blob webkitSlice([int start, int end, String contentType]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface CDATASection extends Text { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface CSSCharsetRule extends CSSRule { |
- |
- String encoding; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface CSSFontFaceRule extends CSSRule { |
- |
- final CSSStyleDeclaration style; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface CSSImportRule extends CSSRule { |
- |
- final String href; |
- |
- final MediaList media; |
- |
- final CSSStyleSheet styleSheet; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface CSSMediaRule extends CSSRule { |
- |
- final CSSRuleList cssRules; |
- |
- final MediaList media; |
- |
- void deleteRule(int index); |
- |
- int insertRule(String rule, int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface CSSPageRule extends CSSRule { |
- |
- String selectorText; |
- |
- final CSSStyleDeclaration style; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface CSSPrimitiveValue extends CSSValue { |
- |
- 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; |
- |
- Counter getCounterValue(); |
- |
- num getFloatValue(int unitType); |
- |
- RGBColor getRGBColorValue(); |
- |
- Rect getRectValue(); |
- |
- String getStringValue(); |
- |
- void setFloatValue(int unitType, num floatValue); |
- |
- void setStringValue(int stringType, String stringValue); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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 CSSRule parentRule; |
- |
- final CSSStyleSheet parentStyleSheet; |
- |
- final int type; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface CSSRuleList { |
- |
- final int length; |
- |
- CSSRule item(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface CSSStyleDeclaration { |
- |
- String cssText; |
- |
- final int length; |
- |
- final CSSRule parentRule; |
- |
- CSSValue getPropertyCSSValue(String propertyName); |
- |
- String getPropertyPriority(String propertyName); |
- |
- String getPropertyShorthand(String propertyName); |
- |
- String getPropertyValue(String propertyName); |
- |
- bool isPropertyImplicit(String propertyName); |
- |
- String item(int index); |
- |
- String removeProperty(String propertyName); |
- |
- void setProperty(String propertyName, String value, [String priority]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface CSSStyleRule extends CSSRule { |
- |
- String selectorText; |
- |
- final CSSStyleDeclaration style; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface CSSStyleSheet extends StyleSheet { |
- |
- final CSSRuleList cssRules; |
- |
- final CSSRule ownerRule; |
- |
- final CSSRuleList rules; |
- |
- int addRule(String selector, String style, [int index]); |
- |
- void deleteRule(int index); |
- |
- int insertRule(String rule, int index); |
- |
- void removeRule(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface CSSUnknownRule extends CSSRule { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface CSSValueList extends CSSValue { |
- |
- final int length; |
- |
- CSSValue item(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface CanvasGradient { |
- |
- void addColorStop(num offset, String color); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface CanvasPattern { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface CanvasRenderingContext { |
- |
- final HTMLCanvasElement canvas; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface CanvasRenderingContext2D extends CanvasRenderingContext { |
- |
- var /*custom*/ fillStyle; |
- |
- String font; |
- |
- num globalAlpha; |
- |
- String globalCompositeOperation; |
- |
- String lineCap; |
- |
- String lineJoin; |
- |
- num lineWidth; |
- |
- num miterLimit; |
- |
- num shadowBlur; |
- |
- String shadowColor; |
- |
- num shadowOffsetX; |
- |
- num shadowOffsetY; |
- |
- var /*custom*/ strokeStyle; |
- |
- String textAlign; |
- |
- String textBaseline; |
- |
- final num webkitBackingStorePixelRatio; |
- |
- bool webkitImageSmoothingEnabled; |
- |
- List webkitLineDash; |
- |
- num webkitLineDashOffset; |
- |
- void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticlockwise); |
- |
- void arcTo(num x1, num y1, num x2, num y2, num radius); |
- |
- void beginPath(); |
- |
- void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y); |
- |
- void clearRect(num x, num y, num width, num height); |
- |
- void clearShadow(); |
- |
- void clip(); |
- |
- void closePath(); |
- |
- ImageData createImageData(imagedata_OR_sw, [num sh]); |
- |
- CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1); |
- |
- CanvasPattern createPattern(canvas_OR_image, String repetitionType); |
- |
- CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, num r1); |
- |
- void drawImage(canvas_OR_image_OR_video, num sx_OR_x, num sy_OR_y, [num sw_OR_width, num height_OR_sh, num dx, num dy, num dw, num dh]); |
- |
- void drawImageFromRect(HTMLImageElement image, [num sx, num sy, num sw, num sh, num dx, num dy, num dw, num dh, String compositeOperation]); |
- |
- void fill(); |
- |
- void fillRect(num x, num y, num width, num height); |
- |
- void fillText(String text, num x, num y, [num maxWidth]); |
- |
- ImageData getImageData(num sx, num sy, num sw, num sh); |
- |
- bool isPointInPath(num x, num y); |
- |
- void lineTo(num x, num y); |
- |
- TextMetrics measureText(String text); |
- |
- void moveTo(num x, num y); |
- |
- void putImageData(ImageData imagedata, num dx, num dy, [num dirtyX, num dirtyY, num dirtyWidth, num dirtyHeight]); |
- |
- void quadraticCurveTo(num cpx, num cpy, num x, num y); |
- |
- void rect(num x, num y, num width, num height); |
- |
- void restore(); |
- |
- void rotate(num angle); |
- |
- void save(); |
- |
- void scale(num sx, num sy); |
- |
- void setAlpha(num alpha); |
- |
- void setCompositeOperation(String compositeOperation); |
- |
- void setFillColor(c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]); |
- |
- void setLineCap(String cap); |
- |
- void setLineJoin(String join); |
- |
- void setLineWidth(num width); |
- |
- void setMiterLimit(num limit); |
- |
- void setShadow(num width, num height, num blur, [c_OR_color_OR_grayLevel_OR_r, num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]); |
- |
- void setStrokeColor(c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]); |
- |
- void setTransform(num m11, num m12, num m21, num m22, num dx, num dy); |
- |
- void stroke(); |
- |
- void strokeRect(num x, num y, num width, num height, [num lineWidth]); |
- |
- void strokeText(String text, num x, num y, [num maxWidth]); |
- |
- void transform(num m11, num m12, num m21, num m22, num dx, num dy); |
- |
- void translate(num tx, num ty); |
- |
- ImageData webkitGetImageDataHD(num sx, num sy, num sw, num sh); |
- |
- void webkitPutImageDataHD(ImageData imagedata, num dx, num dy, [num dirtyX, num dirtyY, num dirtyWidth, num dirtyHeight]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface CharacterData extends Node { |
- |
- String data; |
- |
- final int length; |
- |
- void appendData(String data); |
- |
- void deleteData(int offset, int length); |
- |
- void insertData(int offset, String data); |
- |
- void replaceData(int offset, int length, String data); |
- |
- String substringData(int offset, int length); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface ClientRect { |
- |
- final num bottom; |
- |
- final num height; |
- |
- final num left; |
- |
- final num right; |
- |
- final num top; |
- |
- final num width; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface ClientRectList { |
- |
- final int length; |
- |
- ClientRect item(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Clipboard { |
- |
- String dropEffect; |
- |
- String effectAllowed; |
- |
- final FileList files; |
- |
- final DataTransferItemList items; |
- |
- final List types; |
- |
- void clearData([String type]); |
- |
- String getData(String type); |
- |
- bool setData(String type, String data); |
- |
- void setDragImage(HTMLImageElement image, int x, int y); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface CloseEvent extends Event { |
- |
- final int code; |
- |
- final String reason; |
- |
- final bool wasClean; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Comment extends CharacterData { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface CompositionEvent extends UIEvent { |
- |
- final String data; |
- |
- void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableArg, DOMWindow viewArg, String dataArg); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Console { |
- |
- final MemoryInfo memory; |
- |
- final List<ScriptProfile> profiles; |
- |
- void assertCondition(bool condition, Object arg); |
- |
- void count(Object arg); |
- |
- void debug(Object arg); |
- |
- void dir(Object arg); |
- |
- void dirxml(Object arg); |
- |
- void error(Object arg); |
- |
- void group(Object arg); |
- |
- void groupCollapsed(Object arg); |
- |
- void groupEnd(); |
- |
- void info(Object arg); |
- |
- void log(Object arg); |
- |
- void markTimeline(Object arg); |
- |
- void profile(String title); |
- |
- void profileEnd(String title); |
- |
- void time(String title); |
- |
- void timeEnd(String title, Object arg); |
- |
- void timeStamp(Object arg); |
- |
- void trace(Object arg); |
- |
- void warn(Object arg); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface ConvolverNode extends AudioNode { |
- |
- AudioBuffer buffer; |
- |
- bool normalize; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Coordinates { |
- |
- final num accuracy; |
- |
- final num altitude; |
- |
- final num altitudeAccuracy; |
- |
- final num heading; |
- |
- final num latitude; |
- |
- final num longitude; |
- |
- final num speed; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Counter { |
- |
- final String identifier; |
- |
- final String listStyle; |
- |
- final String separator; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Crypto { |
- |
- void getRandomValues(ArrayBufferView array); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface CustomEvent extends Event { |
- |
- final Object detail; |
- |
- void initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Object detailArg); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface ApplicationCache extends EventTarget { |
- |
- final int status; |
- |
- void abort(); |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- bool dispatchEvent(Event evt); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- void swapCache(); |
- |
- void update(); |
-} |
- |
-interface DOMApplicationCache extends ApplicationCache { |
- |
- 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; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DOMError { |
- |
- final String name; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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; |
- |
- final String name; |
- |
- String toString(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DOMFileSystem { |
- |
- final String name; |
- |
- final DirectoryEntry root; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DOMFileSystemSync { |
- |
- final String name; |
- |
- final DirectoryEntrySync root; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface FormData default _FormDataFactoryProvider { |
- |
- FormData([FormElement form]); |
- |
- void append(String name, String value, String filename); |
-} |
- |
-interface DOMFormData extends FormData { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DOMImplementation { |
- |
- CSSStyleSheet createCSSStyleSheet(String title, String media); |
- |
- Document createDocument(String namespaceURI, String qualifiedName, DocumentType doctype); |
- |
- DocumentType createDocumentType(String qualifiedName, String publicId, String systemId); |
- |
- HTMLDocument createHTMLDocument(String title); |
- |
- bool hasFeature(String feature, String version); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DOMMimeType { |
- |
- final String description; |
- |
- final DOMPlugin enabledPlugin; |
- |
- final String suffixes; |
- |
- final String type; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DOMMimeTypeArray { |
- |
- final int length; |
- |
- DOMMimeType item(int index); |
- |
- DOMMimeType namedItem(String name); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DOMParser default _DOMParserFactoryProvider { |
- |
- DOMParser(); |
- |
- Document parseFromString(String str, String contentType); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DOMPlugin { |
- |
- final String description; |
- |
- final String filename; |
- |
- final int length; |
- |
- final String name; |
- |
- DOMMimeType item(int index); |
- |
- DOMMimeType namedItem(String name); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DOMPluginArray { |
- |
- final int length; |
- |
- DOMPlugin item(int index); |
- |
- DOMPlugin namedItem(String name); |
- |
- void refresh(bool reload); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Selection { |
- |
- final Node anchorNode; |
- |
- final int anchorOffset; |
- |
- final Node baseNode; |
- |
- final int baseOffset; |
- |
- final Node extentNode; |
- |
- final int extentOffset; |
- |
- final Node focusNode; |
- |
- final int focusOffset; |
- |
- final bool isCollapsed; |
- |
- final int rangeCount; |
- |
- final String type; |
- |
- void addRange(Range range); |
- |
- void collapse(Node node, int index); |
- |
- void collapseToEnd(); |
- |
- void collapseToStart(); |
- |
- bool containsNode(Node node, bool allowPartial); |
- |
- void deleteFromDocument(); |
- |
- void empty(); |
- |
- void extend(Node node, int offset); |
- |
- Range getRangeAt(int index); |
- |
- void modify(String alter, String direction, String granularity); |
- |
- void removeAllRanges(); |
- |
- void selectAllChildren(Node node); |
- |
- void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int extentOffset); |
- |
- void setPosition(Node node, int offset); |
- |
- String toString(); |
-} |
- |
-interface DOMSelection extends Selection { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DOMSettableTokenList extends DOMTokenList { |
- |
- String value; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DOMStringList extends List<String> { |
- |
- final int length; |
- |
- bool contains(String string); |
- |
- String item(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DOMStringMap { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DOMTokenList { |
- |
- final int length; |
- |
- void add(String token); |
- |
- bool contains(String token); |
- |
- String item(int index); |
- |
- void remove(String token); |
- |
- String toString(); |
- |
- bool toggle(String token); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DOMURL default _DOMURLFactoryProvider { |
- |
- DOMURL(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Window extends EventTarget { |
- |
- final DOMApplicationCache applicationCache; |
- |
- final Navigator clientInformation; |
- |
- final bool closed; |
- |
- final Console console; |
- |
- final Crypto crypto; |
- |
- String defaultStatus; |
- |
- String defaultstatus; |
- |
- final num devicePixelRatio; |
- |
- final Document document; |
- |
- final Event event; |
- |
- final Element frameElement; |
- |
- final DOMWindow frames; |
- |
- final History history; |
- |
- final int innerHeight; |
- |
- final int innerWidth; |
- |
- final int length; |
- |
- final Storage localStorage; |
- |
- Location location; |
- |
- final BarInfo locationbar; |
- |
- final BarInfo menubar; |
- |
- String name; |
- |
- final Navigator navigator; |
- |
- final bool offscreenBuffering; |
- |
- final DOMWindow opener; |
- |
- final int outerHeight; |
- |
- final int outerWidth; |
- |
- final PagePopupController pagePopupController; |
- |
- final int pageXOffset; |
- |
- final int pageYOffset; |
- |
- final DOMWindow parent; |
- |
- final Performance performance; |
- |
- final BarInfo personalbar; |
- |
- final Screen screen; |
- |
- final int screenLeft; |
- |
- final int screenTop; |
- |
- final int screenX; |
- |
- final int screenY; |
- |
- final int scrollX; |
- |
- final int scrollY; |
- |
- final BarInfo scrollbars; |
- |
- final DOMWindow self; |
- |
- final Storage sessionStorage; |
- |
- String status; |
- |
- final BarInfo statusbar; |
- |
- final StyleMedia styleMedia; |
- |
- final BarInfo toolbar; |
- |
- final DOMWindow top; |
- |
- final IDBFactory webkitIndexedDB; |
- |
- final NotificationCenter webkitNotifications; |
- |
- final StorageInfo webkitStorageInfo; |
- |
- final DOMWindow window; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- void alert(String message); |
- |
- String atob(String string); |
- |
- void blur(); |
- |
- String btoa(String string); |
- |
- void captureEvents(); |
- |
- void clearInterval(int handle); |
- |
- void clearTimeout(int handle); |
- |
- void close(); |
- |
- bool confirm(String message); |
- |
- bool dispatchEvent(Event evt); |
- |
- bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog); |
- |
- void focus(); |
- |
- CSSStyleDeclaration getComputedStyle(Element element, String pseudoElement); |
- |
- CSSRuleList getMatchedCSSRules(Element element, String pseudoElement); |
- |
- DOMSelection getSelection(); |
- |
- MediaQueryList matchMedia(String query); |
- |
- void moveBy(num x, num y); |
- |
- void moveTo(num x, num y); |
- |
- DOMWindow open(String url, String name, [String options]); |
- |
- Database openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]); |
- |
- void postMessage(/*SerializedScriptValue*/ message, String targetOrigin, [List messagePorts]); |
- |
- void print(); |
- |
- String prompt(String message, String defaultValue); |
- |
- void releaseEvents(); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- void resizeBy(num x, num y); |
- |
- void resizeTo(num width, num height); |
- |
- void scroll(int x, int y); |
- |
- void scrollBy(int x, int y); |
- |
- void scrollTo(int x, int y); |
- |
- int setInterval(TimeoutHandler handler, int timeout); |
- |
- int setTimeout(TimeoutHandler handler, int timeout); |
- |
- Object showModalDialog(String url, [Object dialogArgs, String featureArgs]); |
- |
- void stop(); |
- |
- void webkitCancelAnimationFrame(int id); |
- |
- void webkitCancelRequestAnimationFrame(int id); |
- |
- WebKitPoint webkitConvertPointFromNodeToPage(Node node, WebKitPoint p); |
- |
- WebKitPoint webkitConvertPointFromPageToNode(Node node, WebKitPoint p); |
- |
- void webkitPostMessage(/*SerializedScriptValue*/ message, String targetOrigin, [List transferList]); |
- |
- int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback); |
- |
- void webkitRequestFileSystem(int type, int size, FileSystemCallback successCallback, [ErrorCallback errorCallback]); |
- |
- void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallback, ErrorCallback errorCallback]); |
-} |
- |
-interface DOMWindow extends Window { |
- |
- static const int PERSISTENT = 1; |
- |
- static const int TEMPORARY = 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 |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DataTransferItem { |
- |
- final String kind; |
- |
- final String type; |
- |
- Blob getAsFile(); |
- |
- void getAsString([StringCallback callback]); |
- |
- Entry webkitGetAsEntry(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DataTransferItemList { |
- |
- final int length; |
- |
- void add(data_OR_file, [String type]); |
- |
- void clear(); |
- |
- DataTransferItem item(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DataView extends ArrayBufferView default _DataViewFactoryProvider { |
- |
- DataView(ArrayBuffer buffer, [int byteOffset, int byteLength]); |
- |
- num getFloat32(int byteOffset, [bool littleEndian]); |
- |
- num getFloat64(int byteOffset, [bool littleEndian]); |
- |
- int getInt16(int byteOffset, [bool littleEndian]); |
- |
- int getInt32(int byteOffset, [bool littleEndian]); |
- |
- int getInt8(int byteOffset); |
- |
- int getUint16(int byteOffset, [bool littleEndian]); |
- |
- int getUint32(int byteOffset, [bool littleEndian]); |
- |
- int getUint8(int byteOffset); |
- |
- void setFloat32(int byteOffset, num value, [bool littleEndian]); |
- |
- void setFloat64(int byteOffset, num value, [bool littleEndian]); |
- |
- void setInt16(int byteOffset, int value, [bool littleEndian]); |
- |
- void setInt32(int byteOffset, int value, [bool littleEndian]); |
- |
- void setInt8(int byteOffset, int value); |
- |
- void setUint16(int byteOffset, int value, [bool littleEndian]); |
- |
- void setUint32(int byteOffset, int value, [bool littleEndian]); |
- |
- void setUint8(int byteOffset, int value); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Database { |
- |
- final String version; |
- |
- void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallback callback, SQLTransactionErrorCallback errorCallback, VoidCallback successCallback]); |
- |
- void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback, VoidCallback successCallback]); |
- |
- void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback, VoidCallback successCallback]); |
-} |
-// 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. |
- |
-typedef bool DatabaseCallback(database); |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DatabaseSync { |
- |
- final String lastErrorMessage; |
- |
- final String version; |
- |
- void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCallback callback]); |
- |
- void readTransaction(SQLTransactionSyncCallback callback); |
- |
- void transaction(SQLTransactionSyncCallback callback); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DedicatedWorkerGlobalScope extends WorkerContext { |
- |
- void postMessage(Object message, [List messagePorts]); |
- |
- void webkitPostMessage(Object message, [List transferList]); |
-} |
- |
-interface DedicatedWorkerContext extends DedicatedWorkerGlobalScope { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DelayNode extends AudioNode { |
- |
- final AudioParam delayTime; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DeviceMotionEvent extends Event { |
- |
- final num interval; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DeviceOrientationEvent extends Event { |
- |
- final bool absolute; |
- |
- final num alpha; |
- |
- final num beta; |
- |
- final num gamma; |
- |
- void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, num alpha, num beta, num gamma, bool absolute); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DirectoryEntry extends Entry { |
- |
- DirectoryReader createReader(); |
- |
- void getDirectory(String path, [Map options, EntryCallback successCallback, ErrorCallback errorCallback]); |
- |
- void getFile(String path, [Map options, EntryCallback successCallback, ErrorCallback errorCallback]); |
- |
- void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallback]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DirectoryEntrySync extends EntrySync { |
- |
- DirectoryReaderSync createReader(); |
- |
- DirectoryEntrySync getDirectory(String path, Map flags); |
- |
- FileEntrySync getFile(String path, Map flags); |
- |
- void removeRecursively(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DirectoryReader { |
- |
- void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DirectoryReaderSync { |
- |
- EntryArraySync readEntries(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Document extends Node { |
- |
- final String URL; |
- |
- final HTMLCollection anchors; |
- |
- final HTMLCollection applets; |
- |
- HTMLElement body; |
- |
- final String characterSet; |
- |
- String charset; |
- |
- final String compatMode; |
- |
- String cookie; |
- |
- final String defaultCharset; |
- |
- final DOMWindow defaultView; |
- |
- final DocumentType doctype; |
- |
- final Element documentElement; |
- |
- final String documentURI; |
- |
- String domain; |
- |
- final HTMLCollection forms; |
- |
- final HTMLHeadElement head; |
- |
- final HTMLCollection images; |
- |
- final DOMImplementation implementation; |
- |
- final String inputEncoding; |
- |
- final String lastModified; |
- |
- final HTMLCollection links; |
- |
- Location location; |
- |
- final String preferredStylesheetSet; |
- |
- final String readyState; |
- |
- final String referrer; |
- |
- String selectedStylesheetSet; |
- |
- final StyleSheetList styleSheets; |
- |
- String title; |
- |
- final Element webkitCurrentFullScreenElement; |
- |
- final bool webkitFullScreenKeyboardInputAllowed; |
- |
- final Element webkitFullscreenElement; |
- |
- final bool webkitFullscreenEnabled; |
- |
- final bool webkitHidden; |
- |
- final bool webkitIsFullScreen; |
- |
- final Element webkitPointerLockElement; |
- |
- final String webkitVisibilityState; |
- |
- final String xmlEncoding; |
- |
- bool xmlStandalone; |
- |
- String xmlVersion; |
- |
- Node adoptNode(Node source); |
- |
- Range caretRangeFromPoint(int x, int y); |
- |
- Attr createAttribute(String name); |
- |
- Attr createAttributeNS(String namespaceURI, String qualifiedName); |
- |
- CDATASection createCDATASection(String data); |
- |
- Comment createComment(String data); |
- |
- DocumentFragment createDocumentFragment(); |
- |
- Element createElement(String tagName); |
- |
- Element createElementNS(String namespaceURI, String qualifiedName); |
- |
- EntityReference createEntityReference(String name); |
- |
- Event createEvent(String eventType); |
- |
- XPathExpression createExpression(String expression, XPathNSResolver resolver); |
- |
- XPathNSResolver createNSResolver(Node nodeResolver); |
- |
- NodeIterator createNodeIterator(Node root, int whatToShow, NodeFilter filter, bool expandEntityReferences); |
- |
- ProcessingInstruction createProcessingInstruction(String target, String data); |
- |
- Range createRange(); |
- |
- Text createTextNode(String data); |
- |
- Touch createTouch(DOMWindow window, EventTarget target, int identifier, int pageX, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY, num webkitRotationAngle, num webkitForce); |
- |
- TouchList createTouchList(); |
- |
- TreeWalker createTreeWalker(Node root, int whatToShow, NodeFilter filter, bool expandEntityReferences); |
- |
- Element elementFromPoint(int x, int y); |
- |
- XPathResult evaluate(String expression, Node contextNode, XPathNSResolver resolver, int type, XPathResult inResult); |
- |
- bool execCommand(String command, bool userInterface, String value); |
- |
- CanvasRenderingContext getCSSCanvasContext(String contextId, String name, int width, int height); |
- |
- Element getElementById(String elementId); |
- |
- NodeList getElementsByClassName(String tagname); |
- |
- NodeList getElementsByName(String elementName); |
- |
- NodeList getElementsByTagName(String tagname); |
- |
- NodeList getElementsByTagNameNS(String namespaceURI, String localName); |
- |
- CSSStyleDeclaration getOverrideStyle(Element element, String pseudoElement); |
- |
- DOMSelection getSelection(); |
- |
- Node importNode(Node importedNode, [bool deep]); |
- |
- bool queryCommandEnabled(String command); |
- |
- bool queryCommandIndeterm(String command); |
- |
- bool queryCommandState(String command); |
- |
- bool queryCommandSupported(String command); |
- |
- String queryCommandValue(String command); |
- |
- Element querySelector(String selectors); |
- |
- NodeList querySelectorAll(String selectors); |
- |
- void webkitCancelFullScreen(); |
- |
- void webkitExitFullscreen(); |
- |
- void webkitExitPointerLock(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DocumentFragment extends Node { |
- |
- Element querySelector(String selectors); |
- |
- NodeList querySelectorAll(String selectors); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DocumentType extends Node { |
- |
- final NamedNodeMap entities; |
- |
- final String internalSubset; |
- |
- final String name; |
- |
- final NamedNodeMap notations; |
- |
- final String publicId; |
- |
- final String systemId; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface DynamicsCompressorNode extends AudioNode { |
- |
- final AudioParam attack; |
- |
- final AudioParam knee; |
- |
- final AudioParam ratio; |
- |
- final AudioParam reduction; |
- |
- final AudioParam release; |
- |
- final AudioParam threshold; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface EXTTextureFilterAnisotropic { |
- |
- static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; |
- |
- static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Element extends Node, ElementTraversal { |
- |
- static const int ALLOW_KEYBOARD_INPUT = 1; |
- |
- final int childElementCount; |
- |
- final DOMTokenList classList; |
- |
- String className; |
- |
- final int clientHeight; |
- |
- final int clientLeft; |
- |
- final int clientTop; |
- |
- final int clientWidth; |
- |
- final Map<String, String> dataset; |
- |
- final Element firstElementChild; |
- |
- final Element lastElementChild; |
- |
- final Element nextElementSibling; |
- |
- final int offsetHeight; |
- |
- final int offsetLeft; |
- |
- final Element offsetParent; |
- |
- final int offsetTop; |
- |
- final int offsetWidth; |
- |
- final Element previousElementSibling; |
- |
- final int scrollHeight; |
- |
- int scrollLeft; |
- |
- int scrollTop; |
- |
- final int scrollWidth; |
- |
- final CSSStyleDeclaration style; |
- |
- final String tagName; |
- |
- final String webkitRegionOverset; |
- |
- void blur(); |
- |
- void focus(); |
- |
- String getAttribute(String name); |
- |
- String getAttributeNS(String namespaceURI, String localName); |
- |
- Attr getAttributeNode(String name); |
- |
- Attr getAttributeNodeNS(String namespaceURI, String localName); |
- |
- ClientRect getBoundingClientRect(); |
- |
- ClientRectList getClientRects(); |
- |
- NodeList getElementsByClassName(String name); |
- |
- NodeList getElementsByTagName(String name); |
- |
- NodeList getElementsByTagNameNS(String namespaceURI, String localName); |
- |
- bool hasAttribute(String name); |
- |
- bool hasAttributeNS(String namespaceURI, String localName); |
- |
- Element querySelector(String selectors); |
- |
- NodeList querySelectorAll(String selectors); |
- |
- void removeAttribute(String name); |
- |
- void removeAttributeNS(String namespaceURI, String localName); |
- |
- Attr removeAttributeNode(Attr oldAttr); |
- |
- void scrollByLines(int lines); |
- |
- void scrollByPages(int pages); |
- |
- void scrollIntoView([bool alignWithTop]); |
- |
- void scrollIntoViewIfNeeded([bool centerIfNeeded]); |
- |
- void setAttribute(String name, String value); |
- |
- void setAttributeNS(String namespaceURI, String qualifiedName, String value); |
- |
- Attr setAttributeNode(Attr newAttr); |
- |
- Attr setAttributeNodeNS(Attr newAttr); |
- |
- bool webkitMatchesSelector(String selectors); |
- |
- void webkitRequestFullScreen(int flags); |
- |
- void webkitRequestFullscreen(); |
- |
- void webkitRequestPointerLock(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface ElementTimeControl { |
- |
- void beginElement(); |
- |
- void beginElementAt(num offset); |
- |
- void endElement(); |
- |
- void endElementAt(num offset); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface ElementTraversal { |
- |
- final int childElementCount; |
- |
- final Element firstElementChild; |
- |
- final Element lastElementChild; |
- |
- final Element nextElementSibling; |
- |
- final Element previousElementSibling; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Entity extends Node { |
- |
- final String notationName; |
- |
- final String publicId; |
- |
- final String systemId; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface EntityReference extends Node { |
-} |
-// 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. |
- |
-typedef bool EntriesCallback(EntryArray entries); |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Entry { |
- |
- final DOMFileSystem filesystem; |
- |
- final String fullPath; |
- |
- final bool isDirectory; |
- |
- final bool isFile; |
- |
- final String name; |
- |
- void copyTo(DirectoryEntry parent, [String name, EntryCallback successCallback, ErrorCallback errorCallback]); |
- |
- void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallback]); |
- |
- void getParent([EntryCallback successCallback, ErrorCallback errorCallback]); |
- |
- void moveTo(DirectoryEntry parent, [String name, EntryCallback successCallback, ErrorCallback errorCallback]); |
- |
- void remove(VoidCallback successCallback, [ErrorCallback errorCallback]); |
- |
- String toURL(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface EntryArray { |
- |
- final int length; |
- |
- Entry item(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface EntryArraySync { |
- |
- final int length; |
- |
- EntrySync item(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-typedef bool EntryCallback(Entry entry); |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface EntrySync { |
- |
- final DOMFileSystemSync filesystem; |
- |
- final String fullPath; |
- |
- final bool isDirectory; |
- |
- final bool isFile; |
- |
- final String name; |
- |
- EntrySync copyTo(DirectoryEntrySync parent, String name); |
- |
- Metadata getMetadata(); |
- |
- EntrySync getParent(); |
- |
- EntrySync moveTo(DirectoryEntrySync parent, String name); |
- |
- void remove(); |
- |
- String toURL(); |
-} |
-// 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. |
- |
-typedef bool ErrorCallback(FileError error); |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface ErrorEvent extends Event { |
- |
- final String filename; |
- |
- final int lineno; |
- |
- final String message; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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; |
- |
- final bool cancelable; |
- |
- final Clipboard clipboardData; |
- |
- final EventTarget currentTarget; |
- |
- final bool defaultPrevented; |
- |
- final int eventPhase; |
- |
- bool returnValue; |
- |
- final EventTarget srcElement; |
- |
- final EventTarget target; |
- |
- final int timeStamp; |
- |
- final String type; |
- |
- void initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg); |
- |
- void preventDefault(); |
- |
- void stopImmediatePropagation(); |
- |
- void stopPropagation(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface EventException { |
- |
- static const int DISPATCH_REQUEST_ERR = 1; |
- |
- static const int UNSPECIFIED_EVENT_TYPE_ERR = 0; |
- |
- final int code; |
- |
- final String message; |
- |
- final String name; |
- |
- String toString(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface EventSource extends EventTarget default _EventSourceFactoryProvider { |
- |
- EventSource(String scriptUrl); |
- |
- static const int CLOSED = 2; |
- |
- static const int CONNECTING = 0; |
- |
- static const int OPEN = 1; |
- |
- final String URL; |
- |
- final int readyState; |
- |
- final String url; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- void close(); |
- |
- bool dispatchEvent(Event evt); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface EventTarget { |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- bool dispatchEvent(Event event); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface File extends Blob { |
- |
- final Date lastModifiedDate; |
- |
- final String name; |
- |
- final String webkitRelativePath; |
-} |
-// 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. |
- |
-typedef bool FileCallback(File file); |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface FileEntry extends Entry { |
- |
- void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCallback]); |
- |
- void file(FileCallback successCallback, [ErrorCallback errorCallback]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface FileEntrySync extends EntrySync { |
- |
- FileWriterSync createWriter(); |
- |
- File file(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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 |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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; |
- |
- final String name; |
- |
- String toString(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface FileList extends List<File> { |
- |
- final int length; |
- |
- File item(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface FileReader extends EventTarget default _FileReaderFactoryProvider { |
- |
- FileReader(); |
- |
- static const int DONE = 2; |
- |
- static const int EMPTY = 0; |
- |
- static const int LOADING = 1; |
- |
- final FileError error; |
- |
- final int readyState; |
- |
- final Object result; |
- |
- void abort(); |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- bool dispatchEvent(Event evt); |
- |
- void readAsArrayBuffer(Blob blob); |
- |
- void readAsBinaryString(Blob blob); |
- |
- void readAsDataURL(Blob blob); |
- |
- void readAsText(Blob blob, [String encoding]); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface FileReaderSync default _FileReaderSyncFactoryProvider { |
- |
- FileReaderSync(); |
- |
- ArrayBuffer readAsArrayBuffer(Blob blob); |
- |
- String readAsBinaryString(Blob blob); |
- |
- String readAsDataURL(Blob blob); |
- |
- String readAsText(Blob blob, [String encoding]); |
-} |
-// 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. |
- |
-typedef bool FileSystemCallback(DOMFileSystem fileSystem); |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface FileWriter extends EventTarget { |
- |
- static const int DONE = 2; |
- |
- static const int INIT = 0; |
- |
- static const int WRITING = 1; |
- |
- final FileError error; |
- |
- final int length; |
- |
- final int position; |
- |
- final int readyState; |
- |
- void abort(); |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- bool dispatchEvent(Event evt); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- void seek(int position); |
- |
- void truncate(int size); |
- |
- void write(Blob data); |
-} |
-// 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. |
- |
-typedef bool FileWriterCallback(FileWriter fileWriter); |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface FileWriterSync { |
- |
- final int length; |
- |
- final int position; |
- |
- void seek(int position); |
- |
- void truncate(int size); |
- |
- void write(Blob data); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Float32Array extends ArrayBufferView, List<num> default _TypedArrayFactoryProvider { |
- |
- Float32Array(int length); |
- |
- Float32Array.fromList(List<num> list); |
- |
- Float32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]); |
- |
- static const int BYTES_PER_ELEMENT = 4; |
- |
- final int length; |
- |
- void setElements(Object array, [int offset]); |
- |
- Float32Array subarray(int start, [int end]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Float64Array extends ArrayBufferView, List<num> default _TypedArrayFactoryProvider { |
- |
- Float64Array(int length); |
- |
- Float64Array.fromList(List<num> list); |
- |
- Float64Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]); |
- |
- static const int BYTES_PER_ELEMENT = 8; |
- |
- final int length; |
- |
- void setElements(Object array, [int offset]); |
- |
- Float64Array subarray(int start, [int end]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Gamepad { |
- |
- final List<num> axes; |
- |
- final List<num> buttons; |
- |
- final String id; |
- |
- final int index; |
- |
- final int timestamp; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface GamepadList { |
- |
- final int length; |
- |
- Gamepad item(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Geolocation { |
- |
- void clearWatch(int watchId); |
- |
- void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallback errorCallback, Object options]); |
- |
- int watchPosition(PositionCallback successCallback, [PositionErrorCallback errorCallback, Object options]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Geoposition { |
- |
- final Coordinates coords; |
- |
- final int timestamp; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLAllCollection { |
- |
- final int length; |
- |
- Node item(int index); |
- |
- Node namedItem(String name); |
- |
- NodeList tags(String name); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLAnchorElement extends HTMLElement { |
- |
- String charset; |
- |
- String coords; |
- |
- String download; |
- |
- String hash; |
- |
- String host; |
- |
- String hostname; |
- |
- String href; |
- |
- String hreflang; |
- |
- String name; |
- |
- final String origin; |
- |
- String pathname; |
- |
- String ping; |
- |
- String port; |
- |
- String protocol; |
- |
- String rel; |
- |
- String rev; |
- |
- String search; |
- |
- String shape; |
- |
- String target; |
- |
- final String text; |
- |
- String type; |
- |
- String toString(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLAppletElement extends HTMLElement { |
- |
- String align; |
- |
- String alt; |
- |
- String archive; |
- |
- String code; |
- |
- String codeBase; |
- |
- String height; |
- |
- String hspace; |
- |
- String name; |
- |
- String object; |
- |
- String vspace; |
- |
- String width; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLAreaElement extends HTMLElement { |
- |
- String alt; |
- |
- String coords; |
- |
- final String hash; |
- |
- final String host; |
- |
- final String hostname; |
- |
- String href; |
- |
- bool noHref; |
- |
- final String pathname; |
- |
- String ping; |
- |
- final String port; |
- |
- final String protocol; |
- |
- final String search; |
- |
- String shape; |
- |
- String target; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLAudioElement extends HTMLMediaElement default _HTMLAudioElementFactoryProvider { |
- |
- HTMLAudioElement([String src]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLBRElement extends HTMLElement { |
- |
- String clear; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLBaseElement extends HTMLElement { |
- |
- String href; |
- |
- String target; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLBaseFontElement extends HTMLElement { |
- |
- String color; |
- |
- String face; |
- |
- int size; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLBodyElement extends HTMLElement { |
- |
- String aLink; |
- |
- String background; |
- |
- String bgColor; |
- |
- String link; |
- |
- String text; |
- |
- String vLink; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLButtonElement extends HTMLElement { |
- |
- bool autofocus; |
- |
- bool disabled; |
- |
- final HTMLFormElement form; |
- |
- String formAction; |
- |
- String formEnctype; |
- |
- String formMethod; |
- |
- bool formNoValidate; |
- |
- String formTarget; |
- |
- final NodeList labels; |
- |
- String name; |
- |
- String type; |
- |
- final String validationMessage; |
- |
- final ValidityState validity; |
- |
- String value; |
- |
- final bool willValidate; |
- |
- bool checkValidity(); |
- |
- void setCustomValidity(String error); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLCanvasElement extends HTMLElement { |
- |
- int height; |
- |
- int width; |
- |
- Object getContext(String contextId); |
- |
- String toDataURL(String type, [num quality]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLCollection extends List<Node> { |
- |
- final int length; |
- |
- Node item(int index); |
- |
- Node namedItem(String name); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLContentElement extends HTMLElement { |
- |
- String select; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLDListElement extends HTMLElement { |
- |
- bool compact; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLDataListElement extends HTMLElement { |
- |
- final HTMLCollection options; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLDetailsElement extends HTMLElement { |
- |
- bool open; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLDirectoryElement extends HTMLElement { |
- |
- bool compact; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLDivElement extends HTMLElement { |
- |
- String align; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLDocument extends Document { |
- |
- final Element activeElement; |
- |
- String alinkColor; |
- |
- HTMLAllCollection all; |
- |
- String bgColor; |
- |
- final String compatMode; |
- |
- String designMode; |
- |
- String dir; |
- |
- final HTMLCollection embeds; |
- |
- String fgColor; |
- |
- final int height; |
- |
- String linkColor; |
- |
- final HTMLCollection plugins; |
- |
- final HTMLCollection scripts; |
- |
- String vlinkColor; |
- |
- final int width; |
- |
- void captureEvents(); |
- |
- void clear(); |
- |
- void close(); |
- |
- bool hasFocus(); |
- |
- void open(); |
- |
- void releaseEvents(); |
- |
- void write(String text); |
- |
- void writeln(String text); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLElement extends Element { |
- |
- String accessKey; |
- |
- final HTMLCollection children; |
- |
- String contentEditable; |
- |
- String dir; |
- |
- bool draggable; |
- |
- bool hidden; |
- |
- String id; |
- |
- String innerHTML; |
- |
- String innerText; |
- |
- final bool isContentEditable; |
- |
- String lang; |
- |
- String outerHTML; |
- |
- String outerText; |
- |
- bool spellcheck; |
- |
- int tabIndex; |
- |
- String title; |
- |
- bool translate; |
- |
- String webkitdropzone; |
- |
- void click(); |
- |
- Element insertAdjacentElement(String where, Element element); |
- |
- void insertAdjacentHTML(String where, String html); |
- |
- void insertAdjacentText(String where, String text); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLEmbedElement extends HTMLElement { |
- |
- String align; |
- |
- String height; |
- |
- String name; |
- |
- String src; |
- |
- String type; |
- |
- String width; |
- |
- SVGDocument getSVGDocument(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLFieldSetElement extends HTMLElement { |
- |
- bool disabled; |
- |
- final HTMLCollection elements; |
- |
- final HTMLFormElement form; |
- |
- String name; |
- |
- final String type; |
- |
- final String validationMessage; |
- |
- final ValidityState validity; |
- |
- final bool willValidate; |
- |
- bool checkValidity(); |
- |
- void setCustomValidity(String error); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLFontElement extends HTMLElement { |
- |
- String color; |
- |
- String face; |
- |
- String size; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLFormElement extends HTMLElement { |
- |
- String acceptCharset; |
- |
- String action; |
- |
- String autocomplete; |
- |
- final HTMLCollection elements; |
- |
- String encoding; |
- |
- String enctype; |
- |
- final int length; |
- |
- String method; |
- |
- String name; |
- |
- bool noValidate; |
- |
- String target; |
- |
- bool checkValidity(); |
- |
- void reset(); |
- |
- void submit(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLFrameElement extends HTMLElement { |
- |
- final Document contentDocument; |
- |
- final DOMWindow contentWindow; |
- |
- String frameBorder; |
- |
- final int height; |
- |
- String location; |
- |
- String longDesc; |
- |
- String marginHeight; |
- |
- String marginWidth; |
- |
- String name; |
- |
- bool noResize; |
- |
- String scrolling; |
- |
- String src; |
- |
- final int width; |
- |
- SVGDocument getSVGDocument(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLFrameSetElement extends HTMLElement { |
- |
- String cols; |
- |
- String rows; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLHRElement extends HTMLElement { |
- |
- String align; |
- |
- bool noShade; |
- |
- String size; |
- |
- String width; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLHeadElement extends HTMLElement { |
- |
- String profile; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLHeadingElement extends HTMLElement { |
- |
- String align; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLHtmlElement extends HTMLElement { |
- |
- String manifest; |
- |
- String version; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLIFrameElement extends HTMLElement { |
- |
- String align; |
- |
- final Document contentDocument; |
- |
- final DOMWindow contentWindow; |
- |
- String frameBorder; |
- |
- String height; |
- |
- String longDesc; |
- |
- String marginHeight; |
- |
- String marginWidth; |
- |
- String name; |
- |
- String sandbox; |
- |
- String scrolling; |
- |
- String src; |
- |
- String srcdoc; |
- |
- String width; |
- |
- SVGDocument getSVGDocument(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLImageElement extends HTMLElement { |
- |
- String align; |
- |
- String alt; |
- |
- String border; |
- |
- final bool complete; |
- |
- String crossOrigin; |
- |
- int height; |
- |
- int hspace; |
- |
- bool isMap; |
- |
- String longDesc; |
- |
- String lowsrc; |
- |
- String name; |
- |
- final int naturalHeight; |
- |
- final int naturalWidth; |
- |
- String src; |
- |
- String useMap; |
- |
- int vspace; |
- |
- int width; |
- |
- final int x; |
- |
- final int y; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLInputElement extends HTMLElement { |
- |
- String accept; |
- |
- String align; |
- |
- String alt; |
- |
- String autocomplete; |
- |
- bool autofocus; |
- |
- bool checked; |
- |
- bool defaultChecked; |
- |
- String defaultValue; |
- |
- String dirName; |
- |
- bool disabled; |
- |
- FileList files; |
- |
- final HTMLFormElement form; |
- |
- String formAction; |
- |
- String formEnctype; |
- |
- String formMethod; |
- |
- bool formNoValidate; |
- |
- String formTarget; |
- |
- int height; |
- |
- bool incremental; |
- |
- bool indeterminate; |
- |
- final NodeList labels; |
- |
- final HTMLElement list; |
- |
- String max; |
- |
- int maxLength; |
- |
- String min; |
- |
- bool multiple; |
- |
- String name; |
- |
- String pattern; |
- |
- String placeholder; |
- |
- bool readOnly; |
- |
- bool required; |
- |
- String selectionDirection; |
- |
- int selectionEnd; |
- |
- int selectionStart; |
- |
- int size; |
- |
- String src; |
- |
- String step; |
- |
- String type; |
- |
- String useMap; |
- |
- final String validationMessage; |
- |
- final ValidityState validity; |
- |
- String value; |
- |
- Date valueAsDate; |
- |
- num valueAsNumber; |
- |
- final EntryArray webkitEntries; |
- |
- bool webkitGrammar; |
- |
- bool webkitSpeech; |
- |
- bool webkitdirectory; |
- |
- int width; |
- |
- final bool willValidate; |
- |
- bool checkValidity(); |
- |
- void select(); |
- |
- void setCustomValidity(String error); |
- |
- void setSelectionRange(int start, int end, [String direction]); |
- |
- void stepDown([int n]); |
- |
- void stepUp([int n]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLKeygenElement extends HTMLElement { |
- |
- bool autofocus; |
- |
- String challenge; |
- |
- bool disabled; |
- |
- final HTMLFormElement form; |
- |
- String keytype; |
- |
- final NodeList labels; |
- |
- String name; |
- |
- final String type; |
- |
- final String validationMessage; |
- |
- final ValidityState validity; |
- |
- final bool willValidate; |
- |
- bool checkValidity(); |
- |
- void setCustomValidity(String error); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLLIElement extends HTMLElement { |
- |
- String type; |
- |
- int value; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLLabelElement extends HTMLElement { |
- |
- final HTMLElement control; |
- |
- final HTMLFormElement form; |
- |
- String htmlFor; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLLegendElement extends HTMLElement { |
- |
- String align; |
- |
- final HTMLFormElement form; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLLinkElement extends HTMLElement { |
- |
- String charset; |
- |
- bool disabled; |
- |
- String href; |
- |
- String hreflang; |
- |
- String media; |
- |
- String rel; |
- |
- String rev; |
- |
- final StyleSheet sheet; |
- |
- DOMSettableTokenList sizes; |
- |
- String target; |
- |
- String type; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLMapElement extends HTMLElement { |
- |
- final HTMLCollection areas; |
- |
- String name; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLMarqueeElement extends HTMLElement { |
- |
- String behavior; |
- |
- String bgColor; |
- |
- String direction; |
- |
- String height; |
- |
- int hspace; |
- |
- int loop; |
- |
- int scrollAmount; |
- |
- int scrollDelay; |
- |
- bool trueSpeed; |
- |
- int vspace; |
- |
- String width; |
- |
- void start(); |
- |
- void stop(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLMediaElement extends HTMLElement { |
- |
- 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 TimeRanges buffered; |
- |
- MediaController controller; |
- |
- bool controls; |
- |
- final String currentSrc; |
- |
- num currentTime; |
- |
- bool defaultMuted; |
- |
- num defaultPlaybackRate; |
- |
- final num duration; |
- |
- final bool ended; |
- |
- final MediaError error; |
- |
- final num initialTime; |
- |
- bool loop; |
- |
- String mediaGroup; |
- |
- bool muted; |
- |
- final int networkState; |
- |
- final bool paused; |
- |
- num playbackRate; |
- |
- final TimeRanges played; |
- |
- String preload; |
- |
- final int readyState; |
- |
- final TimeRanges seekable; |
- |
- final bool seeking; |
- |
- String src; |
- |
- final num startTime; |
- |
- final TextTrackList textTracks; |
- |
- num volume; |
- |
- final int webkitAudioDecodedByteCount; |
- |
- bool webkitClosedCaptionsVisible; |
- |
- final bool webkitHasClosedCaptions; |
- |
- bool webkitPreservesPitch; |
- |
- final int webkitVideoDecodedByteCount; |
- |
- TextTrack addTextTrack(String kind, [String label, String language]); |
- |
- String canPlayType(String type, String keySystem); |
- |
- void load(); |
- |
- void pause(); |
- |
- void play(); |
- |
- void webkitAddKey(String keySystem, Uint8Array key, [Uint8Array initData, String sessionId]); |
- |
- void webkitCancelKeyRequest(String keySystem, String sessionId); |
- |
- void webkitGenerateKeyRequest(String keySystem, [Uint8Array initData]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLMenuElement extends HTMLElement { |
- |
- bool compact; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLMetaElement extends HTMLElement { |
- |
- String content; |
- |
- String httpEquiv; |
- |
- String name; |
- |
- String scheme; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLMeterElement extends HTMLElement { |
- |
- num high; |
- |
- final NodeList labels; |
- |
- num low; |
- |
- num max; |
- |
- num min; |
- |
- num optimum; |
- |
- num value; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLModElement extends HTMLElement { |
- |
- String cite; |
- |
- String dateTime; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLOListElement extends HTMLElement { |
- |
- bool compact; |
- |
- bool reversed; |
- |
- int start; |
- |
- String type; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLObjectElement extends HTMLElement { |
- |
- String align; |
- |
- String archive; |
- |
- String border; |
- |
- String code; |
- |
- String codeBase; |
- |
- String codeType; |
- |
- final Document contentDocument; |
- |
- String data; |
- |
- bool declare; |
- |
- final HTMLFormElement form; |
- |
- String height; |
- |
- int hspace; |
- |
- String name; |
- |
- String standby; |
- |
- String type; |
- |
- String useMap; |
- |
- final String validationMessage; |
- |
- final ValidityState validity; |
- |
- int vspace; |
- |
- String width; |
- |
- final bool willValidate; |
- |
- bool checkValidity(); |
- |
- SVGDocument getSVGDocument(); |
- |
- void setCustomValidity(String error); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLOptGroupElement extends HTMLElement { |
- |
- bool disabled; |
- |
- String label; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLOptionElement extends HTMLElement default _HTMLOptionElementFactoryProvider { |
- |
- HTMLOptionElement([String data, String value, bool defaultSelected, bool selected]); |
- |
- bool defaultSelected; |
- |
- bool disabled; |
- |
- final HTMLFormElement form; |
- |
- final int index; |
- |
- String label; |
- |
- bool selected; |
- |
- String text; |
- |
- String value; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLOptionsCollection extends HTMLCollection { |
- |
- int length; |
- |
- int selectedIndex; |
- |
- void remove(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLOutputElement extends HTMLElement { |
- |
- String defaultValue; |
- |
- final HTMLFormElement form; |
- |
- DOMSettableTokenList htmlFor; |
- |
- final NodeList labels; |
- |
- String name; |
- |
- final String type; |
- |
- final String validationMessage; |
- |
- final ValidityState validity; |
- |
- String value; |
- |
- final bool willValidate; |
- |
- bool checkValidity(); |
- |
- void setCustomValidity(String error); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLParagraphElement extends HTMLElement { |
- |
- String align; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLParamElement extends HTMLElement { |
- |
- String name; |
- |
- String type; |
- |
- String value; |
- |
- String valueType; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLPreElement extends HTMLElement { |
- |
- int width; |
- |
- bool wrap; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLProgressElement extends HTMLElement { |
- |
- final NodeList labels; |
- |
- num max; |
- |
- final num position; |
- |
- num value; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLQuoteElement extends HTMLElement { |
- |
- String cite; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLScriptElement extends HTMLElement { |
- |
- bool async; |
- |
- String charset; |
- |
- String crossOrigin; |
- |
- bool defer; |
- |
- String event; |
- |
- String htmlFor; |
- |
- String src; |
- |
- String text; |
- |
- String type; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLSelectElement extends HTMLElement { |
- |
- bool autofocus; |
- |
- bool disabled; |
- |
- final HTMLFormElement form; |
- |
- final NodeList labels; |
- |
- int length; |
- |
- bool multiple; |
- |
- String name; |
- |
- final HTMLOptionsCollection options; |
- |
- bool required; |
- |
- int selectedIndex; |
- |
- final HTMLCollection selectedOptions; |
- |
- int size; |
- |
- final String type; |
- |
- final String validationMessage; |
- |
- final ValidityState validity; |
- |
- String value; |
- |
- final bool willValidate; |
- |
- void add(HTMLElement element, HTMLElement before); |
- |
- bool checkValidity(); |
- |
- Node item(int index); |
- |
- Node namedItem(String name); |
- |
- void remove(index_OR_option); |
- |
- void setCustomValidity(String error); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLShadowElement extends HTMLElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLSourceElement extends HTMLElement { |
- |
- String media; |
- |
- String src; |
- |
- String type; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLSpanElement extends HTMLElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLStyleElement extends HTMLElement { |
- |
- bool disabled; |
- |
- String media; |
- |
- bool scoped; |
- |
- final StyleSheet sheet; |
- |
- String type; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLTableCaptionElement extends HTMLElement { |
- |
- String align; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLTableCellElement extends HTMLElement { |
- |
- String abbr; |
- |
- String align; |
- |
- String axis; |
- |
- String bgColor; |
- |
- final int cellIndex; |
- |
- String ch; |
- |
- String chOff; |
- |
- int colSpan; |
- |
- String headers; |
- |
- String height; |
- |
- bool noWrap; |
- |
- int rowSpan; |
- |
- String scope; |
- |
- String vAlign; |
- |
- String width; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLTableColElement extends HTMLElement { |
- |
- String align; |
- |
- String ch; |
- |
- String chOff; |
- |
- int span; |
- |
- String vAlign; |
- |
- String width; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLTableElement extends HTMLElement { |
- |
- String align; |
- |
- String bgColor; |
- |
- String border; |
- |
- HTMLTableCaptionElement caption; |
- |
- String cellPadding; |
- |
- String cellSpacing; |
- |
- String frame; |
- |
- final HTMLCollection rows; |
- |
- String rules; |
- |
- String summary; |
- |
- final HTMLCollection tBodies; |
- |
- HTMLTableSectionElement tFoot; |
- |
- HTMLTableSectionElement tHead; |
- |
- String width; |
- |
- HTMLElement createCaption(); |
- |
- HTMLElement createTBody(); |
- |
- HTMLElement createTFoot(); |
- |
- HTMLElement createTHead(); |
- |
- void deleteCaption(); |
- |
- void deleteRow(int index); |
- |
- void deleteTFoot(); |
- |
- void deleteTHead(); |
- |
- HTMLElement insertRow(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLTableRowElement extends HTMLElement { |
- |
- String align; |
- |
- String bgColor; |
- |
- final HTMLCollection cells; |
- |
- String ch; |
- |
- String chOff; |
- |
- final int rowIndex; |
- |
- final int sectionRowIndex; |
- |
- String vAlign; |
- |
- void deleteCell(int index); |
- |
- HTMLElement insertCell(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLTableSectionElement extends HTMLElement { |
- |
- String align; |
- |
- String ch; |
- |
- String chOff; |
- |
- final HTMLCollection rows; |
- |
- String vAlign; |
- |
- void deleteRow(int index); |
- |
- HTMLElement insertRow(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLTextAreaElement extends HTMLElement { |
- |
- bool autofocus; |
- |
- int cols; |
- |
- String defaultValue; |
- |
- String dirName; |
- |
- bool disabled; |
- |
- final HTMLFormElement form; |
- |
- final NodeList labels; |
- |
- int maxLength; |
- |
- String name; |
- |
- String placeholder; |
- |
- bool readOnly; |
- |
- bool required; |
- |
- int rows; |
- |
- String selectionDirection; |
- |
- int selectionEnd; |
- |
- int selectionStart; |
- |
- final int textLength; |
- |
- final String type; |
- |
- final String validationMessage; |
- |
- final ValidityState validity; |
- |
- String value; |
- |
- final bool willValidate; |
- |
- String wrap; |
- |
- bool checkValidity(); |
- |
- void select(); |
- |
- void setCustomValidity(String error); |
- |
- void setSelectionRange(int start, int end, [String direction]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLTitleElement extends HTMLElement { |
- |
- String text; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLTrackElement extends HTMLElement { |
- |
- static const int ERROR = 3; |
- |
- static const int LOADED = 2; |
- |
- static const int LOADING = 1; |
- |
- static const int NONE = 0; |
- |
- bool defaultValue; |
- |
- String kind; |
- |
- String label; |
- |
- final int readyState; |
- |
- String src; |
- |
- String srclang; |
- |
- final TextTrack track; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLUListElement extends HTMLElement { |
- |
- bool compact; |
- |
- String type; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLUnknownElement extends HTMLElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HTMLVideoElement extends HTMLMediaElement { |
- |
- int height; |
- |
- String poster; |
- |
- final int videoHeight; |
- |
- final int videoWidth; |
- |
- final int webkitDecodedFrameCount; |
- |
- final bool webkitDisplayingFullscreen; |
- |
- final int webkitDroppedFrameCount; |
- |
- final bool webkitSupportsFullscreen; |
- |
- int width; |
- |
- void webkitEnterFullScreen(); |
- |
- void webkitEnterFullscreen(); |
- |
- void webkitExitFullScreen(); |
- |
- void webkitExitFullscreen(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface HashChangeEvent extends Event { |
- |
- final String newURL; |
- |
- final String oldURL; |
- |
- void initHashChangeEvent(String type, bool canBubble, bool cancelable, String oldURL, String newURL); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface History { |
- |
- final int length; |
- |
- final /*SerializedScriptValue*/ state; |
- |
- void back(); |
- |
- void forward(); |
- |
- void go(int distance); |
- |
- void pushState(Object data, String title, [String url]); |
- |
- void replaceState(Object data, String title, [String url]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface IDBAny { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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; |
- |
- final /*IDBKey*/ key; |
- |
- final /*IDBKey*/ primaryKey; |
- |
- final /*IDBAny*/ source; |
- |
- void advance(int count); |
- |
- void continueFunction([/*IDBKey*/ key]); |
- |
- IDBRequest delete(); |
- |
- IDBRequest update(/*SerializedScriptValue*/ value); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface IDBCursorWithValue extends IDBCursor { |
- |
- final /*IDBAny*/ value; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface IDBDatabase extends EventTarget { |
- |
- final String name; |
- |
- final List<String> objectStoreNames; |
- |
- final /*IDBAny*/ version; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- void close(); |
- |
- IDBObjectStore createObjectStore(String name, [Map options]); |
- |
- void deleteObjectStore(String name); |
- |
- bool dispatchEvent(Event evt); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- IDBVersionChangeRequest setVersion(String version); |
- |
- IDBTransaction transaction(storeName_OR_storeNames, String mode); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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; |
- |
- final String name; |
- |
- String toString(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface IDBFactory { |
- |
- int cmp(/*IDBKey*/ first, /*IDBKey*/ second); |
- |
- IDBVersionChangeRequest deleteDatabase(String name); |
- |
- IDBOpenDBRequest open(String name, [int version]); |
- |
- IDBRequest webkitGetDatabaseNames(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface IDBIndex { |
- |
- final /*IDBAny*/ keyPath; |
- |
- final bool multiEntry; |
- |
- final String name; |
- |
- final IDBObjectStore objectStore; |
- |
- final bool unique; |
- |
- IDBRequest count([key_OR_range]); |
- |
- IDBRequest get(key); |
- |
- IDBRequest getKey(key); |
- |
- IDBRequest openCursor([key_OR_range, direction]); |
- |
- IDBRequest openKeyCursor([key_OR_range, direction]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface IDBKey { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface IDBKeyRange default _IDBKeyRangeFactoryProvider { |
- |
- IDBKeyRange.only(/*IDBKey*/ value); |
- |
- IDBKeyRange.lowerBound(/*IDBKey*/ bound, [bool open]); |
- |
- IDBKeyRange.upperBound(/*IDBKey*/ bound, [bool open]); |
- |
- IDBKeyRange.bound(/*IDBKey*/ lower, /*IDBKey*/ upper, |
- [bool lowerOpen, bool upperOpen]); |
- |
- |
- final /*IDBKey*/ lower; |
- |
- final bool lowerOpen; |
- |
- final /*IDBKey*/ upper; |
- |
- final bool upperOpen; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface IDBObjectStore { |
- |
- final bool autoIncrement; |
- |
- final List<String> indexNames; |
- |
- final /*IDBAny*/ keyPath; |
- |
- final String name; |
- |
- final IDBTransaction transaction; |
- |
- IDBRequest add(/*SerializedScriptValue*/ value, [/*IDBKey*/ key]); |
- |
- IDBRequest clear(); |
- |
- IDBRequest count([key_OR_range]); |
- |
- IDBIndex createIndex(String name, keyPath, [Map options]); |
- |
- IDBRequest delete(key_OR_keyRange); |
- |
- void deleteIndex(String name); |
- |
- IDBRequest getObject(key); |
- |
- IDBIndex index(String name); |
- |
- IDBRequest openCursor([key_OR_range, direction]); |
- |
- IDBRequest put(/*SerializedScriptValue*/ value, [/*IDBKey*/ key]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface IDBOpenDBRequest extends IDBRequest, EventTarget { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface IDBRequest extends EventTarget { |
- |
- final DOMError error; |
- |
- final int errorCode; |
- |
- final String readyState; |
- |
- final /*IDBAny*/ result; |
- |
- final /*IDBAny*/ source; |
- |
- final IDBTransaction transaction; |
- |
- final String webkitErrorMessage; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- bool dispatchEvent(Event evt); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface IDBTransaction extends EventTarget { |
- |
- static const int READ_ONLY = 0; |
- |
- static const int READ_WRITE = 1; |
- |
- static const int VERSION_CHANGE = 2; |
- |
- final IDBDatabase db; |
- |
- final DOMError error; |
- |
- final String mode; |
- |
- void abort(); |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- bool dispatchEvent(Event evt); |
- |
- IDBObjectStore objectStore(String name); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface IDBUpgradeNeededEvent extends Event { |
- |
- final int newVersion; |
- |
- final int oldVersion; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface IDBVersionChangeEvent extends Event { |
- |
- final String version; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface IDBVersionChangeRequest extends IDBRequest, EventTarget { |
-} |
-// 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. |
- |
-typedef bool IceCallback(IceCandidate candidate, bool moreToFollow, PeerConnection00 source); |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface IceCandidate default _IceCandidateFactoryProvider { |
- |
- IceCandidate(String label, String candidateLine); |
- |
- final String label; |
- |
- String toSdp(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface ImageData { |
- |
- final Uint8ClampedArray data; |
- |
- final int height; |
- |
- final int width; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Int16Array extends ArrayBufferView, List<int> default _TypedArrayFactoryProvider { |
- |
- Int16Array(int length); |
- |
- Int16Array.fromList(List<int> list); |
- |
- Int16Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]); |
- |
- static const int BYTES_PER_ELEMENT = 2; |
- |
- final int length; |
- |
- void setElements(Object array, [int offset]); |
- |
- Int16Array subarray(int start, [int end]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Int32Array extends ArrayBufferView, List<int> default _TypedArrayFactoryProvider { |
- |
- Int32Array(int length); |
- |
- Int32Array.fromList(List<int> list); |
- |
- Int32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]); |
- |
- static const int BYTES_PER_ELEMENT = 4; |
- |
- final int length; |
- |
- void setElements(Object array, [int offset]); |
- |
- Int32Array subarray(int start, [int end]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Int8Array extends ArrayBufferView, List<int> default _TypedArrayFactoryProvider { |
- |
- Int8Array(int length); |
- |
- Int8Array.fromList(List<int> list); |
- |
- Int8Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]); |
- |
- static const int BYTES_PER_ELEMENT = 1; |
- |
- final int length; |
- |
- void setElements(Object array, [int offset]); |
- |
- Int8Array subarray(int start, [int end]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface JavaScriptAudioNode extends AudioNode, EventTarget { |
- |
- final int bufferSize; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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 JavaScriptCallFrame caller; |
- |
- final int column; |
- |
- final String functionName; |
- |
- final int line; |
- |
- final List scopeChain; |
- |
- final int sourceID; |
- |
- final Object thisObject; |
- |
- final String type; |
- |
- void evaluate(String script); |
- |
- Object restart(); |
- |
- int scopeType(int scopeIndex); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface KeyboardEvent extends UIEvent { |
- |
- final bool altGraphKey; |
- |
- final bool altKey; |
- |
- final bool ctrlKey; |
- |
- final String keyIdentifier; |
- |
- final int keyLocation; |
- |
- final bool metaKey; |
- |
- final bool shiftKey; |
- |
- void initKeyboardEvent(String type, bool canBubble, bool cancelable, DOMWindow view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface LocalMediaStream extends MediaStream, EventTarget { |
- |
- void stop(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Location { |
- |
- final List<String> ancestorOrigins; |
- |
- String hash; |
- |
- String host; |
- |
- String hostname; |
- |
- String href; |
- |
- final String origin; |
- |
- String pathname; |
- |
- String port; |
- |
- String protocol; |
- |
- String search; |
- |
- void assign(String url); |
- |
- void reload(); |
- |
- void replace(String url); |
- |
- String toString(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface MediaController extends EventTarget default _MediaControllerFactoryProvider { |
- |
- MediaController(); |
- |
- final TimeRanges buffered; |
- |
- num currentTime; |
- |
- num defaultPlaybackRate; |
- |
- final num duration; |
- |
- bool muted; |
- |
- final bool paused; |
- |
- num playbackRate; |
- |
- final TimeRanges played; |
- |
- final TimeRanges seekable; |
- |
- num volume; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- bool dispatchEvent(Event evt); |
- |
- void pause(); |
- |
- void play(); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface MediaElementAudioSourceNode extends AudioSourceNode { |
- |
- final HTMLMediaElement mediaElement; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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 |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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 |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface MediaKeyEvent extends Event { |
- |
- final String defaultURL; |
- |
- final MediaKeyError errorCode; |
- |
- final Uint8Array initData; |
- |
- final String keySystem; |
- |
- final Uint8Array message; |
- |
- final String sessionId; |
- |
- final int systemCode; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface MediaList extends List<String> { |
- |
- final int length; |
- |
- String mediaText; |
- |
- void appendMedium(String newMedium); |
- |
- void deleteMedium(String oldMedium); |
- |
- String item(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface MediaQueryList { |
- |
- final bool matches; |
- |
- final String media; |
- |
- void addListener(MediaQueryListListener listener); |
- |
- void removeListener(MediaQueryListListener listener); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface MediaQueryListListener { |
- |
- void queryChanged(MediaQueryList list); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface MediaSource extends EventTarget default _MediaSourceFactoryProvider { |
- |
- MediaSource(); |
- |
- final SourceBufferList activeSourceBuffers; |
- |
- final String readyState; |
- |
- final SourceBufferList sourceBuffers; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- SourceBuffer addSourceBuffer(String type); |
- |
- bool dispatchEvent(Event event); |
- |
- void endOfStream(String error); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- void removeSourceBuffer(SourceBuffer buffer); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface MediaStream extends EventTarget default _MediaStreamFactoryProvider { |
- |
- MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks); |
- |
- static const int ENDED = 2; |
- |
- static const int LIVE = 1; |
- |
- final MediaStreamTrackList audioTracks; |
- |
- final String label; |
- |
- final int readyState; |
- |
- final MediaStreamTrackList videoTracks; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- bool dispatchEvent(Event event); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface MediaStreamAudioSourceNode extends AudioSourceNode { |
- |
- final MediaStream mediaStream; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface MediaStreamEvent extends Event { |
- |
- final MediaStream stream; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface MediaStreamList { |
- |
- final int length; |
- |
- MediaStream item(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface MediaStreamTrack extends EventTarget { |
- |
- static const int ENDED = 2; |
- |
- static const int LIVE = 0; |
- |
- static const int MUTED = 1; |
- |
- bool enabled; |
- |
- final String kind; |
- |
- final String label; |
- |
- final int readyState; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- bool dispatchEvent(Event event); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface MediaStreamTrackEvent extends Event { |
- |
- final MediaStreamTrack track; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface MediaStreamTrackList extends EventTarget { |
- |
- final int length; |
- |
- void add(MediaStreamTrack track); |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- bool dispatchEvent(Event event); |
- |
- MediaStreamTrack item(int index); |
- |
- void remove(MediaStreamTrack track); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface MemoryInfo { |
- |
- final int jsHeapSizeLimit; |
- |
- final int totalJSHeapSize; |
- |
- final int usedJSHeapSize; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface MessageChannel default _MessageChannelFactoryProvider { |
- |
- MessageChannel(); |
- |
- final MessagePort port1; |
- |
- final MessagePort port2; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface MessageEvent extends Event { |
- |
- final Object data; |
- |
- final String lastEventId; |
- |
- final String origin; |
- |
- final List ports; |
- |
- final DOMWindow source; |
- |
- void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Object dataArg, String originArg, String lastEventIdArg, DOMWindow sourceArg, List messagePorts); |
- |
- void webkitInitMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Object dataArg, String originArg, String lastEventIdArg, DOMWindow sourceArg, List transferables); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface MessagePort extends EventTarget { |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- void close(); |
- |
- bool dispatchEvent(Event evt); |
- |
- void postMessage(String message, [List messagePorts]); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- void start(); |
- |
- void webkitPostMessage(String message, [List transfer]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Metadata { |
- |
- final Date modificationTime; |
- |
- final int size; |
-} |
-// 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. |
- |
-typedef bool MetadataCallback(Metadata metadata); |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface MouseEvent extends UIEvent { |
- |
- final bool altKey; |
- |
- final int button; |
- |
- final int clientX; |
- |
- final int clientY; |
- |
- final bool ctrlKey; |
- |
- final Clipboard dataTransfer; |
- |
- final Node fromElement; |
- |
- final bool metaKey; |
- |
- final int offsetX; |
- |
- final int offsetY; |
- |
- final EventTarget relatedTarget; |
- |
- final int screenX; |
- |
- final int screenY; |
- |
- final bool shiftKey; |
- |
- final Node toElement; |
- |
- final int webkitMovementX; |
- |
- final int webkitMovementY; |
- |
- final int x; |
- |
- final int y; |
- |
- void initMouseEvent(String type, bool canBubble, bool cancelable, DOMWindow view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarget); |
-} |
-// 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. |
- |
-typedef bool MutationCallback(List<MutationRecord> mutations, MutationObserver observer); |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface MutationEvent extends Event { |
- |
- static const int ADDITION = 2; |
- |
- static const int MODIFICATION = 1; |
- |
- static const int REMOVAL = 3; |
- |
- final int attrChange; |
- |
- final String attrName; |
- |
- final String newValue; |
- |
- final String prevValue; |
- |
- final Node relatedNode; |
- |
- void initMutationEvent(String type, bool canBubble, bool cancelable, Node relatedNode, String prevValue, String newValue, String attrName, int attrChange); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface MutationObserver default _MutationObserverFactoryProvider { |
- |
- MutationObserver(MutationCallback callback); |
- |
- void disconnect(); |
- |
- void _observe(Node target, Map options); |
- |
- List<MutationRecord> takeRecords(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface MutationRecord { |
- |
- final NodeList addedNodes; |
- |
- final String attributeName; |
- |
- final String attributeNamespace; |
- |
- final Node nextSibling; |
- |
- final String oldValue; |
- |
- final Node previousSibling; |
- |
- final NodeList removedNodes; |
- |
- final Node target; |
- |
- final String type; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface NamedNodeMap extends List<Node> { |
- |
- final int length; |
- |
- Node getNamedItem(String name); |
- |
- Node getNamedItemNS(String namespaceURI, String localName); |
- |
- Node item(int index); |
- |
- Node removeNamedItem(String name); |
- |
- Node removeNamedItemNS(String namespaceURI, String localName); |
- |
- Node setNamedItem(Node node); |
- |
- Node setNamedItemNS(Node node); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Navigator { |
- |
- final String appCodeName; |
- |
- final String appName; |
- |
- final String appVersion; |
- |
- final bool cookieEnabled; |
- |
- final Geolocation geolocation; |
- |
- final String language; |
- |
- final DOMMimeTypeArray mimeTypes; |
- |
- final bool onLine; |
- |
- final String platform; |
- |
- final DOMPluginArray plugins; |
- |
- final String product; |
- |
- final String productSub; |
- |
- final String userAgent; |
- |
- final String vendor; |
- |
- final String vendorSub; |
- |
- final BatteryManager webkitBattery; |
- |
- void getStorageUpdates(); |
- |
- bool javaEnabled(); |
- |
- GamepadList webkitGetGamepads(); |
- |
- void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback successCallback, [NavigatorUserMediaErrorCallback errorCallback]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface NavigatorUserMediaError { |
- |
- static const int PERMISSION_DENIED = 1; |
- |
- final int code; |
-} |
-// 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. |
- |
-typedef bool NavigatorUserMediaErrorCallback(NavigatorUserMediaError error); |
-// 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. |
- |
-typedef bool NavigatorUserMediaSuccessCallback(LocalMediaStream stream); |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Node extends EventTarget { |
- |
- 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; |
- |
- final NamedNodeMap attributes; |
- |
- final String baseURI; |
- |
- final NodeList childNodes; |
- |
- final Node firstChild; |
- |
- final Node lastChild; |
- |
- final String localName; |
- |
- final String namespaceURI; |
- |
- final Node nextSibling; |
- |
- final String nodeName; |
- |
- final int nodeType; |
- |
- String nodeValue; |
- |
- final Document ownerDocument; |
- |
- final Element parentElement; |
- |
- final Node parentNode; |
- |
- String prefix; |
- |
- final Node previousSibling; |
- |
- String textContent; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- Node appendChild(Node newChild); |
- |
- Node cloneNode(bool deep); |
- |
- int compareDocumentPosition(Node other); |
- |
- bool contains(Node other); |
- |
- bool dispatchEvent(Event event); |
- |
- bool hasAttributes(); |
- |
- bool hasChildNodes(); |
- |
- Node insertBefore(Node newChild, Node refChild); |
- |
- bool isDefaultNamespace(String namespaceURI); |
- |
- bool isEqualNode(Node other); |
- |
- bool isSameNode(Node other); |
- |
- bool isSupported(String feature, String version); |
- |
- String lookupNamespaceURI(String prefix); |
- |
- String lookupPrefix(String namespaceURI); |
- |
- void normalize(); |
- |
- Node removeChild(Node oldChild); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- Node replaceChild(Node newChild, Node oldChild); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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(Node n); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface NodeIterator { |
- |
- final bool expandEntityReferences; |
- |
- final NodeFilter filter; |
- |
- final bool pointerBeforeReferenceNode; |
- |
- final Node referenceNode; |
- |
- final Node root; |
- |
- final int whatToShow; |
- |
- void detach(); |
- |
- Node nextNode(); |
- |
- Node previousNode(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface NodeList extends List<Node> { |
- |
- final int length; |
- |
- Node item(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Notation extends Node { |
- |
- final String publicId; |
- |
- final String systemId; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Notification extends EventTarget default _NotificationFactoryProvider { |
- |
- Notification(String title, [Map options]); |
- |
- String dir; |
- |
- final String permission; |
- |
- String replaceId; |
- |
- String tag; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- void cancel(); |
- |
- void close(); |
- |
- bool dispatchEvent(Event evt); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- void show(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface NotificationCenter { |
- |
- int checkPermission(); |
- |
- Notification createHTMLNotification(String url); |
- |
- Notification createNotification(String iconUrl, String title, String body); |
- |
- void requestPermission(VoidCallback callback); |
-} |
-// 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. |
- |
-typedef bool NotificationPermissionCallback(String permission); |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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 |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface OESTextureFloat { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface OESVertexArrayObject { |
- |
- static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; |
- |
- void bindVertexArrayOES(WebGLVertexArrayObjectOES arrayObject); |
- |
- WebGLVertexArrayObjectOES createVertexArrayOES(); |
- |
- void deleteVertexArrayOES(WebGLVertexArrayObjectOES arrayObject); |
- |
- bool isVertexArrayOES(WebGLVertexArrayObjectOES arrayObject); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface OfflineAudioCompletionEvent extends Event { |
- |
- final AudioBuffer renderedBuffer; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Oscillator extends AudioSourceNode { |
- |
- 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 AudioParam detune; |
- |
- final AudioParam frequency; |
- |
- final int playbackState; |
- |
- int type; |
- |
- void noteOff(num when); |
- |
- void noteOn(num when); |
- |
- void setWaveTable(WaveTable waveTable); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface OverflowEvent extends Event { |
- |
- static const int BOTH = 2; |
- |
- static const int HORIZONTAL = 0; |
- |
- static const int VERTICAL = 1; |
- |
- final bool horizontalOverflow; |
- |
- final int orient; |
- |
- final bool verticalOverflow; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface PagePopupController { |
- |
- String localizeNumberString(String numberString); |
- |
- void setValueAndClosePopup(int numberValue, String stringValue); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface PageTransitionEvent extends Event { |
- |
- final bool persisted; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface PeerConnection00 extends EventTarget default _PeerConnection00FactoryProvider { |
- |
- PeerConnection00(String serverConfiguration, IceCallback iceCallback); |
- |
- 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 SessionDescription localDescription; |
- |
- final MediaStreamList localStreams; |
- |
- final int readyState; |
- |
- final SessionDescription remoteDescription; |
- |
- final MediaStreamList remoteStreams; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- void addStream(MediaStream stream, [Map mediaStreamHints]); |
- |
- void close(); |
- |
- SessionDescription createAnswer(String offer, [Map mediaHints]); |
- |
- SessionDescription createOffer([Map mediaHints]); |
- |
- bool dispatchEvent(Event event); |
- |
- void processIceMessage(IceCandidate candidate); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- void removeStream(MediaStream stream); |
- |
- void setLocalDescription(int action, SessionDescription desc); |
- |
- void setRemoteDescription(int action, SessionDescription desc); |
- |
- void startIce([Map iceOptions]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Performance extends EventTarget { |
- |
- final MemoryInfo memory; |
- |
- final PerformanceNavigation navigation; |
- |
- final PerformanceTiming timing; |
- |
- num webkitNow(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface PerformanceTiming { |
- |
- final int connectEnd; |
- |
- final int connectStart; |
- |
- final int domComplete; |
- |
- final int domContentLoadedEventEnd; |
- |
- final int domContentLoadedEventStart; |
- |
- final int domInteractive; |
- |
- final int domLoading; |
- |
- final int domainLookupEnd; |
- |
- final int domainLookupStart; |
- |
- final int fetchStart; |
- |
- final int loadEventEnd; |
- |
- final int loadEventStart; |
- |
- final int navigationStart; |
- |
- final int redirectEnd; |
- |
- final int redirectStart; |
- |
- final int requestStart; |
- |
- final int responseEnd; |
- |
- final int responseStart; |
- |
- final int secureConnectionStart; |
- |
- final int unloadEventEnd; |
- |
- final int unloadEventStart; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface PopStateEvent extends Event { |
- |
- final Object state; |
-} |
-// 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. |
- |
-typedef bool PositionCallback(Geoposition position); |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface PositionError { |
- |
- static const int PERMISSION_DENIED = 1; |
- |
- static const int POSITION_UNAVAILABLE = 2; |
- |
- static const int TIMEOUT = 3; |
- |
- final int code; |
- |
- final String message; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-typedef bool PositionErrorCallback(PositionError error); |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface ProcessingInstruction extends Node { |
- |
- String data; |
- |
- final StyleSheet sheet; |
- |
- final String target; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface ProgressEvent extends Event { |
- |
- final bool lengthComputable; |
- |
- final int loaded; |
- |
- final int total; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface RGBColor { |
- |
- final CSSPrimitiveValue blue; |
- |
- final CSSPrimitiveValue green; |
- |
- final CSSPrimitiveValue red; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface RTCPeerConnection extends EventTarget default _RTCPeerConnectionFactoryProvider { |
- |
- RTCPeerConnection(Map rtcICEServers, [Map mediaConstraints]); |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- bool dispatchEvent(Event event); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface RadioNodeList extends NodeList { |
- |
- String value; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Range { |
- |
- static 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 Node commonAncestorContainer; |
- |
- final Node endContainer; |
- |
- final int endOffset; |
- |
- final Node startContainer; |
- |
- final int startOffset; |
- |
- DocumentFragment cloneContents(); |
- |
- Range cloneRange(); |
- |
- void collapse(bool toStart); |
- |
- int compareNode(Node refNode); |
- |
- int comparePoint(Node refNode, int offset); |
- |
- DocumentFragment createContextualFragment(String html); |
- |
- void deleteContents(); |
- |
- void detach(); |
- |
- void expand(String unit); |
- |
- DocumentFragment extractContents(); |
- |
- ClientRect getBoundingClientRect(); |
- |
- ClientRectList getClientRects(); |
- |
- void insertNode(Node newNode); |
- |
- bool intersectsNode(Node refNode); |
- |
- bool isPointInRange(Node refNode, int offset); |
- |
- void selectNode(Node refNode); |
- |
- void selectNodeContents(Node refNode); |
- |
- void setEnd(Node refNode, int offset); |
- |
- void setEndAfter(Node refNode); |
- |
- void setEndBefore(Node refNode); |
- |
- void setStart(Node refNode, int offset); |
- |
- void setStartAfter(Node refNode); |
- |
- void setStartBefore(Node refNode); |
- |
- void surroundContents(Node newParent); |
- |
- String toString(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface RangeException { |
- |
- static const int BAD_BOUNDARYPOINTS_ERR = 1; |
- |
- static const int INVALID_NODE_TYPE_ERR = 2; |
- |
- final int code; |
- |
- final String message; |
- |
- final String name; |
- |
- String toString(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface RealtimeAnalyserNode extends AudioNode { |
- |
- int fftSize; |
- |
- final int frequencyBinCount; |
- |
- num maxDecibels; |
- |
- num minDecibels; |
- |
- num smoothingTimeConstant; |
- |
- void getByteFrequencyData(Uint8Array array); |
- |
- void getByteTimeDomainData(Uint8Array array); |
- |
- void getFloatFrequencyData(Float32Array array); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Rect { |
- |
- final CSSPrimitiveValue bottom; |
- |
- final CSSPrimitiveValue left; |
- |
- final CSSPrimitiveValue right; |
- |
- final CSSPrimitiveValue top; |
-} |
-// 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. |
- |
-typedef bool RequestAnimationFrameCallback(int time); |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SQLResultSet { |
- |
- final int insertId; |
- |
- final SQLResultSetRowList rows; |
- |
- final int rowsAffected; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SQLResultSetRowList { |
- |
- final int length; |
- |
- Map item(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-typedef bool SQLStatementCallback(SQLTransaction transaction, SQLResultSet resultSet); |
-// 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. |
- |
-typedef bool SQLStatementErrorCallback(SQLTransaction transaction, SQLError error); |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SQLTransaction { |
- |
- void executeSql(String sqlStatement, List arguments, [SQLStatementCallback callback, SQLStatementErrorCallback errorCallback]); |
-} |
-// 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. |
- |
-typedef bool SQLTransactionCallback(SQLTransaction transaction); |
-// 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. |
- |
-typedef bool SQLTransactionErrorCallback(SQLError error); |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SQLTransactionSync { |
- |
- SQLResultSet executeSql(String sqlStatement, List arguments); |
-} |
-// 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. |
- |
-typedef bool SQLTransactionSyncCallback(SQLTransactionSync transaction); |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGAElement extends SVGElement, SVGURIReference, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable { |
- |
- final SVGAnimatedString target; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGAltGlyphDefElement extends SVGElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGAltGlyphElement extends SVGTextPositioningElement, SVGURIReference { |
- |
- String format; |
- |
- String glyphRef; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGAltGlyphItemElement extends SVGElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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; |
- |
- String valueAsString; |
- |
- num valueInSpecifiedUnits; |
- |
- void convertToSpecifiedUnits(int unitType); |
- |
- void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGAnimateColorElement extends SVGAnimationElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGAnimateElement extends SVGAnimationElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGAnimateMotionElement extends SVGAnimationElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGAnimateTransformElement extends SVGAnimationElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGAnimatedAngle { |
- |
- final SVGAngle animVal; |
- |
- final SVGAngle baseVal; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGAnimatedBoolean { |
- |
- final bool animVal; |
- |
- bool baseVal; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGAnimatedEnumeration { |
- |
- final int animVal; |
- |
- int baseVal; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGAnimatedInteger { |
- |
- final int animVal; |
- |
- int baseVal; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGAnimatedLength { |
- |
- final SVGLength animVal; |
- |
- final SVGLength baseVal; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGAnimatedLengthList { |
- |
- final SVGLengthList animVal; |
- |
- final SVGLengthList baseVal; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGAnimatedNumber { |
- |
- final num animVal; |
- |
- num baseVal; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGAnimatedNumberList { |
- |
- final SVGNumberList animVal; |
- |
- final SVGNumberList baseVal; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGAnimatedPreserveAspectRatio { |
- |
- final SVGPreserveAspectRatio animVal; |
- |
- final SVGPreserveAspectRatio baseVal; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGAnimatedRect { |
- |
- final SVGRect animVal; |
- |
- final SVGRect baseVal; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGAnimatedString { |
- |
- final String animVal; |
- |
- String baseVal; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGAnimatedTransformList { |
- |
- final SVGTransformList animVal; |
- |
- final SVGTransformList baseVal; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGAnimationElement extends SVGElement, SVGTests, SVGExternalResourcesRequired, ElementTimeControl { |
- |
- final SVGElement targetElement; |
- |
- num getCurrentTime(); |
- |
- num getSimpleDuration(); |
- |
- num getStartTime(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGCircleElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable { |
- |
- final SVGAnimatedLength cx; |
- |
- final SVGAnimatedLength cy; |
- |
- final SVGAnimatedLength r; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGClipPathElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable { |
- |
- final SVGAnimatedEnumeration clipPathUnits; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGColor extends CSSValue { |
- |
- 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 RGBColor rgbColor; |
- |
- void setColor(int colorType, String rgbColor, String iccColor); |
- |
- void setRGBColor(String rgbColor); |
- |
- void setRGBColorICCColor(String rgbColor, String iccColor); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGComponentTransferFunctionElement extends SVGElement { |
- |
- 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 SVGAnimatedNumber amplitude; |
- |
- final SVGAnimatedNumber exponent; |
- |
- final SVGAnimatedNumber intercept; |
- |
- final SVGAnimatedNumber offset; |
- |
- final SVGAnimatedNumber slope; |
- |
- final SVGAnimatedNumberList tableValues; |
- |
- final SVGAnimatedEnumeration type; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGCursorElement extends SVGElement, SVGURIReference, SVGTests, SVGExternalResourcesRequired { |
- |
- final SVGAnimatedLength x; |
- |
- final SVGAnimatedLength y; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGDefsElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGDescElement extends SVGElement, SVGLangSpace, SVGStylable { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGDocument extends Document { |
- |
- final SVGSVGElement rootElement; |
- |
- Event createEvent(String eventType); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGElement extends Element { |
- |
- String id; |
- |
- final SVGSVGElement ownerSVGElement; |
- |
- final SVGElement viewportElement; |
- |
- String xmlbase; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGElementInstance extends EventTarget { |
- |
- final SVGElementInstanceList childNodes; |
- |
- final SVGElement correspondingElement; |
- |
- final SVGUseElement correspondingUseElement; |
- |
- final SVGElementInstance firstChild; |
- |
- final SVGElementInstance lastChild; |
- |
- final SVGElementInstance nextSibling; |
- |
- final SVGElementInstance parentNode; |
- |
- final SVGElementInstance previousSibling; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGElementInstanceList { |
- |
- final int length; |
- |
- SVGElementInstance item(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGEllipseElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable { |
- |
- final SVGAnimatedLength cx; |
- |
- final SVGAnimatedLength cy; |
- |
- final SVGAnimatedLength rx; |
- |
- final SVGAnimatedLength ry; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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; |
- |
- final String name; |
- |
- String toString(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGExternalResourcesRequired { |
- |
- final SVGAnimatedBoolean externalResourcesRequired; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFEBlendElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { |
- |
- 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 SVGAnimatedString in1; |
- |
- final SVGAnimatedString in2; |
- |
- final SVGAnimatedEnumeration mode; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { |
- |
- 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 SVGAnimatedString in1; |
- |
- final SVGAnimatedEnumeration type; |
- |
- final SVGAnimatedNumberList values; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFEComponentTransferElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { |
- |
- final SVGAnimatedString in1; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFECompositeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { |
- |
- 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 SVGAnimatedString in1; |
- |
- final SVGAnimatedString in2; |
- |
- final SVGAnimatedNumber k1; |
- |
- final SVGAnimatedNumber k2; |
- |
- final SVGAnimatedNumber k3; |
- |
- final SVGAnimatedNumber k4; |
- |
- final SVGAnimatedEnumeration operator; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFEConvolveMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { |
- |
- 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 SVGAnimatedNumber bias; |
- |
- final SVGAnimatedNumber divisor; |
- |
- final SVGAnimatedEnumeration edgeMode; |
- |
- final SVGAnimatedString in1; |
- |
- final SVGAnimatedNumberList kernelMatrix; |
- |
- final SVGAnimatedNumber kernelUnitLengthX; |
- |
- final SVGAnimatedNumber kernelUnitLengthY; |
- |
- final SVGAnimatedInteger orderX; |
- |
- final SVGAnimatedInteger orderY; |
- |
- final SVGAnimatedBoolean preserveAlpha; |
- |
- final SVGAnimatedInteger targetX; |
- |
- final SVGAnimatedInteger targetY; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFEDiffuseLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { |
- |
- final SVGAnimatedNumber diffuseConstant; |
- |
- final SVGAnimatedString in1; |
- |
- final SVGAnimatedNumber kernelUnitLengthX; |
- |
- final SVGAnimatedNumber kernelUnitLengthY; |
- |
- final SVGAnimatedNumber surfaceScale; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFEDisplacementMapElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { |
- |
- 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 SVGAnimatedString in1; |
- |
- final SVGAnimatedString in2; |
- |
- final SVGAnimatedNumber scale; |
- |
- final SVGAnimatedEnumeration xChannelSelector; |
- |
- final SVGAnimatedEnumeration yChannelSelector; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFEDistantLightElement extends SVGElement { |
- |
- final SVGAnimatedNumber azimuth; |
- |
- final SVGAnimatedNumber elevation; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFEDropShadowElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { |
- |
- final SVGAnimatedNumber dx; |
- |
- final SVGAnimatedNumber dy; |
- |
- final SVGAnimatedString in1; |
- |
- final SVGAnimatedNumber stdDeviationX; |
- |
- final SVGAnimatedNumber stdDeviationY; |
- |
- void setStdDeviation(num stdDeviationX, num stdDeviationY); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFEFloodElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFEFuncAElement extends SVGComponentTransferFunctionElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFEGaussianBlurElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { |
- |
- final SVGAnimatedString in1; |
- |
- final SVGAnimatedNumber stdDeviationX; |
- |
- final SVGAnimatedNumber stdDeviationY; |
- |
- void setStdDeviation(num stdDeviationX, num stdDeviationY); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFEImageElement extends SVGElement, SVGURIReference, SVGLangSpace, SVGExternalResourcesRequired, SVGFilterPrimitiveStandardAttributes { |
- |
- final SVGAnimatedPreserveAspectRatio preserveAspectRatio; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFEMergeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFEMergeNodeElement extends SVGElement { |
- |
- final SVGAnimatedString in1; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFEMorphologyElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { |
- |
- 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 SVGAnimatedString in1; |
- |
- final SVGAnimatedEnumeration operator; |
- |
- final SVGAnimatedNumber radiusX; |
- |
- final SVGAnimatedNumber radiusY; |
- |
- void setRadius(num radiusX, num radiusY); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFEOffsetElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { |
- |
- final SVGAnimatedNumber dx; |
- |
- final SVGAnimatedNumber dy; |
- |
- final SVGAnimatedString in1; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFEPointLightElement extends SVGElement { |
- |
- final SVGAnimatedNumber x; |
- |
- final SVGAnimatedNumber y; |
- |
- final SVGAnimatedNumber z; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFESpecularLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { |
- |
- final SVGAnimatedString in1; |
- |
- final SVGAnimatedNumber specularConstant; |
- |
- final SVGAnimatedNumber specularExponent; |
- |
- final SVGAnimatedNumber surfaceScale; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFESpotLightElement extends SVGElement { |
- |
- final SVGAnimatedNumber limitingConeAngle; |
- |
- final SVGAnimatedNumber pointsAtX; |
- |
- final SVGAnimatedNumber pointsAtY; |
- |
- final SVGAnimatedNumber pointsAtZ; |
- |
- final SVGAnimatedNumber specularExponent; |
- |
- final SVGAnimatedNumber x; |
- |
- final SVGAnimatedNumber y; |
- |
- final SVGAnimatedNumber z; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFETileElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { |
- |
- final SVGAnimatedString in1; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFETurbulenceElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { |
- |
- 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 SVGAnimatedNumber baseFrequencyX; |
- |
- final SVGAnimatedNumber baseFrequencyY; |
- |
- final SVGAnimatedInteger numOctaves; |
- |
- final SVGAnimatedNumber seed; |
- |
- final SVGAnimatedEnumeration stitchTiles; |
- |
- final SVGAnimatedEnumeration type; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFilterElement extends SVGElement, SVGURIReference, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable { |
- |
- final SVGAnimatedInteger filterResX; |
- |
- final SVGAnimatedInteger filterResY; |
- |
- final SVGAnimatedEnumeration filterUnits; |
- |
- final SVGAnimatedLength height; |
- |
- final SVGAnimatedEnumeration primitiveUnits; |
- |
- final SVGAnimatedLength width; |
- |
- final SVGAnimatedLength x; |
- |
- final SVGAnimatedLength y; |
- |
- void setFilterRes(int filterResX, int filterResY); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFilterPrimitiveStandardAttributes extends SVGStylable { |
- |
- final SVGAnimatedLength height; |
- |
- final SVGAnimatedString result; |
- |
- final SVGAnimatedLength width; |
- |
- final SVGAnimatedLength x; |
- |
- final SVGAnimatedLength y; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFitToViewBox { |
- |
- final SVGAnimatedPreserveAspectRatio preserveAspectRatio; |
- |
- final SVGAnimatedRect viewBox; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFontElement extends SVGElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFontFaceElement extends SVGElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFontFaceFormatElement extends SVGElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFontFaceNameElement extends SVGElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFontFaceSrcElement extends SVGElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGFontFaceUriElement extends SVGElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGForeignObjectElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable { |
- |
- final SVGAnimatedLength height; |
- |
- final SVGAnimatedLength width; |
- |
- final SVGAnimatedLength x; |
- |
- final SVGAnimatedLength y; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGGlyphElement extends SVGElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGGlyphRefElement extends SVGElement, SVGURIReference, SVGStylable { |
- |
- num dx; |
- |
- num dy; |
- |
- String format; |
- |
- String glyphRef; |
- |
- num x; |
- |
- num y; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGGradientElement extends SVGElement, SVGURIReference, SVGExternalResourcesRequired, SVGStylable { |
- |
- 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 SVGAnimatedTransformList gradientTransform; |
- |
- final SVGAnimatedEnumeration gradientUnits; |
- |
- final SVGAnimatedEnumeration spreadMethod; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGHKernElement extends SVGElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGImageElement extends SVGElement, SVGURIReference, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable { |
- |
- final SVGAnimatedLength height; |
- |
- final SVGAnimatedPreserveAspectRatio preserveAspectRatio; |
- |
- final SVGAnimatedLength width; |
- |
- final SVGAnimatedLength x; |
- |
- final SVGAnimatedLength y; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGLangSpace { |
- |
- String xmllang; |
- |
- String xmlspace; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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; |
- |
- String valueAsString; |
- |
- num valueInSpecifiedUnits; |
- |
- void convertToSpecifiedUnits(int unitType); |
- |
- void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGLengthList { |
- |
- final int numberOfItems; |
- |
- SVGLength appendItem(SVGLength item); |
- |
- void clear(); |
- |
- SVGLength getItem(int index); |
- |
- SVGLength initialize(SVGLength item); |
- |
- SVGLength insertItemBefore(SVGLength item, int index); |
- |
- SVGLength removeItem(int index); |
- |
- SVGLength replaceItem(SVGLength item, int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGLineElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable { |
- |
- final SVGAnimatedLength x1; |
- |
- final SVGAnimatedLength x2; |
- |
- final SVGAnimatedLength y1; |
- |
- final SVGAnimatedLength y2; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGLinearGradientElement extends SVGGradientElement { |
- |
- final SVGAnimatedLength x1; |
- |
- final SVGAnimatedLength x2; |
- |
- final SVGAnimatedLength y1; |
- |
- final SVGAnimatedLength y2; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGLocatable { |
- |
- final SVGElement farthestViewportElement; |
- |
- final SVGElement nearestViewportElement; |
- |
- SVGRect getBBox(); |
- |
- SVGMatrix getCTM(); |
- |
- SVGMatrix getScreenCTM(); |
- |
- SVGMatrix getTransformToElement(SVGElement element); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGMPathElement extends SVGElement, SVGURIReference, SVGExternalResourcesRequired { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGMarkerElement extends SVGElement, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGFitToViewBox { |
- |
- 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 SVGAnimatedLength markerHeight; |
- |
- final SVGAnimatedEnumeration markerUnits; |
- |
- final SVGAnimatedLength markerWidth; |
- |
- final SVGAnimatedAngle orientAngle; |
- |
- final SVGAnimatedEnumeration orientType; |
- |
- final SVGAnimatedLength refX; |
- |
- final SVGAnimatedLength refY; |
- |
- void setOrientToAngle(SVGAngle angle); |
- |
- void setOrientToAuto(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGMaskElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable { |
- |
- final SVGAnimatedLength height; |
- |
- final SVGAnimatedEnumeration maskContentUnits; |
- |
- final SVGAnimatedEnumeration maskUnits; |
- |
- final SVGAnimatedLength width; |
- |
- final SVGAnimatedLength x; |
- |
- final SVGAnimatedLength y; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGMatrix { |
- |
- num a; |
- |
- num b; |
- |
- num c; |
- |
- num d; |
- |
- num e; |
- |
- num f; |
- |
- SVGMatrix flipX(); |
- |
- SVGMatrix flipY(); |
- |
- SVGMatrix inverse(); |
- |
- SVGMatrix multiply(SVGMatrix secondMatrix); |
- |
- SVGMatrix rotate(num angle); |
- |
- SVGMatrix rotateFromVector(num x, num y); |
- |
- SVGMatrix scale(num scaleFactor); |
- |
- SVGMatrix scaleNonUniform(num scaleFactorX, num scaleFactorY); |
- |
- SVGMatrix skewX(num angle); |
- |
- SVGMatrix skewY(num angle); |
- |
- SVGMatrix translate(num x, num y); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGMetadataElement extends SVGElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGMissingGlyphElement extends SVGElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGNumber { |
- |
- num value; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGNumberList { |
- |
- final int numberOfItems; |
- |
- SVGNumber appendItem(SVGNumber item); |
- |
- void clear(); |
- |
- SVGNumber getItem(int index); |
- |
- SVGNumber initialize(SVGNumber item); |
- |
- SVGNumber insertItemBefore(SVGNumber item, int index); |
- |
- SVGNumber removeItem(int index); |
- |
- SVGNumber replaceItem(SVGNumber item, int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPaint extends SVGColor { |
- |
- 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; |
- |
- void setPaint(int paintType, String uri, String rgbColor, String iccColor); |
- |
- void setUri(String uri); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPathElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable { |
- |
- final SVGPathSegList animatedNormalizedPathSegList; |
- |
- final SVGPathSegList animatedPathSegList; |
- |
- final SVGPathSegList normalizedPathSegList; |
- |
- final SVGAnimatedNumber pathLength; |
- |
- final SVGPathSegList pathSegList; |
- |
- SVGPathSegArcAbs createSVGPathSegArcAbs(num x, num y, num r1, num r2, num angle, bool largeArcFlag, bool sweepFlag); |
- |
- SVGPathSegArcRel createSVGPathSegArcRel(num x, num y, num r1, num r2, num angle, bool largeArcFlag, bool sweepFlag); |
- |
- SVGPathSegClosePath createSVGPathSegClosePath(); |
- |
- SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(num x, num y, num x1, num y1, num x2, num y2); |
- |
- SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(num x, num y, num x1, num y1, num x2, num y2); |
- |
- SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(num x, num y, num x2, num y2); |
- |
- SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(num x, num y, num x2, num y2); |
- |
- SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(num x, num y, num x1, num y1); |
- |
- SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(num x, num y, num x1, num y1); |
- |
- SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs(num x, num y); |
- |
- SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel(num x, num y); |
- |
- SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(num x, num y); |
- |
- SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(num x); |
- |
- SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(num x); |
- |
- SVGPathSegLinetoRel createSVGPathSegLinetoRel(num x, num y); |
- |
- SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(num y); |
- |
- SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(num y); |
- |
- SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(num x, num y); |
- |
- SVGPathSegMovetoRel createSVGPathSegMovetoRel(num x, num y); |
- |
- int getPathSegAtLength(num distance); |
- |
- SVGPoint getPointAtLength(num distance); |
- |
- num getTotalLength(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPathSegArcAbs extends SVGPathSeg { |
- |
- num angle; |
- |
- bool largeArcFlag; |
- |
- num r1; |
- |
- num r2; |
- |
- bool sweepFlag; |
- |
- num x; |
- |
- num y; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPathSegArcRel extends SVGPathSeg { |
- |
- num angle; |
- |
- bool largeArcFlag; |
- |
- num r1; |
- |
- num r2; |
- |
- bool sweepFlag; |
- |
- num x; |
- |
- num y; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPathSegClosePath extends SVGPathSeg { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPathSegCurvetoCubicAbs extends SVGPathSeg { |
- |
- num x; |
- |
- num x1; |
- |
- num x2; |
- |
- num y; |
- |
- num y1; |
- |
- num y2; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPathSegCurvetoCubicRel extends SVGPathSeg { |
- |
- num x; |
- |
- num x1; |
- |
- num x2; |
- |
- num y; |
- |
- num y1; |
- |
- num y2; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPathSegCurvetoCubicSmoothAbs extends SVGPathSeg { |
- |
- num x; |
- |
- num x2; |
- |
- num y; |
- |
- num y2; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPathSegCurvetoCubicSmoothRel extends SVGPathSeg { |
- |
- num x; |
- |
- num x2; |
- |
- num y; |
- |
- num y2; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPathSegCurvetoQuadraticAbs extends SVGPathSeg { |
- |
- num x; |
- |
- num x1; |
- |
- num y; |
- |
- num y1; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPathSegCurvetoQuadraticRel extends SVGPathSeg { |
- |
- num x; |
- |
- num x1; |
- |
- num y; |
- |
- num y1; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPathSegCurvetoQuadraticSmoothAbs extends SVGPathSeg { |
- |
- num x; |
- |
- num y; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPathSegCurvetoQuadraticSmoothRel extends SVGPathSeg { |
- |
- num x; |
- |
- num y; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPathSegLinetoAbs extends SVGPathSeg { |
- |
- num x; |
- |
- num y; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPathSegLinetoHorizontalAbs extends SVGPathSeg { |
- |
- num x; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPathSegLinetoHorizontalRel extends SVGPathSeg { |
- |
- num x; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPathSegLinetoRel extends SVGPathSeg { |
- |
- num x; |
- |
- num y; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPathSegLinetoVerticalAbs extends SVGPathSeg { |
- |
- num y; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPathSegLinetoVerticalRel extends SVGPathSeg { |
- |
- num y; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPathSegList { |
- |
- final int numberOfItems; |
- |
- SVGPathSeg appendItem(SVGPathSeg newItem); |
- |
- void clear(); |
- |
- SVGPathSeg getItem(int index); |
- |
- SVGPathSeg initialize(SVGPathSeg newItem); |
- |
- SVGPathSeg insertItemBefore(SVGPathSeg newItem, int index); |
- |
- SVGPathSeg removeItem(int index); |
- |
- SVGPathSeg replaceItem(SVGPathSeg newItem, int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPathSegMovetoAbs extends SVGPathSeg { |
- |
- num x; |
- |
- num y; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPathSegMovetoRel extends SVGPathSeg { |
- |
- num x; |
- |
- num y; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPatternElement extends SVGElement, SVGURIReference, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGFitToViewBox { |
- |
- final SVGAnimatedLength height; |
- |
- final SVGAnimatedEnumeration patternContentUnits; |
- |
- final SVGAnimatedTransformList patternTransform; |
- |
- final SVGAnimatedEnumeration patternUnits; |
- |
- final SVGAnimatedLength width; |
- |
- final SVGAnimatedLength x; |
- |
- final SVGAnimatedLength y; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPoint { |
- |
- num x; |
- |
- num y; |
- |
- SVGPoint matrixTransform(SVGMatrix matrix); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPointList { |
- |
- final int numberOfItems; |
- |
- SVGPoint appendItem(SVGPoint item); |
- |
- void clear(); |
- |
- SVGPoint getItem(int index); |
- |
- SVGPoint initialize(SVGPoint item); |
- |
- SVGPoint insertItemBefore(SVGPoint item, int index); |
- |
- SVGPoint removeItem(int index); |
- |
- SVGPoint replaceItem(SVGPoint item, int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPolygonElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable { |
- |
- final SVGPointList animatedPoints; |
- |
- final SVGPointList points; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGPolylineElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable { |
- |
- final SVGPointList animatedPoints; |
- |
- final SVGPointList points; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGRadialGradientElement extends SVGGradientElement { |
- |
- final SVGAnimatedLength cx; |
- |
- final SVGAnimatedLength cy; |
- |
- final SVGAnimatedLength fx; |
- |
- final SVGAnimatedLength fy; |
- |
- final SVGAnimatedLength r; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGRect { |
- |
- num height; |
- |
- num width; |
- |
- num x; |
- |
- num y; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGRectElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable { |
- |
- final SVGAnimatedLength height; |
- |
- final SVGAnimatedLength rx; |
- |
- final SVGAnimatedLength ry; |
- |
- final SVGAnimatedLength width; |
- |
- final SVGAnimatedLength x; |
- |
- final SVGAnimatedLength y; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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 |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGSVGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGLocatable, SVGFitToViewBox, SVGZoomAndPan { |
- |
- String contentScriptType; |
- |
- String contentStyleType; |
- |
- num currentScale; |
- |
- final SVGPoint currentTranslate; |
- |
- final SVGViewSpec currentView; |
- |
- final SVGAnimatedLength height; |
- |
- final num pixelUnitToMillimeterX; |
- |
- final num pixelUnitToMillimeterY; |
- |
- final num screenPixelToMillimeterX; |
- |
- final num screenPixelToMillimeterY; |
- |
- final bool useCurrentView; |
- |
- final SVGRect viewport; |
- |
- final SVGAnimatedLength width; |
- |
- final SVGAnimatedLength x; |
- |
- final SVGAnimatedLength y; |
- |
- bool animationsPaused(); |
- |
- bool checkEnclosure(SVGElement element, SVGRect rect); |
- |
- bool checkIntersection(SVGElement element, SVGRect rect); |
- |
- SVGAngle createSVGAngle(); |
- |
- SVGLength createSVGLength(); |
- |
- SVGMatrix createSVGMatrix(); |
- |
- SVGNumber createSVGNumber(); |
- |
- SVGPoint createSVGPoint(); |
- |
- SVGRect createSVGRect(); |
- |
- SVGTransform createSVGTransform(); |
- |
- SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix); |
- |
- void deselectAll(); |
- |
- void forceRedraw(); |
- |
- num getCurrentTime(); |
- |
- Element getElementById(String elementId); |
- |
- NodeList getEnclosureList(SVGRect rect, SVGElement referenceElement); |
- |
- NodeList getIntersectionList(SVGRect rect, SVGElement referenceElement); |
- |
- void pauseAnimations(); |
- |
- void setCurrentTime(num seconds); |
- |
- int suspendRedraw(int maxWaitMilliseconds); |
- |
- void unpauseAnimations(); |
- |
- void unsuspendRedraw(int suspendHandleId); |
- |
- void unsuspendRedrawAll(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGScriptElement extends SVGElement, SVGURIReference, SVGExternalResourcesRequired { |
- |
- String type; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGSetElement extends SVGAnimationElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGStopElement extends SVGElement, SVGStylable { |
- |
- final SVGAnimatedNumber offset; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGStringList { |
- |
- final int numberOfItems; |
- |
- String appendItem(String item); |
- |
- void clear(); |
- |
- String getItem(int index); |
- |
- String initialize(String item); |
- |
- String insertItemBefore(String item, int index); |
- |
- String removeItem(int index); |
- |
- String replaceItem(String item, int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGStylable { |
- |
- final SVGAnimatedString className; |
- |
- final CSSStyleDeclaration style; |
- |
- CSSValue getPresentationAttribute(String name); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGStyleElement extends SVGElement, SVGLangSpace { |
- |
- bool disabled; |
- |
- String media; |
- |
- String title; |
- |
- String type; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGSwitchElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGSymbolElement extends SVGElement, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGFitToViewBox { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGTRefElement extends SVGTextPositioningElement, SVGURIReference { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGTSpanElement extends SVGTextPositioningElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGTests { |
- |
- final SVGStringList requiredExtensions; |
- |
- final SVGStringList requiredFeatures; |
- |
- final SVGStringList systemLanguage; |
- |
- bool hasExtension(String extension); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGTextContentElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable { |
- |
- static const int LENGTHADJUST_SPACING = 1; |
- |
- static const int LENGTHADJUST_SPACINGANDGLYPHS = 2; |
- |
- static const int LENGTHADJUST_UNKNOWN = 0; |
- |
- final SVGAnimatedEnumeration lengthAdjust; |
- |
- final SVGAnimatedLength textLength; |
- |
- int getCharNumAtPosition(SVGPoint point); |
- |
- num getComputedTextLength(); |
- |
- SVGPoint getEndPositionOfChar(int offset); |
- |
- SVGRect getExtentOfChar(int offset); |
- |
- int getNumberOfChars(); |
- |
- num getRotationOfChar(int offset); |
- |
- SVGPoint getStartPositionOfChar(int offset); |
- |
- num getSubStringLength(int offset, int length); |
- |
- void selectSubString(int offset, int length); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGTextElement extends SVGTextPositioningElement, SVGTransformable { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { |
- |
- 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 SVGAnimatedEnumeration method; |
- |
- final SVGAnimatedEnumeration spacing; |
- |
- final SVGAnimatedLength startOffset; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGTextPositioningElement extends SVGTextContentElement { |
- |
- final SVGAnimatedLengthList dx; |
- |
- final SVGAnimatedLengthList dy; |
- |
- final SVGAnimatedNumberList rotate; |
- |
- final SVGAnimatedLengthList x; |
- |
- final SVGAnimatedLengthList y; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGTitleElement extends SVGElement, SVGLangSpace, SVGStylable { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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 SVGMatrix matrix; |
- |
- final int type; |
- |
- void setMatrix(SVGMatrix matrix); |
- |
- void setRotate(num angle, num cx, num cy); |
- |
- void setScale(num sx, num sy); |
- |
- void setSkewX(num angle); |
- |
- void setSkewY(num angle); |
- |
- void setTranslate(num tx, num ty); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGTransformList { |
- |
- final int numberOfItems; |
- |
- SVGTransform appendItem(SVGTransform item); |
- |
- void clear(); |
- |
- SVGTransform consolidate(); |
- |
- SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix); |
- |
- SVGTransform getItem(int index); |
- |
- SVGTransform initialize(SVGTransform item); |
- |
- SVGTransform insertItemBefore(SVGTransform item, int index); |
- |
- SVGTransform removeItem(int index); |
- |
- SVGTransform replaceItem(SVGTransform item, int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGTransformable extends SVGLocatable { |
- |
- final SVGAnimatedTransformList transform; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGURIReference { |
- |
- final SVGAnimatedString href; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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 |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGUseElement extends SVGElement, SVGURIReference, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable { |
- |
- final SVGElementInstance animatedInstanceRoot; |
- |
- final SVGAnimatedLength height; |
- |
- final SVGElementInstance instanceRoot; |
- |
- final SVGAnimatedLength width; |
- |
- final SVGAnimatedLength x; |
- |
- final SVGAnimatedLength y; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGVKernElement extends SVGElement { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGViewElement extends SVGElement, SVGExternalResourcesRequired, SVGFitToViewBox, SVGZoomAndPan { |
- |
- final SVGStringList viewTarget; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGViewSpec { |
- |
- final SVGAnimatedPreserveAspectRatio preserveAspectRatio; |
- |
- final String preserveAspectRatioString; |
- |
- final SVGTransformList transform; |
- |
- final String transformString; |
- |
- final SVGAnimatedRect viewBox; |
- |
- final String viewBoxString; |
- |
- final SVGElement viewTarget; |
- |
- final String viewTargetString; |
- |
- int zoomAndPan; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGZoomAndPan { |
- |
- static const int SVG_ZOOMANDPAN_DISABLE = 1; |
- |
- static const int SVG_ZOOMANDPAN_MAGNIFY = 2; |
- |
- static const int SVG_ZOOMANDPAN_UNKNOWN = 0; |
- |
- int zoomAndPan; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SVGZoomEvent extends UIEvent { |
- |
- final num newScale; |
- |
- final SVGPoint newTranslate; |
- |
- final num previousScale; |
- |
- final SVGPoint previousTranslate; |
- |
- final SVGRect zoomRectScreen; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Screen { |
- |
- final int availHeight; |
- |
- final int availLeft; |
- |
- final int availTop; |
- |
- final int availWidth; |
- |
- final int colorDepth; |
- |
- final int height; |
- |
- final int pixelDepth; |
- |
- final int width; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface ScriptProfile { |
- |
- final ScriptProfileNode head; |
- |
- final String title; |
- |
- final int uid; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface ScriptProfileNode { |
- |
- final int callUID; |
- |
- final String functionName; |
- |
- final int lineNumber; |
- |
- final int numberOfCalls; |
- |
- final num selfTime; |
- |
- final num totalTime; |
- |
- final String url; |
- |
- final bool visible; |
- |
- List<ScriptProfileNode> children(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SessionDescription default _SessionDescriptionFactoryProvider { |
- |
- SessionDescription(String sdp); |
- |
- void addCandidate(IceCandidate candidate); |
- |
- String toSdp(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider { |
- |
- ShadowRoot(Element host); |
- |
- final Element activeElement; |
- |
- bool applyAuthorStyles; |
- |
- String innerHTML; |
- |
- bool resetStyleInheritance; |
- |
- Element getElementById(String elementId); |
- |
- NodeList getElementsByClassName(String className); |
- |
- NodeList getElementsByTagName(String tagName); |
- |
- NodeList getElementsByTagNameNS(String namespaceURI, String localName); |
- |
- DOMSelection getSelection(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SharedWorker extends AbstractWorker default _SharedWorkerFactoryProvider { |
- |
- SharedWorker(String scriptURL, [String name]); |
- |
- final MessagePort port; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SharedWorkerGlobalScope extends WorkerContext { |
- |
- final String name; |
-} |
- |
-interface SharedWorkerContext extends SharedWorkerGlobalScope { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SourceBuffer { |
- |
- final TimeRanges buffered; |
- |
- num timestampOffset; |
- |
- void abort(); |
- |
- void append(Uint8Array data); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SourceBufferList extends EventTarget { |
- |
- final int length; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- bool dispatchEvent(Event event); |
- |
- SourceBuffer item(int index); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SpeechGrammar default _SpeechGrammarFactoryProvider { |
- |
- SpeechGrammar(); |
- |
- String src; |
- |
- num weight; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SpeechGrammarList default _SpeechGrammarListFactoryProvider { |
- |
- SpeechGrammarList(); |
- |
- final int length; |
- |
- void addFromString(String string, [num weight]); |
- |
- void addFromUri(String src, [num weight]); |
- |
- SpeechGrammar item(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SpeechInputEvent extends Event { |
- |
- final SpeechInputResultList results; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SpeechInputResult { |
- |
- final num confidence; |
- |
- final String utterance; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SpeechInputResultList { |
- |
- final int length; |
- |
- SpeechInputResult item(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SpeechRecognition extends EventTarget default _SpeechRecognitionFactoryProvider { |
- |
- SpeechRecognition(); |
- |
- bool continuous; |
- |
- SpeechGrammarList grammars; |
- |
- String lang; |
- |
- int maxAlternatives; |
- |
- void abort(); |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- bool dispatchEvent(Event evt); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- void start(); |
- |
- void stop(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SpeechRecognitionAlternative { |
- |
- final num confidence; |
- |
- final String transcript; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SpeechRecognitionError extends Event { |
- |
- 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; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SpeechRecognitionEvent extends Event { |
- |
- final SpeechRecognitionResult result; |
- |
- final SpeechRecognitionResultList resultHistory; |
- |
- final int resultIndex; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SpeechRecognitionResult { |
- |
- final Document emma; |
- |
- final bool finalValue; |
- |
- final int length; |
- |
- SpeechRecognitionAlternative item(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface SpeechRecognitionResultList { |
- |
- final int length; |
- |
- SpeechRecognitionResult item(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Storage { |
- |
- final int length; |
- |
- void clear(); |
- |
- String getItem(String key); |
- |
- String key(int index); |
- |
- void removeItem(String key); |
- |
- void setItem(String key, String data); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface StorageEvent extends Event { |
- |
- final String key; |
- |
- final String newValue; |
- |
- final String oldValue; |
- |
- final Storage storageArea; |
- |
- final String url; |
- |
- void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, String keyArg, String oldValueArg, String newValueArg, String urlArg, Storage storageAreaArg); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface StorageInfo { |
- |
- static const int PERSISTENT = 1; |
- |
- static const int TEMPORARY = 0; |
- |
- void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallback, StorageInfoErrorCallback errorCallback]); |
- |
- void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallback quotaCallback, StorageInfoErrorCallback errorCallback]); |
-} |
-// 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. |
- |
-typedef bool StorageInfoErrorCallback(DOMException error); |
-// 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. |
- |
-typedef bool StorageInfoQuotaCallback(int grantedQuotaInBytes); |
-// 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. |
- |
-typedef bool StorageInfoUsageCallback(int currentUsageInBytes, int currentQuotaInBytes); |
-// 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. |
- |
-typedef bool StringCallback(String data); |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface StyleMedia { |
- |
- final String type; |
- |
- bool matchMedium(String mediaquery); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface StyleSheet { |
- |
- bool disabled; |
- |
- final String href; |
- |
- final MediaList media; |
- |
- final Node ownerNode; |
- |
- final StyleSheet parentStyleSheet; |
- |
- final String title; |
- |
- final String type; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface StyleSheetList extends List<StyleSheet> { |
- |
- final int length; |
- |
- StyleSheet item(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Text extends CharacterData { |
- |
- final String wholeText; |
- |
- Text replaceWholeText(String content); |
- |
- Text splitText(int offset); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface TextEvent extends UIEvent { |
- |
- final String data; |
- |
- void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, DOMWindow viewArg, String dataArg); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface TextMetrics { |
- |
- final num width; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface TextTrack extends EventTarget { |
- |
- static const int DISABLED = 0; |
- |
- static const int HIDDEN = 1; |
- |
- static const int SHOWING = 2; |
- |
- final TextTrackCueList activeCues; |
- |
- final TextTrackCueList cues; |
- |
- final String kind; |
- |
- final String label; |
- |
- final String language; |
- |
- int mode; |
- |
- void addCue(TextTrackCue cue); |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- bool dispatchEvent(Event evt); |
- |
- void removeCue(TextTrackCue cue); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface TextTrackCue extends EventTarget default _TextTrackCueFactoryProvider { |
- |
- TextTrackCue(String id, num startTime, num endTime, String text, [String settings, bool pauseOnExit]); |
- |
- String align; |
- |
- num endTime; |
- |
- String id; |
- |
- int line; |
- |
- bool pauseOnExit; |
- |
- int position; |
- |
- int size; |
- |
- bool snapToLines; |
- |
- num startTime; |
- |
- String text; |
- |
- final TextTrack track; |
- |
- String vertical; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- bool dispatchEvent(Event evt); |
- |
- DocumentFragment getCueAsHTML(); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface TextTrackCueList { |
- |
- final int length; |
- |
- TextTrackCue getCueById(String id); |
- |
- TextTrackCue item(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface TextTrackList extends EventTarget { |
- |
- final int length; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- bool dispatchEvent(Event evt); |
- |
- TextTrack item(int index); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface TimeRanges { |
- |
- final int length; |
- |
- num end(int index); |
- |
- num start(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-typedef void TimeoutHandler(); |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Touch { |
- |
- final int clientX; |
- |
- final int clientY; |
- |
- final int identifier; |
- |
- final int pageX; |
- |
- final int pageY; |
- |
- final int screenX; |
- |
- final int screenY; |
- |
- final EventTarget target; |
- |
- final num webkitForce; |
- |
- final int webkitRadiusX; |
- |
- final int webkitRadiusY; |
- |
- final num webkitRotationAngle; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface TouchEvent extends UIEvent { |
- |
- final bool altKey; |
- |
- final TouchList changedTouches; |
- |
- final bool ctrlKey; |
- |
- final bool metaKey; |
- |
- final bool shiftKey; |
- |
- final TouchList targetTouches; |
- |
- final TouchList touches; |
- |
- void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList changedTouches, String type, DOMWindow view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface TouchList extends List<Touch> { |
- |
- final int length; |
- |
- Touch item(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface TrackEvent extends Event { |
- |
- final Object track; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface TreeWalker { |
- |
- Node currentNode; |
- |
- final bool expandEntityReferences; |
- |
- final NodeFilter filter; |
- |
- final Node root; |
- |
- final int whatToShow; |
- |
- Node firstChild(); |
- |
- Node lastChild(); |
- |
- Node nextNode(); |
- |
- Node nextSibling(); |
- |
- Node parentNode(); |
- |
- Node previousNode(); |
- |
- Node previousSibling(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface UIEvent extends Event { |
- |
- final int charCode; |
- |
- final int detail; |
- |
- final int keyCode; |
- |
- final int layerX; |
- |
- final int layerY; |
- |
- final int pageX; |
- |
- final int pageY; |
- |
- final DOMWindow view; |
- |
- final int which; |
- |
- void initUIEvent(String type, bool canBubble, bool cancelable, DOMWindow view, int detail); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Uint16Array extends ArrayBufferView, List<int> default _TypedArrayFactoryProvider { |
- |
- Uint16Array(int length); |
- |
- Uint16Array.fromList(List<int> list); |
- |
- Uint16Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]); |
- |
- static const int BYTES_PER_ELEMENT = 2; |
- |
- final int length; |
- |
- void setElements(Object array, [int offset]); |
- |
- Uint16Array subarray(int start, [int end]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Uint32Array extends ArrayBufferView, List<int> default _TypedArrayFactoryProvider { |
- |
- Uint32Array(int length); |
- |
- Uint32Array.fromList(List<int> list); |
- |
- Uint32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]); |
- |
- static const int BYTES_PER_ELEMENT = 4; |
- |
- final int length; |
- |
- void setElements(Object array, [int offset]); |
- |
- Uint32Array subarray(int start, [int end]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Uint8Array extends ArrayBufferView, List<int> default _TypedArrayFactoryProvider { |
- |
- Uint8Array(int length); |
- |
- Uint8Array.fromList(List<int> list); |
- |
- Uint8Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]); |
- |
- static const int BYTES_PER_ELEMENT = 1; |
- |
- final int length; |
- |
- void setElements(Object array, [int offset]); |
- |
- Uint8Array subarray(int start, [int end]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Uint8ClampedArray extends Uint8Array default _TypedArrayFactoryProvider { |
- |
- Uint8ClampedArray(int length); |
- |
- Uint8ClampedArray.fromList(List<int> list); |
- |
- Uint8ClampedArray.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]); |
- |
- final int length; |
- |
- void setElements(Object array, [int offset]); |
- |
- Uint8ClampedArray subarray(int start, [int end]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface ValidityState { |
- |
- final bool customError; |
- |
- final bool patternMismatch; |
- |
- final bool rangeOverflow; |
- |
- final bool rangeUnderflow; |
- |
- final bool stepMismatch; |
- |
- final bool tooLong; |
- |
- final bool typeMismatch; |
- |
- final bool valid; |
- |
- final bool valueMissing; |
-} |
-// 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. |
- |
-typedef bool VoidCallback(); |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WaveShaperNode extends AudioNode { |
- |
- Float32Array curve; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WaveTable { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebGLActiveInfo { |
- |
- final String name; |
- |
- final int size; |
- |
- final int type; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebGLBuffer { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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 |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebGLContextAttributes { |
- |
- bool alpha; |
- |
- bool antialias; |
- |
- bool depth; |
- |
- bool premultipliedAlpha; |
- |
- bool preserveDrawingBuffer; |
- |
- bool stencil; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebGLContextEvent extends Event { |
- |
- final String statusMessage; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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 |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebGLDebugShaders { |
- |
- String getTranslatedShaderSource(WebGLShader shader); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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 |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebGLFramebuffer { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebGLLoseContext { |
- |
- void loseContext(); |
- |
- void restoreContext(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebGLProgram { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebGLRenderbuffer { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebGLRenderingContext extends CanvasRenderingContext { |
- |
- 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; |
- |
- void activeTexture(int texture); |
- |
- void attachShader(WebGLProgram program, WebGLShader shader); |
- |
- void bindAttribLocation(WebGLProgram program, int index, String name); |
- |
- void bindBuffer(int target, WebGLBuffer buffer); |
- |
- void bindFramebuffer(int target, WebGLFramebuffer framebuffer); |
- |
- void bindRenderbuffer(int target, WebGLRenderbuffer renderbuffer); |
- |
- void bindTexture(int target, WebGLTexture texture); |
- |
- void blendColor(num red, num green, num blue, num alpha); |
- |
- void blendEquation(int mode); |
- |
- void blendEquationSeparate(int modeRGB, int modeAlpha); |
- |
- void blendFunc(int sfactor, int dfactor); |
- |
- void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha); |
- |
- void bufferData(int target, data_OR_size, int usage); |
- |
- void bufferSubData(int target, int offset, data); |
- |
- int checkFramebufferStatus(int target); |
- |
- void clear(int mask); |
- |
- void clearColor(num red, num green, num blue, num alpha); |
- |
- void clearDepth(num depth); |
- |
- void clearStencil(int s); |
- |
- void colorMask(bool red, bool green, bool blue, bool alpha); |
- |
- void compileShader(WebGLShader shader); |
- |
- void compressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, ArrayBufferView data); |
- |
- void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, ArrayBufferView data); |
- |
- void copyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border); |
- |
- void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height); |
- |
- WebGLBuffer createBuffer(); |
- |
- WebGLFramebuffer createFramebuffer(); |
- |
- WebGLProgram createProgram(); |
- |
- WebGLRenderbuffer createRenderbuffer(); |
- |
- WebGLShader createShader(int type); |
- |
- WebGLTexture createTexture(); |
- |
- void cullFace(int mode); |
- |
- void deleteBuffer(WebGLBuffer buffer); |
- |
- void deleteFramebuffer(WebGLFramebuffer framebuffer); |
- |
- void deleteProgram(WebGLProgram program); |
- |
- void deleteRenderbuffer(WebGLRenderbuffer renderbuffer); |
- |
- void deleteShader(WebGLShader shader); |
- |
- void deleteTexture(WebGLTexture texture); |
- |
- void depthFunc(int func); |
- |
- void depthMask(bool flag); |
- |
- void depthRange(num zNear, num zFar); |
- |
- void detachShader(WebGLProgram program, WebGLShader shader); |
- |
- void disable(int cap); |
- |
- void disableVertexAttribArray(int index); |
- |
- void drawArrays(int mode, int first, int count); |
- |
- void drawElements(int mode, int count, int type, int offset); |
- |
- void enable(int cap); |
- |
- void enableVertexAttribArray(int index); |
- |
- void finish(); |
- |
- void flush(); |
- |
- void framebufferRenderbuffer(int target, int attachment, int renderbuffertarget, WebGLRenderbuffer renderbuffer); |
- |
- void framebufferTexture2D(int target, int attachment, int textarget, WebGLTexture texture, int level); |
- |
- void frontFace(int mode); |
- |
- void generateMipmap(int target); |
- |
- WebGLActiveInfo getActiveAttrib(WebGLProgram program, int index); |
- |
- WebGLActiveInfo getActiveUniform(WebGLProgram program, int index); |
- |
- List<Object> getAttachedShaders(WebGLProgram program); |
- |
- int getAttribLocation(WebGLProgram program, String name); |
- |
- Object getBufferParameter(int target, int pname); |
- |
- WebGLContextAttributes getContextAttributes(); |
- |
- int getError(); |
- |
- Object getExtension(String name); |
- |
- Object getFramebufferAttachmentParameter(int target, int attachment, int pname); |
- |
- Object getParameter(int pname); |
- |
- String getProgramInfoLog(WebGLProgram program); |
- |
- Object getProgramParameter(WebGLProgram program, int pname); |
- |
- Object getRenderbufferParameter(int target, int pname); |
- |
- String getShaderInfoLog(WebGLShader shader); |
- |
- Object getShaderParameter(WebGLShader shader, int pname); |
- |
- WebGLShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisiontype); |
- |
- String getShaderSource(WebGLShader shader); |
- |
- List<String> getSupportedExtensions(); |
- |
- Object getTexParameter(int target, int pname); |
- |
- Object getUniform(WebGLProgram program, WebGLUniformLocation location); |
- |
- WebGLUniformLocation getUniformLocation(WebGLProgram program, String name); |
- |
- Object getVertexAttrib(int index, int pname); |
- |
- int getVertexAttribOffset(int index, int pname); |
- |
- void hint(int target, int mode); |
- |
- bool isBuffer(WebGLBuffer buffer); |
- |
- bool isContextLost(); |
- |
- bool isEnabled(int cap); |
- |
- bool isFramebuffer(WebGLFramebuffer framebuffer); |
- |
- bool isProgram(WebGLProgram program); |
- |
- bool isRenderbuffer(WebGLRenderbuffer renderbuffer); |
- |
- bool isShader(WebGLShader shader); |
- |
- bool isTexture(WebGLTexture texture); |
- |
- void lineWidth(num width); |
- |
- void linkProgram(WebGLProgram program); |
- |
- void pixelStorei(int pname, int param); |
- |
- void polygonOffset(num factor, num units); |
- |
- void readPixels(int x, int y, int width, int height, int format, int type, ArrayBufferView pixels); |
- |
- void releaseShaderCompiler(); |
- |
- void renderbufferStorage(int target, int internalformat, int width, int height); |
- |
- void sampleCoverage(num value, bool invert); |
- |
- void scissor(int x, int y, int width, int height); |
- |
- void shaderSource(WebGLShader shader, String string); |
- |
- void stencilFunc(int func, int ref, int mask); |
- |
- void stencilFuncSeparate(int face, int func, int ref, int mask); |
- |
- void stencilMask(int mask); |
- |
- void stencilMaskSeparate(int face, int mask); |
- |
- void stencilOp(int fail, int zfail, int zpass); |
- |
- void stencilOpSeparate(int face, int fail, int zfail, int zpass); |
- |
- void texImage2D(int target, int level, int internalformat, int format_OR_width, int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format, int type, ArrayBufferView pixels]); |
- |
- void texParameterf(int target, int pname, num param); |
- |
- void texParameteri(int target, int pname, int param); |
- |
- void texSubImage2D(int target, int level, int xoffset, int yoffset, int format_OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [int type, ArrayBufferView pixels]); |
- |
- void uniform1f(WebGLUniformLocation location, num x); |
- |
- void uniform1fv(WebGLUniformLocation location, Float32Array v); |
- |
- void uniform1i(WebGLUniformLocation location, int x); |
- |
- void uniform1iv(WebGLUniformLocation location, Int32Array v); |
- |
- void uniform2f(WebGLUniformLocation location, num x, num y); |
- |
- void uniform2fv(WebGLUniformLocation location, Float32Array v); |
- |
- void uniform2i(WebGLUniformLocation location, int x, int y); |
- |
- void uniform2iv(WebGLUniformLocation location, Int32Array v); |
- |
- void uniform3f(WebGLUniformLocation location, num x, num y, num z); |
- |
- void uniform3fv(WebGLUniformLocation location, Float32Array v); |
- |
- void uniform3i(WebGLUniformLocation location, int x, int y, int z); |
- |
- void uniform3iv(WebGLUniformLocation location, Int32Array v); |
- |
- void uniform4f(WebGLUniformLocation location, num x, num y, num z, num w); |
- |
- void uniform4fv(WebGLUniformLocation location, Float32Array v); |
- |
- void uniform4i(WebGLUniformLocation location, int x, int y, int z, int w); |
- |
- void uniform4iv(WebGLUniformLocation location, Int32Array v); |
- |
- void uniformMatrix2fv(WebGLUniformLocation location, bool transpose, Float32Array array); |
- |
- void uniformMatrix3fv(WebGLUniformLocation location, bool transpose, Float32Array array); |
- |
- void uniformMatrix4fv(WebGLUniformLocation location, bool transpose, Float32Array array); |
- |
- void useProgram(WebGLProgram program); |
- |
- void validateProgram(WebGLProgram program); |
- |
- void vertexAttrib1f(int indx, num x); |
- |
- void vertexAttrib1fv(int indx, Float32Array values); |
- |
- void vertexAttrib2f(int indx, num x, num y); |
- |
- void vertexAttrib2fv(int indx, Float32Array values); |
- |
- void vertexAttrib3f(int indx, num x, num y, num z); |
- |
- void vertexAttrib3fv(int indx, Float32Array values); |
- |
- void vertexAttrib4f(int indx, num x, num y, num z, num w); |
- |
- void vertexAttrib4fv(int indx, Float32Array values); |
- |
- void vertexAttribPointer(int indx, int size, int type, bool normalized, int stride, int offset); |
- |
- void viewport(int x, int y, int width, int height); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebGLShader { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebGLShaderPrecisionFormat { |
- |
- final int precision; |
- |
- final int rangeMax; |
- |
- final int rangeMin; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebGLTexture { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebGLUniformLocation { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebGLVertexArrayObjectOES { |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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; |
- |
- final num duration; |
- |
- num elapsedTime; |
- |
- final bool ended; |
- |
- final int fillMode; |
- |
- final int iterationCount; |
- |
- final String name; |
- |
- final bool paused; |
- |
- void pause(); |
- |
- void play(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebKitAnimationEvent extends Event { |
- |
- final String animationName; |
- |
- final num elapsedTime; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebKitAnimationList { |
- |
- final int length; |
- |
- WebKitAnimation item(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebKitCSSFilterValue extends CSSValueList { |
- |
- 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 |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebKitCSSKeyframeRule extends CSSRule { |
- |
- String keyText; |
- |
- final CSSStyleDeclaration style; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebKitCSSKeyframesRule extends CSSRule { |
- |
- final CSSRuleList cssRules; |
- |
- String name; |
- |
- void deleteRule(String key); |
- |
- WebKitCSSKeyframeRule findRule(String key); |
- |
- void insertRule(String rule); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebKitCSSMatrix default _WebKitCSSMatrixFactoryProvider { |
- |
- WebKitCSSMatrix([String cssValue]); |
- |
- num a; |
- |
- num b; |
- |
- num c; |
- |
- num d; |
- |
- num e; |
- |
- num f; |
- |
- num m11; |
- |
- num m12; |
- |
- num m13; |
- |
- num m14; |
- |
- num m21; |
- |
- num m22; |
- |
- num m23; |
- |
- num m24; |
- |
- num m31; |
- |
- num m32; |
- |
- num m33; |
- |
- num m34; |
- |
- num m41; |
- |
- num m42; |
- |
- num m43; |
- |
- num m44; |
- |
- WebKitCSSMatrix inverse(); |
- |
- WebKitCSSMatrix multiply(WebKitCSSMatrix secondMatrix); |
- |
- WebKitCSSMatrix rotate(num rotX, num rotY, num rotZ); |
- |
- WebKitCSSMatrix rotateAxisAngle(num x, num y, num z, num angle); |
- |
- WebKitCSSMatrix scale(num scaleX, num scaleY, num scaleZ); |
- |
- void setMatrixValue(String string); |
- |
- WebKitCSSMatrix skewX(num angle); |
- |
- WebKitCSSMatrix skewY(num angle); |
- |
- String toString(); |
- |
- WebKitCSSMatrix translate(num x, num y, num z); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebKitCSSTransformValue extends CSSValueList { |
- |
- 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 |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebKitNamedFlow extends EventTarget { |
- |
- final int firstEmptyRegionIndex; |
- |
- final String name; |
- |
- final bool overset; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- bool dispatchEvent(Event event); |
- |
- NodeList getContent(); |
- |
- NodeList getRegions(); |
- |
- NodeList getRegionsByContent(Node contentNode); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebKitPoint default _WebKitPointFactoryProvider { |
- |
- WebKitPoint(num x, num y); |
- |
- num x; |
- |
- num y; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebKitTransitionEvent extends Event { |
- |
- final num elapsedTime; |
- |
- final String propertyName; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WebSocket extends EventTarget default _WebSocketFactoryProvider { |
- |
- WebSocket(String url); |
- |
- 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; |
- |
- final int bufferedAmount; |
- |
- final String extensions; |
- |
- final String protocol; |
- |
- final int readyState; |
- |
- final String url; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- void close([int code, String reason]); |
- |
- bool dispatchEvent(Event evt); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- void send(data); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WheelEvent extends MouseEvent { |
- |
- final bool webkitDirectionInvertedFromDevice; |
- |
- final int wheelDelta; |
- |
- final int wheelDeltaX; |
- |
- final int wheelDeltaY; |
- |
- void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, DOMWindow view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface Worker extends AbstractWorker default _WorkerFactoryProvider { |
- |
- Worker(String scriptUrl); |
- |
- void postMessage(/*SerializedScriptValue*/ message, [List messagePorts]); |
- |
- void terminate(); |
- |
- void webkitPostMessage(/*SerializedScriptValue*/ message, [List messagePorts]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WorkerGlobalScope extends EventTarget { |
- |
- final WorkerLocation location; |
- |
- final WorkerNavigator navigator; |
- |
- final WorkerContext self; |
- |
- final IDBFactory webkitIndexedDB; |
- |
- final NotificationCenter webkitNotifications; |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- void clearInterval(int handle); |
- |
- void clearTimeout(int handle); |
- |
- void close(); |
- |
- bool dispatchEvent(Event evt); |
- |
- void importScripts(); |
- |
- Database openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]); |
- |
- DatabaseSync openDatabaseSync(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- int setInterval(TimeoutHandler handler, int timeout); |
- |
- int setTimeout(TimeoutHandler handler, int timeout); |
- |
- void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCallback, ErrorCallback errorCallback]); |
- |
- DOMFileSystemSync webkitRequestFileSystemSync(int type, int size); |
- |
- EntrySync webkitResolveLocalFileSystemSyncURL(String url); |
- |
- void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallback, ErrorCallback errorCallback]); |
-} |
- |
-interface WorkerContext extends WorkerGlobalScope { |
- |
- static const int PERSISTENT = 1; |
- |
- static const int TEMPORARY = 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 |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WorkerLocation { |
- |
- final String hash; |
- |
- final String host; |
- |
- final String hostname; |
- |
- final String href; |
- |
- final String pathname; |
- |
- final String port; |
- |
- final String protocol; |
- |
- final String search; |
- |
- String toString(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface WorkerNavigator { |
- |
- final String appName; |
- |
- final String appVersion; |
- |
- final bool onLine; |
- |
- final String platform; |
- |
- final String userAgent; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface XMLHttpRequest extends EventTarget default _XMLHttpRequestFactoryProvider { |
- |
- XMLHttpRequest(); |
- |
- 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; |
- |
- final String responseText; |
- |
- String responseType; |
- |
- final Document responseXML; |
- |
- final int status; |
- |
- final String statusText; |
- |
- final XMLHttpRequestUpload upload; |
- |
- bool withCredentials; |
- |
- void abort(); |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- bool dispatchEvent(Event evt); |
- |
- String getAllResponseHeaders(); |
- |
- String getResponseHeader(String header); |
- |
- void open(String method, String url, [bool async, String user, String password]); |
- |
- void overrideMimeType(String override); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- void send([data]); |
- |
- void setRequestHeader(String header, String value); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface XMLHttpRequestException { |
- |
- static const int ABORT_ERR = 102; |
- |
- static const int NETWORK_ERR = 101; |
- |
- final int code; |
- |
- final String message; |
- |
- final String name; |
- |
- String toString(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface XMLHttpRequestProgressEvent extends ProgressEvent { |
- |
- final int position; |
- |
- final int totalSize; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface XMLHttpRequestUpload extends EventTarget { |
- |
- void addEventListener(String type, EventListener listener, [bool useCapture]); |
- |
- bool dispatchEvent(Event evt); |
- |
- void removeEventListener(String type, EventListener listener, [bool useCapture]); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface XMLSerializer default _XMLSerializerFactoryProvider { |
- |
- XMLSerializer(); |
- |
- String serializeToString(Node node); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface XPathEvaluator default _XPathEvaluatorFactoryProvider { |
- |
- XPathEvaluator(); |
- |
- XPathExpression createExpression(String expression, XPathNSResolver resolver); |
- |
- XPathNSResolver createNSResolver(Node nodeResolver); |
- |
- XPathResult evaluate(String expression, Node contextNode, XPathNSResolver resolver, int type, XPathResult inResult); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface XPathException { |
- |
- static const int INVALID_EXPRESSION_ERR = 51; |
- |
- static const int TYPE_ERR = 52; |
- |
- final int code; |
- |
- final String message; |
- |
- final String name; |
- |
- String toString(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface XPathExpression { |
- |
- XPathResult evaluate(Node contextNode, int type, XPathResult inResult); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface XPathNSResolver { |
- |
- String lookupNamespaceURI(String prefix); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface 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; |
- |
- final num numberValue; |
- |
- final int resultType; |
- |
- final Node singleNodeValue; |
- |
- final int snapshotLength; |
- |
- final String stringValue; |
- |
- Node iterateNext(); |
- |
- Node snapshotItem(int index); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
-interface XSLTProcessor default _XSLTProcessorFactoryProvider { |
- |
- XSLTProcessor(); |
- |
- void clearParameters(); |
- |
- String getParameter(String namespaceURI, String localName); |
- |
- void importStylesheet(Node stylesheet); |
- |
- void removeParameter(String namespaceURI, String localName); |
- |
- void reset(); |
- |
- void setParameter(String namespaceURI, String localName, String value); |
- |
- Document transformToDocument(Node source); |
- |
- DocumentFragment transformToFragment(Node source, Document docVal); |
-} |
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-typedef void EventListener(Event event); |
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-/** |
- * Defines the standard key locations returned by |
- * KeyboardEvent.getKeyLocation. |
- */ |
-interface KeyLocation { |
- |
- /** |
- * The event key is not distinguished as the left or right version |
- * of the key, and did not originate from the numeric keypad (or did not |
- * originate with a virtual key corresponding to the numeric keypad). |
- */ |
- static const int STANDARD = 0; |
- |
- /** |
- * The event key is in the left key location. |
- */ |
- static const int LEFT = 1; |
- |
- /** |
- * The event key is in the right key location. |
- */ |
- static const int RIGHT = 2; |
- |
- /** |
- * The event key originated on the numeric keypad or with a virtual key |
- * corresponding to the numeric keypad. |
- */ |
- static const int NUMPAD = 3; |
- |
- /** |
- * The event key originated on a mobile device, either on a physical |
- * keypad or a virtual keyboard. |
- */ |
- static const int MOBILE = 4; |
- |
- /** |
- * The event key originated on a game controller or a joystick on a mobile |
- * device. |
- */ |
- static const int JOYSTICK = 5; |
-} |
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-/** |
- * Defines the standard keyboard identifier names for keys that are returned |
- * by KeyEvent.getKeyboardIdentifier when the key does not have a direct |
- * unicode mapping. |
- */ |
-interface KeyName { |
- |
- /** The Accept (Commit, OK) key */ |
- static const String ACCEPT = "Accept"; |
- |
- /** The Add key */ |
- static const String ADD = "Add"; |
- |
- /** The Again key */ |
- static const String AGAIN = "Again"; |
- |
- /** The All Candidates key */ |
- static const String ALL_CANDIDATES = "AllCandidates"; |
- |
- /** The Alphanumeric key */ |
- static const String ALPHANUMERIC = "Alphanumeric"; |
- |
- /** The Alt (Menu) key */ |
- static const String ALT = "Alt"; |
- |
- /** The Alt-Graph key */ |
- static const String ALT_GRAPH = "AltGraph"; |
- |
- /** The Application key */ |
- static const String APPS = "Apps"; |
- |
- /** The ATTN key */ |
- static const String ATTN = "Attn"; |
- |
- /** The Browser Back key */ |
- static const String BROWSER_BACK = "BrowserBack"; |
- |
- /** The Browser Favorites key */ |
- static const String BROWSER_FAVORTIES = "BrowserFavorites"; |
- |
- /** The Browser Forward key */ |
- static const String BROWSER_FORWARD = "BrowserForward"; |
- |
- /** The Browser Home key */ |
- static const String BROWSER_NAME = "BrowserHome"; |
- |
- /** The Browser Refresh key */ |
- static const String BROWSER_REFRESH = "BrowserRefresh"; |
- |
- /** The Browser Search key */ |
- static const String BROWSER_SEARCH = "BrowserSearch"; |
- |
- /** The Browser Stop key */ |
- static const String BROWSER_STOP = "BrowserStop"; |
- |
- /** The Camera key */ |
- static const String CAMERA = "Camera"; |
- |
- /** The Caps Lock (Capital) key */ |
- static const String CAPS_LOCK = "CapsLock"; |
- |
- /** The Clear key */ |
- static const String CLEAR = "Clear"; |
- |
- /** The Code Input key */ |
- static const String CODE_INPUT = "CodeInput"; |
- |
- /** The Compose key */ |
- static const String COMPOSE = "Compose"; |
- |
- /** The Control (Ctrl) key */ |
- static const String CONTROL = "Control"; |
- |
- /** The Crsel key */ |
- static const String CRSEL = "Crsel"; |
- |
- /** The Convert key */ |
- static const String CONVERT = "Convert"; |
- |
- /** The Copy key */ |
- static const String COPY = "Copy"; |
- |
- /** The Cut key */ |
- static const String CUT = "Cut"; |
- |
- /** The Decimal key */ |
- static const String DECIMAL = "Decimal"; |
- |
- /** The Divide key */ |
- static const String DIVIDE = "Divide"; |
- |
- /** The Down Arrow key */ |
- static const String DOWN = "Down"; |
- |
- /** The diagonal Down-Left Arrow key */ |
- static const String DOWN_LEFT = "DownLeft"; |
- |
- /** The diagonal Down-Right Arrow key */ |
- static const String DOWN_RIGHT = "DownRight"; |
- |
- /** The Eject key */ |
- static const String EJECT = "Eject"; |
- |
- /** The End key */ |
- static const String END = "End"; |
- |
- /** |
- * The Enter key. Note: This key value must also be used for the Return |
- * (Macintosh numpad) key |
- */ |
- static const String ENTER = "Enter"; |
- |
- /** The Erase EOF key */ |
- static const String ERASE_EOF= "EraseEof"; |
- |
- /** The Execute key */ |
- static const String EXECUTE = "Execute"; |
- |
- /** The Exsel key */ |
- static const String EXSEL = "Exsel"; |
- |
- /** The Function switch key */ |
- static const String FN = "Fn"; |
- |
- /** The F1 key */ |
- static const String F1 = "F1"; |
- |
- /** The F2 key */ |
- static const String F2 = "F2"; |
- |
- /** The F3 key */ |
- static const String F3 = "F3"; |
- |
- /** The F4 key */ |
- static const String F4 = "F4"; |
- |
- /** The F5 key */ |
- static const String F5 = "F5"; |
- |
- /** The F6 key */ |
- static const String F6 = "F6"; |
- |
- /** The F7 key */ |
- static const String F7 = "F7"; |
- |
- /** The F8 key */ |
- static const String F8 = "F8"; |
- |
- /** The F9 key */ |
- static const String F9 = "F9"; |
- |
- /** The F10 key */ |
- static const String F10 = "F10"; |
- |
- /** The F11 key */ |
- static const String F11 = "F11"; |
- |
- /** The F12 key */ |
- static const String F12 = "F12"; |
- |
- /** The F13 key */ |
- static const String F13 = "F13"; |
- |
- /** The F14 key */ |
- static const String F14 = "F14"; |
- |
- /** The F15 key */ |
- static const String F15 = "F15"; |
- |
- /** The F16 key */ |
- static const String F16 = "F16"; |
- |
- /** The F17 key */ |
- static const String F17 = "F17"; |
- |
- /** The F18 key */ |
- static const String F18 = "F18"; |
- |
- /** The F19 key */ |
- static const String F19 = "F19"; |
- |
- /** The F20 key */ |
- static const String F20 = "F20"; |
- |
- /** The F21 key */ |
- static const String F21 = "F21"; |
- |
- /** The F22 key */ |
- static const String F22 = "F22"; |
- |
- /** The F23 key */ |
- static const String F23 = "F23"; |
- |
- /** The F24 key */ |
- static const String F24 = "F24"; |
- |
- /** The Final Mode (Final) key used on some asian keyboards */ |
- static const String FINAL_MODE = "FinalMode"; |
- |
- /** The Find key */ |
- static const String FIND = "Find"; |
- |
- /** The Full-Width Characters key */ |
- static const String FULL_WIDTH = "FullWidth"; |
- |
- /** The Half-Width Characters key */ |
- static const String HALF_WIDTH = "HalfWidth"; |
- |
- /** The Hangul (Korean characters) Mode key */ |
- static const String HANGUL_MODE = "HangulMode"; |
- |
- /** The Hanja (Korean characters) Mode key */ |
- static const String HANJA_MODE = "HanjaMode"; |
- |
- /** The Help key */ |
- static const String HELP = "Help"; |
- |
- /** The Hiragana (Japanese Kana characters) key */ |
- static const String HIRAGANA = "Hiragana"; |
- |
- /** The Home key */ |
- static const String HOME = "Home"; |
- |
- /** The Insert (Ins) key */ |
- static const String INSERT = "Insert"; |
- |
- /** The Japanese-Hiragana key */ |
- static const String JAPANESE_HIRAGANA = "JapaneseHiragana"; |
- |
- /** The Japanese-Katakana key */ |
- static const String JAPANESE_KATAKANA = "JapaneseKatakana"; |
- |
- /** The Japanese-Romaji key */ |
- static const String JAPANESE_ROMAJI = "JapaneseRomaji"; |
- |
- /** The Junja Mode key */ |
- static const String JUNJA_MODE = "JunjaMode"; |
- |
- /** The Kana Mode (Kana Lock) key */ |
- static const String KANA_MODE = "KanaMode"; |
- |
- /** |
- * The Kanji (Japanese name for ideographic characters of Chinese origin) |
- * Mode key |
- */ |
- static const String KANJI_MODE = "KanjiMode"; |
- |
- /** The Katakana (Japanese Kana characters) key */ |
- static const String KATAKANA = "Katakana"; |
- |
- /** The Start Application One key */ |
- static const String LAUNCH_APPLICATION_1 = "LaunchApplication1"; |
- |
- /** The Start Application Two key */ |
- static const String LAUNCH_APPLICATION_2 = "LaunchApplication2"; |
- |
- /** The Start Mail key */ |
- static const String LAUNCH_MAIL = "LaunchMail"; |
- |
- /** The Left Arrow key */ |
- static const String LEFT = "Left"; |
- |
- /** The Menu key */ |
- static const String MENU = "Menu"; |
- |
- /** |
- * The Meta key. Note: This key value shall be also used for the Apple |
- * Command key |
- */ |
- static const String META = "Meta"; |
- |
- /** The Media Next Track key */ |
- static const String MEDIA_NEXT_TRACK = "MediaNextTrack"; |
- |
- /** The Media Play Pause key */ |
- static const String MEDIA_PAUSE_PLAY = "MediaPlayPause"; |
- |
- /** The Media Previous Track key */ |
- static const String MEDIA_PREVIOUS_TRACK = "MediaPreviousTrack"; |
- |
- /** The Media Stop key */ |
- static const String MEDIA_STOP = "MediaStop"; |
- |
- /** The Mode Change key */ |
- static const String MODE_CHANGE = "ModeChange"; |
- |
- /** The Next Candidate function key */ |
- static const String NEXT_CANDIDATE = "NextCandidate"; |
- |
- /** The Nonconvert (Don't Convert) key */ |
- static const String NON_CONVERT = "Nonconvert"; |
- |
- /** The Number Lock key */ |
- static const String NUM_LOCK = "NumLock"; |
- |
- /** The Page Down (Next) key */ |
- static const String PAGE_DOWN = "PageDown"; |
- |
- /** The Page Up key */ |
- static const String PAGE_UP = "PageUp"; |
- |
- /** The Paste key */ |
- static const String PASTE = "Paste"; |
- |
- /** The Pause key */ |
- static const String PAUSE = "Pause"; |
- |
- /** The Play key */ |
- static const String PLAY = "Play"; |
- |
- /** |
- * The Power key. Note: Some devices may not expose this key to the |
- * operating environment |
- */ |
- static const String POWER = "Power"; |
- |
- /** The Previous Candidate function key */ |
- static const String PREVIOUS_CANDIDATE = "PreviousCandidate"; |
- |
- /** The Print Screen (PrintScrn, SnapShot) key */ |
- static const String PRINT_SCREEN = "PrintScreen"; |
- |
- /** The Process key */ |
- static const String PROCESS = "Process"; |
- |
- /** The Props key */ |
- static const String PROPS = "Props"; |
- |
- /** The Right Arrow key */ |
- static const String RIGHT = "Right"; |
- |
- /** The Roman Characters function key */ |
- static const String ROMAN_CHARACTERS = "RomanCharacters"; |
- |
- /** The Scroll Lock key */ |
- static const String SCROLL = "Scroll"; |
- |
- /** The Select key */ |
- static const String SELECT = "Select"; |
- |
- /** The Select Media key */ |
- static const String SELECT_MEDIA = "SelectMedia"; |
- |
- /** The Separator key */ |
- static const String SEPARATOR = "Separator"; |
- |
- /** The Shift key */ |
- static const String SHIFT = "Shift"; |
- |
- /** The Soft1 key */ |
- static const String SOFT_1 = "Soft1"; |
- |
- /** The Soft2 key */ |
- static const String SOFT_2 = "Soft2"; |
- |
- /** The Soft3 key */ |
- static const String SOFT_3 = "Soft3"; |
- |
- /** The Soft4 key */ |
- static const String SOFT_4 = "Soft4"; |
- |
- /** The Stop key */ |
- static const String STOP = "Stop"; |
- |
- /** The Subtract key */ |
- static const String SUBTRACT = "Subtract"; |
- |
- /** The Symbol Lock key */ |
- static const String SYMBOL_LOCK = "SymbolLock"; |
- |
- /** The Up Arrow key */ |
- static const String UP = "Up"; |
- |
- /** The diagonal Up-Left Arrow key */ |
- static const String UP_LEFT = "UpLeft"; |
- |
- /** The diagonal Up-Right Arrow key */ |
- static const String UP_RIGHT = "UpRight"; |
- |
- /** The Undo key */ |
- static const String UNDO = "Undo"; |
- |
- /** The Volume Down key */ |
- static const String VOLUME_DOWN = "VolumeDown"; |
- |
- /** The Volume Mute key */ |
- static const String VOLUMN_MUTE = "VolumeMute"; |
- |
- /** The Volume Up key */ |
- static const String VOLUMN_UP = "VolumeUp"; |
- |
- /** The Windows Logo key */ |
- static const String WIN = "Win"; |
- |
- /** The Zoom key */ |
- static const String ZOOM = "Zoom"; |
- |
- /** |
- * The Backspace (Back) key. Note: This key value shall be also used for the |
- * key labeled 'delete' MacOS keyboards when not modified by the 'Fn' key |
- */ |
- static const String BACKSPACE = "Backspace"; |
- |
- /** The Horizontal Tabulation (Tab) key */ |
- static const String TAB = "Tab"; |
- |
- /** The Cancel key */ |
- static const String CANCEL = "Cancel"; |
- |
- /** The Escape (Esc) key */ |
- static const String ESC = "Esc"; |
- |
- /** The Space (Spacebar) key: */ |
- static const String SPACEBAR = "Spacebar"; |
- |
- /** |
- * The Delete (Del) Key. Note: This key value shall be also used for the key |
- * labeled 'delete' MacOS keyboards when modified by the 'Fn' key |
- */ |
- static const String DEL = "Del"; |
- |
- /** The Combining Grave Accent (Greek Varia, Dead Grave) key */ |
- static const String DEAD_GRAVE = "DeadGrave"; |
- |
- /** |
- * The Combining Acute Accent (Stress Mark, Greek Oxia, Tonos, Dead Eacute) |
- * key |
- */ |
- static const String DEAD_EACUTE = "DeadEacute"; |
- |
- /** The Combining Circumflex Accent (Hat, Dead Circumflex) key */ |
- static const String DEAD_CIRCUMFLEX = "DeadCircumflex"; |
- |
- /** The Combining Tilde (Dead Tilde) key */ |
- static const String DEAD_TILDE = "DeadTilde"; |
- |
- /** The Combining Macron (Long, Dead Macron) key */ |
- static const String DEAD_MACRON = "DeadMacron"; |
- |
- /** The Combining Breve (Short, Dead Breve) key */ |
- static const String DEAD_BREVE = "DeadBreve"; |
- |
- /** The Combining Dot Above (Derivative, Dead Above Dot) key */ |
- static const String DEAD_ABOVE_DOT = "DeadAboveDot"; |
- |
- /** |
- * The Combining Diaeresis (Double Dot Abode, Umlaut, Greek Dialytika, |
- * Double Derivative, Dead Diaeresis) key |
- */ |
- static const String DEAD_UMLAUT = "DeadUmlaut"; |
- |
- /** The Combining Ring Above (Dead Above Ring) key */ |
- static const String DEAD_ABOVE_RING = "DeadAboveRing"; |
- |
- /** The Combining Double Acute Accent (Dead Doubleacute) key */ |
- static const String DEAD_DOUBLEACUTE = "DeadDoubleacute"; |
- |
- /** The Combining Caron (Hacek, V Above, Dead Caron) key */ |
- static const String DEAD_CARON = "DeadCaron"; |
- |
- /** The Combining Cedilla (Dead Cedilla) key */ |
- static const String DEAD_CEDILLA = "DeadCedilla"; |
- |
- /** The Combining Ogonek (Nasal Hook, Dead Ogonek) key */ |
- static const String DEAD_OGONEK = "DeadOgonek"; |
- |
- /** |
- * The Combining Greek Ypogegrammeni (Greek Non-Spacing Iota Below, Iota |
- * Subscript, Dead Iota) key |
- */ |
- static const String DEAD_IOTA = "DeadIota"; |
- |
- /** |
- * The Combining Katakana-Hiragana Voiced Sound Mark (Dead Voiced Sound) key |
- */ |
- static const String DEAD_VOICED_SOUND = "DeadVoicedSound"; |
- |
- /** |
- * The Combining Katakana-Hiragana Semi-Voiced Sound Mark (Dead Semivoiced |
- * Sound) key |
- */ |
- static const String DEC_SEMIVOICED_SOUND= "DeadSemivoicedSound"; |
- |
- /** |
- * Key value used when an implementation is unable to identify another key |
- * value, due to either hardware, platform, or software constraints |
- */ |
- static const String UNIDENTIFIED = "Unidentified"; |
-} |
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-/** |
- * Contains the set of standard values returned by HTMLDocument.getReadyState. |
- */ |
-interface ReadyState { |
- /** |
- * Indicates the document is still loading and parsing. |
- */ |
- static const String LOADING = "loading"; |
- |
- /** |
- * Indicates the document is finished parsing but is still loading |
- * subresources. |
- */ |
- static const String INTERACTIVE = "interactive"; |
- |
- /** |
- * Indicates the document and all subresources have been loaded. |
- */ |
- static const String COMPLETE = "complete"; |
-} |
-// 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. |
- |
-// TODO(vsm): Unify with Dartium version. |
-class _DOMWindowCrossFrameImpl implements DOMType, DOMWindow { |
- // Private window. |
- _DOMWindowJs _window; |
- |
- // DOMType |
- var dartObjectLocalStorage; |
- String get typeName() => "DOMWindow"; |
- |
- // Fields. |
- // TODO(vsm): Implement history and location getters. |
- |
- bool get closed() => _window.closed; |
- int get length() => _window.length; |
- DOMWindow get opener() => _createSafe(_window.opener); |
- DOMWindow get parent() => _createSafe(_window.parent); |
- DOMWindow get top() => _createSafe(_window.top); |
- |
- // Methods. |
- void focus() => _window.focus(); |
- |
- void blur() => _window.blur(); |
- |
- void close() => _window.close(); |
- |
- void postMessage(Dynamic message, |
- String targetOrigin, |
- [List messagePorts = null]) { |
- if (messagePorts == null) { |
- _postMessage2(_window, message, targetOrigin); |
- } else { |
- _postMessage3(_window, message, targetOrigin, messagePorts); |
- } |
- } |
- |
- // TODO(vsm): This is a hack to workaround dartbug.com/3175. We |
- // need a more robust convention to invoke JS methods on the |
- // underlying window. |
- static void _postMessage2(win, message, targetOrigin) native """ |
- win.postMessage(message, targetOrigin); |
-"""; |
- |
- static void _postMessage3(win, message, targetOrigin, messagePorts) native """ |
- win.postMessage(message, targetOrigin, messagePorts); |
-"""; |
- |
- // Implementation support. |
- _DOMWindowCrossFrameImpl(this._window); |
- |
- static DOMWindow _createSafe(w) { |
- if (w === window) { |
- return w; |
- } else { |
- // TODO(vsm): Cache or implement equality. |
- return new _DOMWindowCrossFrameImpl(w); |
- } |
- } |
-} |
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-interface DOMType { |
- // TODO(vsm): Remove if/when Dart supports OLS for all objects. |
- var dartObjectLocalStorage; |
- |
- String get typeName(); |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _DOMTypeJs implements DOMType native '*DOMType' { |
- |
- var dartObjectLocalStorage; |
- |
- String get typeName() 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. |
- |
-class _AudioContextFactoryProvider { |
- |
- factory AudioContext() native ''' |
- var constructor = window.AudioContext || window.webkitAudioContext; |
- return new constructor(); |
-'''; |
-} |
- |
-class _FormDataFactoryProvider { |
- |
- factory FormData([HTMLFormElement form = null]) native ''' |
- if (form == null) return new FormData(); |
- return new FormData(form); |
- '''; |
- |
-} |
- |
-class _WebKitPointFactoryProvider { |
- |
- factory WebKitPoint(num x, num y) native '''return new WebKitPoint(x, y);'''; |
-} |
- |
-class _WebSocketFactoryProvider { |
- |
- factory WebSocket(String url) native '''return new WebSocket(url);'''; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _IDBKeyRangeFactoryProvider { |
- |
- factory IDBKeyRange.only(/*IDBKey*/ value) => |
- _only(_class(), _translateKey(value)); |
- |
- factory IDBKeyRange.lowerBound(/*IDBKey*/ bound, [bool open = false]) => |
- _lowerBound(_class(), _translateKey(bound), open); |
- |
- factory IDBKeyRange.upperBound(/*IDBKey*/ bound, [bool open = false]) => |
- _upperBound(_class(), _translateKey(bound), open); |
- |
- factory IDBKeyRange.bound(/*IDBKey*/ lower, /*IDBKey*/ upper, |
- [bool lowerOpen = false, bool upperOpen = false]) => |
- _bound(_class(), _translateKey(lower), _translateKey(upper), |
- lowerOpen, upperOpen); |
- |
- static var _cachedClass; |
- |
- static _class() { |
- if (_cachedClass != null) return _cachedClass; |
- return _cachedClass = _uncachedClass(); |
- } |
- |
- static _uncachedClass() native ''' |
- return window.webkitIDBKeyRange || window.mozIDBKeyRange || |
- window.msIDBKeyRange || window.IDBKeyRange; |
- '''; |
- |
- static _translateKey(idbkey) => idbkey; // TODO: fixme. |
- |
- static _IDBKeyRangeJs _only(cls, value) native |
- '''return cls.only(value);'''; |
- |
- static _IDBKeyRangeJs _lowerBound(cls, bound, open) native |
- '''return cls.lowerBound(bound, open);'''; |
- |
- static _IDBKeyRangeJs _upperBound(cls, bound, open) native |
- '''return cls.upperBound(bound, open);'''; |
- |
- static _IDBKeyRangeJs _bound(cls, lower, upper, lowerOpen, upperOpen) native |
- '''return cls.bound(lower, upper, lowerOpen, upperOpen);'''; |
- |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _TypedArrayFactoryProvider { |
- |
- factory Float32Array(int length) => _F32(length); |
- factory Float32Array.fromList(List<num> list) => _F32(ensureNative(list)); |
- factory Float32Array.fromBuffer(ArrayBuffer buffer, |
- [int byteOffset = 0, int length]) { |
- if (length == null) return _F32_2(buffer, byteOffset); |
- return _F32_3(buffer, byteOffset, length); |
- } |
- |
- factory Float64Array(int length) => _F64(length); |
- factory Float64Array.fromList(List<num> list) => _F64(ensureNative(list)); |
- factory Float64Array.fromBuffer(ArrayBuffer buffer, |
- [int byteOffset = 0, int length]) { |
- if (length == null) return _F64_2(buffer, byteOffset); |
- return _F64_3(buffer, byteOffset, length); |
- } |
- |
- factory Int8Array(int length) => _I8(length); |
- factory Int8Array.fromList(List<num> list) => _I8(ensureNative(list)); |
- factory Int8Array.fromBuffer(ArrayBuffer buffer, |
- [int byteOffset = 0, int length]) { |
- if (length == null) return _I8_2(buffer, byteOffset); |
- return _I8_3(buffer, byteOffset, length); |
- } |
- |
- factory Int16Array(int length) => _I16(length); |
- factory Int16Array.fromList(List<num> list) => _I16(ensureNative(list)); |
- factory Int16Array.fromBuffer(ArrayBuffer buffer, |
- [int byteOffset = 0, int length]) { |
- if (length == null) return _I16_2(buffer, byteOffset); |
- return _I16_3(buffer, byteOffset, length); |
- } |
- |
- factory Int32Array(int length) => _I32(length); |
- factory Int32Array.fromList(List<num> list) => _I32(ensureNative(list)); |
- factory Int32Array.fromBuffer(ArrayBuffer buffer, |
- [int byteOffset = 0, int length]) { |
- if (length == null) return _I32_2(buffer, byteOffset); |
- return _I32_3(buffer, byteOffset, length); |
- } |
- |
- factory Uint8Array(int length) => _U8(length); |
- factory Uint8Array.fromList(List<num> list) => _U8(ensureNative(list)); |
- factory Uint8Array.fromBuffer(ArrayBuffer buffer, |
- [int byteOffset = 0, int length]) { |
- if (length == null) return _U8_2(buffer, byteOffset); |
- return _U8_3(buffer, byteOffset, length); |
- } |
- |
- factory Uint16Array(int length) => _U16(length); |
- factory Uint16Array.fromList(List<num> list) => _U16(ensureNative(list)); |
- factory Uint16Array.fromBuffer(ArrayBuffer buffer, |
- [int byteOffset = 0, int length]) { |
- if (length == null) return _U16_2(buffer, byteOffset); |
- return _U16_3(buffer, byteOffset, length); |
- } |
- |
- factory Uint32Array(int length) => _U32(length); |
- factory Uint32Array.fromList(List<num> list) => _U32(ensureNative(list)); |
- factory Uint32Array.fromBuffer(ArrayBuffer buffer, |
- [int byteOffset = 0, int length]) { |
- if (length == null) return _U32_2(buffer, byteOffset); |
- return _U32_3(buffer, byteOffset, length); |
- } |
- |
- factory Uint8ClampedArray(int length) => _U8C(length); |
- factory Uint8ClampedArray.fromList(List<num> list) => _U8C(ensureNative(list)); |
- factory Uint8ClampedArray.fromBuffer(ArrayBuffer buffer, |
- [int byteOffset = 0, int length]) { |
- if (length == null) return _U8C_2(buffer, byteOffset); |
- return _U8C_3(buffer, byteOffset, length); |
- } |
- |
- static Float32Array _F32(arg) native 'return new Float32Array(arg);'; |
- static Float64Array _F64(arg) native 'return new Float64Array(arg);'; |
- static Int8Array _I8(arg) native 'return new Int8Array(arg);'; |
- static Int16Array _I16(arg) native 'return new Int16Array(arg);'; |
- static Int32Array _I32(arg) native 'return new Int32Array(arg);'; |
- static Uint8Array _U8(arg) native 'return new Uint8Array(arg);'; |
- static Uint16Array _U16(arg) native 'return new Uint16Array(arg);'; |
- static Uint32Array _U32(arg) native 'return new Uint32Array(arg);'; |
- static Uint8ClampedArray _U8C(arg) native 'return new Uint8ClampedArray(arg);'; |
- |
- static Float32Array _F32_2(arg1, arg2) native 'return new Float32Array(arg1, arg2);'; |
- static Float64Array _F64_2(arg1, arg2) native 'return new Float64Array(arg1, arg2);'; |
- static Int8Array _I8_2(arg1, arg2) native 'return new Int8Array(arg1, arg2);'; |
- static Int16Array _I16_2(arg1, arg2) native 'return new Int16Array(arg1, arg2);'; |
- static Int32Array _I32_2(arg1, arg2) native 'return new Int32Array(arg1, arg2);'; |
- static Uint8Array _U8_2(arg1, arg2) native 'return new Uint8Array(arg1, arg2);'; |
- static Uint16Array _U16_2(arg1, arg2) native 'return new Uint16Array(arg1, arg2);'; |
- static Uint32Array _U32_2(arg1, arg2) native 'return new Uint32Array(arg1, arg2);'; |
- static Uint8ClampedArray _U8C_2(arg1, arg2) native 'return new Uint8ClampedArray(arg1, arg2);'; |
- |
- static Float32Array _F32_3(arg1, arg2, arg3) native 'return new Float32Array(arg1, arg2, arg3);'; |
- static Float64Array _F64_3(arg1, arg2, arg3) native 'return new Float64Array(arg1, arg2, arg3);'; |
- static Int8Array _I8_3(arg1, arg2, arg3) native 'return new Int8Array(arg1, arg2, arg3);'; |
- static Int16Array _I16_3(arg1, arg2, arg3) native 'return new Int16Array(arg1, arg2, arg3);'; |
- static Int32Array _I32_3(arg1, arg2, arg3) native 'return new Int32Array(arg1, arg2, arg3);'; |
- static Uint8Array _U8_3(arg1, arg2, arg3) native 'return new Uint8Array(arg1, arg2, arg3);'; |
- static Uint16Array _U16_3(arg1, arg2, arg3) native 'return new Uint16Array(arg1, arg2, arg3);'; |
- static Uint32Array _U32_3(arg1, arg2, arg3) native 'return new Uint32Array(arg1, arg2, arg3);'; |
- static Uint8ClampedArray _U8C_3(arg1, arg2, arg3) native 'return new Uint8ClampedArray(arg1, arg2, arg3);'; |
- |
- |
- // Ensures that [list] is a JavaScript Array or a typed array. If necessary, |
- // copies the list. |
- static ensureNative(List list) => list; // TODO: make sure. |
-} |
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-/** |
- * The [Collections] class implements static methods useful when |
- * writing a class that implements [Collection] and the [iterator] |
- * method. |
- */ |
-class _Collections { |
- static void forEach(Iterable<Object> iterable, void f(Object o)) { |
- for (final e in iterable) { |
- f(e); |
- } |
- } |
- |
- static List map(Iterable<Object> source, |
- List<Object> destination, |
- f(o)) { |
- for (final e in source) { |
- destination.add(f(e)); |
- } |
- return destination; |
- } |
- |
- static bool some(Iterable<Object> iterable, bool f(Object o)) { |
- for (final e in iterable) { |
- if (f(e)) return true; |
- } |
- return false; |
- } |
- |
- static bool every(Iterable<Object> iterable, bool f(Object o)) { |
- for (final e in iterable) { |
- if (!f(e)) return false; |
- } |
- return true; |
- } |
- |
- static List filter(Iterable<Object> source, |
- List<Object> destination, |
- bool f(o)) { |
- for (final e in source) { |
- if (f(e)) destination.add(e); |
- } |
- return destination; |
- } |
- |
- static bool isEmpty(Iterable<Object> iterable) { |
- return !iterable.iterator().hasNext(); |
- } |
-} |
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// Iterator for arrays with fixed size. |
-class _FixedSizeListIterator<T> extends _VariableSizeListIterator<T> { |
- _FixedSizeListIterator(List<T> array) |
- : super(array), |
- _length = array.length; |
- |
- bool hasNext() => _length > _pos; |
- |
- final int _length; // Cache array length for faster access. |
-} |
- |
-// Iterator for arrays with variable size. |
-class _VariableSizeListIterator<T> implements Iterator<T> { |
- _VariableSizeListIterator(List<T> array) |
- : _array = array, |
- _pos = 0; |
- |
- bool hasNext() => _array.length > _pos; |
- |
- T next() { |
- if (!hasNext()) { |
- throw const NoMoreElementsException(); |
- } |
- return _array[_pos++]; |
- } |
- |
- final List<T> _array; |
- int _pos; |
-} |
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-class _Lists { |
- |
- /** |
- * Returns the index in the array [a] of the given [element], starting |
- * the search at index [startIndex] to [endIndex] (exclusive). |
- * Returns -1 if [element] is not found. |
- */ |
- static int indexOf(List a, |
- Object element, |
- int startIndex, |
- int endIndex) { |
- if (startIndex >= a.length) { |
- return -1; |
- } |
- if (startIndex < 0) { |
- startIndex = 0; |
- } |
- for (int i = startIndex; i < endIndex; i++) { |
- if (a[i] == element) { |
- return i; |
- } |
- } |
- return -1; |
- } |
- |
- /** |
- * Returns the last index in the array [a] of the given [element], starting |
- * the search at index [startIndex] to 0. |
- * Returns -1 if [element] is not found. |
- */ |
- static int lastIndexOf(List a, Object element, int startIndex) { |
- if (startIndex < 0) { |
- return -1; |
- } |
- if (startIndex >= a.length) { |
- startIndex = a.length - 1; |
- } |
- for (int i = startIndex; i >= 0; i--) { |
- if (a[i] == element) { |
- return i; |
- } |
- } |
- return -1; |
- } |
- |
- /** |
- * Returns a sub list copy of this list, from [start] to |
- * [:start + length:]. |
- * Returns an empty list if [length] is 0. |
- * Throws an [IllegalArgumentException] if [length] is negative. |
- * Throws an [IndexOutOfRangeException] if [start] or |
- * [:start + length:] are out of range. |
- */ |
- static List getRange(List a, int start, int length, List accumulator) { |
- if (length < 0) throw new IllegalArgumentException('length'); |
- if (start < 0) throw new IndexOutOfRangeException(start); |
- int end = start + length; |
- if (end > a.length) throw new IndexOutOfRangeException(end); |
- for (int i = start; i < end; i++) { |
- accumulator.add(a[i]); |
- } |
- return accumulator; |
- } |
-} |