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

Unified Diff: lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 11047021: New cross frame base types (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Regen dart:html Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « no previous file | lib/html/scripts/htmlrenamer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/dartium/html_dartium.dart
diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
index 129715eae1eee1981852ec036d4d449860367493..032aaf035890fa4a64ca048a9f977626e7ac6ccf 100644
--- a/lib/html/dartium/html_dartium.dart
+++ b/lib/html/dartium/html_dartium.dart
@@ -16,9 +16,9 @@
-Window __window;
+LocalWindow __window;
-Window get window {
+LocalWindow get window {
if (__window !== null) {
return __window;
}
@@ -26,7 +26,7 @@ Window get window {
return __window;
}
-Window get _window native "Utils_window";
+LocalWindow get _window native "Utils_window";
Document __document;
@@ -9071,7 +9071,7 @@ abstract class CompositionEvent implements UIEvent {
abstract String get data;
/** @domName CompositionEvent.initCompositionEvent */
- void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Window viewArg, String dataArg);
+ void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableArg, LocalWindow 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
@@ -9083,7 +9083,7 @@ class _CompositionEventImpl extends _UIEventImpl implements CompositionEvent {
String get data native "CompositionEvent_data_Getter";
- void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Window viewArg, String dataArg) native "CompositionEvent_initCompositionEvent_Callback";
+ void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableArg, LocalWindow viewArg, String dataArg) native "CompositionEvent_initCompositionEvent_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -11391,7 +11391,7 @@ abstract class Document extends HtmlElement {
Text $dom_createTextNode(String data);
/** @domName Document.createTouch */
- Touch createTouch(Window window, EventTarget target, int identifier, int pageX, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY, num webkitRotationAngle, num webkitForce);
+ Touch createTouch(LocalWindow window, EventTarget target, int identifier, int pageX, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY, num webkitRotationAngle, num webkitForce);
/** @domName Document.createTouchList */
TouchList $dom_createTouchList();
@@ -12030,7 +12030,7 @@ class _DocumentImpl extends _NodeImpl implements Document
Text $dom_createTextNode(String data) native "Document_createTextNode_Callback";
- Touch createTouch(Window window, EventTarget target, int identifier, int pageX, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY, num webkitRotationAngle, num webkitForce) native "Document_createTouch_Callback";
+ Touch createTouch(LocalWindow window, EventTarget target, int identifier, int pageX, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY, num webkitRotationAngle, num webkitForce) native "Document_createTouch_Callback";
TouchList $dom_createTouchList() native "Document_createTouchList_Callback";
@@ -16751,59 +16751,6 @@ class _HTMLHeadingElementImpl extends _HTMLElementImpl implements HeadingElement
// WARNING: Do not edit - generated code.
-/// @domName History
-abstract class History {
-
- /** @domName History.length */
- abstract int get length;
-
- /** @domName History.state */
- abstract Dynamic get state;
-
- /** @domName History.back */
- void back();
-
- /** @domName History.forward */
- void forward();
-
- /** @domName History.go */
- void go(int distance);
-
- /** @domName History.pushState */
- void pushState(Object data, String title, [String url]);
-
- /** @domName History.replaceState */
- 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.
-
-class _HistoryImpl extends NativeFieldWrapperClass1 implements History {
-
- int get length native "History_length_Getter";
-
- Dynamic get state native "History_state_Getter";
-
- void back() native "History_back_Callback";
-
- void forward() native "History_forward_Callback";
-
- void go(int distance) native "History_go_Callback";
-
- void pushState(Object data, String title, [String url]) native "History_pushState_Callback";
-
- void replaceState(Object data, String title, [String url]) native "History_replaceState_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.
-
/// @domName HTMLHtmlElement
abstract class HtmlElement implements Element {
@@ -19690,7 +19637,7 @@ abstract class KeyboardEvent implements UIEvent {
abstract bool get shiftKey;
/** @domName KeyboardEvent.initKeyboardEvent */
- void initKeyboardEvent(String type, bool canBubble, bool cancelable, Window view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey);
+ void initKeyboardEvent(String type, bool canBubble, bool cancelable, LocalWindow 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
@@ -19714,7 +19661,7 @@ class _KeyboardEventImpl extends _UIEventImpl implements KeyboardEvent {
bool get shiftKey native "KeyboardEvent_shiftKey_Getter";
- void initKeyboardEvent(String type, bool canBubble, bool cancelable, Window view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey) native "KeyboardEvent_initKeyboardEvent_Callback";
+ void initKeyboardEvent(String type, bool canBubble, bool cancelable, LocalWindow view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey) native "KeyboardEvent_initKeyboardEvent_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -20016,11 +19963,29 @@ class _HTMLLinkElementImpl extends _HTMLElementImpl implements LinkElement {
// WARNING: Do not edit - generated code.
-/// @domName LocalMediaStream
-abstract class LocalMediaStream implements MediaStream, EventTarget {
+/// @domName History
+abstract class LocalHistory implements History {
- /** @domName LocalMediaStream.stop */
- void stop();
+ /** @domName History.length */
+ abstract int get length;
+
+ /** @domName History.state */
+ abstract Dynamic get state;
+
+ /** @domName History.back */
+ void back();
+
+ /** @domName History.forward */
+ void forward();
+
+ /** @domName History.go */
+ void go(int distance);
+
+ /** @domName History.pushState */
+ void pushState(Object data, String title, [String url]);
+
+ /** @domName History.replaceState */
+ 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
@@ -20028,15 +19993,21 @@ abstract class LocalMediaStream implements MediaStream, EventTarget {
// WARNING: Do not edit - generated code.
-class _LocalMediaStreamImpl extends _MediaStreamImpl implements LocalMediaStream {
+class _HistoryImpl extends NativeFieldWrapperClass1 implements LocalHistory {
- void stop() native "LocalMediaStream_stop_Callback";
+ int get length native "History_length_Getter";
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "LocalMediaStream_addEventListener_Callback";
+ Dynamic get state native "History_state_Getter";
- bool $dom_dispatchEvent(Event event) native "LocalMediaStream_dispatchEvent_Callback";
+ void back() native "History_back_Callback";
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "LocalMediaStream_removeEventListener_Callback";
+ void forward() native "History_forward_Callback";
+
+ void go(int distance) native "History_go_Callback";
+
+ void pushState(Object data, String title, [String url]) native "History_pushState_Callback";
+
+ void replaceState(Object data, String title, [String url]) native "History_replaceState_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -20046,7 +20017,7 @@ class _LocalMediaStreamImpl extends _MediaStreamImpl implements LocalMediaStream
// WARNING: Do not edit - generated code.
/// @domName Location
-abstract class Location {
+abstract class LocalLocation implements Location {
/** @domName Location.ancestorOrigins */
abstract List<String> get ancestorOrigins;
@@ -20096,7 +20067,7 @@ abstract class Location {
// WARNING: Do not edit - generated code.
-class _LocationImpl extends NativeFieldWrapperClass1 implements Location {
+class _LocationImpl extends NativeFieldWrapperClass1 implements LocalLocation {
List<String> get ancestorOrigins native "Location_ancestorOrigins_Getter";
@@ -20149,16 +20120,11 @@ class _LocationImpl extends NativeFieldWrapperClass1 implements Location {
// WARNING: Do not edit - generated code.
-/// @domName HTMLMapElement
-abstract class MapElement implements Element {
-
- factory MapElement() => _Elements.createMapElement();
-
- /** @domName HTMLMapElement.areas */
- abstract HTMLCollection get areas;
+/// @domName LocalMediaStream
+abstract class LocalMediaStream implements MediaStream, EventTarget {
- /** @domName HTMLMapElement.name */
- String name;
+ /** @domName LocalMediaStream.stop */
+ 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
@@ -20166,395 +20132,433 @@ abstract class MapElement implements Element {
// WARNING: Do not edit - generated code.
-class _HTMLMapElementImpl extends _HTMLElementImpl implements MapElement {
+class _LocalMediaStreamImpl extends _MediaStreamImpl implements LocalMediaStream {
- HTMLCollection get areas native "HTMLMapElement_areas_Getter";
+ void stop() native "LocalMediaStream_stop_Callback";
- String get name native "HTMLMapElement_name_Getter";
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "LocalMediaStream_addEventListener_Callback";
- void set name(String value) native "HTMLMapElement_name_Setter";
+ bool $dom_dispatchEvent(Event event) native "LocalMediaStream_dispatchEvent_Callback";
+
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "LocalMediaStream_removeEventListener_Callback";
}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// WARNING: Do not edit - generated code.
-/// @domName HTMLMarqueeElement
-abstract class MarqueeElement implements Element {
+/// @domName DOMWindow
+abstract class LocalWindow implements EventTarget, Window {
- /** @domName HTMLMarqueeElement.behavior */
- String behavior;
+ /**
+ * Register a [port] on this window under the given [name]. This
+ * port may be retrieved by any isolate (or JavaScript script)
+ * running in this window.
+ */
+ void registerPort(String name, SendPortSync port);
- /** @domName HTMLMarqueeElement.bgColor */
- String bgColor;
+ /**
+ * Lookup a port by its [name]. Return null if no port is
+ * registered under [name].
+ */
+ SendPortSync lookupPort(String name);
- /** @domName HTMLMarqueeElement.direction */
- String direction;
+ /**
+ * Executes a [callback] after the next batch of browser layout measurements
+ * has completed or would have completed if any browser layout measurements
+ * had been scheduled.
+ */
+ void requestLayoutFrame(TimeoutHandler callback);
- /** @domName HTMLMarqueeElement.height */
- String height;
+ /**
+ * Creates a new object URL for the specified object. The URL will be
+ * available until revokeObjectUrl is called.
+ * [object] can be a Blob, MediaStream or MediaSource.
+ */
+ String createObjectUrl(object);
- /** @domName HTMLMarqueeElement.hspace */
- int hspace;
+ /** @domName DOMURL.revokeObjectURL */
+ void revokeObjectUrl(String objectUrl);
- /** @domName HTMLMarqueeElement.loop */
- int loop;
- /** @domName HTMLMarqueeElement.scrollAmount */
- int scrollAmount;
+ /**
+ * @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
+ */
+ LocalWindowEvents get on;
- /** @domName HTMLMarqueeElement.scrollDelay */
- int scrollDelay;
+ static const int PERSISTENT = 1;
- /** @domName HTMLMarqueeElement.trueSpeed */
- bool trueSpeed;
+ static const int TEMPORARY = 0;
- /** @domName HTMLMarqueeElement.vspace */
- int vspace;
+ /** @domName DOMWindow.applicationCache */
+ abstract DOMApplicationCache get applicationCache;
- /** @domName HTMLMarqueeElement.width */
- String width;
+ /** @domName DOMWindow.clientInformation */
+ abstract Navigator get clientInformation;
- /** @domName HTMLMarqueeElement.start */
- void start();
+ /** @domName DOMWindow.closed */
+ abstract bool get closed;
- /** @domName HTMLMarqueeElement.stop */
- 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.
+ /** @domName DOMWindow.console */
+ abstract Console get console;
-// WARNING: Do not edit - generated code.
+ /** @domName DOMWindow.crypto */
+ abstract Crypto get crypto;
-class _HTMLMarqueeElementImpl extends _HTMLElementImpl implements MarqueeElement {
+ /** @domName DOMWindow.defaultStatus */
+ String defaultStatus;
- String get behavior native "HTMLMarqueeElement_behavior_Getter";
+ /** @domName DOMWindow.defaultstatus */
+ String defaultstatus;
- void set behavior(String value) native "HTMLMarqueeElement_behavior_Setter";
+ /** @domName DOMWindow.devicePixelRatio */
+ abstract num get devicePixelRatio;
- String get bgColor native "HTMLMarqueeElement_bgColor_Getter";
+ /** @domName DOMWindow.document */
+ abstract Document get document;
- void set bgColor(String value) native "HTMLMarqueeElement_bgColor_Setter";
+ /** @domName DOMWindow.event */
+ abstract Event get event;
- String get direction native "HTMLMarqueeElement_direction_Getter";
+ /** @domName DOMWindow.frames */
+ abstract Window get frames;
- void set direction(String value) native "HTMLMarqueeElement_direction_Setter";
+ /** @domName DOMWindow.history */
+ abstract History get history;
- String get height native "HTMLMarqueeElement_height_Getter";
+ /** @domName DOMWindow.indexedDB */
+ abstract IDBFactory get indexedDB;
- void set height(String value) native "HTMLMarqueeElement_height_Setter";
+ /** @domName DOMWindow.innerHeight */
+ abstract int get innerHeight;
- int get hspace native "HTMLMarqueeElement_hspace_Getter";
+ /** @domName DOMWindow.innerWidth */
+ abstract int get innerWidth;
- void set hspace(int value) native "HTMLMarqueeElement_hspace_Setter";
+ /** @domName DOMWindow.length */
+ abstract int get length;
- int get loop native "HTMLMarqueeElement_loop_Getter";
+ /** @domName DOMWindow.localStorage */
+ abstract Storage get localStorage;
- void set loop(int value) native "HTMLMarqueeElement_loop_Setter";
+ /** @domName DOMWindow.location */
+ Location location;
- int get scrollAmount native "HTMLMarqueeElement_scrollAmount_Getter";
+ /** @domName DOMWindow.locationbar */
+ abstract BarInfo get locationbar;
- void set scrollAmount(int value) native "HTMLMarqueeElement_scrollAmount_Setter";
+ /** @domName DOMWindow.menubar */
+ abstract BarInfo get menubar;
- int get scrollDelay native "HTMLMarqueeElement_scrollDelay_Getter";
+ /** @domName DOMWindow.name */
+ String name;
- void set scrollDelay(int value) native "HTMLMarqueeElement_scrollDelay_Setter";
+ /** @domName DOMWindow.navigator */
+ abstract Navigator get navigator;
- bool get trueSpeed native "HTMLMarqueeElement_trueSpeed_Getter";
+ /** @domName DOMWindow.offscreenBuffering */
+ abstract bool get offscreenBuffering;
- void set trueSpeed(bool value) native "HTMLMarqueeElement_trueSpeed_Setter";
+ /** @domName DOMWindow.opener */
+ abstract Window get opener;
- int get vspace native "HTMLMarqueeElement_vspace_Getter";
+ /** @domName DOMWindow.outerHeight */
+ abstract int get outerHeight;
- void set vspace(int value) native "HTMLMarqueeElement_vspace_Setter";
+ /** @domName DOMWindow.outerWidth */
+ abstract int get outerWidth;
- String get width native "HTMLMarqueeElement_width_Getter";
+ /** @domName DOMWindow.pagePopupController */
+ abstract PagePopupController get pagePopupController;
- void set width(String value) native "HTMLMarqueeElement_width_Setter";
+ /** @domName DOMWindow.pageXOffset */
+ abstract int get pageXOffset;
- void start() native "HTMLMarqueeElement_start_Callback";
+ /** @domName DOMWindow.pageYOffset */
+ abstract int get pageYOffset;
- void stop() native "HTMLMarqueeElement_stop_Callback";
+ /** @domName DOMWindow.parent */
+ abstract Window get parent;
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ /** @domName DOMWindow.performance */
+ abstract Performance get performance;
-// WARNING: Do not edit - generated code.
+ /** @domName DOMWindow.personalbar */
+ abstract BarInfo get personalbar;
-/// @domName MediaController
-abstract class MediaController implements EventTarget {
+ /** @domName DOMWindow.screen */
+ abstract Screen get screen;
- factory MediaController() => _MediaControllerFactoryProvider.createMediaController();
+ /** @domName DOMWindow.screenLeft */
+ abstract int get screenLeft;
- /** @domName MediaController.buffered */
- abstract TimeRanges get buffered;
+ /** @domName DOMWindow.screenTop */
+ abstract int get screenTop;
- /** @domName MediaController.currentTime */
- num currentTime;
+ /** @domName DOMWindow.screenX */
+ abstract int get screenX;
- /** @domName MediaController.defaultPlaybackRate */
- num defaultPlaybackRate;
+ /** @domName DOMWindow.screenY */
+ abstract int get screenY;
- /** @domName MediaController.duration */
- abstract num get duration;
+ /** @domName DOMWindow.scrollX */
+ abstract int get scrollX;
- /** @domName MediaController.muted */
- bool muted;
+ /** @domName DOMWindow.scrollY */
+ abstract int get scrollY;
- /** @domName MediaController.paused */
- abstract bool get paused;
+ /** @domName DOMWindow.scrollbars */
+ abstract BarInfo get scrollbars;
- /** @domName MediaController.playbackRate */
- num playbackRate;
+ /** @domName DOMWindow.self */
+ abstract Window get self;
- /** @domName MediaController.played */
- abstract TimeRanges get played;
+ /** @domName DOMWindow.sessionStorage */
+ abstract Storage get sessionStorage;
- /** @domName MediaController.seekable */
- abstract TimeRanges get seekable;
+ /** @domName DOMWindow.status */
+ String status;
- /** @domName MediaController.volume */
- num volume;
+ /** @domName DOMWindow.statusbar */
+ abstract BarInfo get statusbar;
- /** @domName MediaController.addEventListener */
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
+ /** @domName DOMWindow.styleMedia */
+ abstract StyleMedia get styleMedia;
- /** @domName MediaController.dispatchEvent */
- bool $dom_dispatchEvent(Event evt);
+ /** @domName DOMWindow.toolbar */
+ abstract BarInfo get toolbar;
- /** @domName MediaController.pause */
- void pause();
+ /** @domName DOMWindow.top */
+ abstract Window get top;
- /** @domName MediaController.play */
- void play();
+ /** @domName DOMWindow.webkitIndexedDB */
+ abstract IDBFactory get webkitIndexedDB;
- /** @domName MediaController.removeEventListener */
- void $dom_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.
+ /** @domName DOMWindow.webkitNotifications */
+ abstract NotificationCenter get webkitNotifications;
-// WARNING: Do not edit - generated code.
+ /** @domName DOMWindow.webkitStorageInfo */
+ abstract StorageInfo get webkitStorageInfo;
-class _MediaControllerImpl extends _EventTargetImpl implements MediaController {
+ /** @domName DOMWindow.window */
+ abstract Window get window;
- TimeRanges get buffered native "MediaController_buffered_Getter";
+ /** @domName DOMWindow.addEventListener */
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
- num get currentTime native "MediaController_currentTime_Getter";
+ /** @domName DOMWindow.alert */
+ void alert(String message);
- void set currentTime(num value) native "MediaController_currentTime_Setter";
+ /** @domName DOMWindow.atob */
+ String atob(String string);
- num get defaultPlaybackRate native "MediaController_defaultPlaybackRate_Getter";
+ /** @domName DOMWindow.blur */
+ void blur();
- void set defaultPlaybackRate(num value) native "MediaController_defaultPlaybackRate_Setter";
+ /** @domName DOMWindow.btoa */
+ String btoa(String string);
- num get duration native "MediaController_duration_Getter";
+ /** @domName DOMWindow.captureEvents */
+ void captureEvents();
- bool get muted native "MediaController_muted_Getter";
+ /** @domName DOMWindow.clearInterval */
+ void clearInterval(int handle);
- void set muted(bool value) native "MediaController_muted_Setter";
+ /** @domName DOMWindow.clearTimeout */
+ void clearTimeout(int handle);
- bool get paused native "MediaController_paused_Getter";
+ /** @domName DOMWindow.close */
+ void close();
- num get playbackRate native "MediaController_playbackRate_Getter";
+ /** @domName DOMWindow.confirm */
+ bool confirm(String message);
- void set playbackRate(num value) native "MediaController_playbackRate_Setter";
+ /** @domName DOMWindow.dispatchEvent */
+ bool $dom_dispatchEvent(Event evt);
- TimeRanges get played native "MediaController_played_Getter";
+ /** @domName DOMWindow.find */
+ bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog);
- TimeRanges get seekable native "MediaController_seekable_Getter";
+ /** @domName DOMWindow.focus */
+ void focus();
- num get volume native "MediaController_volume_Getter";
+ /** @domName DOMWindow.getComputedStyle */
+ CSSStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElement);
- void set volume(num value) native "MediaController_volume_Setter";
+ /** @domName DOMWindow.getMatchedCSSRules */
+ List<CSSRule> getMatchedCSSRules(Element element, String pseudoElement);
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "MediaController_addEventListener_Callback";
+ /** @domName DOMWindow.getSelection */
+ DOMSelection getSelection();
- bool $dom_dispatchEvent(Event evt) native "MediaController_dispatchEvent_Callback";
+ /** @domName DOMWindow.matchMedia */
+ MediaQueryList matchMedia(String query);
- void pause() native "MediaController_pause_Callback";
+ /** @domName DOMWindow.moveBy */
+ void moveBy(num x, num y);
- void play() native "MediaController_play_Callback";
+ /** @domName DOMWindow.moveTo */
+ void moveTo(num x, num y);
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "MediaController_removeEventListener_Callback";
+ /** @domName DOMWindow.open */
+ Window open(String url, String name, [String 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.
+ /** @domName DOMWindow.openDatabase */
+ Database openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]);
-// WARNING: Do not edit - generated code.
+ /** @domName DOMWindow.postMessage */
+ void postMessage(/*SerializedScriptValue*/ message, String targetOrigin, [List messagePorts]);
-/// @domName HTMLMediaElement
-abstract class MediaElement implements Element {
+ /** @domName DOMWindow.print */
+ void print();
- /**
- * @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
- */
- MediaElementEvents get on;
+ /** @domName DOMWindow.prompt */
+ String prompt(String message, String defaultValue);
- static const int HAVE_CURRENT_DATA = 2;
+ /** @domName DOMWindow.releaseEvents */
+ void releaseEvents();
- static const int HAVE_ENOUGH_DATA = 4;
+ /** @domName DOMWindow.removeEventListener */
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
- static const int HAVE_FUTURE_DATA = 3;
+ /** @domName DOMWindow.resizeBy */
+ void resizeBy(num x, num y);
- static const int HAVE_METADATA = 1;
+ /** @domName DOMWindow.resizeTo */
+ void resizeTo(num width, num height);
- static const int HAVE_NOTHING = 0;
+ /** @domName DOMWindow.scroll */
+ void scroll(int x, int y);
- static const int NETWORK_EMPTY = 0;
+ /** @domName DOMWindow.scrollBy */
+ void scrollBy(int x, int y);
- static const int NETWORK_IDLE = 1;
+ /** @domName DOMWindow.scrollTo */
+ void scrollTo(int x, int y);
- static const int NETWORK_LOADING = 2;
+ /** @domName DOMWindow.setInterval */
+ int setInterval(TimeoutHandler handler, int timeout);
- static const int NETWORK_NO_SOURCE = 3;
+ /** @domName DOMWindow.setTimeout */
+ int setTimeout(TimeoutHandler handler, int timeout);
- /** @domName HTMLMediaElement.autoplay */
- bool autoplay;
+ /** @domName DOMWindow.showModalDialog */
+ Object showModalDialog(String url, [Object dialogArgs, String featureArgs]);
- /** @domName HTMLMediaElement.buffered */
- abstract TimeRanges get buffered;
+ /** @domName DOMWindow.stop */
+ void stop();
- /** @domName HTMLMediaElement.controller */
- MediaController controller;
+ /** @domName DOMWindow.webkitCancelAnimationFrame */
+ void cancelAnimationFrame(int id);
- /** @domName HTMLMediaElement.controls */
- bool controls;
+ /** @domName DOMWindow.webkitConvertPointFromNodeToPage */
+ Point webkitConvertPointFromNodeToPage(Node node, Point p);
- /** @domName HTMLMediaElement.currentSrc */
- abstract String get currentSrc;
+ /** @domName DOMWindow.webkitConvertPointFromPageToNode */
+ Point webkitConvertPointFromPageToNode(Node node, Point p);
- /** @domName HTMLMediaElement.currentTime */
- num currentTime;
+ /** @domName DOMWindow.webkitRequestAnimationFrame */
+ int requestAnimationFrame(RequestAnimationFrameCallback callback);
- /** @domName HTMLMediaElement.defaultMuted */
- bool defaultMuted;
+ /** @domName DOMWindow.webkitRequestFileSystem */
+ void webkitRequestFileSystem(int type, int size, FileSystemCallback successCallback, [ErrorCallback errorCallback]);
- /** @domName HTMLMediaElement.defaultPlaybackRate */
- num defaultPlaybackRate;
+ /** @domName DOMWindow.webkitResolveLocalFileSystemURL */
+ void webkitResolveLocalFileSystemURL(String url, EntryCallback successCallback, [ErrorCallback errorCallback]);
- /** @domName HTMLMediaElement.duration */
- abstract num get duration;
+}
- /** @domName HTMLMediaElement.ended */
- abstract bool get ended;
+abstract class LocalWindowEvents implements Events {
- /** @domName HTMLMediaElement.error */
- abstract MediaError get error;
+ EventListenerList get abort;
- /** @domName HTMLMediaElement.initialTime */
- abstract num get initialTime;
+ EventListenerList get beforeUnload;
- /** @domName HTMLMediaElement.loop */
- bool loop;
+ EventListenerList get blur;
- /** @domName HTMLMediaElement.mediaGroup */
- String mediaGroup;
+ EventListenerList get canPlay;
- /** @domName HTMLMediaElement.muted */
- bool muted;
+ EventListenerList get canPlayThrough;
- /** @domName HTMLMediaElement.networkState */
- abstract int get networkState;
+ EventListenerList get change;
- /** @domName HTMLMediaElement.paused */
- abstract bool get paused;
+ EventListenerList get click;
- /** @domName HTMLMediaElement.playbackRate */
- num playbackRate;
+ EventListenerList get contextMenu;
- /** @domName HTMLMediaElement.played */
- abstract TimeRanges get played;
+ EventListenerList get doubleClick;
- /** @domName HTMLMediaElement.preload */
- String preload;
+ EventListenerList get deviceMotion;
- /** @domName HTMLMediaElement.readyState */
- abstract int get readyState;
+ EventListenerList get deviceOrientation;
- /** @domName HTMLMediaElement.seekable */
- abstract TimeRanges get seekable;
+ EventListenerList get drag;
- /** @domName HTMLMediaElement.seeking */
- abstract bool get seeking;
+ EventListenerList get dragEnd;
- /** @domName HTMLMediaElement.src */
- String src;
+ EventListenerList get dragEnter;
- /** @domName HTMLMediaElement.startTime */
- abstract num get startTime;
+ EventListenerList get dragLeave;
- /** @domName HTMLMediaElement.textTracks */
- abstract TextTrackList get textTracks;
+ EventListenerList get dragOver;
- /** @domName HTMLMediaElement.volume */
- num volume;
+ EventListenerList get dragStart;
- /** @domName HTMLMediaElement.webkitAudioDecodedByteCount */
- abstract int get webkitAudioDecodedByteCount;
+ EventListenerList get drop;
- /** @domName HTMLMediaElement.webkitClosedCaptionsVisible */
- bool webkitClosedCaptionsVisible;
+ EventListenerList get durationChange;
- /** @domName HTMLMediaElement.webkitHasClosedCaptions */
- abstract bool get webkitHasClosedCaptions;
+ EventListenerList get emptied;
- /** @domName HTMLMediaElement.webkitPreservesPitch */
- bool webkitPreservesPitch;
+ EventListenerList get ended;
- /** @domName HTMLMediaElement.webkitVideoDecodedByteCount */
- abstract int get webkitVideoDecodedByteCount;
+ EventListenerList get error;
- /** @domName HTMLMediaElement.addTextTrack */
- TextTrack addTextTrack(String kind, [String label, String language]);
+ EventListenerList get focus;
- /** @domName HTMLMediaElement.canPlayType */
- String canPlayType(String type, String keySystem);
+ EventListenerList get hashChange;
- /** @domName HTMLMediaElement.load */
- void load();
+ EventListenerList get input;
- /** @domName HTMLMediaElement.pause */
- void pause();
+ EventListenerList get invalid;
- /** @domName HTMLMediaElement.play */
- void play();
+ EventListenerList get keyDown;
- /** @domName HTMLMediaElement.webkitAddKey */
- void webkitAddKey(String keySystem, Uint8Array key, [Uint8Array initData, String sessionId]);
+ EventListenerList get keyPress;
- /** @domName HTMLMediaElement.webkitCancelKeyRequest */
- void webkitCancelKeyRequest(String keySystem, String sessionId);
+ EventListenerList get keyUp;
- /** @domName HTMLMediaElement.webkitGenerateKeyRequest */
- void webkitGenerateKeyRequest(String keySystem, [Uint8Array initData]);
-}
+ EventListenerList get load;
-abstract class MediaElementEvents implements ElementEvents {
+ EventListenerList get loadedData;
- EventListenerList get canPlay;
+ EventListenerList get loadedMetadata;
- EventListenerList get canPlayThrough;
+ EventListenerList get loadStart;
- EventListenerList get durationChange;
+ EventListenerList get message;
- EventListenerList get emptied;
+ EventListenerList get mouseDown;
- EventListenerList get ended;
+ EventListenerList get mouseMove;
- EventListenerList get loadedData;
+ EventListenerList get mouseOut;
- EventListenerList get loadedMetadata;
+ EventListenerList get mouseOver;
- EventListenerList get loadStart;
+ EventListenerList get mouseUp;
+
+ EventListenerList get mouseWheel;
+
+ EventListenerList get offline;
+
+ EventListenerList get online;
+
+ EventListenerList get pageHide;
+
+ EventListenerList get pageShow;
EventListenerList get pause;
@@ -20562,482 +20566,432 @@ abstract class MediaElementEvents implements ElementEvents {
EventListenerList get playing;
+ EventListenerList get popState;
+
EventListenerList get progress;
EventListenerList get rateChange;
+ EventListenerList get reset;
+
+ EventListenerList get resize;
+
+ EventListenerList get scroll;
+
+ EventListenerList get search;
+
EventListenerList get seeked;
EventListenerList get seeking;
- EventListenerList get show;
+ EventListenerList get select;
EventListenerList get stalled;
+ EventListenerList get storage;
+
+ EventListenerList get submit;
+
EventListenerList get suspend;
EventListenerList get timeUpdate;
+ EventListenerList get touchCancel;
+
+ EventListenerList get touchEnd;
+
+ EventListenerList get touchMove;
+
+ EventListenerList get touchStart;
+
+ EventListenerList get unload;
+
EventListenerList get volumeChange;
EventListenerList get waiting;
- EventListenerList get keyAdded;
+ EventListenerList get animationEnd;
- EventListenerList get keyError;
+ EventListenerList get animationIteration;
- EventListenerList get keyMessage;
+ EventListenerList get animationStart;
- EventListenerList get needKey;
+ EventListenerList get transitionEnd;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// WARNING: Do not edit - generated code.
+class _DOMWindowImpl extends _EventTargetImpl implements LocalWindow {
-/// @domName MediaElementAudioSourceNode
-abstract class MediaElementAudioSourceNode implements AudioSourceNode {
+ void requestLayoutFrame(TimeoutHandler callback) {
+ _addMeasurementFrameCallback(callback);
+ }
- /** @domName MediaElementAudioSourceNode.mediaElement */
- abstract MediaElement get 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.
+ // TODO(kasperl): Document these.
+ lookupPort(String name) {
+ var port = JSON.parse(localStorage['dart-port:$name']);
+ return _deserialize(port);
+ }
-// WARNING: Do not edit - generated code.
+ registerPort(String name, var port) {
+ var serialized = _serialize(port);
+ localStorage['dart-port:$name'] = JSON.stringify(serialized);
+ }
-class _MediaElementAudioSourceNodeImpl extends _AudioSourceNodeImpl implements MediaElementAudioSourceNode {
+ String createObjectUrl(object) => DOMURL.createObjectURL(object);
+ void revokeObjectUrl(String url) {
+ DOMURL.revokeObjectURL(url);
+ }
- MediaElement get mediaElement native "MediaElementAudioSourceNode_mediaElement_Getter";
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ _LocalWindowEventsImpl get on =>
+ new _LocalWindowEventsImpl(this);
-// WARNING: Do not edit - generated code.
+ DOMApplicationCache get applicationCache native "DOMWindow_applicationCache_Getter";
-class _HTMLMediaElementImpl extends _HTMLElementImpl implements MediaElement {
+ Navigator get clientInformation native "DOMWindow_clientInformation_Getter";
- _MediaElementEventsImpl get on =>
- new _MediaElementEventsImpl(this);
+ bool get closed native "DOMWindow_closed_Getter";
- bool get autoplay native "HTMLMediaElement_autoplay_Getter";
+ Console get console native "DOMWindow_console_Getter";
- void set autoplay(bool value) native "HTMLMediaElement_autoplay_Setter";
+ Crypto get crypto native "DOMWindow_crypto_Getter";
- TimeRanges get buffered native "HTMLMediaElement_buffered_Getter";
+ String get defaultStatus native "DOMWindow_defaultStatus_Getter";
- MediaController get controller native "HTMLMediaElement_controller_Getter";
+ void set defaultStatus(String value) native "DOMWindow_defaultStatus_Setter";
- void set controller(MediaController value) native "HTMLMediaElement_controller_Setter";
+ String get defaultstatus native "DOMWindow_defaultstatus_Getter";
- bool get controls native "HTMLMediaElement_controls_Getter";
+ void set defaultstatus(String value) native "DOMWindow_defaultstatus_Setter";
- void set controls(bool value) native "HTMLMediaElement_controls_Setter";
+ num get devicePixelRatio native "DOMWindow_devicePixelRatio_Getter";
- String get currentSrc native "HTMLMediaElement_currentSrc_Getter";
+ Document get document native "DOMWindow_document_Getter";
- num get currentTime native "HTMLMediaElement_currentTime_Getter";
+ Event get event native "DOMWindow_event_Getter";
- void set currentTime(num value) native "HTMLMediaElement_currentTime_Setter";
+ Window get frames native "DOMWindow_frames_Getter";
- bool get defaultMuted native "HTMLMediaElement_defaultMuted_Getter";
+ History get history native "DOMWindow_history_Getter";
- void set defaultMuted(bool value) native "HTMLMediaElement_defaultMuted_Setter";
+ IDBFactory get indexedDB native "DOMWindow_indexedDB_Getter";
- num get defaultPlaybackRate native "HTMLMediaElement_defaultPlaybackRate_Getter";
+ int get innerHeight native "DOMWindow_innerHeight_Getter";
- void set defaultPlaybackRate(num value) native "HTMLMediaElement_defaultPlaybackRate_Setter";
+ int get innerWidth native "DOMWindow_innerWidth_Getter";
- num get duration native "HTMLMediaElement_duration_Getter";
+ int get length native "DOMWindow_length_Getter";
- bool get ended native "HTMLMediaElement_ended_Getter";
+ Storage get localStorage native "DOMWindow_localStorage_Getter";
- MediaError get error native "HTMLMediaElement_error_Getter";
+ Location get location native "DOMWindow_location_Getter";
- num get initialTime native "HTMLMediaElement_initialTime_Getter";
+ void set location(LocalLocation value) native "DOMWindow_location_Setter";
- bool get loop native "HTMLMediaElement_loop_Getter";
+ BarInfo get locationbar native "DOMWindow_locationbar_Getter";
- void set loop(bool value) native "HTMLMediaElement_loop_Setter";
+ BarInfo get menubar native "DOMWindow_menubar_Getter";
- String get mediaGroup native "HTMLMediaElement_mediaGroup_Getter";
+ String get name native "DOMWindow_name_Getter";
- void set mediaGroup(String value) native "HTMLMediaElement_mediaGroup_Setter";
+ void set name(String value) native "DOMWindow_name_Setter";
- bool get muted native "HTMLMediaElement_muted_Getter";
+ Navigator get navigator native "DOMWindow_navigator_Getter";
- void set muted(bool value) native "HTMLMediaElement_muted_Setter";
+ bool get offscreenBuffering native "DOMWindow_offscreenBuffering_Getter";
- int get networkState native "HTMLMediaElement_networkState_Getter";
+ Window get opener native "DOMWindow_opener_Getter";
- bool get paused native "HTMLMediaElement_paused_Getter";
+ int get outerHeight native "DOMWindow_outerHeight_Getter";
- num get playbackRate native "HTMLMediaElement_playbackRate_Getter";
+ int get outerWidth native "DOMWindow_outerWidth_Getter";
- void set playbackRate(num value) native "HTMLMediaElement_playbackRate_Setter";
+ PagePopupController get pagePopupController native "DOMWindow_pagePopupController_Getter";
- TimeRanges get played native "HTMLMediaElement_played_Getter";
+ int get pageXOffset native "DOMWindow_pageXOffset_Getter";
- String get preload native "HTMLMediaElement_preload_Getter";
+ int get pageYOffset native "DOMWindow_pageYOffset_Getter";
- void set preload(String value) native "HTMLMediaElement_preload_Setter";
+ Window get parent native "DOMWindow_parent_Getter";
- int get readyState native "HTMLMediaElement_readyState_Getter";
+ Performance get performance native "DOMWindow_performance_Getter";
- TimeRanges get seekable native "HTMLMediaElement_seekable_Getter";
+ BarInfo get personalbar native "DOMWindow_personalbar_Getter";
- bool get seeking native "HTMLMediaElement_seeking_Getter";
+ Screen get screen native "DOMWindow_screen_Getter";
- String get src native "HTMLMediaElement_src_Getter";
+ int get screenLeft native "DOMWindow_screenLeft_Getter";
- void set src(String value) native "HTMLMediaElement_src_Setter";
+ int get screenTop native "DOMWindow_screenTop_Getter";
- num get startTime native "HTMLMediaElement_startTime_Getter";
+ int get screenX native "DOMWindow_screenX_Getter";
- TextTrackList get textTracks native "HTMLMediaElement_textTracks_Getter";
+ int get screenY native "DOMWindow_screenY_Getter";
- num get volume native "HTMLMediaElement_volume_Getter";
+ int get scrollX native "DOMWindow_scrollX_Getter";
- void set volume(num value) native "HTMLMediaElement_volume_Setter";
+ int get scrollY native "DOMWindow_scrollY_Getter";
- int get webkitAudioDecodedByteCount native "HTMLMediaElement_webkitAudioDecodedByteCount_Getter";
+ BarInfo get scrollbars native "DOMWindow_scrollbars_Getter";
- bool get webkitClosedCaptionsVisible native "HTMLMediaElement_webkitClosedCaptionsVisible_Getter";
+ Window get self native "DOMWindow_self_Getter";
- void set webkitClosedCaptionsVisible(bool value) native "HTMLMediaElement_webkitClosedCaptionsVisible_Setter";
+ Storage get sessionStorage native "DOMWindow_sessionStorage_Getter";
- bool get webkitHasClosedCaptions native "HTMLMediaElement_webkitHasClosedCaptions_Getter";
+ String get status native "DOMWindow_status_Getter";
- bool get webkitPreservesPitch native "HTMLMediaElement_webkitPreservesPitch_Getter";
+ void set status(String value) native "DOMWindow_status_Setter";
- void set webkitPreservesPitch(bool value) native "HTMLMediaElement_webkitPreservesPitch_Setter";
+ BarInfo get statusbar native "DOMWindow_statusbar_Getter";
- int get webkitVideoDecodedByteCount native "HTMLMediaElement_webkitVideoDecodedByteCount_Getter";
+ StyleMedia get styleMedia native "DOMWindow_styleMedia_Getter";
- TextTrack addTextTrack(kind, [label, language]) {
- if (?language) {
- return _addTextTrack_1(kind, label, language);
- }
- if (?label) {
- return _addTextTrack_2(kind, label);
- }
- return _addTextTrack_3(kind);
- }
+ BarInfo get toolbar native "DOMWindow_toolbar_Getter";
- TextTrack _addTextTrack_1(kind, label, language) native "HTMLMediaElement_addTextTrack_1_Callback";
+ Window get top native "DOMWindow_top_Getter";
- TextTrack _addTextTrack_2(kind, label) native "HTMLMediaElement_addTextTrack_2_Callback";
+ IDBFactory get webkitIndexedDB native "DOMWindow_webkitIndexedDB_Getter";
- TextTrack _addTextTrack_3(kind) native "HTMLMediaElement_addTextTrack_3_Callback";
+ NotificationCenter get webkitNotifications native "DOMWindow_webkitNotifications_Getter";
- String canPlayType(String type, String keySystem) native "HTMLMediaElement_canPlayType_Callback";
+ StorageInfo get webkitStorageInfo native "DOMWindow_webkitStorageInfo_Getter";
- void load() native "HTMLMediaElement_load_Callback";
+ Window get window native "DOMWindow_window_Getter";
- void pause() native "HTMLMediaElement_pause_Callback";
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "DOMWindow_addEventListener_Callback";
- void play() native "HTMLMediaElement_play_Callback";
+ void alert(String message) native "DOMWindow_alert_Callback";
- void webkitAddKey(keySystem, key, [initData, sessionId]) {
- if (?initData) {
- _webkitAddKey_1(keySystem, key, initData, sessionId);
- return;
- }
- _webkitAddKey_2(keySystem, key);
- }
+ String atob(String string) native "DOMWindow_atob_Callback";
- void _webkitAddKey_1(keySystem, key, initData, sessionId) native "HTMLMediaElement_webkitAddKey_1_Callback";
+ void blur() native "DOMWindow_blur_Callback";
- void _webkitAddKey_2(keySystem, key) native "HTMLMediaElement_webkitAddKey_2_Callback";
+ String btoa(String string) native "DOMWindow_btoa_Callback";
- void webkitCancelKeyRequest(String keySystem, String sessionId) native "HTMLMediaElement_webkitCancelKeyRequest_Callback";
+ void captureEvents() native "DOMWindow_captureEvents_Callback";
- void webkitGenerateKeyRequest(keySystem, [initData]) {
- if (?initData) {
- _webkitGenerateKeyRequest_1(keySystem, initData);
- return;
- }
- _webkitGenerateKeyRequest_2(keySystem);
- }
+ void clearInterval(int handle) native "DOMWindow_clearInterval_Callback";
- void _webkitGenerateKeyRequest_1(keySystem, initData) native "HTMLMediaElement_webkitGenerateKeyRequest_1_Callback";
+ void clearTimeout(int handle) native "DOMWindow_clearTimeout_Callback";
- void _webkitGenerateKeyRequest_2(keySystem) native "HTMLMediaElement_webkitGenerateKeyRequest_2_Callback";
+ void close() native "DOMWindow_close_Callback";
-}
+ bool confirm(String message) native "DOMWindow_confirm_Callback";
-class _MediaElementEventsImpl extends _ElementEventsImpl implements MediaElementEvents {
- _MediaElementEventsImpl(_ptr) : super(_ptr);
+ bool $dom_dispatchEvent(Event evt) native "DOMWindow_dispatchEvent_Callback";
- EventListenerList get canPlay => this['canplay'];
+ bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog) native "DOMWindow_find_Callback";
- EventListenerList get canPlayThrough => this['canplaythrough'];
+ void focus() native "DOMWindow_focus_Callback";
- EventListenerList get durationChange => this['durationchange'];
+ CSSStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElement) native "DOMWindow_getComputedStyle_Callback";
- EventListenerList get emptied => this['emptied'];
+ List<CSSRule> getMatchedCSSRules(Element element, String pseudoElement) native "DOMWindow_getMatchedCSSRules_Callback";
- EventListenerList get ended => this['ended'];
+ DOMSelection getSelection() native "DOMWindow_getSelection_Callback";
- EventListenerList get loadedData => this['loadeddata'];
+ MediaQueryList matchMedia(String query) native "DOMWindow_matchMedia_Callback";
- EventListenerList get loadedMetadata => this['loadedmetadata'];
+ void moveBy(num x, num y) native "DOMWindow_moveBy_Callback";
- EventListenerList get loadStart => this['loadstart'];
+ void moveTo(num x, num y) native "DOMWindow_moveTo_Callback";
- EventListenerList get pause => this['pause'];
+ Window open(String url, String name, [String options]) native "DOMWindow_open_Callback";
- EventListenerList get play => this['play'];
+ Database openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]) native "DOMWindow_openDatabase_Callback";
- EventListenerList get playing => this['playing'];
+ void postMessage(message, String targetOrigin, [List messagePorts]) native "DOMWindow_postMessage_Callback";
- EventListenerList get progress => this['progress'];
+ void print() native "DOMWindow_print_Callback";
- EventListenerList get rateChange => this['ratechange'];
+ String prompt(String message, String defaultValue) native "DOMWindow_prompt_Callback";
- EventListenerList get seeked => this['seeked'];
+ void releaseEvents() native "DOMWindow_releaseEvents_Callback";
- EventListenerList get seeking => this['seeking'];
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "DOMWindow_removeEventListener_Callback";
- EventListenerList get show => this['show'];
+ void resizeBy(num x, num y) native "DOMWindow_resizeBy_Callback";
- EventListenerList get stalled => this['stalled'];
+ void resizeTo(num width, num height) native "DOMWindow_resizeTo_Callback";
- EventListenerList get suspend => this['suspend'];
+ void scroll(int x, int y) native "DOMWindow_scroll_Callback";
- EventListenerList get timeUpdate => this['timeupdate'];
+ void scrollBy(int x, int y) native "DOMWindow_scrollBy_Callback";
- EventListenerList get volumeChange => this['volumechange'];
+ void scrollTo(int x, int y) native "DOMWindow_scrollTo_Callback";
- EventListenerList get waiting => this['waiting'];
+ int setInterval(TimeoutHandler handler, int timeout) native "DOMWindow_setInterval_Callback";
- EventListenerList get keyAdded => this['webkitkeyadded'];
+ int setTimeout(TimeoutHandler handler, int timeout) native "DOMWindow_setTimeout_Callback";
- EventListenerList get keyError => this['webkitkeyerror'];
+ Object showModalDialog(String url, [Object dialogArgs, String featureArgs]) native "DOMWindow_showModalDialog_Callback";
- EventListenerList get keyMessage => this['webkitkeymessage'];
+ void stop() native "DOMWindow_stop_Callback";
- EventListenerList get needKey => this['webkitneedkey'];
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ void cancelAnimationFrame(int id) native "DOMWindow_webkitCancelAnimationFrame_Callback";
-// WARNING: Do not edit - generated code.
+ Point webkitConvertPointFromNodeToPage(Node node, Point p) native "DOMWindow_webkitConvertPointFromNodeToPage_Callback";
-/// @domName MediaError
-abstract class MediaError {
+ Point webkitConvertPointFromPageToNode(Node node, Point p) native "DOMWindow_webkitConvertPointFromPageToNode_Callback";
- static const int MEDIA_ERR_ABORTED = 1;
+ int requestAnimationFrame(RequestAnimationFrameCallback callback) native "DOMWindow_webkitRequestAnimationFrame_Callback";
- static const int MEDIA_ERR_DECODE = 3;
+ void webkitRequestFileSystem(int type, int size, FileSystemCallback successCallback, [ErrorCallback errorCallback]) native "DOMWindow_webkitRequestFileSystem_Callback";
- static const int MEDIA_ERR_ENCRYPTED = 5;
+ void webkitResolveLocalFileSystemURL(String url, EntryCallback successCallback, [ErrorCallback errorCallback]) native "DOMWindow_webkitResolveLocalFileSystemURL_Callback";
- static const int MEDIA_ERR_NETWORK = 2;
+}
- static const int MEDIA_ERR_SRC_NOT_SUPPORTED = 4;
+class _LocalWindowEventsImpl extends _EventsImpl implements LocalWindowEvents {
+ _LocalWindowEventsImpl(_ptr) : super(_ptr);
- /** @domName MediaError.code */
- abstract int get 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.
+ EventListenerList get abort => this['abort'];
-// WARNING: Do not edit - generated code.
+ EventListenerList get beforeUnload => this['beforeunload'];
-class _MediaErrorImpl extends NativeFieldWrapperClass1 implements MediaError {
+ EventListenerList get blur => this['blur'];
- int get code native "MediaError_code_Getter";
+ EventListenerList get canPlay => this['canplay'];
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ EventListenerList get canPlayThrough => this['canplaythrough'];
-// WARNING: Do not edit - generated code.
+ EventListenerList get change => this['change'];
-/// @domName MediaKeyError
-abstract class MediaKeyError {
+ EventListenerList get click => this['click'];
- static const int MEDIA_KEYERR_CLIENT = 2;
+ EventListenerList get contextMenu => this['contextmenu'];
- static const int MEDIA_KEYERR_DOMAIN = 6;
+ EventListenerList get doubleClick => this['dblclick'];
- static const int MEDIA_KEYERR_HARDWARECHANGE = 5;
+ EventListenerList get deviceMotion => this['devicemotion'];
- static const int MEDIA_KEYERR_OUTPUT = 4;
+ EventListenerList get deviceOrientation => this['deviceorientation'];
- static const int MEDIA_KEYERR_SERVICE = 3;
+ EventListenerList get drag => this['drag'];
- static const int MEDIA_KEYERR_UNKNOWN = 1;
+ EventListenerList get dragEnd => this['dragend'];
- /** @domName MediaKeyError.code */
- abstract int get 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.
+ EventListenerList get dragEnter => this['dragenter'];
-// WARNING: Do not edit - generated code.
+ EventListenerList get dragLeave => this['dragleave'];
-class _MediaKeyErrorImpl extends NativeFieldWrapperClass1 implements MediaKeyError {
+ EventListenerList get dragOver => this['dragover'];
- int get code native "MediaKeyError_code_Getter";
+ EventListenerList get dragStart => this['dragstart'];
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ EventListenerList get drop => this['drop'];
-// WARNING: Do not edit - generated code.
+ EventListenerList get durationChange => this['durationchange'];
-/// @domName MediaKeyEvent
-abstract class MediaKeyEvent implements Event {
+ EventListenerList get emptied => this['emptied'];
- /** @domName MediaKeyEvent.defaultURL */
- abstract String get defaultURL;
+ EventListenerList get ended => this['ended'];
- /** @domName MediaKeyEvent.errorCode */
- abstract MediaKeyError get errorCode;
+ EventListenerList get error => this['error'];
- /** @domName MediaKeyEvent.initData */
- abstract Uint8Array get initData;
+ EventListenerList get focus => this['focus'];
- /** @domName MediaKeyEvent.keySystem */
- abstract String get keySystem;
+ EventListenerList get hashChange => this['hashchange'];
- /** @domName MediaKeyEvent.message */
- abstract Uint8Array get message;
+ EventListenerList get input => this['input'];
- /** @domName MediaKeyEvent.sessionId */
- abstract String get sessionId;
+ EventListenerList get invalid => this['invalid'];
- /** @domName MediaKeyEvent.systemCode */
- abstract int get 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.
+ EventListenerList get keyDown => this['keydown'];
-// WARNING: Do not edit - generated code.
+ EventListenerList get keyPress => this['keypress'];
-class _MediaKeyEventImpl extends _EventImpl implements MediaKeyEvent {
+ EventListenerList get keyUp => this['keyup'];
- String get defaultURL native "MediaKeyEvent_defaultURL_Getter";
+ EventListenerList get load => this['load'];
- MediaKeyError get errorCode native "MediaKeyEvent_errorCode_Getter";
+ EventListenerList get loadedData => this['loadeddata'];
- Uint8Array get initData native "MediaKeyEvent_initData_Getter";
+ EventListenerList get loadedMetadata => this['loadedmetadata'];
- String get keySystem native "MediaKeyEvent_keySystem_Getter";
+ EventListenerList get loadStart => this['loadstart'];
- Uint8Array get message native "MediaKeyEvent_message_Getter";
+ EventListenerList get message => this['message'];
- String get sessionId native "MediaKeyEvent_sessionId_Getter";
+ EventListenerList get mouseDown => this['mousedown'];
- int get systemCode native "MediaKeyEvent_systemCode_Getter";
+ EventListenerList get mouseMove => this['mousemove'];
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ EventListenerList get mouseOut => this['mouseout'];
-// WARNING: Do not edit - generated code.
+ EventListenerList get mouseOver => this['mouseover'];
-/// @domName MediaList
-abstract class MediaList {
+ EventListenerList get mouseUp => this['mouseup'];
- /** @domName MediaList.length */
- abstract int get length;
+ EventListenerList get mouseWheel => this['mousewheel'];
- /** @domName MediaList.mediaText */
- String mediaText;
+ EventListenerList get offline => this['offline'];
- /** @domName MediaList.appendMedium */
- void appendMedium(String newMedium);
+ EventListenerList get online => this['online'];
- /** @domName MediaList.deleteMedium */
- void deleteMedium(String oldMedium);
+ EventListenerList get pageHide => this['pagehide'];
- /** @domName MediaList.item */
- 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.
+ EventListenerList get pageShow => this['pageshow'];
-// WARNING: Do not edit - generated code.
+ EventListenerList get pause => this['pause'];
-class _MediaListImpl extends NativeFieldWrapperClass1 implements MediaList {
+ EventListenerList get play => this['play'];
- int get length native "MediaList_length_Getter";
+ EventListenerList get playing => this['playing'];
- String get mediaText native "MediaList_mediaText_Getter";
+ EventListenerList get popState => this['popstate'];
- void set mediaText(String value) native "MediaList_mediaText_Setter";
+ EventListenerList get progress => this['progress'];
- void appendMedium(String newMedium) native "MediaList_appendMedium_Callback";
+ EventListenerList get rateChange => this['ratechange'];
- void deleteMedium(String oldMedium) native "MediaList_deleteMedium_Callback";
+ EventListenerList get reset => this['reset'];
- String item(int index) native "MediaList_item_Callback";
+ EventListenerList get resize => this['resize'];
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ EventListenerList get scroll => this['scroll'];
-// WARNING: Do not edit - generated code.
+ EventListenerList get search => this['search'];
-/// @domName MediaQueryList
-abstract class MediaQueryList {
+ EventListenerList get seeked => this['seeked'];
- /** @domName MediaQueryList.matches */
- abstract bool get matches;
+ EventListenerList get seeking => this['seeking'];
- /** @domName MediaQueryList.media */
- abstract String get media;
+ EventListenerList get select => this['select'];
- /** @domName MediaQueryList.addListener */
- void addListener(MediaQueryListListener listener);
+ EventListenerList get stalled => this['stalled'];
- /** @domName MediaQueryList.removeListener */
- 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.
+ EventListenerList get storage => this['storage'];
-// WARNING: Do not edit - generated code.
+ EventListenerList get submit => this['submit'];
-class _MediaQueryListImpl extends NativeFieldWrapperClass1 implements MediaQueryList {
+ EventListenerList get suspend => this['suspend'];
- bool get matches native "MediaQueryList_matches_Getter";
+ EventListenerList get timeUpdate => this['timeupdate'];
- String get media native "MediaQueryList_media_Getter";
+ EventListenerList get touchCancel => this['touchcancel'];
- void addListener(MediaQueryListListener listener) native "MediaQueryList_addListener_Callback";
+ EventListenerList get touchEnd => this['touchend'];
- void removeListener(MediaQueryListListener listener) native "MediaQueryList_removeListener_Callback";
+ EventListenerList get touchMove => this['touchmove'];
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ EventListenerList get touchStart => this['touchstart'];
-// WARNING: Do not edit - generated code.
+ EventListenerList get unload => this['unload'];
-/// @domName MediaQueryListListener
-abstract class MediaQueryListListener {
+ EventListenerList get volumeChange => this['volumechange'];
- /** @domName MediaQueryListListener.queryChanged */
- void queryChanged(MediaQueryList list);
+ EventListenerList get waiting => this['waiting'];
+
+ EventListenerList get animationEnd => this['webkitAnimationEnd'];
+
+ EventListenerList get animationIteration => this['webkitAnimationIteration'];
+
+ EventListenerList get animationStart => this['webkitAnimationStart'];
+
+ EventListenerList get transitionEnd => this['webkitTransitionEnd'];
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -21045,40 +20999,31 @@ abstract class MediaQueryListListener {
// WARNING: Do not edit - generated code.
-/// @domName MediaSource
-abstract class MediaSource implements EventTarget {
-
- factory MediaSource() => _MediaSourceFactoryProvider.createMediaSource();
-
- /** @domName MediaSource.activeSourceBuffers */
- abstract SourceBufferList get activeSourceBuffers;
+/// @domName HTMLMapElement
+abstract class MapElement implements Element {
- /** @domName MediaSource.duration */
- num duration;
+ factory MapElement() => _Elements.createMapElement();
- /** @domName MediaSource.readyState */
- abstract String get readyState;
+ /** @domName HTMLMapElement.areas */
+ abstract HTMLCollection get areas;
- /** @domName MediaSource.sourceBuffers */
- abstract SourceBufferList get sourceBuffers;
+ /** @domName HTMLMapElement.name */
+ 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.
- /** @domName MediaSource.addEventListener */
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
+// WARNING: Do not edit - generated code.
- /** @domName MediaSource.addSourceBuffer */
- SourceBuffer addSourceBuffer(String type);
+class _HTMLMapElementImpl extends _HTMLElementImpl implements MapElement {
- /** @domName MediaSource.dispatchEvent */
- bool $dom_dispatchEvent(Event event);
+ HTMLCollection get areas native "HTMLMapElement_areas_Getter";
- /** @domName MediaSource.endOfStream */
- void endOfStream(String error);
+ String get name native "HTMLMapElement_name_Getter";
- /** @domName MediaSource.removeEventListener */
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
+ void set name(String value) native "HTMLMapElement_name_Setter";
- /** @domName MediaSource.removeSourceBuffer */
- 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
@@ -21086,30 +21031,47 @@ abstract class MediaSource implements EventTarget {
// WARNING: Do not edit - generated code.
-class _MediaSourceImpl extends _EventTargetImpl implements MediaSource {
+/// @domName HTMLMarqueeElement
+abstract class MarqueeElement implements Element {
- SourceBufferList get activeSourceBuffers native "MediaSource_activeSourceBuffers_Getter";
+ /** @domName HTMLMarqueeElement.behavior */
+ String behavior;
- num get duration native "MediaSource_duration_Getter";
+ /** @domName HTMLMarqueeElement.bgColor */
+ String bgColor;
- void set duration(num value) native "MediaSource_duration_Setter";
+ /** @domName HTMLMarqueeElement.direction */
+ String direction;
- String get readyState native "MediaSource_readyState_Getter";
+ /** @domName HTMLMarqueeElement.height */
+ String height;
- SourceBufferList get sourceBuffers native "MediaSource_sourceBuffers_Getter";
+ /** @domName HTMLMarqueeElement.hspace */
+ int hspace;
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "MediaSource_addEventListener_Callback";
+ /** @domName HTMLMarqueeElement.loop */
+ int loop;
- SourceBuffer addSourceBuffer(String type) native "MediaSource_addSourceBuffer_Callback";
+ /** @domName HTMLMarqueeElement.scrollAmount */
+ int scrollAmount;
- bool $dom_dispatchEvent(Event event) native "MediaSource_dispatchEvent_Callback";
+ /** @domName HTMLMarqueeElement.scrollDelay */
+ int scrollDelay;
- void endOfStream(String error) native "MediaSource_endOfStream_Callback";
+ /** @domName HTMLMarqueeElement.trueSpeed */
+ bool trueSpeed;
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "MediaSource_removeEventListener_Callback";
+ /** @domName HTMLMarqueeElement.vspace */
+ int vspace;
- void removeSourceBuffer(SourceBuffer buffer) native "MediaSource_removeSourceBuffer_Callback";
+ /** @domName HTMLMarqueeElement.width */
+ String width;
+
+ /** @domName HTMLMarqueeElement.start */
+ void start();
+ /** @domName HTMLMarqueeElement.stop */
+ 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
@@ -21117,80 +21079,56 @@ class _MediaSourceImpl extends _EventTargetImpl implements MediaSource {
// WARNING: Do not edit - generated code.
-/// @domName MediaStream
-abstract class MediaStream implements EventTarget {
+class _HTMLMarqueeElementImpl extends _HTMLElementImpl implements MarqueeElement {
- factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks) => _MediaStreamFactoryProvider.createMediaStream(audioTracks, videoTracks);
+ String get behavior native "HTMLMarqueeElement_behavior_Getter";
- /**
- * @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
- */
- MediaStreamEvents get on;
+ void set behavior(String value) native "HTMLMarqueeElement_behavior_Setter";
- static const int ENDED = 2;
+ String get bgColor native "HTMLMarqueeElement_bgColor_Getter";
- static const int LIVE = 1;
+ void set bgColor(String value) native "HTMLMarqueeElement_bgColor_Setter";
- /** @domName MediaStream.audioTracks */
- abstract MediaStreamTrackList get audioTracks;
+ String get direction native "HTMLMarqueeElement_direction_Getter";
- /** @domName MediaStream.label */
- abstract String get label;
+ void set direction(String value) native "HTMLMarqueeElement_direction_Setter";
- /** @domName MediaStream.readyState */
- abstract int get readyState;
+ String get height native "HTMLMarqueeElement_height_Getter";
- /** @domName MediaStream.videoTracks */
- abstract MediaStreamTrackList get videoTracks;
+ void set height(String value) native "HTMLMarqueeElement_height_Setter";
- /** @domName MediaStream.addEventListener */
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
+ int get hspace native "HTMLMarqueeElement_hspace_Getter";
- /** @domName MediaStream.dispatchEvent */
- bool $dom_dispatchEvent(Event event);
+ void set hspace(int value) native "HTMLMarqueeElement_hspace_Setter";
- /** @domName MediaStream.removeEventListener */
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
-}
+ int get loop native "HTMLMarqueeElement_loop_Getter";
-abstract class MediaStreamEvents implements Events {
+ void set loop(int value) native "HTMLMarqueeElement_loop_Setter";
- EventListenerList get ended;
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ int get scrollAmount native "HTMLMarqueeElement_scrollAmount_Getter";
-// WARNING: Do not edit - generated code.
+ void set scrollAmount(int value) native "HTMLMarqueeElement_scrollAmount_Setter";
-/// @domName MediaStreamAudioSourceNode
-abstract class MediaStreamAudioSourceNode implements AudioSourceNode {
+ int get scrollDelay native "HTMLMarqueeElement_scrollDelay_Getter";
- /** @domName MediaStreamAudioSourceNode.mediaStream */
- abstract MediaStream get 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.
+ void set scrollDelay(int value) native "HTMLMarqueeElement_scrollDelay_Setter";
-// WARNING: Do not edit - generated code.
+ bool get trueSpeed native "HTMLMarqueeElement_trueSpeed_Getter";
-class _MediaStreamAudioSourceNodeImpl extends _AudioSourceNodeImpl implements MediaStreamAudioSourceNode {
+ void set trueSpeed(bool value) native "HTMLMarqueeElement_trueSpeed_Setter";
- MediaStream get mediaStream native "MediaStreamAudioSourceNode_mediaStream_Getter";
+ int get vspace native "HTMLMarqueeElement_vspace_Getter";
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ void set vspace(int value) native "HTMLMarqueeElement_vspace_Setter";
-// WARNING: Do not edit - generated code.
+ String get width native "HTMLMarqueeElement_width_Getter";
-/// @domName MediaStreamEvent
-abstract class MediaStreamEvent implements Event {
+ void set width(String value) native "HTMLMarqueeElement_width_Setter";
+
+ void start() native "HTMLMarqueeElement_start_Callback";
+
+ void stop() native "HTMLMarqueeElement_stop_Callback";
- /** @domName MediaStreamEvent.stream */
- abstract MediaStream get 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
@@ -21198,42 +21136,55 @@ abstract class MediaStreamEvent implements Event {
// WARNING: Do not edit - generated code.
-class _MediaStreamEventImpl extends _EventImpl implements MediaStreamEvent {
+/// @domName MediaController
+abstract class MediaController implements EventTarget {
- MediaStream get stream native "MediaStreamEvent_stream_Getter";
+ factory MediaController() => _MediaControllerFactoryProvider.createMediaController();
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ /** @domName MediaController.buffered */
+ abstract TimeRanges get buffered;
-// WARNING: Do not edit - generated code.
+ /** @domName MediaController.currentTime */
+ num currentTime;
-class _MediaStreamImpl extends _EventTargetImpl implements MediaStream {
+ /** @domName MediaController.defaultPlaybackRate */
+ num defaultPlaybackRate;
- _MediaStreamEventsImpl get on =>
- new _MediaStreamEventsImpl(this);
+ /** @domName MediaController.duration */
+ abstract num get duration;
- MediaStreamTrackList get audioTracks native "MediaStream_audioTracks_Getter";
+ /** @domName MediaController.muted */
+ bool muted;
- String get label native "MediaStream_label_Getter";
+ /** @domName MediaController.paused */
+ abstract bool get paused;
- int get readyState native "MediaStream_readyState_Getter";
+ /** @domName MediaController.playbackRate */
+ num playbackRate;
- MediaStreamTrackList get videoTracks native "MediaStream_videoTracks_Getter";
+ /** @domName MediaController.played */
+ abstract TimeRanges get played;
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "MediaStream_addEventListener_Callback";
+ /** @domName MediaController.seekable */
+ abstract TimeRanges get seekable;
- bool $dom_dispatchEvent(Event event) native "MediaStream_dispatchEvent_Callback";
+ /** @domName MediaController.volume */
+ num volume;
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "MediaStream_removeEventListener_Callback";
+ /** @domName MediaController.addEventListener */
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
-}
+ /** @domName MediaController.dispatchEvent */
+ bool $dom_dispatchEvent(Event evt);
-class _MediaStreamEventsImpl extends _EventsImpl implements MediaStreamEvents {
- _MediaStreamEventsImpl(_ptr) : super(_ptr);
+ /** @domName MediaController.pause */
+ void pause();
- EventListenerList get ended => this['ended'];
+ /** @domName MediaController.play */
+ void play();
+
+ /** @domName MediaController.removeEventListener */
+ void $dom_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
@@ -21241,92 +21192,47 @@ class _MediaStreamEventsImpl extends _EventsImpl implements MediaStreamEvents {
// WARNING: Do not edit - generated code.
-class _MediaStreamListImpl extends NativeFieldWrapperClass1 implements List<MediaStream> {
-
- int get length native "MediaStreamList_length_Getter";
-
- MediaStream operator[](int index) native "MediaStreamList_item_Callback";
-
- void operator[]=(int index, MediaStream value) {
- throw new UnsupportedOperationException("Cannot assign element of immutable List.");
- }
- // -- start List<MediaStream> mixins.
- // MediaStream is the element type.
-
- // From Iterable<MediaStream>:
-
- Iterator<MediaStream> 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<MediaStream>(this);
- }
-
- // From Collection<MediaStream>:
-
- void add(MediaStream value) {
- throw const UnsupportedOperationException("Cannot add to immutable List.");
- }
+class _MediaControllerImpl extends _EventTargetImpl implements MediaController {
- void addLast(MediaStream value) {
- throw const UnsupportedOperationException("Cannot add to immutable List.");
- }
+ TimeRanges get buffered native "MediaController_buffered_Getter";
- void addAll(Collection<MediaStream> collection) {
- throw const UnsupportedOperationException("Cannot add to immutable List.");
- }
+ num get currentTime native "MediaController_currentTime_Getter";
- void forEach(void f(MediaStream element)) => _Collections.forEach(this, f);
+ void set currentTime(num value) native "MediaController_currentTime_Setter";
- Collection map(f(MediaStream element)) => _Collections.map(this, [], f);
+ num get defaultPlaybackRate native "MediaController_defaultPlaybackRate_Getter";
- Collection<MediaStream> filter(bool f(MediaStream element)) =>
- _Collections.filter(this, <MediaStream>[], f);
+ void set defaultPlaybackRate(num value) native "MediaController_defaultPlaybackRate_Setter";
- bool every(bool f(MediaStream element)) => _Collections.every(this, f);
+ num get duration native "MediaController_duration_Getter";
- bool some(bool f(MediaStream element)) => _Collections.some(this, f);
+ bool get muted native "MediaController_muted_Getter";
- bool isEmpty() => this.length == 0;
+ void set muted(bool value) native "MediaController_muted_Setter";
- // From List<MediaStream>:
+ bool get paused native "MediaController_paused_Getter";
- void sort(int compare(MediaStream a, MediaStream b)) {
- throw const UnsupportedOperationException("Cannot sort immutable List.");
- }
+ num get playbackRate native "MediaController_playbackRate_Getter";
- int indexOf(MediaStream element, [int start = 0]) =>
- _Lists.indexOf(this, element, start, this.length);
+ void set playbackRate(num value) native "MediaController_playbackRate_Setter";
- int lastIndexOf(MediaStream element, [int start]) {
- if (start === null) start = length - 1;
- return _Lists.lastIndexOf(this, element, start);
- }
+ TimeRanges get played native "MediaController_played_Getter";
- MediaStream last() => this[length - 1];
+ TimeRanges get seekable native "MediaController_seekable_Getter";
- MediaStream removeLast() {
- throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
- }
+ num get volume native "MediaController_volume_Getter";
- void setRange(int start, int rangeLength, List<MediaStream> from, [int startFrom]) {
- throw const UnsupportedOperationException("Cannot setRange on immutable List.");
- }
+ void set volume(num value) native "MediaController_volume_Setter";
- void removeRange(int start, int rangeLength) {
- throw const UnsupportedOperationException("Cannot removeRange on immutable List.");
- }
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "MediaController_addEventListener_Callback";
- void insertRange(int start, int rangeLength, [MediaStream initialValue]) {
- throw const UnsupportedOperationException("Cannot insertRange on immutable List.");
- }
+ bool $dom_dispatchEvent(Event evt) native "MediaController_dispatchEvent_Callback";
- List<MediaStream> getRange(int start, int rangeLength) =>
- _Lists.getRange(this, start, rangeLength, <MediaStream>[]);
+ void pause() native "MediaController_pause_Callback";
- // -- end List<MediaStream> mixins.
+ void play() native "MediaController_play_Callback";
- MediaStream item(int index) native "MediaStreamList_item_Callback";
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "MediaController_removeEventListener_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -21335,219 +21241,204 @@ class _MediaStreamListImpl extends NativeFieldWrapperClass1 implements List<Medi
// WARNING: Do not edit - generated code.
-/// @domName MediaStreamTrack
-abstract class MediaStreamTrack implements EventTarget {
+/// @domName HTMLMediaElement
+abstract class MediaElement implements Element {
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
*/
- MediaStreamTrackEvents get on;
+ MediaElementEvents get on;
- static const int ENDED = 2;
+ static const int HAVE_CURRENT_DATA = 2;
- static const int LIVE = 0;
+ static const int HAVE_ENOUGH_DATA = 4;
- static const int MUTED = 1;
+ static const int HAVE_FUTURE_DATA = 3;
- /** @domName MediaStreamTrack.enabled */
- bool enabled;
+ static const int HAVE_METADATA = 1;
- /** @domName MediaStreamTrack.kind */
- abstract String get kind;
+ static const int HAVE_NOTHING = 0;
- /** @domName MediaStreamTrack.label */
- abstract String get label;
+ static const int NETWORK_EMPTY = 0;
- /** @domName MediaStreamTrack.readyState */
- abstract int get readyState;
+ static const int NETWORK_IDLE = 1;
- /** @domName MediaStreamTrack.addEventListener */
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
+ static const int NETWORK_LOADING = 2;
- /** @domName MediaStreamTrack.dispatchEvent */
- bool $dom_dispatchEvent(Event event);
+ static const int NETWORK_NO_SOURCE = 3;
- /** @domName MediaStreamTrack.removeEventListener */
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
-}
+ /** @domName HTMLMediaElement.autoplay */
+ bool autoplay;
-abstract class MediaStreamTrackEvents implements Events {
+ /** @domName HTMLMediaElement.buffered */
+ abstract TimeRanges get buffered;
- EventListenerList get ended;
+ /** @domName HTMLMediaElement.controller */
+ MediaController controller;
- EventListenerList get mute;
+ /** @domName HTMLMediaElement.controls */
+ bool controls;
- EventListenerList get unmute;
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ /** @domName HTMLMediaElement.currentSrc */
+ abstract String get currentSrc;
-// WARNING: Do not edit - generated code.
+ /** @domName HTMLMediaElement.currentTime */
+ num currentTime;
-/// @domName MediaStreamTrackEvent
-abstract class MediaStreamTrackEvent implements Event {
+ /** @domName HTMLMediaElement.defaultMuted */
+ bool defaultMuted;
- /** @domName MediaStreamTrackEvent.track */
- abstract MediaStreamTrack get 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.
+ /** @domName HTMLMediaElement.defaultPlaybackRate */
+ num defaultPlaybackRate;
-// WARNING: Do not edit - generated code.
+ /** @domName HTMLMediaElement.duration */
+ abstract num get duration;
-class _MediaStreamTrackEventImpl extends _EventImpl implements MediaStreamTrackEvent {
+ /** @domName HTMLMediaElement.ended */
+ abstract bool get ended;
- MediaStreamTrack get track native "MediaStreamTrackEvent_track_Getter";
+ /** @domName HTMLMediaElement.error */
+ abstract MediaError get 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.
+ /** @domName HTMLMediaElement.initialTime */
+ abstract num get initialTime;
-// WARNING: Do not edit - generated code.
+ /** @domName HTMLMediaElement.loop */
+ bool loop;
-class _MediaStreamTrackImpl extends _EventTargetImpl implements MediaStreamTrack {
+ /** @domName HTMLMediaElement.mediaGroup */
+ String mediaGroup;
- _MediaStreamTrackEventsImpl get on =>
- new _MediaStreamTrackEventsImpl(this);
+ /** @domName HTMLMediaElement.muted */
+ bool muted;
- bool get enabled native "MediaStreamTrack_enabled_Getter";
+ /** @domName HTMLMediaElement.networkState */
+ abstract int get networkState;
- void set enabled(bool value) native "MediaStreamTrack_enabled_Setter";
+ /** @domName HTMLMediaElement.paused */
+ abstract bool get paused;
- String get kind native "MediaStreamTrack_kind_Getter";
+ /** @domName HTMLMediaElement.playbackRate */
+ num playbackRate;
- String get label native "MediaStreamTrack_label_Getter";
+ /** @domName HTMLMediaElement.played */
+ abstract TimeRanges get played;
- int get readyState native "MediaStreamTrack_readyState_Getter";
+ /** @domName HTMLMediaElement.preload */
+ String preload;
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "MediaStreamTrack_addEventListener_Callback";
+ /** @domName HTMLMediaElement.readyState */
+ abstract int get readyState;
- bool $dom_dispatchEvent(Event event) native "MediaStreamTrack_dispatchEvent_Callback";
+ /** @domName HTMLMediaElement.seekable */
+ abstract TimeRanges get seekable;
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "MediaStreamTrack_removeEventListener_Callback";
+ /** @domName HTMLMediaElement.seeking */
+ abstract bool get seeking;
-}
+ /** @domName HTMLMediaElement.src */
+ String src;
-class _MediaStreamTrackEventsImpl extends _EventsImpl implements MediaStreamTrackEvents {
- _MediaStreamTrackEventsImpl(_ptr) : super(_ptr);
+ /** @domName HTMLMediaElement.startTime */
+ abstract num get startTime;
- EventListenerList get ended => this['ended'];
+ /** @domName HTMLMediaElement.textTracks */
+ abstract TextTrackList get textTracks;
- EventListenerList get mute => this['mute'];
-
- EventListenerList get unmute => this['unmute'];
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ /** @domName HTMLMediaElement.volume */
+ num volume;
-// WARNING: Do not edit - generated code.
+ /** @domName HTMLMediaElement.webkitAudioDecodedByteCount */
+ abstract int get webkitAudioDecodedByteCount;
-/// @domName MediaStreamTrackList
-abstract class MediaStreamTrackList implements EventTarget {
+ /** @domName HTMLMediaElement.webkitClosedCaptionsVisible */
+ bool webkitClosedCaptionsVisible;
- /**
- * @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
- */
- MediaStreamTrackListEvents get on;
+ /** @domName HTMLMediaElement.webkitHasClosedCaptions */
+ abstract bool get webkitHasClosedCaptions;
- /** @domName MediaStreamTrackList.length */
- abstract int get length;
+ /** @domName HTMLMediaElement.webkitPreservesPitch */
+ bool webkitPreservesPitch;
- /** @domName MediaStreamTrackList.add */
- void add(MediaStreamTrack track);
+ /** @domName HTMLMediaElement.webkitVideoDecodedByteCount */
+ abstract int get webkitVideoDecodedByteCount;
- /** @domName MediaStreamTrackList.addEventListener */
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
+ /** @domName HTMLMediaElement.addTextTrack */
+ TextTrack addTextTrack(String kind, [String label, String language]);
- /** @domName MediaStreamTrackList.dispatchEvent */
- bool $dom_dispatchEvent(Event event);
+ /** @domName HTMLMediaElement.canPlayType */
+ String canPlayType(String type, String keySystem);
- /** @domName MediaStreamTrackList.item */
- MediaStreamTrack item(int index);
+ /** @domName HTMLMediaElement.load */
+ void load();
- /** @domName MediaStreamTrackList.remove */
- void remove(MediaStreamTrack track);
+ /** @domName HTMLMediaElement.pause */
+ void pause();
- /** @domName MediaStreamTrackList.removeEventListener */
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
-}
+ /** @domName HTMLMediaElement.play */
+ void play();
-abstract class MediaStreamTrackListEvents implements Events {
+ /** @domName HTMLMediaElement.webkitAddKey */
+ void webkitAddKey(String keySystem, Uint8Array key, [Uint8Array initData, String sessionId]);
- EventListenerList get addTrack;
+ /** @domName HTMLMediaElement.webkitCancelKeyRequest */
+ void webkitCancelKeyRequest(String keySystem, String sessionId);
- EventListenerList get removeTrack;
+ /** @domName HTMLMediaElement.webkitGenerateKeyRequest */
+ 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.
+abstract class MediaElementEvents implements ElementEvents {
-class _MediaStreamTrackListImpl extends _EventTargetImpl implements MediaStreamTrackList {
+ EventListenerList get canPlay;
- _MediaStreamTrackListEventsImpl get on =>
- new _MediaStreamTrackListEventsImpl(this);
+ EventListenerList get canPlayThrough;
- int get length native "MediaStreamTrackList_length_Getter";
+ EventListenerList get durationChange;
- void add(MediaStreamTrack track) native "MediaStreamTrackList_add_Callback";
+ EventListenerList get emptied;
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "MediaStreamTrackList_addEventListener_Callback";
+ EventListenerList get ended;
- bool $dom_dispatchEvent(Event event) native "MediaStreamTrackList_dispatchEvent_Callback";
+ EventListenerList get loadedData;
- MediaStreamTrack item(int index) native "MediaStreamTrackList_item_Callback";
+ EventListenerList get loadedMetadata;
- void remove(MediaStreamTrack track) native "MediaStreamTrackList_remove_Callback";
+ EventListenerList get loadStart;
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "MediaStreamTrackList_removeEventListener_Callback";
+ EventListenerList get pause;
-}
+ EventListenerList get play;
-class _MediaStreamTrackListEventsImpl extends _EventsImpl implements MediaStreamTrackListEvents {
- _MediaStreamTrackListEventsImpl(_ptr) : super(_ptr);
+ EventListenerList get playing;
- EventListenerList get addTrack => this['addtrack'];
+ EventListenerList get progress;
- EventListenerList get removeTrack => this['removetrack'];
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ EventListenerList get rateChange;
-// WARNING: Do not edit - generated code.
+ EventListenerList get seeked;
-/// @domName MemoryInfo
-abstract class MemoryInfo {
+ EventListenerList get seeking;
- /** @domName MemoryInfo.jsHeapSizeLimit */
- abstract int get jsHeapSizeLimit;
+ EventListenerList get show;
- /** @domName MemoryInfo.totalJSHeapSize */
- abstract int get totalJSHeapSize;
+ EventListenerList get stalled;
- /** @domName MemoryInfo.usedJSHeapSize */
- abstract int get 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.
+ EventListenerList get suspend;
-// WARNING: Do not edit - generated code.
+ EventListenerList get timeUpdate;
-class _MemoryInfoImpl extends NativeFieldWrapperClass1 implements MemoryInfo {
+ EventListenerList get volumeChange;
- int get jsHeapSizeLimit native "MemoryInfo_jsHeapSizeLimit_Getter";
+ EventListenerList get waiting;
- int get totalJSHeapSize native "MemoryInfo_totalJSHeapSize_Getter";
+ EventListenerList get keyAdded;
- int get usedJSHeapSize native "MemoryInfo_usedJSHeapSize_Getter";
+ EventListenerList get keyError;
+
+ EventListenerList get keyMessage;
+ EventListenerList get needKey;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -21555,13 +21446,11 @@ class _MemoryInfoImpl extends NativeFieldWrapperClass1 implements MemoryInfo {
// WARNING: Do not edit - generated code.
-/// @domName HTMLMenuElement
-abstract class MenuElement implements Element {
-
- factory MenuElement() => _Elements.createMenuElement();
+/// @domName MediaElementAudioSourceNode
+abstract class MediaElementAudioSourceNode implements AudioSourceNode {
- /** @domName HTMLMenuElement.compact */
- bool compact;
+ /** @domName MediaElementAudioSourceNode.mediaElement */
+ abstract MediaElement get 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
@@ -21569,11 +21458,9 @@ abstract class MenuElement implements Element {
// WARNING: Do not edit - generated code.
-class _HTMLMenuElementImpl extends _HTMLElementImpl implements MenuElement {
-
- bool get compact native "HTMLMenuElement_compact_Getter";
+class _MediaElementAudioSourceNodeImpl extends _AudioSourceNodeImpl implements MediaElementAudioSourceNode {
- void set compact(bool value) native "HTMLMenuElement_compact_Setter";
+ MediaElement get mediaElement native "MediaElementAudioSourceNode_mediaElement_Getter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -21582,230 +21469,209 @@ class _HTMLMenuElementImpl extends _HTMLElementImpl implements MenuElement {
// WARNING: Do not edit - generated code.
-/// @domName MessageChannel
-abstract class MessageChannel {
+class _HTMLMediaElementImpl extends _HTMLElementImpl implements MediaElement {
- factory MessageChannel() => _MessageChannelFactoryProvider.createMessageChannel();
+ _MediaElementEventsImpl get on =>
+ new _MediaElementEventsImpl(this);
- /** @domName MessageChannel.port1 */
- abstract MessagePort get port1;
+ bool get autoplay native "HTMLMediaElement_autoplay_Getter";
- /** @domName MessageChannel.port2 */
- abstract MessagePort get 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.
+ void set autoplay(bool value) native "HTMLMediaElement_autoplay_Setter";
-// WARNING: Do not edit - generated code.
+ TimeRanges get buffered native "HTMLMediaElement_buffered_Getter";
-class _MessageChannelImpl extends NativeFieldWrapperClass1 implements MessageChannel {
+ MediaController get controller native "HTMLMediaElement_controller_Getter";
- MessagePort get port1 native "MessageChannel_port1_Getter";
+ void set controller(MediaController value) native "HTMLMediaElement_controller_Setter";
- MessagePort get port2 native "MessageChannel_port2_Getter";
+ bool get controls native "HTMLMediaElement_controls_Getter";
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ void set controls(bool value) native "HTMLMediaElement_controls_Setter";
-// WARNING: Do not edit - generated code.
+ String get currentSrc native "HTMLMediaElement_currentSrc_Getter";
-/// @domName MessageEvent
-abstract class MessageEvent implements Event {
+ num get currentTime native "HTMLMediaElement_currentTime_Getter";
- /** @domName MessageEvent.data */
- abstract Object get data;
+ void set currentTime(num value) native "HTMLMediaElement_currentTime_Setter";
- /** @domName MessageEvent.lastEventId */
- abstract String get lastEventId;
+ bool get defaultMuted native "HTMLMediaElement_defaultMuted_Getter";
- /** @domName MessageEvent.origin */
- abstract String get origin;
+ void set defaultMuted(bool value) native "HTMLMediaElement_defaultMuted_Setter";
- /** @domName MessageEvent.ports */
- abstract List get ports;
+ num get defaultPlaybackRate native "HTMLMediaElement_defaultPlaybackRate_Getter";
- /** @domName MessageEvent.source */
- abstract Window get source;
+ void set defaultPlaybackRate(num value) native "HTMLMediaElement_defaultPlaybackRate_Setter";
- /** @domName MessageEvent.initMessageEvent */
- void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Object dataArg, String originArg, String lastEventIdArg, Window sourceArg, List messagePorts);
+ num get duration native "HTMLMediaElement_duration_Getter";
- /** @domName MessageEvent.webkitInitMessageEvent */
- void webkitInitMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Object dataArg, String originArg, String lastEventIdArg, Window 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.
+ bool get ended native "HTMLMediaElement_ended_Getter";
-// WARNING: Do not edit - generated code.
+ MediaError get error native "HTMLMediaElement_error_Getter";
-class _MessageEventImpl extends _EventImpl implements MessageEvent {
+ num get initialTime native "HTMLMediaElement_initialTime_Getter";
- Object get data native "MessageEvent_data_Getter";
+ bool get loop native "HTMLMediaElement_loop_Getter";
- String get lastEventId native "MessageEvent_lastEventId_Getter";
+ void set loop(bool value) native "HTMLMediaElement_loop_Setter";
- String get origin native "MessageEvent_origin_Getter";
+ String get mediaGroup native "HTMLMediaElement_mediaGroup_Getter";
- List get ports native "MessageEvent_ports_Getter";
+ void set mediaGroup(String value) native "HTMLMediaElement_mediaGroup_Setter";
- Window get source native "MessageEvent_source_Getter";
+ bool get muted native "HTMLMediaElement_muted_Getter";
- void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Object dataArg, String originArg, String lastEventIdArg, Window sourceArg, List messagePorts) native "MessageEvent_initMessageEvent_Callback";
+ void set muted(bool value) native "HTMLMediaElement_muted_Setter";
- void webkitInitMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Object dataArg, String originArg, String lastEventIdArg, Window sourceArg, List transferables) native "MessageEvent_webkitInitMessageEvent_Callback";
+ int get networkState native "HTMLMediaElement_networkState_Getter";
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ bool get paused native "HTMLMediaElement_paused_Getter";
-// WARNING: Do not edit - generated code.
+ num get playbackRate native "HTMLMediaElement_playbackRate_Getter";
-/// @domName MessagePort
-abstract class MessagePort implements EventTarget {
+ void set playbackRate(num value) native "HTMLMediaElement_playbackRate_Setter";
- /**
- * @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
- */
- MessagePortEvents get on;
+ TimeRanges get played native "HTMLMediaElement_played_Getter";
- /** @domName MessagePort.addEventListener */
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
+ String get preload native "HTMLMediaElement_preload_Getter";
- /** @domName MessagePort.close */
- void close();
+ void set preload(String value) native "HTMLMediaElement_preload_Setter";
- /** @domName MessagePort.dispatchEvent */
- bool $dom_dispatchEvent(Event evt);
+ int get readyState native "HTMLMediaElement_readyState_Getter";
- /** @domName MessagePort.postMessage */
- void postMessage(Object message, [List messagePorts]);
+ TimeRanges get seekable native "HTMLMediaElement_seekable_Getter";
- /** @domName MessagePort.removeEventListener */
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
+ bool get seeking native "HTMLMediaElement_seeking_Getter";
- /** @domName MessagePort.start */
- void start();
-}
+ String get src native "HTMLMediaElement_src_Getter";
-abstract class MessagePortEvents implements Events {
+ void set src(String value) native "HTMLMediaElement_src_Setter";
- EventListenerList get 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.
+ num get startTime native "HTMLMediaElement_startTime_Getter";
-// WARNING: Do not edit - generated code.
+ TextTrackList get textTracks native "HTMLMediaElement_textTracks_Getter";
-class _MessagePortImpl extends _EventTargetImpl implements MessagePort {
+ num get volume native "HTMLMediaElement_volume_Getter";
- _MessagePortEventsImpl get on =>
- new _MessagePortEventsImpl(this);
+ void set volume(num value) native "HTMLMediaElement_volume_Setter";
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "MessagePort_addEventListener_Callback";
+ int get webkitAudioDecodedByteCount native "HTMLMediaElement_webkitAudioDecodedByteCount_Getter";
- void close() native "MessagePort_close_Callback";
+ bool get webkitClosedCaptionsVisible native "HTMLMediaElement_webkitClosedCaptionsVisible_Getter";
- bool $dom_dispatchEvent(Event evt) native "MessagePort_dispatchEvent_Callback";
+ void set webkitClosedCaptionsVisible(bool value) native "HTMLMediaElement_webkitClosedCaptionsVisible_Setter";
- void postMessage(Object message, [List messagePorts]) native "MessagePort_postMessage_Callback";
+ bool get webkitHasClosedCaptions native "HTMLMediaElement_webkitHasClosedCaptions_Getter";
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "MessagePort_removeEventListener_Callback";
+ bool get webkitPreservesPitch native "HTMLMediaElement_webkitPreservesPitch_Getter";
- void start() native "MessagePort_start_Callback";
+ void set webkitPreservesPitch(bool value) native "HTMLMediaElement_webkitPreservesPitch_Setter";
-}
+ int get webkitVideoDecodedByteCount native "HTMLMediaElement_webkitVideoDecodedByteCount_Getter";
-class _MessagePortEventsImpl extends _EventsImpl implements MessagePortEvents {
- _MessagePortEventsImpl(_ptr) : super(_ptr);
+ TextTrack addTextTrack(kind, [label, language]) {
+ if (?language) {
+ return _addTextTrack_1(kind, label, language);
+ }
+ if (?label) {
+ return _addTextTrack_2(kind, label);
+ }
+ return _addTextTrack_3(kind);
+ }
- EventListenerList get message => this['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.
+ TextTrack _addTextTrack_1(kind, label, language) native "HTMLMediaElement_addTextTrack_1_Callback";
-// WARNING: Do not edit - generated code.
+ TextTrack _addTextTrack_2(kind, label) native "HTMLMediaElement_addTextTrack_2_Callback";
-/// @domName HTMLMetaElement
-abstract class MetaElement implements Element {
+ TextTrack _addTextTrack_3(kind) native "HTMLMediaElement_addTextTrack_3_Callback";
- /** @domName HTMLMetaElement.content */
- String content;
+ String canPlayType(String type, String keySystem) native "HTMLMediaElement_canPlayType_Callback";
- /** @domName HTMLMetaElement.httpEquiv */
- String httpEquiv;
+ void load() native "HTMLMediaElement_load_Callback";
- /** @domName HTMLMetaElement.name */
- String name;
+ void pause() native "HTMLMediaElement_pause_Callback";
+
+ void play() native "HTMLMediaElement_play_Callback";
+
+ void webkitAddKey(keySystem, key, [initData, sessionId]) {
+ if (?initData) {
+ _webkitAddKey_1(keySystem, key, initData, sessionId);
+ return;
+ }
+ _webkitAddKey_2(keySystem, key);
+ }
+
+ void _webkitAddKey_1(keySystem, key, initData, sessionId) native "HTMLMediaElement_webkitAddKey_1_Callback";
+
+ void _webkitAddKey_2(keySystem, key) native "HTMLMediaElement_webkitAddKey_2_Callback";
+
+ void webkitCancelKeyRequest(String keySystem, String sessionId) native "HTMLMediaElement_webkitCancelKeyRequest_Callback";
+
+ void webkitGenerateKeyRequest(keySystem, [initData]) {
+ if (?initData) {
+ _webkitGenerateKeyRequest_1(keySystem, initData);
+ return;
+ }
+ _webkitGenerateKeyRequest_2(keySystem);
+ }
+
+ void _webkitGenerateKeyRequest_1(keySystem, initData) native "HTMLMediaElement_webkitGenerateKeyRequest_1_Callback";
+
+ void _webkitGenerateKeyRequest_2(keySystem) native "HTMLMediaElement_webkitGenerateKeyRequest_2_Callback";
- /** @domName HTMLMetaElement.scheme */
- 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.
+class _MediaElementEventsImpl extends _ElementEventsImpl implements MediaElementEvents {
+ _MediaElementEventsImpl(_ptr) : super(_ptr);
-class _HTMLMetaElementImpl extends _HTMLElementImpl implements MetaElement {
+ EventListenerList get canPlay => this['canplay'];
- String get content native "HTMLMetaElement_content_Getter";
+ EventListenerList get canPlayThrough => this['canplaythrough'];
- void set content(String value) native "HTMLMetaElement_content_Setter";
+ EventListenerList get durationChange => this['durationchange'];
- String get httpEquiv native "HTMLMetaElement_httpEquiv_Getter";
+ EventListenerList get emptied => this['emptied'];
- void set httpEquiv(String value) native "HTMLMetaElement_httpEquiv_Setter";
+ EventListenerList get ended => this['ended'];
- String get name native "HTMLMetaElement_name_Getter";
+ EventListenerList get loadedData => this['loadeddata'];
- void set name(String value) native "HTMLMetaElement_name_Setter";
+ EventListenerList get loadedMetadata => this['loadedmetadata'];
- String get scheme native "HTMLMetaElement_scheme_Getter";
+ EventListenerList get loadStart => this['loadstart'];
- void set scheme(String value) native "HTMLMetaElement_scheme_Setter";
+ EventListenerList get pause => this['pause'];
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ EventListenerList get play => this['play'];
-// WARNING: Do not edit - generated code.
+ EventListenerList get playing => this['playing'];
-/// @domName Metadata
-abstract class Metadata {
+ EventListenerList get progress => this['progress'];
- /** @domName Metadata.modificationTime */
- abstract Date get modificationTime;
+ EventListenerList get rateChange => this['ratechange'];
- /** @domName Metadata.size */
- abstract int get 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.
+ EventListenerList get seeked => this['seeked'];
-// WARNING: Do not edit - generated code.
+ EventListenerList get seeking => this['seeking'];
-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.
+ EventListenerList get show => this['show'];
-// WARNING: Do not edit - generated code.
+ EventListenerList get stalled => this['stalled'];
-class _MetadataImpl extends NativeFieldWrapperClass1 implements Metadata {
+ EventListenerList get suspend => this['suspend'];
- Date get modificationTime native "Metadata_modificationTime_Getter";
+ EventListenerList get timeUpdate => this['timeupdate'];
- int get size native "Metadata_size_Getter";
+ EventListenerList get volumeChange => this['volumechange'];
+ EventListenerList get waiting => this['waiting'];
+
+ EventListenerList get keyAdded => this['webkitkeyadded'];
+
+ EventListenerList get keyError => this['webkitkeyerror'];
+
+ EventListenerList get keyMessage => this['webkitkeymessage'];
+
+ EventListenerList get needKey => this['webkitneedkey'];
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -21813,31 +21679,21 @@ class _MetadataImpl extends NativeFieldWrapperClass1 implements Metadata {
// WARNING: Do not edit - generated code.
-/// @domName HTMLMeterElement
-abstract class MeterElement implements Element {
-
- factory MeterElement() => _Elements.createMeterElement();
-
- /** @domName HTMLMeterElement.high */
- num high;
+/// @domName MediaError
+abstract class MediaError {
- /** @domName HTMLMeterElement.labels */
- abstract List<Node> get labels;
+ static const int MEDIA_ERR_ABORTED = 1;
- /** @domName HTMLMeterElement.low */
- num low;
+ static const int MEDIA_ERR_DECODE = 3;
- /** @domName HTMLMeterElement.max */
- num max;
+ static const int MEDIA_ERR_ENCRYPTED = 5;
- /** @domName HTMLMeterElement.min */
- num min;
+ static const int MEDIA_ERR_NETWORK = 2;
- /** @domName HTMLMeterElement.optimum */
- num optimum;
+ static const int MEDIA_ERR_SRC_NOT_SUPPORTED = 4;
- /** @domName HTMLMeterElement.value */
- num value;
+ /** @domName MediaError.code */
+ abstract int get 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
@@ -21845,34 +21701,34 @@ abstract class MeterElement implements Element {
// WARNING: Do not edit - generated code.
-class _HTMLMeterElementImpl extends _HTMLElementImpl implements MeterElement {
-
- num get high native "HTMLMeterElement_high_Getter";
-
- void set high(num value) native "HTMLMeterElement_high_Setter";
-
- List<Node> get labels native "HTMLMeterElement_labels_Getter";
+class _MediaErrorImpl extends NativeFieldWrapperClass1 implements MediaError {
- num get low native "HTMLMeterElement_low_Getter";
+ int get code native "MediaError_code_Getter";
- void set low(num value) native "HTMLMeterElement_low_Setter";
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- num get max native "HTMLMeterElement_max_Getter";
+// WARNING: Do not edit - generated code.
- void set max(num value) native "HTMLMeterElement_max_Setter";
+/// @domName MediaKeyError
+abstract class MediaKeyError {
- num get min native "HTMLMeterElement_min_Getter";
+ static const int MEDIA_KEYERR_CLIENT = 2;
- void set min(num value) native "HTMLMeterElement_min_Setter";
+ static const int MEDIA_KEYERR_DOMAIN = 6;
- num get optimum native "HTMLMeterElement_optimum_Getter";
+ static const int MEDIA_KEYERR_HARDWARECHANGE = 5;
- void set optimum(num value) native "HTMLMeterElement_optimum_Setter";
+ static const int MEDIA_KEYERR_OUTPUT = 4;
- num get value native "HTMLMeterElement_value_Getter";
+ static const int MEDIA_KEYERR_SERVICE = 3;
- void set value(num value) native "HTMLMeterElement_value_Setter";
+ static const int MEDIA_KEYERR_UNKNOWN = 1;
+ /** @domName MediaKeyError.code */
+ abstract int get 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
@@ -21880,14 +21736,10 @@ class _HTMLMeterElementImpl extends _HTMLElementImpl implements MeterElement {
// WARNING: Do not edit - generated code.
-/// @domName HTMLModElement
-abstract class ModElement implements Element {
+class _MediaKeyErrorImpl extends NativeFieldWrapperClass1 implements MediaKeyError {
- /** @domName HTMLModElement.cite */
- String cite;
+ int get code native "MediaKeyError_code_Getter";
- /** @domName HTMLModElement.dateTime */
- 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
@@ -21895,16 +21747,29 @@ abstract class ModElement implements Element {
// WARNING: Do not edit - generated code.
-class _HTMLModElementImpl extends _HTMLElementImpl implements ModElement {
+/// @domName MediaKeyEvent
+abstract class MediaKeyEvent implements Event {
- String get cite native "HTMLModElement_cite_Getter";
+ /** @domName MediaKeyEvent.defaultURL */
+ abstract String get defaultURL;
- void set cite(String value) native "HTMLModElement_cite_Setter";
+ /** @domName MediaKeyEvent.errorCode */
+ abstract MediaKeyError get errorCode;
- String get dateTime native "HTMLModElement_dateTime_Getter";
+ /** @domName MediaKeyEvent.initData */
+ abstract Uint8Array get initData;
- void set dateTime(String value) native "HTMLModElement_dateTime_Setter";
+ /** @domName MediaKeyEvent.keySystem */
+ abstract String get keySystem;
+
+ /** @domName MediaKeyEvent.message */
+ abstract Uint8Array get message;
+
+ /** @domName MediaKeyEvent.sessionId */
+ abstract String get sessionId;
+ /** @domName MediaKeyEvent.systemCode */
+ abstract int get 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
@@ -21912,80 +21777,46 @@ class _HTMLModElementImpl extends _HTMLElementImpl implements ModElement {
// WARNING: Do not edit - generated code.
-/// @domName MouseEvent
-abstract class MouseEvent implements UIEvent {
+class _MediaKeyEventImpl extends _EventImpl implements MediaKeyEvent {
- factory MouseEvent(String type, Window view, int detail, int screenX, int screenY,
- int clientX, int clientY, int button, [bool canBubble = true,
- bool cancelable = true, bool ctrlKey = false, bool altKey = false,
- bool shiftKey = false, bool metaKey = false,
- EventTarget relatedTarget = null]) =>
- _MouseEventFactoryProvider.createMouseEvent(
- type, view, detail, screenX, screenY,
- clientX, clientY, button, canBubble, cancelable,
- ctrlKey, altKey, shiftKey, metaKey,
- relatedTarget);
-
-
- /** @domName MouseEvent.altKey */
- abstract bool get altKey;
-
- /** @domName MouseEvent.button */
- abstract int get button;
-
- /** @domName MouseEvent.clientX */
- abstract int get clientX;
-
- /** @domName MouseEvent.clientY */
- abstract int get clientY;
-
- /** @domName MouseEvent.ctrlKey */
- abstract bool get ctrlKey;
-
- /** @domName MouseEvent.dataTransfer */
- abstract Clipboard get dataTransfer;
+ String get defaultURL native "MediaKeyEvent_defaultURL_Getter";
- /** @domName MouseEvent.fromElement */
- abstract Node get fromElement;
+ MediaKeyError get errorCode native "MediaKeyEvent_errorCode_Getter";
- /** @domName MouseEvent.metaKey */
- abstract bool get metaKey;
+ Uint8Array get initData native "MediaKeyEvent_initData_Getter";
- /** @domName MouseEvent.offsetX */
- abstract int get offsetX;
+ String get keySystem native "MediaKeyEvent_keySystem_Getter";
- /** @domName MouseEvent.offsetY */
- abstract int get offsetY;
+ Uint8Array get message native "MediaKeyEvent_message_Getter";
- /** @domName MouseEvent.relatedTarget */
- abstract EventTarget get relatedTarget;
+ String get sessionId native "MediaKeyEvent_sessionId_Getter";
- /** @domName MouseEvent.screenX */
- abstract int get screenX;
+ int get systemCode native "MediaKeyEvent_systemCode_Getter";
- /** @domName MouseEvent.screenY */
- abstract int get screenY;
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- /** @domName MouseEvent.shiftKey */
- abstract bool get shiftKey;
+// WARNING: Do not edit - generated code.
- /** @domName MouseEvent.toElement */
- abstract Node get toElement;
+/// @domName MediaList
+abstract class MediaList {
- /** @domName MouseEvent.webkitMovementX */
- abstract int get webkitMovementX;
+ /** @domName MediaList.length */
+ abstract int get length;
- /** @domName MouseEvent.webkitMovementY */
- abstract int get webkitMovementY;
+ /** @domName MediaList.mediaText */
+ String mediaText;
- /** @domName MouseEvent.x */
- abstract int get x;
+ /** @domName MediaList.appendMedium */
+ void appendMedium(String newMedium);
- /** @domName MouseEvent.y */
- abstract int get y;
+ /** @domName MediaList.deleteMedium */
+ void deleteMedium(String oldMedium);
- /** @domName MouseEvent.initMouseEvent */
- void $dom_initMouseEvent(String type, bool canBubble, bool cancelable, Window view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarget);
+ /** @domName MediaList.item */
+ 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
@@ -21993,47 +21824,57 @@ abstract class MouseEvent implements UIEvent {
// WARNING: Do not edit - generated code.
-class _MouseEventImpl extends _UIEventImpl implements MouseEvent {
-
- bool get altKey native "MouseEvent_altKey_Getter";
+class _MediaListImpl extends NativeFieldWrapperClass1 implements MediaList {
- int get button native "MouseEvent_button_Getter";
+ int get length native "MediaList_length_Getter";
- int get clientX native "MouseEvent_clientX_Getter";
+ String get mediaText native "MediaList_mediaText_Getter";
- int get clientY native "MouseEvent_clientY_Getter";
+ void set mediaText(String value) native "MediaList_mediaText_Setter";
- bool get ctrlKey native "MouseEvent_ctrlKey_Getter";
+ void appendMedium(String newMedium) native "MediaList_appendMedium_Callback";
- Clipboard get dataTransfer native "MouseEvent_dataTransfer_Getter";
+ void deleteMedium(String oldMedium) native "MediaList_deleteMedium_Callback";
- Node get fromElement native "MouseEvent_fromElement_Getter";
+ String item(int index) native "MediaList_item_Callback";
- bool get metaKey native "MouseEvent_metaKey_Getter";
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- int get offsetX native "MouseEvent_offsetX_Getter";
+// WARNING: Do not edit - generated code.
- int get offsetY native "MouseEvent_offsetY_Getter";
+/// @domName MediaQueryList
+abstract class MediaQueryList {
- EventTarget get relatedTarget native "MouseEvent_relatedTarget_Getter";
+ /** @domName MediaQueryList.matches */
+ abstract bool get matches;
- int get screenX native "MouseEvent_screenX_Getter";
+ /** @domName MediaQueryList.media */
+ abstract String get media;
- int get screenY native "MouseEvent_screenY_Getter";
+ /** @domName MediaQueryList.addListener */
+ void addListener(MediaQueryListListener listener);
- bool get shiftKey native "MouseEvent_shiftKey_Getter";
+ /** @domName MediaQueryList.removeListener */
+ 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.
- Node get toElement native "MouseEvent_toElement_Getter";
+// WARNING: Do not edit - generated code.
- int get webkitMovementX native "MouseEvent_webkitMovementX_Getter";
+class _MediaQueryListImpl extends NativeFieldWrapperClass1 implements MediaQueryList {
- int get webkitMovementY native "MouseEvent_webkitMovementY_Getter";
+ bool get matches native "MediaQueryList_matches_Getter";
- int get x native "MouseEvent_x_Getter";
+ String get media native "MediaQueryList_media_Getter";
- int get y native "MouseEvent_y_Getter";
+ void addListener(MediaQueryListListener listener) native "MediaQueryList_addListener_Callback";
- void $dom_initMouseEvent(String type, bool canBubble, bool cancelable, Window view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarget) native "MouseEvent_initMouseEvent_Callback";
+ void removeListener(MediaQueryListListener listener) native "MediaQueryList_removeListener_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -22042,39 +21883,52 @@ class _MouseEventImpl extends _UIEventImpl implements MouseEvent {
// WARNING: Do not edit - generated code.
-typedef bool MutationCallback(List<MutationRecord> mutations, MutationObserver observer);
+/// @domName MediaQueryListListener
+abstract class MediaQueryListListener {
+
+ /** @domName MediaQueryListListener.queryChanged */
+ 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.
-/// @domName MutationEvent
-abstract class MutationEvent implements Event {
+/// @domName MediaSource
+abstract class MediaSource implements EventTarget {
- static const int ADDITION = 2;
+ factory MediaSource() => _MediaSourceFactoryProvider.createMediaSource();
- static const int MODIFICATION = 1;
+ /** @domName MediaSource.activeSourceBuffers */
+ abstract SourceBufferList get activeSourceBuffers;
- static const int REMOVAL = 3;
+ /** @domName MediaSource.duration */
+ num duration;
- /** @domName MutationEvent.attrChange */
- abstract int get attrChange;
+ /** @domName MediaSource.readyState */
+ abstract String get readyState;
- /** @domName MutationEvent.attrName */
- abstract String get attrName;
+ /** @domName MediaSource.sourceBuffers */
+ abstract SourceBufferList get sourceBuffers;
- /** @domName MutationEvent.newValue */
- abstract String get newValue;
+ /** @domName MediaSource.addEventListener */
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
- /** @domName MutationEvent.prevValue */
- abstract String get prevValue;
+ /** @domName MediaSource.addSourceBuffer */
+ SourceBuffer addSourceBuffer(String type);
- /** @domName MutationEvent.relatedNode */
- abstract Node get relatedNode;
+ /** @domName MediaSource.dispatchEvent */
+ bool $dom_dispatchEvent(Event event);
- /** @domName MutationEvent.initMutationEvent */
- void initMutationEvent(String type, bool canBubble, bool cancelable, Node relatedNode, String prevValue, String newValue, String attrName, int attrChange);
+ /** @domName MediaSource.endOfStream */
+ void endOfStream(String error);
+
+ /** @domName MediaSource.removeEventListener */
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
+
+ /** @domName MediaSource.removeSourceBuffer */
+ 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
@@ -22082,121 +21936,76 @@ abstract class MutationEvent implements Event {
// WARNING: Do not edit - generated code.
-class _MutationEventImpl extends _EventImpl implements MutationEvent {
-
- int get attrChange native "MutationEvent_attrChange_Getter";
+class _MediaSourceImpl extends _EventTargetImpl implements MediaSource {
- String get attrName native "MutationEvent_attrName_Getter";
+ SourceBufferList get activeSourceBuffers native "MediaSource_activeSourceBuffers_Getter";
- String get newValue native "MutationEvent_newValue_Getter";
+ num get duration native "MediaSource_duration_Getter";
- String get prevValue native "MutationEvent_prevValue_Getter";
+ void set duration(num value) native "MediaSource_duration_Setter";
- Node get relatedNode native "MutationEvent_relatedNode_Getter";
+ String get readyState native "MediaSource_readyState_Getter";
- void initMutationEvent(String type, bool canBubble, bool cancelable, Node relatedNode, String prevValue, String newValue, String attrName, int attrChange) native "MutationEvent_initMutationEvent_Callback";
+ SourceBufferList get sourceBuffers native "MediaSource_sourceBuffers_Getter";
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "MediaSource_addEventListener_Callback";
-// WARNING: Do not edit - generated code.
+ SourceBuffer addSourceBuffer(String type) native "MediaSource_addSourceBuffer_Callback";
-/// @domName MutationObserver
-abstract class MutationObserver {
+ bool $dom_dispatchEvent(Event event) native "MediaSource_dispatchEvent_Callback";
- factory MutationObserver(MutationCallback callback) => _MutationObserverFactoryProvider.createMutationObserver(callback);
+ void endOfStream(String error) native "MediaSource_endOfStream_Callback";
- /** @domName MutationObserver.disconnect */
- void disconnect();
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "MediaSource_removeEventListener_Callback";
- /** @domName MutationObserver.takeRecords */
- List<MutationRecord> takeRecords();
+ void removeSourceBuffer(SourceBuffer buffer) native "MediaSource_removeSourceBuffer_Callback";
- void observe(Node target,
- [Map options,
- bool childList,
- bool attributes,
- bool characterData,
- bool subtree,
- bool attributeOldValue,
- bool characterDataOldValue,
- List<String> attributeFilter]);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for 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 _MutationObserverImpl extends NativeFieldWrapperClass1 implements MutationObserver {
+// WARNING: Do not edit - generated code.
- void disconnect() native "MutationObserver_disconnect_Callback";
+/// @domName MediaStream
+abstract class MediaStream implements EventTarget {
- void _observe(Node target, Map options) native "MutationObserver__observe_Callback";
+ factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks) => _MediaStreamFactoryProvider.createMediaStream(audioTracks, videoTracks);
- List<MutationRecord> takeRecords() native "MutationObserver_takeRecords_Callback";
+ /**
+ * @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
+ */
+ MediaStreamEvents get on;
- void observe(Node target,
- [Map options,
- bool childList,
- bool attributes,
- bool characterData,
- bool subtree,
- bool attributeOldValue,
- bool characterDataOldValue,
- List<String> attributeFilter]) {
+ static const int ENDED = 2;
- // Parse options into map of known type.
- var parsedOptions = _createDict();
+ static const int LIVE = 1;
- if (options != null) {
- options.forEach((k, v) {
- if (_boolKeys.containsKey(k)) {
- _add(parsedOptions, k, true === v);
- } else if (k == 'attributeFilter') {
- _add(parsedOptions, k, _fixupList(v));
- } else {
- throw new ArgumentError(
- "Illegal MutationObserver.observe option '$k'");
- }
- });
- }
+ /** @domName MediaStream.audioTracks */
+ abstract MediaStreamTrackList get audioTracks;
- // Override options passed in the map with named optional arguments.
- override(key, value) {
- if (value != null) _add(parsedOptions, key, value);
- }
+ /** @domName MediaStream.label */
+ abstract String get label;
- override('childList', childList);
- override('attributes', attributes);
- override('characterData', characterData);
- override('subtree', subtree);
- override('attributeOldValue', attributeOldValue);
- override('characterDataOldValue', characterDataOldValue);
- if (attributeFilter != null) {
- override('attributeFilter', _fixupList(attributeFilter));
- }
+ /** @domName MediaStream.readyState */
+ abstract int get readyState;
- _call(target, parsedOptions);
- }
+ /** @domName MediaStream.videoTracks */
+ abstract MediaStreamTrackList get videoTracks;
- // TODO: Change to a set when const Sets are available.
- static final _boolKeys =
- const {'childList': true,
- 'attributes': true,
- 'characterData': true,
- 'subtree': true,
- 'attributeOldValue': true,
- 'characterDataOldValue': true };
+ /** @domName MediaStream.addEventListener */
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
- static _createDict() => {};
- static _add(m, String key, value) { m[key] = value; }
- static _fixupList(list) => list;
+ /** @domName MediaStream.dispatchEvent */
+ bool $dom_dispatchEvent(Event event);
- _call(Node target, options) {
- _observe(target, options);
- }
+ /** @domName MediaStream.removeEventListener */
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
+}
+
+abstract class MediaStreamEvents implements Events {
+ EventListenerList get ended;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -22204,35 +22013,11 @@ class _MutationObserverImpl extends NativeFieldWrapperClass1 implements Mutation
// WARNING: Do not edit - generated code.
-/// @domName MutationRecord
-abstract class MutationRecord {
-
- /** @domName MutationRecord.addedNodes */
- abstract List<Node> get addedNodes;
-
- /** @domName MutationRecord.attributeName */
- abstract String get attributeName;
-
- /** @domName MutationRecord.attributeNamespace */
- abstract String get attributeNamespace;
-
- /** @domName MutationRecord.nextSibling */
- abstract Node get nextSibling;
-
- /** @domName MutationRecord.oldValue */
- abstract String get oldValue;
-
- /** @domName MutationRecord.previousSibling */
- abstract Node get previousSibling;
-
- /** @domName MutationRecord.removedNodes */
- abstract List<Node> get removedNodes;
-
- /** @domName MutationRecord.target */
- abstract Node get target;
+/// @domName MediaStreamAudioSourceNode
+abstract class MediaStreamAudioSourceNode implements AudioSourceNode {
- /** @domName MutationRecord.type */
- abstract String get type;
+ /** @domName MediaStreamAudioSourceNode.mediaStream */
+ abstract MediaStream get 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
@@ -22240,25 +22025,32 @@ abstract class MutationRecord {
// WARNING: Do not edit - generated code.
-class _MutationRecordImpl extends NativeFieldWrapperClass1 implements MutationRecord {
-
- List<Node> get addedNodes native "MutationRecord_addedNodes_Getter";
+class _MediaStreamAudioSourceNodeImpl extends _AudioSourceNodeImpl implements MediaStreamAudioSourceNode {
- String get attributeName native "MutationRecord_attributeName_Getter";
+ MediaStream get mediaStream native "MediaStreamAudioSourceNode_mediaStream_Getter";
- String get attributeNamespace native "MutationRecord_attributeNamespace_Getter";
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- Node get nextSibling native "MutationRecord_nextSibling_Getter";
+// WARNING: Do not edit - generated code.
- String get oldValue native "MutationRecord_oldValue_Getter";
+/// @domName MediaStreamEvent
+abstract class MediaStreamEvent implements Event {
- Node get previousSibling native "MutationRecord_previousSibling_Getter";
+ /** @domName MediaStreamEvent.stream */
+ abstract MediaStream get 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.
- List<Node> get removedNodes native "MutationRecord_removedNodes_Getter";
+// WARNING: Do not edit - generated code.
- Node get target native "MutationRecord_target_Getter";
+class _MediaStreamEventImpl extends _EventImpl implements MediaStreamEvent {
- String get type native "MutationRecord_type_Getter";
+ MediaStream get stream native "MediaStreamEvent_stream_Getter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -22267,32 +22059,31 @@ class _MutationRecordImpl extends NativeFieldWrapperClass1 implements MutationRe
// WARNING: Do not edit - generated code.
-/// @domName NamedNodeMap
-abstract class NamedNodeMap implements List<Node> {
+class _MediaStreamImpl extends _EventTargetImpl implements MediaStream {
- /** @domName NamedNodeMap.length */
- abstract int get length;
+ _MediaStreamEventsImpl get on =>
+ new _MediaStreamEventsImpl(this);
- /** @domName NamedNodeMap.getNamedItem */
- Node getNamedItem(String name);
+ MediaStreamTrackList get audioTracks native "MediaStream_audioTracks_Getter";
- /** @domName NamedNodeMap.getNamedItemNS */
- Node getNamedItemNS(String namespaceURI, String localName);
+ String get label native "MediaStream_label_Getter";
- /** @domName NamedNodeMap.item */
- Node item(int index);
+ int get readyState native "MediaStream_readyState_Getter";
- /** @domName NamedNodeMap.removeNamedItem */
- Node removeNamedItem(String name);
+ MediaStreamTrackList get videoTracks native "MediaStream_videoTracks_Getter";
- /** @domName NamedNodeMap.removeNamedItemNS */
- Node removeNamedItemNS(String namespaceURI, String localName);
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "MediaStream_addEventListener_Callback";
- /** @domName NamedNodeMap.setNamedItem */
- Node setNamedItem(Node node);
+ bool $dom_dispatchEvent(Event event) native "MediaStream_dispatchEvent_Callback";
- /** @domName NamedNodeMap.setNamedItemNS */
- Node setNamedItemNS(Node node);
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "MediaStream_removeEventListener_Callback";
+
+}
+
+class _MediaStreamEventsImpl extends _EventsImpl implements MediaStreamEvents {
+ _MediaStreamEventsImpl(_ptr) : super(_ptr);
+
+ EventListenerList get ended => this['ended'];
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -22300,75 +22091,75 @@ abstract class NamedNodeMap implements List<Node> {
// WARNING: Do not edit - generated code.
-class _NamedNodeMapImpl extends NativeFieldWrapperClass1 implements NamedNodeMap {
+class _MediaStreamListImpl extends NativeFieldWrapperClass1 implements List<MediaStream> {
- int get length native "NamedNodeMap_length_Getter";
+ int get length native "MediaStreamList_length_Getter";
- Node operator[](int index) native "NamedNodeMap_item_Callback";
+ MediaStream operator[](int index) native "MediaStreamList_item_Callback";
- void operator[]=(int index, Node value) {
+ void operator[]=(int index, MediaStream value) {
throw new UnsupportedOperationException("Cannot assign element of immutable List.");
}
- // -- start List<Node> mixins.
- // Node is the element type.
+ // -- start List<MediaStream> mixins.
+ // MediaStream is the element type.
- // From Iterable<Node>:
+ // From Iterable<MediaStream>:
- Iterator<Node> iterator() {
+ Iterator<MediaStream> 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);
+ return new _FixedSizeListIterator<MediaStream>(this);
}
- // From Collection<Node>:
+ // From Collection<MediaStream>:
- void add(Node value) {
+ void add(MediaStream value) {
throw const UnsupportedOperationException("Cannot add to immutable List.");
}
- void addLast(Node value) {
+ void addLast(MediaStream value) {
throw const UnsupportedOperationException("Cannot add to immutable List.");
}
- void addAll(Collection<Node> collection) {
+ void addAll(Collection<MediaStream> collection) {
throw const UnsupportedOperationException("Cannot add to immutable List.");
}
- void forEach(void f(Node element)) => _Collections.forEach(this, f);
+ void forEach(void f(MediaStream element)) => _Collections.forEach(this, f);
- Collection map(f(Node element)) => _Collections.map(this, [], f);
+ Collection map(f(MediaStream element)) => _Collections.map(this, [], f);
- Collection<Node> filter(bool f(Node element)) =>
- _Collections.filter(this, <Node>[], f);
+ Collection<MediaStream> filter(bool f(MediaStream element)) =>
+ _Collections.filter(this, <MediaStream>[], f);
- bool every(bool f(Node element)) => _Collections.every(this, f);
+ bool every(bool f(MediaStream element)) => _Collections.every(this, f);
- bool some(bool f(Node element)) => _Collections.some(this, f);
+ bool some(bool f(MediaStream element)) => _Collections.some(this, f);
bool isEmpty() => this.length == 0;
- // From List<Node>:
+ // From List<MediaStream>:
- void sort(int compare(Node a, Node b)) {
+ void sort(int compare(MediaStream a, MediaStream b)) {
throw const UnsupportedOperationException("Cannot sort immutable List.");
}
- int indexOf(Node element, [int start = 0]) =>
+ int indexOf(MediaStream element, [int start = 0]) =>
_Lists.indexOf(this, element, start, this.length);
- int lastIndexOf(Node element, [int start]) {
+ int lastIndexOf(MediaStream element, [int start]) {
if (start === null) start = length - 1;
return _Lists.lastIndexOf(this, element, start);
}
- Node last() => this[length - 1];
+ MediaStream last() => this[length - 1];
- Node removeLast() {
+ MediaStream removeLast() {
throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
}
- void setRange(int start, int rangeLength, List<Node> from, [int startFrom]) {
+ void setRange(int start, int rangeLength, List<MediaStream> from, [int startFrom]) {
throw const UnsupportedOperationException("Cannot setRange on immutable List.");
}
@@ -22376,28 +22167,16 @@ class _NamedNodeMapImpl extends NativeFieldWrapperClass1 implements NamedNodeMap
throw const UnsupportedOperationException("Cannot removeRange on immutable List.");
}
- void insertRange(int start, int rangeLength, [Node initialValue]) {
+ void insertRange(int start, int rangeLength, [MediaStream 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.
-
- Node getNamedItem(String name) native "NamedNodeMap_getNamedItem_Callback";
-
- Node getNamedItemNS(String namespaceURI, String localName) native "NamedNodeMap_getNamedItemNS_Callback";
-
- Node item(int index) native "NamedNodeMap_item_Callback";
-
- Node removeNamedItem(String name) native "NamedNodeMap_removeNamedItem_Callback";
-
- Node removeNamedItemNS(String namespaceURI, String localName) native "NamedNodeMap_removeNamedItemNS_Callback";
+ List<MediaStream> getRange(int start, int rangeLength) =>
+ _Lists.getRange(this, start, rangeLength, <MediaStream>[]);
- Node setNamedItem(Node node) native "NamedNodeMap_setNamedItem_Callback";
+ // -- end List<MediaStream> mixins.
- Node setNamedItemNS(Node node) native "NamedNodeMap_setNamedItemNS_Callback";
+ MediaStream item(int index) native "MediaStreamList_item_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -22406,68 +22185,72 @@ class _NamedNodeMapImpl extends NativeFieldWrapperClass1 implements NamedNodeMap
// WARNING: Do not edit - generated code.
-/// @domName Navigator
-abstract class Navigator {
-
- /** @domName Navigator.appCodeName */
- abstract String get appCodeName;
+/// @domName MediaStreamTrack
+abstract class MediaStreamTrack implements EventTarget {
- /** @domName Navigator.appName */
- abstract String get appName;
+ /**
+ * @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
+ */
+ MediaStreamTrackEvents get on;
- /** @domName Navigator.appVersion */
- abstract String get appVersion;
+ static const int ENDED = 2;
- /** @domName Navigator.cookieEnabled */
- abstract bool get cookieEnabled;
+ static const int LIVE = 0;
- /** @domName Navigator.geolocation */
- abstract Geolocation get geolocation;
+ static const int MUTED = 1;
- /** @domName Navigator.language */
- abstract String get language;
+ /** @domName MediaStreamTrack.enabled */
+ bool enabled;
- /** @domName Navigator.mimeTypes */
- abstract DOMMimeTypeArray get mimeTypes;
+ /** @domName MediaStreamTrack.kind */
+ abstract String get kind;
- /** @domName Navigator.onLine */
- abstract bool get onLine;
+ /** @domName MediaStreamTrack.label */
+ abstract String get label;
- /** @domName Navigator.platform */
- abstract String get platform;
+ /** @domName MediaStreamTrack.readyState */
+ abstract int get readyState;
- /** @domName Navigator.plugins */
- abstract DOMPluginArray get plugins;
+ /** @domName MediaStreamTrack.addEventListener */
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
- /** @domName Navigator.product */
- abstract String get product;
+ /** @domName MediaStreamTrack.dispatchEvent */
+ bool $dom_dispatchEvent(Event event);
- /** @domName Navigator.productSub */
- abstract String get productSub;
+ /** @domName MediaStreamTrack.removeEventListener */
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
+}
- /** @domName Navigator.userAgent */
- abstract String get userAgent;
+abstract class MediaStreamTrackEvents implements Events {
- /** @domName Navigator.vendor */
- abstract String get vendor;
+ EventListenerList get ended;
- /** @domName Navigator.vendorSub */
- abstract String get vendorSub;
+ EventListenerList get mute;
- /** @domName Navigator.webkitBattery */
- abstract BatteryManager get webkitBattery;
+ EventListenerList get unmute;
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- /** @domName Navigator.getStorageUpdates */
- void getStorageUpdates();
+// WARNING: Do not edit - generated code.
- /** @domName Navigator.javaEnabled */
- bool javaEnabled();
+/// @domName MediaStreamTrackEvent
+abstract class MediaStreamTrackEvent implements Event {
- /** @domName Navigator.webkitGetGamepads */
- List<Gamepad> webkitGetGamepads();
+ /** @domName MediaStreamTrackEvent.track */
+ abstract MediaStreamTrack get 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.
+
+class _MediaStreamTrackEventImpl extends _EventImpl implements MediaStreamTrackEvent {
+
+ MediaStreamTrack get track native "MediaStreamTrackEvent_track_Getter";
- /** @domName Navigator.webkitGetUserMedia */
- 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
@@ -22475,48 +22258,79 @@ abstract class Navigator {
// WARNING: Do not edit - generated code.
-class _NavigatorImpl extends NativeFieldWrapperClass1 implements Navigator {
+class _MediaStreamTrackImpl extends _EventTargetImpl implements MediaStreamTrack {
- String get appCodeName native "Navigator_appCodeName_Getter";
+ _MediaStreamTrackEventsImpl get on =>
+ new _MediaStreamTrackEventsImpl(this);
- String get appName native "Navigator_appName_Getter";
+ bool get enabled native "MediaStreamTrack_enabled_Getter";
- String get appVersion native "Navigator_appVersion_Getter";
+ void set enabled(bool value) native "MediaStreamTrack_enabled_Setter";
- bool get cookieEnabled native "Navigator_cookieEnabled_Getter";
+ String get kind native "MediaStreamTrack_kind_Getter";
- Geolocation get geolocation native "Navigator_geolocation_Getter";
+ String get label native "MediaStreamTrack_label_Getter";
- String get language native "Navigator_language_Getter";
+ int get readyState native "MediaStreamTrack_readyState_Getter";
- DOMMimeTypeArray get mimeTypes native "Navigator_mimeTypes_Getter";
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "MediaStreamTrack_addEventListener_Callback";
- bool get onLine native "Navigator_onLine_Getter";
+ bool $dom_dispatchEvent(Event event) native "MediaStreamTrack_dispatchEvent_Callback";
- String get platform native "Navigator_platform_Getter";
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "MediaStreamTrack_removeEventListener_Callback";
- DOMPluginArray get plugins native "Navigator_plugins_Getter";
+}
- String get product native "Navigator_product_Getter";
+class _MediaStreamTrackEventsImpl extends _EventsImpl implements MediaStreamTrackEvents {
+ _MediaStreamTrackEventsImpl(_ptr) : super(_ptr);
- String get productSub native "Navigator_productSub_Getter";
+ EventListenerList get ended => this['ended'];
- String get userAgent native "Navigator_userAgent_Getter";
+ EventListenerList get mute => this['mute'];
- String get vendor native "Navigator_vendor_Getter";
+ EventListenerList get unmute => this['unmute'];
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- String get vendorSub native "Navigator_vendorSub_Getter";
+// WARNING: Do not edit - generated code.
- BatteryManager get webkitBattery native "Navigator_webkitBattery_Getter";
+/// @domName MediaStreamTrackList
+abstract class MediaStreamTrackList implements EventTarget {
- void getStorageUpdates() native "Navigator_getStorageUpdates_Callback";
+ /**
+ * @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
+ */
+ MediaStreamTrackListEvents get on;
- bool javaEnabled() native "Navigator_javaEnabled_Callback";
+ /** @domName MediaStreamTrackList.length */
+ abstract int get length;
- List<Gamepad> webkitGetGamepads() native "Navigator_webkitGetGamepads_Callback";
+ /** @domName MediaStreamTrackList.add */
+ void add(MediaStreamTrack track);
- void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback successCallback, [NavigatorUserMediaErrorCallback errorCallback]) native "Navigator_webkitGetUserMedia_Callback";
+ /** @domName MediaStreamTrackList.addEventListener */
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
+
+ /** @domName MediaStreamTrackList.dispatchEvent */
+ bool $dom_dispatchEvent(Event event);
+
+ /** @domName MediaStreamTrackList.item */
+ MediaStreamTrack item(int index);
+
+ /** @domName MediaStreamTrackList.remove */
+ void remove(MediaStreamTrack track);
+ /** @domName MediaStreamTrackList.removeEventListener */
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
+}
+
+abstract class MediaStreamTrackListEvents implements Events {
+
+ EventListenerList get addTrack;
+
+ EventListenerList get removeTrack;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -22524,13 +22338,33 @@ class _NavigatorImpl extends NativeFieldWrapperClass1 implements Navigator {
// WARNING: Do not edit - generated code.
-/// @domName NavigatorUserMediaError
-abstract class NavigatorUserMediaError {
+class _MediaStreamTrackListImpl extends _EventTargetImpl implements MediaStreamTrackList {
- static const int PERMISSION_DENIED = 1;
+ _MediaStreamTrackListEventsImpl get on =>
+ new _MediaStreamTrackListEventsImpl(this);
- /** @domName NavigatorUserMediaError.code */
- abstract int get code;
+ int get length native "MediaStreamTrackList_length_Getter";
+
+ void add(MediaStreamTrack track) native "MediaStreamTrackList_add_Callback";
+
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "MediaStreamTrackList_addEventListener_Callback";
+
+ bool $dom_dispatchEvent(Event event) native "MediaStreamTrackList_dispatchEvent_Callback";
+
+ MediaStreamTrack item(int index) native "MediaStreamTrackList_item_Callback";
+
+ void remove(MediaStreamTrack track) native "MediaStreamTrackList_remove_Callback";
+
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "MediaStreamTrackList_removeEventListener_Callback";
+
+}
+
+class _MediaStreamTrackListEventsImpl extends _EventsImpl implements MediaStreamTrackListEvents {
+ _MediaStreamTrackListEventsImpl(_ptr) : super(_ptr);
+
+ EventListenerList get addTrack => this['addtrack'];
+
+ EventListenerList get removeTrack => this['removetrack'];
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -22538,16 +22372,31 @@ abstract class NavigatorUserMediaError {
// WARNING: Do not edit - generated code.
-typedef bool NavigatorUserMediaErrorCallback(NavigatorUserMediaError error);
+/// @domName MemoryInfo
+abstract class MemoryInfo {
+
+ /** @domName MemoryInfo.jsHeapSizeLimit */
+ abstract int get jsHeapSizeLimit;
+
+ /** @domName MemoryInfo.totalJSHeapSize */
+ abstract int get totalJSHeapSize;
+
+ /** @domName MemoryInfo.usedJSHeapSize */
+ abstract int get 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.
-class _NavigatorUserMediaErrorImpl extends NativeFieldWrapperClass1 implements NavigatorUserMediaError {
+class _MemoryInfoImpl extends NativeFieldWrapperClass1 implements MemoryInfo {
- int get code native "NavigatorUserMediaError_code_Getter";
+ int get jsHeapSizeLimit native "MemoryInfo_jsHeapSizeLimit_Getter";
+
+ int get totalJSHeapSize native "MemoryInfo_totalJSHeapSize_Getter";
+
+ int get usedJSHeapSize native "MemoryInfo_usedJSHeapSize_Getter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -22556,128 +22405,146 @@ class _NavigatorUserMediaErrorImpl extends NativeFieldWrapperClass1 implements N
// WARNING: Do not edit - generated code.
-typedef bool NavigatorUserMediaSuccessCallback(LocalMediaStream stream);
+/// @domName HTMLMenuElement
+abstract class MenuElement implements Element {
+
+ factory MenuElement() => _Elements.createMenuElement();
+
+ /** @domName HTMLMenuElement.compact */
+ 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.
-/// @domName Node
-abstract class Node implements EventTarget {
- List<Node> get nodes;
-
- void set nodes(Collection<Node> value);
+class _HTMLMenuElementImpl extends _HTMLElementImpl implements MenuElement {
- /**
- * Replaces this node with another node.
- * @domName Node.replaceChild
- */
- Node replaceWith(Node otherNode);
+ bool get compact native "HTMLMenuElement_compact_Getter";
- /**
- * Removes this node from the DOM.
- * @domName Node.removeChild
- */
- void remove();
+ void set compact(bool value) native "HTMLMenuElement_compact_Setter";
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- static const int ATTRIBUTE_NODE = 2;
+// WARNING: Do not edit - generated code.
- static const int CDATA_SECTION_NODE = 4;
+/// @domName MessageChannel
+abstract class MessageChannel {
- static const int COMMENT_NODE = 8;
+ factory MessageChannel() => _MessageChannelFactoryProvider.createMessageChannel();
- static const int DOCUMENT_FRAGMENT_NODE = 11;
+ /** @domName MessageChannel.port1 */
+ abstract MessagePort get port1;
- static const int DOCUMENT_NODE = 9;
+ /** @domName MessageChannel.port2 */
+ abstract MessagePort get 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.
- static const int DOCUMENT_POSITION_CONTAINED_BY = 0x10;
+// WARNING: Do not edit - generated code.
- static const int DOCUMENT_POSITION_CONTAINS = 0x08;
+class _MessageChannelImpl extends NativeFieldWrapperClass1 implements MessageChannel {
- static const int DOCUMENT_POSITION_DISCONNECTED = 0x01;
+ MessagePort get port1 native "MessageChannel_port1_Getter";
- static const int DOCUMENT_POSITION_FOLLOWING = 0x04;
+ MessagePort get port2 native "MessageChannel_port2_Getter";
- static const int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20;
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- static const int DOCUMENT_POSITION_PRECEDING = 0x02;
+// WARNING: Do not edit - generated code.
- static const int DOCUMENT_TYPE_NODE = 10;
+/// @domName MessageEvent
+abstract class MessageEvent implements Event {
- static const int ELEMENT_NODE = 1;
+ /** @domName MessageEvent.data */
+ abstract Object get data;
- static const int ENTITY_NODE = 6;
+ /** @domName MessageEvent.lastEventId */
+ abstract String get lastEventId;
- static const int ENTITY_REFERENCE_NODE = 5;
+ /** @domName MessageEvent.origin */
+ abstract String get origin;
- static const int NOTATION_NODE = 12;
+ /** @domName MessageEvent.ports */
+ abstract List get ports;
- static const int PROCESSING_INSTRUCTION_NODE = 7;
+ /** @domName MessageEvent.source */
+ abstract Window get source;
- static const int TEXT_NODE = 3;
+ /** @domName MessageEvent.initMessageEvent */
+ void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Object dataArg, String originArg, String lastEventIdArg, LocalWindow sourceArg, List messagePorts);
- /** @domName Node.attributes */
- abstract NamedNodeMap get $dom_attributes;
+ /** @domName MessageEvent.webkitInitMessageEvent */
+ void webkitInitMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Object dataArg, String originArg, String lastEventIdArg, LocalWindow 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.
- /** @domName Node.childNodes */
- abstract List<Node> get $dom_childNodes;
+// WARNING: Do not edit - generated code.
- /** @domName Node.firstChild */
- abstract Node get $dom_firstChild;
+class _MessageEventImpl extends _EventImpl implements MessageEvent {
- /** @domName Node.lastChild */
- abstract Node get $dom_lastChild;
+ Object get data native "MessageEvent_data_Getter";
- /** @domName Node.nextSibling */
- abstract Node get nextNode;
+ String get lastEventId native "MessageEvent_lastEventId_Getter";
- /** @domName Node.nodeType */
- abstract int get $dom_nodeType;
+ String get origin native "MessageEvent_origin_Getter";
- /** @domName Node.ownerDocument */
- abstract Document get document;
+ List get ports native "MessageEvent_ports_Getter";
- /** @domName Node.parentNode */
- abstract Node get parent;
+ Window get source native "MessageEvent_source_Getter";
- /** @domName Node.previousSibling */
- abstract Node get previousNode;
+ void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Object dataArg, String originArg, String lastEventIdArg, LocalWindow sourceArg, List messagePorts) native "MessageEvent_initMessageEvent_Callback";
- /** @domName Node.textContent */
- String text;
+ void webkitInitMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Object dataArg, String originArg, String lastEventIdArg, LocalWindow sourceArg, List transferables) native "MessageEvent_webkitInitMessageEvent_Callback";
- /** @domName Node.addEventListener */
- void $dom_addEventListener(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.
- /** @domName Node.appendChild */
- Node $dom_appendChild(Node newChild);
+// WARNING: Do not edit - generated code.
- /** @domName Node.cloneNode */
- Node clone(bool deep);
+/// @domName MessagePort
+abstract class MessagePort implements EventTarget {
- /** @domName Node.contains */
- bool contains(Node other);
+ /**
+ * @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
+ */
+ MessagePortEvents get on;
- /** @domName Node.dispatchEvent */
- bool $dom_dispatchEvent(Event event);
+ /** @domName MessagePort.addEventListener */
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
- /** @domName Node.hasChildNodes */
- bool hasChildNodes();
+ /** @domName MessagePort.close */
+ void close();
- /** @domName Node.insertBefore */
- Node insertBefore(Node newChild, Node refChild);
+ /** @domName MessagePort.dispatchEvent */
+ bool $dom_dispatchEvent(Event evt);
- /** @domName Node.removeChild */
- Node $dom_removeChild(Node oldChild);
+ /** @domName MessagePort.postMessage */
+ void postMessage(Object message, [List messagePorts]);
- /** @domName Node.removeEventListener */
+ /** @domName MessagePort.removeEventListener */
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
- /** @domName Node.replaceChild */
- Node $dom_replaceChild(Node newChild, Node oldChild);
+ /** @domName MessagePort.start */
+ void start();
+}
+
+abstract class MessagePortEvents implements Events {
+ EventListenerList get 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
@@ -22685,43 +22552,75 @@ abstract class Node implements EventTarget {
// WARNING: Do not edit - generated code.
-/// @domName NodeFilter
-abstract class NodeFilter {
+class _MessagePortImpl extends _EventTargetImpl implements MessagePort {
- static const int FILTER_ACCEPT = 1;
+ _MessagePortEventsImpl get on =>
+ new _MessagePortEventsImpl(this);
- static const int FILTER_REJECT = 2;
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "MessagePort_addEventListener_Callback";
- static const int FILTER_SKIP = 3;
+ void close() native "MessagePort_close_Callback";
- static const int SHOW_ALL = 0xFFFFFFFF;
+ bool $dom_dispatchEvent(Event evt) native "MessagePort_dispatchEvent_Callback";
- static const int SHOW_ATTRIBUTE = 0x00000002;
+ void postMessage(Object message, [List messagePorts]) native "MessagePort_postMessage_Callback";
- static const int SHOW_CDATA_SECTION = 0x00000008;
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "MessagePort_removeEventListener_Callback";
- static const int SHOW_COMMENT = 0x00000080;
+ void start() native "MessagePort_start_Callback";
- static const int SHOW_DOCUMENT = 0x00000100;
+}
- static const int SHOW_DOCUMENT_FRAGMENT = 0x00000400;
+class _MessagePortEventsImpl extends _EventsImpl implements MessagePortEvents {
+ _MessagePortEventsImpl(_ptr) : super(_ptr);
- static const int SHOW_DOCUMENT_TYPE = 0x00000200;
+ EventListenerList get message => this['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.
- static const int SHOW_ELEMENT = 0x00000001;
+// WARNING: Do not edit - generated code.
- static const int SHOW_ENTITY = 0x00000020;
+/// @domName HTMLMetaElement
+abstract class MetaElement implements Element {
- static const int SHOW_ENTITY_REFERENCE = 0x00000010;
+ /** @domName HTMLMetaElement.content */
+ String content;
- static const int SHOW_NOTATION = 0x00000800;
+ /** @domName HTMLMetaElement.httpEquiv */
+ String httpEquiv;
- static const int SHOW_PROCESSING_INSTRUCTION = 0x00000040;
+ /** @domName HTMLMetaElement.name */
+ String name;
- static const int SHOW_TEXT = 0x00000004;
+ /** @domName HTMLMetaElement.scheme */
+ 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.
+
+class _HTMLMetaElementImpl extends _HTMLElementImpl implements MetaElement {
+
+ String get content native "HTMLMetaElement_content_Getter";
+
+ void set content(String value) native "HTMLMetaElement_content_Setter";
+
+ String get httpEquiv native "HTMLMetaElement_httpEquiv_Getter";
+
+ void set httpEquiv(String value) native "HTMLMetaElement_httpEquiv_Setter";
+
+ String get name native "HTMLMetaElement_name_Getter";
+
+ void set name(String value) native "HTMLMetaElement_name_Setter";
+
+ String get scheme native "HTMLMetaElement_scheme_Getter";
+
+ void set scheme(String value) native "HTMLMetaElement_scheme_Setter";
- /** @domName NodeFilter.acceptNode */
- 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
@@ -22729,229 +22628,214 @@ abstract class NodeFilter {
// WARNING: Do not edit - generated code.
-class _NodeFilterImpl extends NativeFieldWrapperClass1 implements NodeFilter {
+/// @domName Metadata
+abstract class Metadata {
- int acceptNode(Node n) native "NodeFilter_acceptNode_Callback";
+ /** @domName Metadata.modificationTime */
+ abstract Date get modificationTime;
+ /** @domName Metadata.size */
+ abstract int get 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.
-/**
- * Lazy implementation of the child nodes of an element that does not request
- * the actual child nodes of an element until strictly necessary greatly
- * improving performance for the typical cases where it is not required.
- */
-class _ChildNodeListLazy implements List {
- final _NodeImpl _this;
+// WARNING: Do not edit - generated code.
- _ChildNodeListLazy(this._this);
+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.
- _NodeImpl get first => _this.$dom_firstChild;
- _NodeImpl last() => _this.$dom_lastChild;
+class _MetadataImpl extends NativeFieldWrapperClass1 implements Metadata {
- void add(_NodeImpl value) {
- _this.$dom_appendChild(value);
- }
+ Date get modificationTime native "Metadata_modificationTime_Getter";
- void addLast(_NodeImpl value) {
- _this.$dom_appendChild(value);
- }
+ int get size native "Metadata_size_Getter";
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- void addAll(Collection<_NodeImpl> collection) {
- for (_NodeImpl node in collection) {
- _this.$dom_appendChild(node);
- }
- }
+// WARNING: Do not edit - generated code.
- _NodeImpl removeLast() {
- final result = last();
- if (result != null) {
- _this.$dom_removeChild(result);
- }
- return result;
- }
+/// @domName HTMLMeterElement
+abstract class MeterElement implements Element {
- void clear() {
- _this.text = '';
- }
+ factory MeterElement() => _Elements.createMeterElement();
- void operator []=(int index, _NodeImpl value) {
- _this.$dom_replaceChild(value, this[index]);
- }
+ /** @domName HTMLMeterElement.high */
+ num high;
- Iterator<Node> iterator() => _this.$dom_childNodes.iterator();
+ /** @domName HTMLMeterElement.labels */
+ abstract List<Node> get labels;
- // TODO(jacobr): We can implement these methods much more efficiently by
- // looking up the nodeList only once instead of once per iteration.
- void forEach(void f(Node element)) => _Collections.forEach(this, f);
+ /** @domName HTMLMeterElement.low */
+ num low;
- Collection map(f(Node element)) => _Collections.map(this, [], f);
+ /** @domName HTMLMeterElement.max */
+ num max;
- Collection<Node> filter(bool f(Node element)) =>
- new _NodeListWrapper(_Collections.filter(this, <Node>[], f));
+ /** @domName HTMLMeterElement.min */
+ num min;
- bool every(bool f(Node element)) => _Collections.every(this, f);
+ /** @domName HTMLMeterElement.optimum */
+ num optimum;
- bool some(bool f(Node element)) => _Collections.some(this, f);
+ /** @domName HTMLMeterElement.value */
+ 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.
- bool isEmpty() => this.length == 0;
+// WARNING: Do not edit - generated code.
- // From List<Node>:
+class _HTMLMeterElementImpl extends _HTMLElementImpl implements MeterElement {
- // TODO(jacobr): this could be implemented for child node lists.
- // The exception we throw here is misleading.
- void sort(int compare(Node a, Node b)) {
- throw new UnsupportedOperationException("Cannot sort immutable List.");
- }
+ num get high native "HTMLMeterElement_high_Getter";
- int indexOf(Node element, [int start = 0]) =>
- _Lists.indexOf(this, element, start, this.length);
+ void set high(num value) native "HTMLMeterElement_high_Setter";
- int lastIndexOf(Node element, [int start = 0]) =>
- _Lists.lastIndexOf(this, element, start);
+ List<Node> get labels native "HTMLMeterElement_labels_Getter";
- // FIXME: implement these.
- void setRange(int start, int rangeLength, List<Node> from, [int startFrom]) {
- throw new UnsupportedOperationException(
- "Cannot setRange on immutable List.");
- }
- void removeRange(int start, int rangeLength) {
- throw new UnsupportedOperationException(
- "Cannot removeRange on immutable List.");
- }
- void insertRange(int start, int rangeLength, [Node initialValue]) {
- throw new UnsupportedOperationException(
- "Cannot insertRange on immutable List.");
- }
- List<Node> getRange(int start, int rangeLength) =>
- new _NodeListWrapper(_Lists.getRange(this, start, rangeLength, <Node>[]));
+ num get low native "HTMLMeterElement_low_Getter";
- // -- end List<Node> mixins.
+ void set low(num value) native "HTMLMeterElement_low_Setter";
- // TODO(jacobr): benchmark whether this is more efficient or whether caching
- // a local copy of $dom_childNodes is more efficient.
- int get length => _this.$dom_childNodes.length;
+ num get max native "HTMLMeterElement_max_Getter";
- _NodeImpl operator[](int index) => _this.$dom_childNodes[index];
-}
+ void set max(num value) native "HTMLMeterElement_max_Setter";
-class _NodeImpl extends _EventTargetImpl implements Node {
- _ChildNodeListLazy get nodes {
- return new _ChildNodeListLazy(this);
- }
+ num get min native "HTMLMeterElement_min_Getter";
- void set nodes(Collection<Node> value) {
- // Copy list first since we don't want liveness during iteration.
- // TODO(jacobr): there is a better way to do this.
- List copy = new List.from(value);
- text = '';
- for (Node node in copy) {
- $dom_appendChild(node);
- }
- }
+ void set min(num value) native "HTMLMeterElement_min_Setter";
- // TODO(jacobr): should we throw an exception if parent is already null?
- // TODO(vsm): Use the native remove when available.
- void remove() {
- if (this.parent != null) {
- final _NodeImpl parent = this.parent;
- parent.$dom_removeChild(this);
- }
- }
+ num get optimum native "HTMLMeterElement_optimum_Getter";
- _NodeImpl replaceWith(Node otherNode) {
- try {
- final _NodeImpl parent = this.parent;
- parent.$dom_replaceChild(otherNode, this);
- } catch (e) {
+ void set optimum(num value) native "HTMLMeterElement_optimum_Setter";
- };
- return this;
- }
+ num get value native "HTMLMeterElement_value_Getter";
+ void set value(num value) native "HTMLMeterElement_value_Setter";
- NamedNodeMap get $dom_attributes native "Node_attributes_Getter";
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- List<Node> get $dom_childNodes native "Node_childNodes_Getter";
+// WARNING: Do not edit - generated code.
- Node get $dom_firstChild native "Node_firstChild_Getter";
+/// @domName HTMLModElement
+abstract class ModElement implements Element {
- Node get $dom_lastChild native "Node_lastChild_Getter";
+ /** @domName HTMLModElement.cite */
+ String cite;
- Node get nextNode native "Node_nextSibling_Getter";
+ /** @domName HTMLModElement.dateTime */
+ 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.
- int get $dom_nodeType native "Node_nodeType_Getter";
+// WARNING: Do not edit - generated code.
- Document get document native "Node_ownerDocument_Getter";
+class _HTMLModElementImpl extends _HTMLElementImpl implements ModElement {
- Node get parent native "Node_parentNode_Getter";
+ String get cite native "HTMLModElement_cite_Getter";
- Node get previousNode native "Node_previousSibling_Getter";
+ void set cite(String value) native "HTMLModElement_cite_Setter";
- String get text native "Node_textContent_Getter";
+ String get dateTime native "HTMLModElement_dateTime_Getter";
- void set text(String value) native "Node_textContent_Setter";
+ void set dateTime(String value) native "HTMLModElement_dateTime_Setter";
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "Node_addEventListener_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.
- Node $dom_appendChild(Node newChild) native "Node_appendChild_Callback";
+// WARNING: Do not edit - generated code.
- Node clone(bool deep) native "Node_cloneNode_Callback";
+/// @domName MouseEvent
+abstract class MouseEvent implements UIEvent {
- bool contains(Node other) native "Node_contains_Callback";
+ factory MouseEvent(String type, Window view, int detail, int screenX, int screenY,
+ int clientX, int clientY, int button, [bool canBubble = true,
+ bool cancelable = true, bool ctrlKey = false, bool altKey = false,
+ bool shiftKey = false, bool metaKey = false,
+ EventTarget relatedTarget = null]) =>
+ _MouseEventFactoryProvider.createMouseEvent(
+ type, view, detail, screenX, screenY,
+ clientX, clientY, button, canBubble, cancelable,
+ ctrlKey, altKey, shiftKey, metaKey,
+ relatedTarget);
- bool $dom_dispatchEvent(Event event) native "Node_dispatchEvent_Callback";
- bool hasChildNodes() native "Node_hasChildNodes_Callback";
+ /** @domName MouseEvent.altKey */
+ abstract bool get altKey;
- Node insertBefore(Node newChild, Node refChild) native "Node_insertBefore_Callback";
+ /** @domName MouseEvent.button */
+ abstract int get button;
- Node $dom_removeChild(Node oldChild) native "Node_removeChild_Callback";
+ /** @domName MouseEvent.clientX */
+ abstract int get clientX;
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "Node_removeEventListener_Callback";
+ /** @domName MouseEvent.clientY */
+ abstract int get clientY;
- Node $dom_replaceChild(Node newChild, Node oldChild) native "Node_replaceChild_Callback";
+ /** @domName MouseEvent.ctrlKey */
+ abstract bool get ctrlKey;
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ /** @domName MouseEvent.dataTransfer */
+ abstract Clipboard get dataTransfer;
-// WARNING: Do not edit - generated code.
+ /** @domName MouseEvent.fromElement */
+ abstract Node get fromElement;
-/// @domName NodeIterator
-abstract class NodeIterator {
+ /** @domName MouseEvent.metaKey */
+ abstract bool get metaKey;
- /** @domName NodeIterator.expandEntityReferences */
- abstract bool get expandEntityReferences;
+ /** @domName MouseEvent.offsetX */
+ abstract int get offsetX;
- /** @domName NodeIterator.filter */
- abstract NodeFilter get filter;
+ /** @domName MouseEvent.offsetY */
+ abstract int get offsetY;
- /** @domName NodeIterator.pointerBeforeReferenceNode */
- abstract bool get pointerBeforeReferenceNode;
+ /** @domName MouseEvent.relatedTarget */
+ abstract EventTarget get relatedTarget;
- /** @domName NodeIterator.referenceNode */
- abstract Node get referenceNode;
+ /** @domName MouseEvent.screenX */
+ abstract int get screenX;
- /** @domName NodeIterator.root */
- abstract Node get root;
+ /** @domName MouseEvent.screenY */
+ abstract int get screenY;
- /** @domName NodeIterator.whatToShow */
- abstract int get whatToShow;
+ /** @domName MouseEvent.shiftKey */
+ abstract bool get shiftKey;
- /** @domName NodeIterator.detach */
- void detach();
+ /** @domName MouseEvent.toElement */
+ abstract Node get toElement;
- /** @domName NodeIterator.nextNode */
- Node nextNode();
+ /** @domName MouseEvent.webkitMovementX */
+ abstract int get webkitMovementX;
- /** @domName NodeIterator.previousNode */
- Node previousNode();
+ /** @domName MouseEvent.webkitMovementY */
+ abstract int get webkitMovementY;
+
+ /** @domName MouseEvent.x */
+ abstract int get x;
+
+ /** @domName MouseEvent.y */
+ abstract int get y;
+
+ /** @domName MouseEvent.initMouseEvent */
+ void $dom_initMouseEvent(String type, bool canBubble, bool cancelable, LocalWindow 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
@@ -22959,225 +22843,246 @@ abstract class NodeIterator {
// WARNING: Do not edit - generated code.
-class _NodeIteratorImpl extends NativeFieldWrapperClass1 implements NodeIterator {
+class _MouseEventImpl extends _UIEventImpl implements MouseEvent {
- bool get expandEntityReferences native "NodeIterator_expandEntityReferences_Getter";
+ bool get altKey native "MouseEvent_altKey_Getter";
- NodeFilter get filter native "NodeIterator_filter_Getter";
+ int get button native "MouseEvent_button_Getter";
- bool get pointerBeforeReferenceNode native "NodeIterator_pointerBeforeReferenceNode_Getter";
+ int get clientX native "MouseEvent_clientX_Getter";
- Node get referenceNode native "NodeIterator_referenceNode_Getter";
+ int get clientY native "MouseEvent_clientY_Getter";
- Node get root native "NodeIterator_root_Getter";
+ bool get ctrlKey native "MouseEvent_ctrlKey_Getter";
- int get whatToShow native "NodeIterator_whatToShow_Getter";
+ Clipboard get dataTransfer native "MouseEvent_dataTransfer_Getter";
- void detach() native "NodeIterator_detach_Callback";
+ Node get fromElement native "MouseEvent_fromElement_Getter";
- Node nextNode() native "NodeIterator_nextNode_Callback";
+ bool get metaKey native "MouseEvent_metaKey_Getter";
- Node previousNode() native "NodeIterator_previousNode_Callback";
+ int get offsetX native "MouseEvent_offsetX_Getter";
-}
-// 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.
+ int get offsetY native "MouseEvent_offsetY_Getter";
-// WARNING: Do not edit - generated code.
+ EventTarget get relatedTarget native "MouseEvent_relatedTarget_Getter";
-/// @domName NodeList
-abstract class NodeList implements List<Node> {
+ int get screenX native "MouseEvent_screenX_Getter";
- List<Node> filter(bool f(Node element));
+ int get screenY native "MouseEvent_screenY_Getter";
- List<Node> getRange(int start, int length);
+ bool get shiftKey native "MouseEvent_shiftKey_Getter";
- Node get first;
+ Node get toElement native "MouseEvent_toElement_Getter";
+ int get webkitMovementX native "MouseEvent_webkitMovementX_Getter";
- /** @domName NodeList.length */
- abstract int get length;
+ int get webkitMovementY native "MouseEvent_webkitMovementY_Getter";
+
+ int get x native "MouseEvent_x_Getter";
+
+ int get y native "MouseEvent_y_Getter";
+
+ void $dom_initMouseEvent(String type, bool canBubble, bool cancelable, LocalWindow view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarget) native "MouseEvent_initMouseEvent_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.
-// TODO(nweiz): when all implementations we target have the same name for the
-// coreimpl implementation of List<E>, extend that rather than wrapping.
-class _ListWrapper<E> implements List<E> {
- List _list;
-
- _ListWrapper(List this._list);
-
- Iterator<E> iterator() => _list.iterator();
+// WARNING: Do not edit - generated code.
- void forEach(void f(E element)) => _list.forEach(f);
+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.
- Collection map(f(E element)) => _list.map(f);
+// WARNING: Do not edit - generated code.
- List<E> filter(bool f(E element)) => _list.filter(f);
+/// @domName MutationEvent
+abstract class MutationEvent implements Event {
- bool every(bool f(E element)) => _list.every(f);
+ static const int ADDITION = 2;
- bool some(bool f(E element)) => _list.some(f);
+ static const int MODIFICATION = 1;
- bool isEmpty() => _list.isEmpty();
+ static const int REMOVAL = 3;
- int get length => _list.length;
+ /** @domName MutationEvent.attrChange */
+ abstract int get attrChange;
- E operator [](int index) => _list[index];
+ /** @domName MutationEvent.attrName */
+ abstract String get attrName;
- void operator []=(int index, E value) { _list[index] = value; }
+ /** @domName MutationEvent.newValue */
+ abstract String get newValue;
- void set length(int newLength) { _list.length = newLength; }
+ /** @domName MutationEvent.prevValue */
+ abstract String get prevValue;
- void add(E value) => _list.add(value);
+ /** @domName MutationEvent.relatedNode */
+ abstract Node get relatedNode;
- void addLast(E value) => _list.addLast(value);
+ /** @domName MutationEvent.initMutationEvent */
+ 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.
- void addAll(Collection<E> collection) => _list.addAll(collection);
+// WARNING: Do not edit - generated code.
- void sort(int compare(E a, E b)) => _list.sort(compare);
+class _MutationEventImpl extends _EventImpl implements MutationEvent {
- int indexOf(E element, [int start = 0]) => _list.indexOf(element, start);
+ int get attrChange native "MutationEvent_attrChange_Getter";
- int lastIndexOf(E element, [int start = 0]) =>
- _list.lastIndexOf(element, start);
+ String get attrName native "MutationEvent_attrName_Getter";
- void clear() => _list.clear();
+ String get newValue native "MutationEvent_newValue_Getter";
- E removeLast() => _list.removeLast();
+ String get prevValue native "MutationEvent_prevValue_Getter";
- E last() => _list.last();
+ Node get relatedNode native "MutationEvent_relatedNode_Getter";
- List<E> getRange(int start, int rangeLength) =>
- _list.getRange(start, rangeLength);
+ void initMutationEvent(String type, bool canBubble, bool cancelable, Node relatedNode, String prevValue, String newValue, String attrName, int attrChange) native "MutationEvent_initMutationEvent_Callback";
- void setRange(int start, int rangeLength, List<E> from, [int startFrom = 0])
- => _list.setRange(start, rangeLength, from, startFrom);
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- void removeRange(int start, int rangeLength) =>
- _list.removeRange(start, rangeLength);
+// WARNING: Do not edit - generated code.
- void insertRange(int start, int rangeLength, [E initialValue = null]) =>
- _list.insertRange(start, rangeLength, initialValue);
+/// @domName MutationObserver
+abstract class MutationObserver {
- E get first => _list[0];
-}
+ factory MutationObserver(MutationCallback callback) => _MutationObserverFactoryProvider.createMutationObserver(callback);
-/**
- * This class is used to insure the results of list operations are NodeLists
- * instead of lists.
- */
-class _NodeListWrapper extends _ListWrapper<Node> implements List {
- _NodeListWrapper(List list) : super(list);
+ /** @domName MutationObserver.disconnect */
+ void disconnect();
- List<Node> filter(bool f(Node element)) =>
- new _NodeListWrapper(_list.filter(f));
+ /** @domName MutationObserver.takeRecords */
+ List<MutationRecord> takeRecords();
- List<Node> getRange(int start, int rangeLength) =>
- new _NodeListWrapper(_list.getRange(start, rangeLength));
+ void observe(Node target,
+ [Map options,
+ bool childList,
+ bool attributes,
+ bool characterData,
+ bool subtree,
+ bool attributeOldValue,
+ bool characterDataOldValue,
+ List<String> attributeFilter]);
}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for 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 _NodeListImpl extends NativeFieldWrapperClass1 implements NodeList {
- _NodeImpl _parent;
-
- // -- start List<Node> mixins.
- // Node is the element type.
+class _MutationObserverImpl extends NativeFieldWrapperClass1 implements MutationObserver {
- // From Iterable<Node>:
+ void disconnect() native "MutationObserver_disconnect_Callback";
- 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);
- }
+ void _observe(Node target, Map options) native "MutationObserver__observe_Callback";
- // From Collection<Node>:
+ List<MutationRecord> takeRecords() native "MutationObserver_takeRecords_Callback";
- void add(_NodeImpl value) {
- _parent.$dom_appendChild(value);
- }
+ void observe(Node target,
+ [Map options,
+ bool childList,
+ bool attributes,
+ bool characterData,
+ bool subtree,
+ bool attributeOldValue,
+ bool characterDataOldValue,
+ List<String> attributeFilter]) {
- void addLast(_NodeImpl value) {
- _parent.$dom_appendChild(value);
- }
+ // Parse options into map of known type.
+ var parsedOptions = _createDict();
- void addAll(Collection<_NodeImpl> collection) {
- for (_NodeImpl node in collection) {
- _parent.$dom_appendChild(node);
+ if (options != null) {
+ options.forEach((k, v) {
+ if (_boolKeys.containsKey(k)) {
+ _add(parsedOptions, k, true === v);
+ } else if (k == 'attributeFilter') {
+ _add(parsedOptions, k, _fixupList(v));
+ } else {
+ throw new ArgumentError(
+ "Illegal MutationObserver.observe option '$k'");
+ }
+ });
}
- }
- _NodeImpl removeLast() {
- final result = this.last();
- if (result != null) {
- _parent.$dom_removeChild(result);
+ // Override options passed in the map with named optional arguments.
+ override(key, value) {
+ if (value != null) _add(parsedOptions, key, value);
}
- return result;
- }
- void clear() {
- _parent.text = '';
- }
+ override('childList', childList);
+ override('attributes', attributes);
+ override('characterData', characterData);
+ override('subtree', subtree);
+ override('attributeOldValue', attributeOldValue);
+ override('characterDataOldValue', characterDataOldValue);
+ if (attributeFilter != null) {
+ override('attributeFilter', _fixupList(attributeFilter));
+ }
- void operator []=(int index, _NodeImpl value) {
- _parent.$dom_replaceChild(value, this[index]);
+ _call(target, parsedOptions);
}
- 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)) =>
- new _NodeListWrapper(_Collections.filter(this, <Node>[], f));
-
- bool every(bool f(Node element)) => _Collections.every(this, f);
+ // TODO: Change to a set when const Sets are available.
+ static final _boolKeys =
+ const {'childList': true,
+ 'attributes': true,
+ 'characterData': true,
+ 'subtree': true,
+ 'attributeOldValue': true,
+ 'characterDataOldValue': true };
- bool some(bool f(Node element)) => _Collections.some(this, f);
+ static _createDict() => {};
+ static _add(m, String key, value) { m[key] = value; }
+ static _fixupList(list) => list;
- bool isEmpty() => this.length == 0;
+ _call(Node target, options) {
+ _observe(target, options);
+ }
- // From List<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.
- void sort(int compare(Node a, Node b)) {
- throw new UnsupportedOperationException("Cannot sort immutable List.");
- }
+// WARNING: Do not edit - generated code.
- int indexOf(Node element, [int start = 0]) =>
- _Lists.indexOf(this, element, start, this.length);
+/// @domName MutationRecord
+abstract class MutationRecord {
- int lastIndexOf(Node element, [int start = 0]) =>
- _Lists.lastIndexOf(this, element, start);
+ /** @domName MutationRecord.addedNodes */
+ abstract List<Node> get addedNodes;
- Node last() => this[length - 1];
- Node get first => this[0];
+ /** @domName MutationRecord.attributeName */
+ abstract String get attributeName;
- // FIXME: implement thesee.
- void setRange(int start, int rangeLength, List<Node> from, [int startFrom]) {
- throw new UnsupportedOperationException("Cannot setRange on immutable List.");
- }
- void removeRange(int start, int rangeLength) {
- throw new UnsupportedOperationException("Cannot removeRange on immutable List.");
- }
- void insertRange(int start, int rangeLength, [Node initialValue]) {
- throw new UnsupportedOperationException("Cannot insertRange on immutable List.");
- }
- List<Node> getRange(int start, int rangeLength) =>
- new _NodeListWrapper(_Lists.getRange(this, start, rangeLength, <Node>[]));
+ /** @domName MutationRecord.attributeNamespace */
+ abstract String get attributeNamespace;
- // -- end List<Node> mixins.
+ /** @domName MutationRecord.nextSibling */
+ abstract Node get nextSibling;
+ /** @domName MutationRecord.oldValue */
+ abstract String get oldValue;
- int get length native "NodeList_length_Getter";
+ /** @domName MutationRecord.previousSibling */
+ abstract Node get previousSibling;
- Node operator[](int index) native "NodeList_item_Callback";
+ /** @domName MutationRecord.removedNodes */
+ abstract List<Node> get removedNodes;
- Node _item(int index) native "NodeList_item_Callback";
+ /** @domName MutationRecord.target */
+ abstract Node get target;
+ /** @domName MutationRecord.type */
+ abstract String get 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
@@ -23185,26 +23090,25 @@ class _NodeListImpl extends NativeFieldWrapperClass1 implements NodeList {
// WARNING: Do not edit - generated code.
-/// @domName Notation
-abstract class Notation implements Node {
+class _MutationRecordImpl extends NativeFieldWrapperClass1 implements MutationRecord {
- /** @domName Notation.publicId */
- abstract String get publicId;
+ List<Node> get addedNodes native "MutationRecord_addedNodes_Getter";
- /** @domName Notation.systemId */
- abstract String get 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.
+ String get attributeName native "MutationRecord_attributeName_Getter";
-// WARNING: Do not edit - generated code.
+ String get attributeNamespace native "MutationRecord_attributeNamespace_Getter";
-class _NotationImpl extends _NodeImpl implements Notation {
+ Node get nextSibling native "MutationRecord_nextSibling_Getter";
- String get publicId native "Notation_publicId_Getter";
+ String get oldValue native "MutationRecord_oldValue_Getter";
- String get systemId native "Notation_systemId_Getter";
+ Node get previousSibling native "MutationRecord_previousSibling_Getter";
+
+ List<Node> get removedNodes native "MutationRecord_removedNodes_Getter";
+
+ Node get target native "MutationRecord_target_Getter";
+
+ String get type native "MutationRecord_type_Getter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -23213,103 +23117,137 @@ class _NotationImpl extends _NodeImpl implements Notation {
// WARNING: Do not edit - generated code.
-/// @domName Notification
-abstract class Notification implements EventTarget {
+/// @domName NamedNodeMap
+abstract class NamedNodeMap implements List<Node> {
- factory Notification(String title, [Map options]) {
- if (!?options) {
- return _NotificationFactoryProvider.createNotification(title);
- }
- return _NotificationFactoryProvider.createNotification(title, options);
+ /** @domName NamedNodeMap.length */
+ abstract int get length;
+
+ /** @domName NamedNodeMap.getNamedItem */
+ Node getNamedItem(String name);
+
+ /** @domName NamedNodeMap.getNamedItemNS */
+ Node getNamedItemNS(String namespaceURI, String localName);
+
+ /** @domName NamedNodeMap.item */
+ Node item(int index);
+
+ /** @domName NamedNodeMap.removeNamedItem */
+ Node removeNamedItem(String name);
+
+ /** @domName NamedNodeMap.removeNamedItemNS */
+ Node removeNamedItemNS(String namespaceURI, String localName);
+
+ /** @domName NamedNodeMap.setNamedItem */
+ Node setNamedItem(Node node);
+
+ /** @domName NamedNodeMap.setNamedItemNS */
+ 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.
+
+class _NamedNodeMapImpl extends NativeFieldWrapperClass1 implements NamedNodeMap {
+
+ int get length native "NamedNodeMap_length_Getter";
+
+ Node operator[](int index) native "NamedNodeMap_item_Callback";
+
+ void operator[]=(int index, Node value) {
+ throw new UnsupportedOperationException("Cannot assign element of immutable List.");
}
+ // -- start List<Node> mixins.
+ // Node is the element type.
- /**
- * @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
- */
- NotificationEvents get on;
+ // From Iterable<Node>:
- /** @domName Notification.dir */
- String dir;
+ 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);
+ }
- /** @domName Notification.permission */
- abstract String get permission;
+ // From Collection<Node>:
- /** @domName Notification.replaceId */
- String replaceId;
+ void add(Node value) {
+ throw const UnsupportedOperationException("Cannot add to immutable List.");
+ }
- /** @domName Notification.tag */
- String tag;
+ void addLast(Node value) {
+ throw const UnsupportedOperationException("Cannot add to immutable List.");
+ }
- /** @domName Notification.addEventListener */
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
+ void addAll(Collection<Node> collection) {
+ throw const UnsupportedOperationException("Cannot add to immutable List.");
+ }
- /** @domName Notification.cancel */
- void cancel();
+ void forEach(void f(Node element)) => _Collections.forEach(this, f);
- /** @domName Notification.close */
- void close();
+ Collection map(f(Node element)) => _Collections.map(this, [], f);
- /** @domName Notification.dispatchEvent */
- bool $dom_dispatchEvent(Event evt);
+ Collection<Node> filter(bool f(Node element)) =>
+ _Collections.filter(this, <Node>[], f);
- /** @domName Notification.removeEventListener */
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
+ bool every(bool f(Node element)) => _Collections.every(this, f);
- /** @domName Notification.requestPermission */
- static final requestPermission = _NotificationImpl.requestPermission;
+ bool some(bool f(Node element)) => _Collections.some(this, f);
- /** @domName Notification.show */
- void show();
-}
+ bool isEmpty() => this.length == 0;
-abstract class NotificationEvents implements Events {
+ // From List<Node>:
- EventListenerList get click;
+ void sort(int compare(Node a, Node b)) {
+ throw const UnsupportedOperationException("Cannot sort immutable List.");
+ }
- EventListenerList get close;
+ int indexOf(Node element, [int start = 0]) =>
+ _Lists.indexOf(this, element, start, this.length);
- EventListenerList get display;
+ int lastIndexOf(Node element, [int start]) {
+ if (start === null) start = length - 1;
+ return _Lists.lastIndexOf(this, element, start);
+ }
- EventListenerList get error;
+ Node last() => this[length - 1];
- EventListenerList get 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.
+ Node removeLast() {
+ throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
+ }
-// WARNING: Do not edit - generated code.
+ void setRange(int start, int rangeLength, List<Node> from, [int startFrom]) {
+ throw const UnsupportedOperationException("Cannot setRange on immutable List.");
+ }
-/// @domName NotificationCenter
-abstract class NotificationCenter {
+ void removeRange(int start, int rangeLength) {
+ throw const UnsupportedOperationException("Cannot removeRange on immutable List.");
+ }
- /** @domName NotificationCenter.checkPermission */
- int checkPermission();
+ void insertRange(int start, int rangeLength, [Node initialValue]) {
+ throw const UnsupportedOperationException("Cannot insertRange on immutable List.");
+ }
- /** @domName NotificationCenter.createHTMLNotification */
- Notification createHTMLNotification(String url);
+ List<Node> getRange(int start, int rangeLength) =>
+ _Lists.getRange(this, start, rangeLength, <Node>[]);
- /** @domName NotificationCenter.createNotification */
- Notification createNotification(String iconUrl, String title, String body);
+ // -- end List<Node> mixins.
- /** @domName NotificationCenter.requestPermission */
- 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.
+ Node getNamedItem(String name) native "NamedNodeMap_getNamedItem_Callback";
-// WARNING: Do not edit - generated code.
+ Node getNamedItemNS(String namespaceURI, String localName) native "NamedNodeMap_getNamedItemNS_Callback";
-class _NotificationCenterImpl extends NativeFieldWrapperClass1 implements NotificationCenter {
+ Node item(int index) native "NamedNodeMap_item_Callback";
- int checkPermission() native "NotificationCenter_checkPermission_Callback";
+ Node removeNamedItem(String name) native "NamedNodeMap_removeNamedItem_Callback";
- Notification createHTMLNotification(String url) native "NotificationCenter_createHTMLNotification_Callback";
+ Node removeNamedItemNS(String namespaceURI, String localName) native "NamedNodeMap_removeNamedItemNS_Callback";
- Notification createNotification(String iconUrl, String title, String body) native "NotificationCenter_createNotification_Callback";
+ Node setNamedItem(Node node) native "NamedNodeMap_setNamedItem_Callback";
- void requestPermission(VoidCallback callback) native "NotificationCenter_requestPermission_Callback";
+ Node setNamedItemNS(Node node) native "NamedNodeMap_setNamedItemNS_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -23318,53 +23256,68 @@ class _NotificationCenterImpl extends NativeFieldWrapperClass1 implements Notifi
// WARNING: Do not edit - generated code.
-class _NotificationImpl extends _EventTargetImpl implements Notification {
-
- _NotificationEventsImpl get on =>
- new _NotificationEventsImpl(this);
-
- String get dir native "Notification_dir_Getter";
+/// @domName Navigator
+abstract class Navigator {
- void set dir(String value) native "Notification_dir_Setter";
+ /** @domName Navigator.appCodeName */
+ abstract String get appCodeName;
- String get permission native "Notification_permission_Getter";
+ /** @domName Navigator.appName */
+ abstract String get appName;
- String get replaceId native "Notification_replaceId_Getter";
+ /** @domName Navigator.appVersion */
+ abstract String get appVersion;
- void set replaceId(String value) native "Notification_replaceId_Setter";
+ /** @domName Navigator.cookieEnabled */
+ abstract bool get cookieEnabled;
- String get tag native "Notification_tag_Getter";
+ /** @domName Navigator.geolocation */
+ abstract Geolocation get geolocation;
- void set tag(String value) native "Notification_tag_Setter";
+ /** @domName Navigator.language */
+ abstract String get language;
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "Notification_addEventListener_Callback";
+ /** @domName Navigator.mimeTypes */
+ abstract DOMMimeTypeArray get mimeTypes;
- void cancel() native "Notification_cancel_Callback";
+ /** @domName Navigator.onLine */
+ abstract bool get onLine;
- void close() native "Notification_close_Callback";
+ /** @domName Navigator.platform */
+ abstract String get platform;
- bool $dom_dispatchEvent(Event evt) native "Notification_dispatchEvent_Callback";
+ /** @domName Navigator.plugins */
+ abstract DOMPluginArray get plugins;
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "Notification_removeEventListener_Callback";
+ /** @domName Navigator.product */
+ abstract String get product;
- static void requestPermission(NotificationPermissionCallback callback) native "Notification_requestPermission_Callback";
+ /** @domName Navigator.productSub */
+ abstract String get productSub;
- void show() native "Notification_show_Callback";
+ /** @domName Navigator.userAgent */
+ abstract String get userAgent;
-}
+ /** @domName Navigator.vendor */
+ abstract String get vendor;
-class _NotificationEventsImpl extends _EventsImpl implements NotificationEvents {
- _NotificationEventsImpl(_ptr) : super(_ptr);
+ /** @domName Navigator.vendorSub */
+ abstract String get vendorSub;
- EventListenerList get click => this['click'];
+ /** @domName Navigator.webkitBattery */
+ abstract BatteryManager get webkitBattery;
- EventListenerList get close => this['close'];
+ /** @domName Navigator.getStorageUpdates */
+ void getStorageUpdates();
- EventListenerList get display => this['display'];
+ /** @domName Navigator.javaEnabled */
+ bool javaEnabled();
- EventListenerList get error => this['error'];
+ /** @domName Navigator.webkitGetGamepads */
+ List<Gamepad> webkitGetGamepads();
- EventListenerList get show => this['show'];
+ /** @domName Navigator.webkitGetUserMedia */
+ 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
@@ -23372,25 +23325,47 @@ class _NotificationEventsImpl extends _EventsImpl implements NotificationEvents
// 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.
+class _NavigatorImpl extends NativeFieldWrapperClass1 implements Navigator {
-// WARNING: Do not edit - generated code.
+ String get appCodeName native "Navigator_appCodeName_Getter";
-/// @domName OESStandardDerivatives
-abstract class OESStandardDerivatives {
+ String get appName native "Navigator_appName_Getter";
- 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.
+ String get appVersion native "Navigator_appVersion_Getter";
-// WARNING: Do not edit - generated code.
+ bool get cookieEnabled native "Navigator_cookieEnabled_Getter";
-class _OESStandardDerivativesImpl extends NativeFieldWrapperClass1 implements OESStandardDerivatives {
+ Geolocation get geolocation native "Navigator_geolocation_Getter";
+
+ String get language native "Navigator_language_Getter";
+
+ DOMMimeTypeArray get mimeTypes native "Navigator_mimeTypes_Getter";
+
+ bool get onLine native "Navigator_onLine_Getter";
+
+ String get platform native "Navigator_platform_Getter";
+
+ DOMPluginArray get plugins native "Navigator_plugins_Getter";
+
+ String get product native "Navigator_product_Getter";
+
+ String get productSub native "Navigator_productSub_Getter";
+
+ String get userAgent native "Navigator_userAgent_Getter";
+
+ String get vendor native "Navigator_vendor_Getter";
+
+ String get vendorSub native "Navigator_vendorSub_Getter";
+
+ BatteryManager get webkitBattery native "Navigator_webkitBattery_Getter";
+
+ void getStorageUpdates() native "Navigator_getStorageUpdates_Callback";
+
+ bool javaEnabled() native "Navigator_javaEnabled_Callback";
+
+ List<Gamepad> webkitGetGamepads() native "Navigator_webkitGetGamepads_Callback";
+
+ void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback successCallback, [NavigatorUserMediaErrorCallback errorCallback]) native "Navigator_webkitGetUserMedia_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -23399,8 +23374,13 @@ class _OESStandardDerivativesImpl extends NativeFieldWrapperClass1 implements OE
// WARNING: Do not edit - generated code.
-/// @domName OESTextureFloat
-abstract class OESTextureFloat {
+/// @domName NavigatorUserMediaError
+abstract class NavigatorUserMediaError {
+
+ static const int PERMISSION_DENIED = 1;
+
+ /** @domName NavigatorUserMediaError.code */
+ abstract int get 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
@@ -23408,31 +23388,17 @@ abstract class OESTextureFloat {
// WARNING: Do not edit - generated code.
-class _OESTextureFloatImpl extends NativeFieldWrapperClass1 implements OESTextureFloat {
-
-}
+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.
-/// @domName OESVertexArrayObject
-abstract class OESVertexArrayObject {
-
- static const int VERTEX_ARRAY_BINDING_OES = 0x85B5;
-
- /** @domName OESVertexArrayObject.bindVertexArrayOES */
- void bindVertexArrayOES(WebGLVertexArrayObjectOES arrayObject);
-
- /** @domName OESVertexArrayObject.createVertexArrayOES */
- WebGLVertexArrayObjectOES createVertexArrayOES();
+class _NavigatorUserMediaErrorImpl extends NativeFieldWrapperClass1 implements NavigatorUserMediaError {
- /** @domName OESVertexArrayObject.deleteVertexArrayOES */
- void deleteVertexArrayOES(WebGLVertexArrayObjectOES arrayObject);
+ int get code native "NavigatorUserMediaError_code_Getter";
- /** @domName OESVertexArrayObject.isVertexArrayOES */
- 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
@@ -23440,144 +23406,128 @@ abstract class OESVertexArrayObject {
// WARNING: Do not edit - generated code.
-class _OESVertexArrayObjectImpl extends NativeFieldWrapperClass1 implements OESVertexArrayObject {
-
- void bindVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) native "OESVertexArrayObject_bindVertexArrayOES_Callback";
-
- WebGLVertexArrayObjectOES createVertexArrayOES() native "OESVertexArrayObject_createVertexArrayOES_Callback";
-
- void deleteVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) native "OESVertexArrayObject_deleteVertexArrayOES_Callback";
-
- bool isVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) native "OESVertexArrayObject_isVertexArrayOES_Callback";
-
-}
+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.
-/// @domName HTMLOListElement
-abstract class OListElement implements Element {
+/// @domName Node
+abstract class Node implements EventTarget {
+ List<Node> get nodes;
- factory OListElement() => _Elements.createOListElement();
+ void set nodes(Collection<Node> value);
- /** @domName HTMLOListElement.compact */
- bool compact;
+ /**
+ * Replaces this node with another node.
+ * @domName Node.replaceChild
+ */
+ Node replaceWith(Node otherNode);
- /** @domName HTMLOListElement.reversed */
- bool reversed;
+ /**
+ * Removes this node from the DOM.
+ * @domName Node.removeChild
+ */
+ void remove();
- /** @domName HTMLOListElement.start */
- int start;
- /** @domName HTMLOListElement.type */
- 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.
+ static const int ATTRIBUTE_NODE = 2;
-// WARNING: Do not edit - generated code.
+ static const int CDATA_SECTION_NODE = 4;
-class _HTMLOListElementImpl extends _HTMLElementImpl implements OListElement {
+ static const int COMMENT_NODE = 8;
- bool get compact native "HTMLOListElement_compact_Getter";
+ static const int DOCUMENT_FRAGMENT_NODE = 11;
- void set compact(bool value) native "HTMLOListElement_compact_Setter";
+ static const int DOCUMENT_NODE = 9;
- bool get reversed native "HTMLOListElement_reversed_Getter";
+ static const int DOCUMENT_POSITION_CONTAINED_BY = 0x10;
- void set reversed(bool value) native "HTMLOListElement_reversed_Setter";
+ static const int DOCUMENT_POSITION_CONTAINS = 0x08;
- int get start native "HTMLOListElement_start_Getter";
+ static const int DOCUMENT_POSITION_DISCONNECTED = 0x01;
- void set start(int value) native "HTMLOListElement_start_Setter";
+ static const int DOCUMENT_POSITION_FOLLOWING = 0x04;
- String get type native "HTMLOListElement_type_Getter";
+ static const int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20;
- void set type(String value) native "HTMLOListElement_type_Setter";
+ static const int DOCUMENT_POSITION_PRECEDING = 0x02;
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ static const int DOCUMENT_TYPE_NODE = 10;
-// WARNING: Do not edit - generated code.
+ static const int ELEMENT_NODE = 1;
-/// @domName HTMLObjectElement
-abstract class ObjectElement implements Element {
+ static const int ENTITY_NODE = 6;
- factory ObjectElement() => _Elements.createObjectElement();
+ static const int ENTITY_REFERENCE_NODE = 5;
- /** @domName HTMLObjectElement.align */
- String align;
+ static const int NOTATION_NODE = 12;
- /** @domName HTMLObjectElement.archive */
- String archive;
+ static const int PROCESSING_INSTRUCTION_NODE = 7;
- /** @domName HTMLObjectElement.border */
- String border;
+ static const int TEXT_NODE = 3;
- /** @domName HTMLObjectElement.code */
- String code;
+ /** @domName Node.attributes */
+ abstract NamedNodeMap get $dom_attributes;
- /** @domName HTMLObjectElement.codeBase */
- String codeBase;
+ /** @domName Node.childNodes */
+ abstract List<Node> get $dom_childNodes;
- /** @domName HTMLObjectElement.codeType */
- String codeType;
+ /** @domName Node.firstChild */
+ abstract Node get $dom_firstChild;
- /** @domName HTMLObjectElement.contentDocument */
- abstract Document get contentDocument;
+ /** @domName Node.lastChild */
+ abstract Node get $dom_lastChild;
- /** @domName HTMLObjectElement.data */
- String data;
+ /** @domName Node.nextSibling */
+ abstract Node get nextNode;
- /** @domName HTMLObjectElement.declare */
- bool declare;
+ /** @domName Node.nodeType */
+ abstract int get $dom_nodeType;
- /** @domName HTMLObjectElement.form */
- abstract FormElement get form;
+ /** @domName Node.ownerDocument */
+ abstract Document get document;
- /** @domName HTMLObjectElement.height */
- String height;
+ /** @domName Node.parentNode */
+ abstract Node get parent;
- /** @domName HTMLObjectElement.hspace */
- int hspace;
+ /** @domName Node.previousSibling */
+ abstract Node get previousNode;
- /** @domName HTMLObjectElement.name */
- String name;
+ /** @domName Node.textContent */
+ String text;
- /** @domName HTMLObjectElement.standby */
- String standby;
+ /** @domName Node.addEventListener */
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
- /** @domName HTMLObjectElement.type */
- String type;
+ /** @domName Node.appendChild */
+ Node $dom_appendChild(Node newChild);
- /** @domName HTMLObjectElement.useMap */
- String useMap;
+ /** @domName Node.cloneNode */
+ Node clone(bool deep);
- /** @domName HTMLObjectElement.validationMessage */
- abstract String get validationMessage;
+ /** @domName Node.contains */
+ bool contains(Node other);
- /** @domName HTMLObjectElement.validity */
- abstract ValidityState get validity;
+ /** @domName Node.dispatchEvent */
+ bool $dom_dispatchEvent(Event event);
- /** @domName HTMLObjectElement.vspace */
- int vspace;
+ /** @domName Node.hasChildNodes */
+ bool hasChildNodes();
- /** @domName HTMLObjectElement.width */
- String width;
+ /** @domName Node.insertBefore */
+ Node insertBefore(Node newChild, Node refChild);
- /** @domName HTMLObjectElement.willValidate */
- abstract bool get willValidate;
+ /** @domName Node.removeChild */
+ Node $dom_removeChild(Node oldChild);
- /** @domName HTMLObjectElement.checkValidity */
- bool checkValidity();
+ /** @domName Node.removeEventListener */
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
+
+ /** @domName Node.replaceChild */
+ Node $dom_replaceChild(Node newChild, Node oldChild);
- /** @domName HTMLObjectElement.setCustomValidity */
- 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
@@ -23585,96 +23535,43 @@ abstract class ObjectElement implements Element {
// WARNING: Do not edit - generated code.
-class _HTMLObjectElementImpl extends _HTMLElementImpl implements ObjectElement {
-
- String get align native "HTMLObjectElement_align_Getter";
-
- void set align(String value) native "HTMLObjectElement_align_Setter";
-
- String get archive native "HTMLObjectElement_archive_Getter";
+/// @domName NodeFilter
+abstract class NodeFilter {
- void set archive(String value) native "HTMLObjectElement_archive_Setter";
+ static const int FILTER_ACCEPT = 1;
- String get border native "HTMLObjectElement_border_Getter";
+ static const int FILTER_REJECT = 2;
- void set border(String value) native "HTMLObjectElement_border_Setter";
+ static const int FILTER_SKIP = 3;
- String get code native "HTMLObjectElement_code_Getter";
+ static const int SHOW_ALL = 0xFFFFFFFF;
- void set code(String value) native "HTMLObjectElement_code_Setter";
+ static const int SHOW_ATTRIBUTE = 0x00000002;
- String get codeBase native "HTMLObjectElement_codeBase_Getter";
+ static const int SHOW_CDATA_SECTION = 0x00000008;
- void set codeBase(String value) native "HTMLObjectElement_codeBase_Setter";
+ static const int SHOW_COMMENT = 0x00000080;
- String get codeType native "HTMLObjectElement_codeType_Getter";
+ static const int SHOW_DOCUMENT = 0x00000100;
- void set codeType(String value) native "HTMLObjectElement_codeType_Setter";
+ static const int SHOW_DOCUMENT_FRAGMENT = 0x00000400;
- String get data native "HTMLObjectElement_data_Getter";
+ static const int SHOW_DOCUMENT_TYPE = 0x00000200;
- void set data(String value) native "HTMLObjectElement_data_Setter";
+ static const int SHOW_ELEMENT = 0x00000001;
- bool get declare native "HTMLObjectElement_declare_Getter";
+ static const int SHOW_ENTITY = 0x00000020;
- void set declare(bool value) native "HTMLObjectElement_declare_Setter";
+ static const int SHOW_ENTITY_REFERENCE = 0x00000010;
- FormElement get form native "HTMLObjectElement_form_Getter";
+ static const int SHOW_NOTATION = 0x00000800;
- String get height native "HTMLObjectElement_height_Getter";
+ static const int SHOW_PROCESSING_INSTRUCTION = 0x00000040;
- void set height(String value) native "HTMLObjectElement_height_Setter";
+ static const int SHOW_TEXT = 0x00000004;
- int get hspace native "HTMLObjectElement_hspace_Getter";
-
- void set hspace(int value) native "HTMLObjectElement_hspace_Setter";
-
- String get name native "HTMLObjectElement_name_Getter";
-
- void set name(String value) native "HTMLObjectElement_name_Setter";
-
- String get standby native "HTMLObjectElement_standby_Getter";
-
- void set standby(String value) native "HTMLObjectElement_standby_Setter";
-
- String get type native "HTMLObjectElement_type_Getter";
-
- void set type(String value) native "HTMLObjectElement_type_Setter";
-
- String get useMap native "HTMLObjectElement_useMap_Getter";
-
- void set useMap(String value) native "HTMLObjectElement_useMap_Setter";
-
- String get validationMessage native "HTMLObjectElement_validationMessage_Getter";
-
- ValidityState get validity native "HTMLObjectElement_validity_Getter";
-
- int get vspace native "HTMLObjectElement_vspace_Getter";
-
- void set vspace(int value) native "HTMLObjectElement_vspace_Setter";
-
- String get width native "HTMLObjectElement_width_Getter";
-
- void set width(String value) native "HTMLObjectElement_width_Setter";
-
- bool get willValidate native "HTMLObjectElement_willValidate_Getter";
-
- bool checkValidity() native "HTMLObjectElement_checkValidity_Callback";
-
- void setCustomValidity(String error) native "HTMLObjectElement_setCustomValidity_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.
-
-/// @domName OfflineAudioCompletionEvent
-abstract class OfflineAudioCompletionEvent implements Event {
-
- /** @domName OfflineAudioCompletionEvent.renderedBuffer */
- abstract AudioBuffer get renderedBuffer;
+ /** @domName NodeFilter.acceptNode */
+ 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
@@ -23682,171 +23579,193 @@ abstract class OfflineAudioCompletionEvent implements Event {
// WARNING: Do not edit - generated code.
-class _OfflineAudioCompletionEventImpl extends _EventImpl implements OfflineAudioCompletionEvent {
+class _NodeFilterImpl extends NativeFieldWrapperClass1 implements NodeFilter {
- AudioBuffer get renderedBuffer native "OfflineAudioCompletionEvent_renderedBuffer_Getter";
+ int acceptNode(Node n) native "NodeFilter_acceptNode_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.
-
-/// @domName HTMLOptGroupElement
-abstract class OptGroupElement implements Element {
+/**
+ * Lazy implementation of the child nodes of an element that does not request
+ * the actual child nodes of an element until strictly necessary greatly
+ * improving performance for the typical cases where it is not required.
+ */
+class _ChildNodeListLazy implements List {
+ final _NodeImpl _this;
- factory OptGroupElement() => _Elements.createOptGroupElement();
+ _ChildNodeListLazy(this._this);
- /** @domName HTMLOptGroupElement.disabled */
- bool disabled;
- /** @domName HTMLOptGroupElement.label */
- 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.
+ _NodeImpl get first => _this.$dom_firstChild;
+ _NodeImpl last() => _this.$dom_lastChild;
-// WARNING: Do not edit - generated code.
+ void add(_NodeImpl value) {
+ _this.$dom_appendChild(value);
+ }
-class _HTMLOptGroupElementImpl extends _HTMLElementImpl implements OptGroupElement {
+ void addLast(_NodeImpl value) {
+ _this.$dom_appendChild(value);
+ }
- bool get disabled native "HTMLOptGroupElement_disabled_Getter";
- void set disabled(bool value) native "HTMLOptGroupElement_disabled_Setter";
+ void addAll(Collection<_NodeImpl> collection) {
+ for (_NodeImpl node in collection) {
+ _this.$dom_appendChild(node);
+ }
+ }
- String get label native "HTMLOptGroupElement_label_Getter";
+ _NodeImpl removeLast() {
+ final result = last();
+ if (result != null) {
+ _this.$dom_removeChild(result);
+ }
+ return result;
+ }
- void set label(String value) native "HTMLOptGroupElement_label_Setter";
+ void clear() {
+ _this.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.
+ void operator []=(int index, _NodeImpl value) {
+ _this.$dom_replaceChild(value, this[index]);
+ }
-// WARNING: Do not edit - generated code.
+ Iterator<Node> iterator() => _this.$dom_childNodes.iterator();
-/// @domName HTMLOptionElement
-abstract class OptionElement implements Element {
+ // TODO(jacobr): We can implement these methods much more efficiently by
+ // looking up the nodeList only once instead of once per iteration.
+ void forEach(void f(Node element)) => _Collections.forEach(this, f);
- factory OptionElement([String data, String value, bool defaultSelected, bool selected]) {
- if (!?data) {
- return _OptionElementFactoryProvider.createOptionElement();
- }
- if (!?value) {
- return _OptionElementFactoryProvider.createOptionElement(data);
- }
- if (!?defaultSelected) {
- return _OptionElementFactoryProvider.createOptionElement(data, value);
- }
- if (!?selected) {
- return _OptionElementFactoryProvider.createOptionElement(data, value, defaultSelected);
- }
- return _OptionElementFactoryProvider.createOptionElement(data, value, defaultSelected, selected);
- }
+ Collection map(f(Node element)) => _Collections.map(this, [], f);
- /** @domName HTMLOptionElement.defaultSelected */
- bool defaultSelected;
+ Collection<Node> filter(bool f(Node element)) =>
+ new _NodeListWrapper(_Collections.filter(this, <Node>[], f));
- /** @domName HTMLOptionElement.disabled */
- bool disabled;
+ bool every(bool f(Node element)) => _Collections.every(this, f);
- /** @domName HTMLOptionElement.form */
- abstract FormElement get form;
+ bool some(bool f(Node element)) => _Collections.some(this, f);
- /** @domName HTMLOptionElement.index */
- abstract int get index;
+ bool isEmpty() => this.length == 0;
- /** @domName HTMLOptionElement.label */
- String label;
+ // From List<Node>:
- /** @domName HTMLOptionElement.selected */
- bool selected;
+ // TODO(jacobr): this could be implemented for child node lists.
+ // The exception we throw here is misleading.
+ void sort(int compare(Node a, Node b)) {
+ throw new UnsupportedOperationException("Cannot sort immutable List.");
+ }
- /** @domName HTMLOptionElement.value */
- 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.
+ int indexOf(Node element, [int start = 0]) =>
+ _Lists.indexOf(this, element, start, this.length);
-// WARNING: Do not edit - generated code.
+ int lastIndexOf(Node element, [int start = 0]) =>
+ _Lists.lastIndexOf(this, element, start);
-class _HTMLOptionElementImpl extends _HTMLElementImpl implements OptionElement {
+ // FIXME: implement these.
+ void setRange(int start, int rangeLength, List<Node> from, [int startFrom]) {
+ throw new UnsupportedOperationException(
+ "Cannot setRange on immutable List.");
+ }
+ void removeRange(int start, int rangeLength) {
+ throw new UnsupportedOperationException(
+ "Cannot removeRange on immutable List.");
+ }
+ void insertRange(int start, int rangeLength, [Node initialValue]) {
+ throw new UnsupportedOperationException(
+ "Cannot insertRange on immutable List.");
+ }
+ List<Node> getRange(int start, int rangeLength) =>
+ new _NodeListWrapper(_Lists.getRange(this, start, rangeLength, <Node>[]));
- bool get defaultSelected native "HTMLOptionElement_defaultSelected_Getter";
+ // -- end List<Node> mixins.
- void set defaultSelected(bool value) native "HTMLOptionElement_defaultSelected_Setter";
+ // TODO(jacobr): benchmark whether this is more efficient or whether caching
+ // a local copy of $dom_childNodes is more efficient.
+ int get length => _this.$dom_childNodes.length;
- bool get disabled native "HTMLOptionElement_disabled_Getter";
+ _NodeImpl operator[](int index) => _this.$dom_childNodes[index];
+}
- void set disabled(bool value) native "HTMLOptionElement_disabled_Setter";
+class _NodeImpl extends _EventTargetImpl implements Node {
+ _ChildNodeListLazy get nodes {
+ return new _ChildNodeListLazy(this);
+ }
- FormElement get form native "HTMLOptionElement_form_Getter";
+ void set nodes(Collection<Node> value) {
+ // Copy list first since we don't want liveness during iteration.
+ // TODO(jacobr): there is a better way to do this.
+ List copy = new List.from(value);
+ text = '';
+ for (Node node in copy) {
+ $dom_appendChild(node);
+ }
+ }
- int get index native "HTMLOptionElement_index_Getter";
+ // TODO(jacobr): should we throw an exception if parent is already null?
+ // TODO(vsm): Use the native remove when available.
+ void remove() {
+ if (this.parent != null) {
+ final _NodeImpl parent = this.parent;
+ parent.$dom_removeChild(this);
+ }
+ }
- String get label native "HTMLOptionElement_label_Getter";
+ _NodeImpl replaceWith(Node otherNode) {
+ try {
+ final _NodeImpl parent = this.parent;
+ parent.$dom_replaceChild(otherNode, this);
+ } catch (e) {
- void set label(String value) native "HTMLOptionElement_label_Setter";
+ };
+ return this;
+ }
- bool get selected native "HTMLOptionElement_selected_Getter";
- void set selected(bool value) native "HTMLOptionElement_selected_Setter";
+ NamedNodeMap get $dom_attributes native "Node_attributes_Getter";
- String get value native "HTMLOptionElement_value_Getter";
+ List<Node> get $dom_childNodes native "Node_childNodes_Getter";
- void set value(String value) native "HTMLOptionElement_value_Setter";
+ Node get $dom_firstChild native "Node_firstChild_Getter";
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ Node get $dom_lastChild native "Node_lastChild_Getter";
-// WARNING: Do not edit - generated code.
+ Node get nextNode native "Node_nextSibling_Getter";
-/// @domName Oscillator
-abstract class Oscillator implements AudioSourceNode {
+ int get $dom_nodeType native "Node_nodeType_Getter";
- static const int CUSTOM = 4;
+ Document get document native "Node_ownerDocument_Getter";
- static const int FINISHED_STATE = 3;
+ Node get parent native "Node_parentNode_Getter";
- static const int PLAYING_STATE = 2;
+ Node get previousNode native "Node_previousSibling_Getter";
- static const int SAWTOOTH = 2;
+ String get text native "Node_textContent_Getter";
- static const int SCHEDULED_STATE = 1;
+ void set text(String value) native "Node_textContent_Setter";
- static const int SINE = 0;
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "Node_addEventListener_Callback";
- static const int SQUARE = 1;
+ Node $dom_appendChild(Node newChild) native "Node_appendChild_Callback";
- static const int TRIANGLE = 3;
+ Node clone(bool deep) native "Node_cloneNode_Callback";
- static const int UNSCHEDULED_STATE = 0;
+ bool contains(Node other) native "Node_contains_Callback";
- /** @domName Oscillator.detune */
- abstract AudioParam get detune;
+ bool $dom_dispatchEvent(Event event) native "Node_dispatchEvent_Callback";
- /** @domName Oscillator.frequency */
- abstract AudioParam get frequency;
+ bool hasChildNodes() native "Node_hasChildNodes_Callback";
- /** @domName Oscillator.playbackState */
- abstract int get playbackState;
+ Node insertBefore(Node newChild, Node refChild) native "Node_insertBefore_Callback";
- /** @domName Oscillator.type */
- int type;
+ Node $dom_removeChild(Node oldChild) native "Node_removeChild_Callback";
- /** @domName Oscillator.setWaveTable */
- void setWaveTable(WaveTable waveTable);
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "Node_removeEventListener_Callback";
- /** @domName Oscillator.start */
- void start(num when);
+ Node $dom_replaceChild(Node newChild, Node oldChild) native "Node_replaceChild_Callback";
- /** @domName Oscillator.stop */
- void stop(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
@@ -23854,24 +23773,35 @@ abstract class Oscillator implements AudioSourceNode {
// WARNING: Do not edit - generated code.
-class _OscillatorImpl extends _AudioSourceNodeImpl implements Oscillator {
+/// @domName NodeIterator
+abstract class NodeIterator {
- AudioParam get detune native "Oscillator_detune_Getter";
+ /** @domName NodeIterator.expandEntityReferences */
+ abstract bool get expandEntityReferences;
- AudioParam get frequency native "Oscillator_frequency_Getter";
+ /** @domName NodeIterator.filter */
+ abstract NodeFilter get filter;
- int get playbackState native "Oscillator_playbackState_Getter";
+ /** @domName NodeIterator.pointerBeforeReferenceNode */
+ abstract bool get pointerBeforeReferenceNode;
- int get type native "Oscillator_type_Getter";
+ /** @domName NodeIterator.referenceNode */
+ abstract Node get referenceNode;
- void set type(int value) native "Oscillator_type_Setter";
+ /** @domName NodeIterator.root */
+ abstract Node get root;
- void setWaveTable(WaveTable waveTable) native "Oscillator_setWaveTable_Callback";
+ /** @domName NodeIterator.whatToShow */
+ abstract int get whatToShow;
- void start(num when) native "Oscillator_start_Callback";
+ /** @domName NodeIterator.detach */
+ void detach();
- void stop(num when) native "Oscillator_stop_Callback";
+ /** @domName NodeIterator.nextNode */
+ Node nextNode();
+ /** @domName NodeIterator.previousNode */
+ 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
@@ -23879,227 +23809,225 @@ class _OscillatorImpl extends _AudioSourceNodeImpl implements Oscillator {
// WARNING: Do not edit - generated code.
-/// @domName HTMLOutputElement
-abstract class OutputElement implements Element {
-
- factory OutputElement() => _Elements.createOutputElement();
-
- /** @domName HTMLOutputElement.defaultValue */
- String defaultValue;
-
- /** @domName HTMLOutputElement.form */
- abstract FormElement get form;
+class _NodeIteratorImpl extends NativeFieldWrapperClass1 implements NodeIterator {
- /** @domName HTMLOutputElement.htmlFor */
- DOMSettableTokenList htmlFor;
+ bool get expandEntityReferences native "NodeIterator_expandEntityReferences_Getter";
- /** @domName HTMLOutputElement.labels */
- abstract List<Node> get labels;
+ NodeFilter get filter native "NodeIterator_filter_Getter";
- /** @domName HTMLOutputElement.name */
- String name;
+ bool get pointerBeforeReferenceNode native "NodeIterator_pointerBeforeReferenceNode_Getter";
- /** @domName HTMLOutputElement.type */
- abstract String get type;
+ Node get referenceNode native "NodeIterator_referenceNode_Getter";
- /** @domName HTMLOutputElement.validationMessage */
- abstract String get validationMessage;
+ Node get root native "NodeIterator_root_Getter";
- /** @domName HTMLOutputElement.validity */
- abstract ValidityState get validity;
+ int get whatToShow native "NodeIterator_whatToShow_Getter";
- /** @domName HTMLOutputElement.value */
- String value;
+ void detach() native "NodeIterator_detach_Callback";
- /** @domName HTMLOutputElement.willValidate */
- abstract bool get willValidate;
+ Node nextNode() native "NodeIterator_nextNode_Callback";
- /** @domName HTMLOutputElement.checkValidity */
- bool checkValidity();
+ Node previousNode() native "NodeIterator_previousNode_Callback";
- /** @domName HTMLOutputElement.setCustomValidity */
- void setCustomValidity(String error);
}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// WARNING: Do not edit - generated code.
-class _HTMLOutputElementImpl extends _HTMLElementImpl implements OutputElement {
-
- String get defaultValue native "HTMLOutputElement_defaultValue_Getter";
-
- void set defaultValue(String value) native "HTMLOutputElement_defaultValue_Setter";
+/// @domName NodeList
+abstract class NodeList implements List<Node> {
- FormElement get form native "HTMLOutputElement_form_Getter";
+ List<Node> filter(bool f(Node element));
- DOMSettableTokenList get htmlFor native "HTMLOutputElement_htmlFor_Getter";
+ List<Node> getRange(int start, int length);
- void set htmlFor(DOMSettableTokenList value) native "HTMLOutputElement_htmlFor_Setter";
+ Node get first;
- List<Node> get labels native "HTMLOutputElement_labels_Getter";
- String get name native "HTMLOutputElement_name_Getter";
+ /** @domName NodeList.length */
+ abstract int get length;
- void set name(String value) native "HTMLOutputElement_name_Setter";
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- String get type native "HTMLOutputElement_type_Getter";
+// TODO(nweiz): when all implementations we target have the same name for the
+// coreimpl implementation of List<E>, extend that rather than wrapping.
+class _ListWrapper<E> implements List<E> {
+ List _list;
- String get validationMessage native "HTMLOutputElement_validationMessage_Getter";
+ _ListWrapper(List this._list);
- ValidityState get validity native "HTMLOutputElement_validity_Getter";
+ Iterator<E> iterator() => _list.iterator();
- String get value native "HTMLOutputElement_value_Getter";
+ void forEach(void f(E element)) => _list.forEach(f);
- void set value(String value) native "HTMLOutputElement_value_Setter";
+ Collection map(f(E element)) => _list.map(f);
- bool get willValidate native "HTMLOutputElement_willValidate_Getter";
+ List<E> filter(bool f(E element)) => _list.filter(f);
- bool checkValidity() native "HTMLOutputElement_checkValidity_Callback";
+ bool every(bool f(E element)) => _list.every(f);
- void setCustomValidity(String error) native "HTMLOutputElement_setCustomValidity_Callback";
+ bool some(bool f(E element)) => _list.some(f);
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ bool isEmpty() => _list.isEmpty();
-// WARNING: Do not edit - generated code.
+ int get length => _list.length;
-/// @domName OverflowEvent
-abstract class OverflowEvent implements Event {
+ E operator [](int index) => _list[index];
- static const int BOTH = 2;
+ void operator []=(int index, E value) { _list[index] = value; }
- static const int HORIZONTAL = 0;
+ void set length(int newLength) { _list.length = newLength; }
- static const int VERTICAL = 1;
+ void add(E value) => _list.add(value);
- /** @domName OverflowEvent.horizontalOverflow */
- abstract bool get horizontalOverflow;
+ void addLast(E value) => _list.addLast(value);
- /** @domName OverflowEvent.orient */
- abstract int get orient;
+ void addAll(Collection<E> collection) => _list.addAll(collection);
- /** @domName OverflowEvent.verticalOverflow */
- abstract bool get 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.
+ void sort(int compare(E a, E b)) => _list.sort(compare);
-// WARNING: Do not edit - generated code.
+ int indexOf(E element, [int start = 0]) => _list.indexOf(element, start);
-class _OverflowEventImpl extends _EventImpl implements OverflowEvent {
+ int lastIndexOf(E element, [int start = 0]) =>
+ _list.lastIndexOf(element, start);
- bool get horizontalOverflow native "OverflowEvent_horizontalOverflow_Getter";
+ void clear() => _list.clear();
- int get orient native "OverflowEvent_orient_Getter";
+ E removeLast() => _list.removeLast();
- bool get verticalOverflow native "OverflowEvent_verticalOverflow_Getter";
+ E last() => _list.last();
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ List<E> getRange(int start, int rangeLength) =>
+ _list.getRange(start, rangeLength);
-// WARNING: Do not edit - generated code.
+ void setRange(int start, int rangeLength, List<E> from, [int startFrom = 0])
+ => _list.setRange(start, rangeLength, from, startFrom);
-/// @domName PagePopupController
-abstract class PagePopupController {
+ void removeRange(int start, int rangeLength) =>
+ _list.removeRange(start, rangeLength);
- /** @domName PagePopupController.localizeNumberString */
- String localizeNumberString(String numberString);
+ void insertRange(int start, int rangeLength, [E initialValue = null]) =>
+ _list.insertRange(start, rangeLength, initialValue);
- /** @domName PagePopupController.setValueAndClosePopup */
- void setValueAndClosePopup(int numberValue, String stringValue);
+ E get first => _list[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.
-
-class _PagePopupControllerImpl extends NativeFieldWrapperClass1 implements PagePopupController {
- String localizeNumberString(String numberString) native "PagePopupController_localizeNumberString_Callback";
+/**
+ * This class is used to insure the results of list operations are NodeLists
+ * instead of lists.
+ */
+class _NodeListWrapper extends _ListWrapper<Node> implements List {
+ _NodeListWrapper(List list) : super(list);
- void setValueAndClosePopup(int numberValue, String stringValue) native "PagePopupController_setValueAndClosePopup_Callback";
+ List<Node> filter(bool f(Node element)) =>
+ new _NodeListWrapper(_list.filter(f));
+ List<Node> getRange(int start, int rangeLength) =>
+ new _NodeListWrapper(_list.getRange(start, rangeLength));
}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-// WARNING: Do not edit - generated code.
+class _NodeListImpl extends NativeFieldWrapperClass1 implements NodeList {
+ _NodeImpl _parent;
-/// @domName PageTransitionEvent
-abstract class PageTransitionEvent implements Event {
+ // -- start List<Node> mixins.
+ // Node is the element type.
- /** @domName PageTransitionEvent.persisted */
- abstract bool get 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.
+ // From Iterable<Node>:
-// WARNING: Do not edit - generated code.
+ 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);
+ }
-class _PageTransitionEventImpl extends _EventImpl implements PageTransitionEvent {
+ // From Collection<Node>:
- bool get persisted native "PageTransitionEvent_persisted_Getter";
+ void add(_NodeImpl value) {
+ _parent.$dom_appendChild(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.
+ void addLast(_NodeImpl value) {
+ _parent.$dom_appendChild(value);
+ }
-// WARNING: Do not edit - generated code.
+ void addAll(Collection<_NodeImpl> collection) {
+ for (_NodeImpl node in collection) {
+ _parent.$dom_appendChild(node);
+ }
+ }
-/// @domName HTMLParagraphElement
-abstract class ParagraphElement implements Element {
+ _NodeImpl removeLast() {
+ final result = this.last();
+ if (result != null) {
+ _parent.$dom_removeChild(result);
+ }
+ return result;
+ }
- factory ParagraphElement() => _Elements.createParagraphElement();
+ void clear() {
+ _parent.text = '';
+ }
- /** @domName HTMLParagraphElement.align */
- 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.
+ void operator []=(int index, _NodeImpl value) {
+ _parent.$dom_replaceChild(value, this[index]);
+ }
-// WARNING: Do not edit - generated code.
+ void forEach(void f(Node element)) => _Collections.forEach(this, f);
-class _HTMLParagraphElementImpl extends _HTMLElementImpl implements ParagraphElement {
+ Collection map(f(Node element)) => _Collections.map(this, [], f);
- String get align native "HTMLParagraphElement_align_Getter";
+ Collection<Node> filter(bool f(Node element)) =>
+ new _NodeListWrapper(_Collections.filter(this, <Node>[], f));
- void set align(String value) native "HTMLParagraphElement_align_Setter";
+ bool every(bool f(Node element)) => _Collections.every(this, f);
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ bool some(bool f(Node element)) => _Collections.some(this, f);
-// WARNING: Do not edit - generated code.
+ bool isEmpty() => this.length == 0;
-/// @domName HTMLParamElement
-abstract class ParamElement implements Element {
+ // From List<Node>:
- factory ParamElement() => _Elements.createParamElement();
+ void sort(int compare(Node a, Node b)) {
+ throw new UnsupportedOperationException("Cannot sort immutable List.");
+ }
- /** @domName HTMLParamElement.name */
- String name;
+ int indexOf(Node element, [int start = 0]) =>
+ _Lists.indexOf(this, element, start, this.length);
- /** @domName HTMLParamElement.type */
- String type;
+ int lastIndexOf(Node element, [int start = 0]) =>
+ _Lists.lastIndexOf(this, element, start);
- /** @domName HTMLParamElement.value */
- String value;
+ Node last() => this[length - 1];
+ Node get first => this[0];
+
+ // FIXME: implement thesee.
+ void setRange(int start, int rangeLength, List<Node> from, [int startFrom]) {
+ throw new UnsupportedOperationException("Cannot setRange on immutable List.");
+ }
+ void removeRange(int start, int rangeLength) {
+ throw new UnsupportedOperationException("Cannot removeRange on immutable List.");
+ }
+ void insertRange(int start, int rangeLength, [Node initialValue]) {
+ throw new UnsupportedOperationException("Cannot insertRange on immutable List.");
+ }
+ List<Node> getRange(int start, int rangeLength) =>
+ new _NodeListWrapper(_Lists.getRange(this, start, rangeLength, <Node>[]));
+
+ // -- end List<Node> mixins.
+
+
+ int get length native "NodeList_length_Getter";
+
+ Node operator[](int index) native "NodeList_item_Callback";
+
+ Node _item(int index) native "NodeList_item_Callback";
- /** @domName HTMLParamElement.valueType */
- 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
@@ -24107,23 +24035,26 @@ abstract class ParamElement implements Element {
// WARNING: Do not edit - generated code.
-class _HTMLParamElementImpl extends _HTMLElementImpl implements ParamElement {
-
- String get name native "HTMLParamElement_name_Getter";
-
- void set name(String value) native "HTMLParamElement_name_Setter";
+/// @domName Notation
+abstract class Notation implements Node {
- String get type native "HTMLParamElement_type_Getter";
+ /** @domName Notation.publicId */
+ abstract String get publicId;
- void set type(String value) native "HTMLParamElement_type_Setter";
+ /** @domName Notation.systemId */
+ abstract String get 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.
- String get value native "HTMLParamElement_value_Getter";
+// WARNING: Do not edit - generated code.
- void set value(String value) native "HTMLParamElement_value_Setter";
+class _NotationImpl extends _NodeImpl implements Notation {
- String get valueType native "HTMLParamElement_valueType_Getter";
+ String get publicId native "Notation_publicId_Getter";
- void set valueType(String value) native "HTMLParamElement_valueType_Setter";
+ String get systemId native "Notation_systemId_Getter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -24132,110 +24063,66 @@ class _HTMLParamElementImpl extends _HTMLElementImpl implements ParamElement {
// WARNING: Do not edit - generated code.
-/// @domName PeerConnection00
-abstract class PeerConnection00 implements EventTarget {
+/// @domName Notification
+abstract class Notification implements EventTarget {
- factory PeerConnection00(String serverConfiguration, IceCallback iceCallback) => _PeerConnection00FactoryProvider.createPeerConnection00(serverConfiguration, iceCallback);
+ factory Notification(String title, [Map options]) {
+ if (!?options) {
+ return _NotificationFactoryProvider.createNotification(title);
+ }
+ return _NotificationFactoryProvider.createNotification(title, options);
+ }
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
*/
- PeerConnection00Events get on;
-
- 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;
-
- /** @domName PeerConnection00.iceState */
- abstract int get iceState;
-
- /** @domName PeerConnection00.localDescription */
- abstract SessionDescription get localDescription;
+ NotificationEvents get on;
- /** @domName PeerConnection00.localStreams */
- abstract List<MediaStream> get localStreams;
+ /** @domName Notification.dir */
+ String dir;
- /** @domName PeerConnection00.readyState */
- abstract int get readyState;
+ /** @domName Notification.permission */
+ abstract String get permission;
- /** @domName PeerConnection00.remoteDescription */
- abstract SessionDescription get remoteDescription;
+ /** @domName Notification.replaceId */
+ String replaceId;
- /** @domName PeerConnection00.remoteStreams */
- abstract List<MediaStream> get remoteStreams;
+ /** @domName Notification.tag */
+ String tag;
- /** @domName PeerConnection00.addEventListener */
+ /** @domName Notification.addEventListener */
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
- /** @domName PeerConnection00.addStream */
- void addStream(MediaStream stream, [Map mediaStreamHints]);
+ /** @domName Notification.cancel */
+ void cancel();
- /** @domName PeerConnection00.close */
+ /** @domName Notification.close */
void close();
- /** @domName PeerConnection00.createAnswer */
- SessionDescription createAnswer(String offer, [Map mediaHints]);
-
- /** @domName PeerConnection00.createOffer */
- SessionDescription createOffer([Map mediaHints]);
-
- /** @domName PeerConnection00.dispatchEvent */
- bool $dom_dispatchEvent(Event event);
-
- /** @domName PeerConnection00.processIceMessage */
- void processIceMessage(IceCandidate candidate);
+ /** @domName Notification.dispatchEvent */
+ bool $dom_dispatchEvent(Event evt);
- /** @domName PeerConnection00.removeEventListener */
+ /** @domName Notification.removeEventListener */
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
- /** @domName PeerConnection00.removeStream */
- void removeStream(MediaStream stream);
-
- /** @domName PeerConnection00.setLocalDescription */
- void setLocalDescription(int action, SessionDescription desc);
-
- /** @domName PeerConnection00.setRemoteDescription */
- void setRemoteDescription(int action, SessionDescription desc);
+ /** @domName Notification.requestPermission */
+ static final requestPermission = _NotificationImpl.requestPermission;
- /** @domName PeerConnection00.startIce */
- void startIce([Map iceOptions]);
+ /** @domName Notification.show */
+ void show();
}
-abstract class PeerConnection00Events implements Events {
+abstract class NotificationEvents implements Events {
- EventListenerList get addStream;
+ EventListenerList get click;
- EventListenerList get connecting;
+ EventListenerList get close;
- EventListenerList get open;
+ EventListenerList get display;
- EventListenerList get removeStream;
+ EventListenerList get error;
- EventListenerList get stateChange;
+ EventListenerList get 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
@@ -24243,99 +24130,91 @@ abstract class PeerConnection00Events implements Events {
// WARNING: Do not edit - generated code.
-class _PeerConnection00Impl extends _EventTargetImpl implements PeerConnection00 {
+/// @domName NotificationCenter
+abstract class NotificationCenter {
- _PeerConnection00EventsImpl get on =>
- new _PeerConnection00EventsImpl(this);
+ /** @domName NotificationCenter.checkPermission */
+ int checkPermission();
- int get iceState native "PeerConnection00_iceState_Getter";
+ /** @domName NotificationCenter.createHTMLNotification */
+ Notification createHTMLNotification(String url);
- SessionDescription get localDescription native "PeerConnection00_localDescription_Getter";
+ /** @domName NotificationCenter.createNotification */
+ Notification createNotification(String iconUrl, String title, String body);
- List<MediaStream> get localStreams native "PeerConnection00_localStreams_Getter";
+ /** @domName NotificationCenter.requestPermission */
+ 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.
- int get readyState native "PeerConnection00_readyState_Getter";
+// WARNING: Do not edit - generated code.
- SessionDescription get remoteDescription native "PeerConnection00_remoteDescription_Getter";
+class _NotificationCenterImpl extends NativeFieldWrapperClass1 implements NotificationCenter {
- List<MediaStream> get remoteStreams native "PeerConnection00_remoteStreams_Getter";
+ int checkPermission() native "NotificationCenter_checkPermission_Callback";
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "PeerConnection00_addEventListener_Callback";
+ Notification createHTMLNotification(String url) native "NotificationCenter_createHTMLNotification_Callback";
- void addStream(stream, [mediaStreamHints]) {
- if (?mediaStreamHints) {
- _addStream_1(stream, mediaStreamHints);
- return;
- }
- _addStream_2(stream);
- }
+ Notification createNotification(String iconUrl, String title, String body) native "NotificationCenter_createNotification_Callback";
- void _addStream_1(stream, mediaStreamHints) native "PeerConnection00_addStream_1_Callback";
+ void requestPermission(VoidCallback callback) native "NotificationCenter_requestPermission_Callback";
- void _addStream_2(stream) native "PeerConnection00_addStream_2_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.
- void close() native "PeerConnection00_close_Callback";
+// WARNING: Do not edit - generated code.
- SessionDescription createAnswer(offer, [mediaHints]) {
- if (?mediaHints) {
- return _createAnswer_1(offer, mediaHints);
- }
- return _createAnswer_2(offer);
- }
+class _NotificationImpl extends _EventTargetImpl implements Notification {
- SessionDescription _createAnswer_1(offer, mediaHints) native "PeerConnection00_createAnswer_1_Callback";
+ _NotificationEventsImpl get on =>
+ new _NotificationEventsImpl(this);
- SessionDescription _createAnswer_2(offer) native "PeerConnection00_createAnswer_2_Callback";
+ String get dir native "Notification_dir_Getter";
- SessionDescription createOffer([mediaHints]) {
- if (?mediaHints) {
- return _createOffer_1(mediaHints);
- }
- return _createOffer_2();
- }
+ void set dir(String value) native "Notification_dir_Setter";
- SessionDescription _createOffer_1(mediaHints) native "PeerConnection00_createOffer_1_Callback";
+ String get permission native "Notification_permission_Getter";
- SessionDescription _createOffer_2() native "PeerConnection00_createOffer_2_Callback";
+ String get replaceId native "Notification_replaceId_Getter";
- bool $dom_dispatchEvent(Event event) native "PeerConnection00_dispatchEvent_Callback";
+ void set replaceId(String value) native "Notification_replaceId_Setter";
- void processIceMessage(IceCandidate candidate) native "PeerConnection00_processIceMessage_Callback";
+ String get tag native "Notification_tag_Getter";
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "PeerConnection00_removeEventListener_Callback";
+ void set tag(String value) native "Notification_tag_Setter";
- void removeStream(MediaStream stream) native "PeerConnection00_removeStream_Callback";
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "Notification_addEventListener_Callback";
- void setLocalDescription(int action, SessionDescription desc) native "PeerConnection00_setLocalDescription_Callback";
+ void cancel() native "Notification_cancel_Callback";
- void setRemoteDescription(int action, SessionDescription desc) native "PeerConnection00_setRemoteDescription_Callback";
+ void close() native "Notification_close_Callback";
- void startIce([iceOptions]) {
- if (?iceOptions) {
- _startIce_1(iceOptions);
- return;
- }
- _startIce_2();
- }
+ bool $dom_dispatchEvent(Event evt) native "Notification_dispatchEvent_Callback";
- void _startIce_1(iceOptions) native "PeerConnection00_startIce_1_Callback";
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "Notification_removeEventListener_Callback";
- void _startIce_2() native "PeerConnection00_startIce_2_Callback";
+ static void requestPermission(NotificationPermissionCallback callback) native "Notification_requestPermission_Callback";
+
+ void show() native "Notification_show_Callback";
}
-class _PeerConnection00EventsImpl extends _EventsImpl implements PeerConnection00Events {
- _PeerConnection00EventsImpl(_ptr) : super(_ptr);
+class _NotificationEventsImpl extends _EventsImpl implements NotificationEvents {
+ _NotificationEventsImpl(_ptr) : super(_ptr);
- EventListenerList get addStream => this['addstream'];
+ EventListenerList get click => this['click'];
- EventListenerList get connecting => this['connecting'];
+ EventListenerList get close => this['close'];
- EventListenerList get open => this['open'];
+ EventListenerList get display => this['display'];
- EventListenerList get removeStream => this['removestream'];
+ EventListenerList get error => this['error'];
- EventListenerList get stateChange => this['statechange'];
+ EventListenerList get show => this['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
@@ -24343,20 +24222,17 @@ class _PeerConnection00EventsImpl extends _EventsImpl implements PeerConnection0
// WARNING: Do not edit - generated code.
-/// @domName Performance
-abstract class Performance implements EventTarget {
-
- /** @domName Performance.memory */
- abstract MemoryInfo get memory;
+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.
- /** @domName Performance.navigation */
- abstract PerformanceNavigation get navigation;
+// WARNING: Do not edit - generated code.
- /** @domName Performance.timing */
- abstract PerformanceTiming get timing;
+/// @domName OESStandardDerivatives
+abstract class OESStandardDerivatives {
- /** @domName Performance.webkitNow */
- num webkitNow();
+ 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
@@ -24364,15 +24240,25 @@ abstract class Performance implements EventTarget {
// WARNING: Do not edit - generated code.
-class _PerformanceImpl extends _EventTargetImpl implements Performance {
+class _OESStandardDerivativesImpl extends NativeFieldWrapperClass1 implements OESStandardDerivatives {
- MemoryInfo get memory native "Performance_memory_Getter";
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- PerformanceNavigation get navigation native "Performance_navigation_Getter";
+// WARNING: Do not edit - generated code.
- PerformanceTiming get timing native "Performance_timing_Getter";
+/// @domName OESTextureFloat
+abstract class 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.
- num webkitNow() native "Performance_webkitNow_Callback";
+// WARNING: Do not edit - generated code.
+
+class _OESTextureFloatImpl extends NativeFieldWrapperClass1 implements OESTextureFloat {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -24381,22 +24267,22 @@ class _PerformanceImpl extends _EventTargetImpl implements Performance {
// WARNING: Do not edit - generated code.
-/// @domName PerformanceNavigation
-abstract class PerformanceNavigation {
-
- static const int TYPE_BACK_FORWARD = 2;
+/// @domName OESVertexArrayObject
+abstract class OESVertexArrayObject {
- static const int TYPE_NAVIGATE = 0;
+ static const int VERTEX_ARRAY_BINDING_OES = 0x85B5;
- static const int TYPE_RELOAD = 1;
+ /** @domName OESVertexArrayObject.bindVertexArrayOES */
+ void bindVertexArrayOES(WebGLVertexArrayObjectOES arrayObject);
- static const int TYPE_RESERVED = 255;
+ /** @domName OESVertexArrayObject.createVertexArrayOES */
+ WebGLVertexArrayObjectOES createVertexArrayOES();
- /** @domName PerformanceNavigation.redirectCount */
- abstract int get redirectCount;
+ /** @domName OESVertexArrayObject.deleteVertexArrayOES */
+ void deleteVertexArrayOES(WebGLVertexArrayObjectOES arrayObject);
- /** @domName PerformanceNavigation.type */
- abstract int get type;
+ /** @domName OESVertexArrayObject.isVertexArrayOES */
+ 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
@@ -24404,11 +24290,15 @@ abstract class PerformanceNavigation {
// WARNING: Do not edit - generated code.
-class _PerformanceNavigationImpl extends NativeFieldWrapperClass1 implements PerformanceNavigation {
+class _OESVertexArrayObjectImpl extends NativeFieldWrapperClass1 implements OESVertexArrayObject {
- int get redirectCount native "PerformanceNavigation_redirectCount_Getter";
+ void bindVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) native "OESVertexArrayObject_bindVertexArrayOES_Callback";
- int get type native "PerformanceNavigation_type_Getter";
+ WebGLVertexArrayObjectOES createVertexArrayOES() native "OESVertexArrayObject_createVertexArrayOES_Callback";
+
+ void deleteVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) native "OESVertexArrayObject_deleteVertexArrayOES_Callback";
+
+ bool isVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) native "OESVertexArrayObject_isVertexArrayOES_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -24417,71 +24307,47 @@ class _PerformanceNavigationImpl extends NativeFieldWrapperClass1 implements Per
// WARNING: Do not edit - generated code.
-/// @domName PerformanceTiming
-abstract class PerformanceTiming {
-
- /** @domName PerformanceTiming.connectEnd */
- abstract int get connectEnd;
-
- /** @domName PerformanceTiming.connectStart */
- abstract int get connectStart;
-
- /** @domName PerformanceTiming.domComplete */
- abstract int get domComplete;
-
- /** @domName PerformanceTiming.domContentLoadedEventEnd */
- abstract int get domContentLoadedEventEnd;
-
- /** @domName PerformanceTiming.domContentLoadedEventStart */
- abstract int get domContentLoadedEventStart;
+/// @domName HTMLOListElement
+abstract class OListElement implements Element {
- /** @domName PerformanceTiming.domInteractive */
- abstract int get domInteractive;
+ factory OListElement() => _Elements.createOListElement();
- /** @domName PerformanceTiming.domLoading */
- abstract int get domLoading;
+ /** @domName HTMLOListElement.compact */
+ bool compact;
- /** @domName PerformanceTiming.domainLookupEnd */
- abstract int get domainLookupEnd;
+ /** @domName HTMLOListElement.reversed */
+ bool reversed;
- /** @domName PerformanceTiming.domainLookupStart */
- abstract int get domainLookupStart;
+ /** @domName HTMLOListElement.start */
+ int start;
- /** @domName PerformanceTiming.fetchStart */
- abstract int get fetchStart;
+ /** @domName HTMLOListElement.type */
+ 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.
- /** @domName PerformanceTiming.loadEventEnd */
- abstract int get loadEventEnd;
+// WARNING: Do not edit - generated code.
- /** @domName PerformanceTiming.loadEventStart */
- abstract int get loadEventStart;
+class _HTMLOListElementImpl extends _HTMLElementImpl implements OListElement {
- /** @domName PerformanceTiming.navigationStart */
- abstract int get navigationStart;
+ bool get compact native "HTMLOListElement_compact_Getter";
- /** @domName PerformanceTiming.redirectEnd */
- abstract int get redirectEnd;
+ void set compact(bool value) native "HTMLOListElement_compact_Setter";
- /** @domName PerformanceTiming.redirectStart */
- abstract int get redirectStart;
+ bool get reversed native "HTMLOListElement_reversed_Getter";
- /** @domName PerformanceTiming.requestStart */
- abstract int get requestStart;
+ void set reversed(bool value) native "HTMLOListElement_reversed_Setter";
- /** @domName PerformanceTiming.responseEnd */
- abstract int get responseEnd;
+ int get start native "HTMLOListElement_start_Getter";
- /** @domName PerformanceTiming.responseStart */
- abstract int get responseStart;
+ void set start(int value) native "HTMLOListElement_start_Setter";
- /** @domName PerformanceTiming.secureConnectionStart */
- abstract int get secureConnectionStart;
+ String get type native "HTMLOListElement_type_Getter";
- /** @domName PerformanceTiming.unloadEventEnd */
- abstract int get unloadEventEnd;
+ void set type(String value) native "HTMLOListElement_type_Setter";
- /** @domName PerformanceTiming.unloadEventStart */
- abstract int get 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
@@ -24489,50 +24355,79 @@ abstract class PerformanceTiming {
// WARNING: Do not edit - generated code.
-class _PerformanceTimingImpl extends NativeFieldWrapperClass1 implements PerformanceTiming {
+/// @domName HTMLObjectElement
+abstract class ObjectElement implements Element {
- int get connectEnd native "PerformanceTiming_connectEnd_Getter";
+ factory ObjectElement() => _Elements.createObjectElement();
- int get connectStart native "PerformanceTiming_connectStart_Getter";
+ /** @domName HTMLObjectElement.align */
+ String align;
- int get domComplete native "PerformanceTiming_domComplete_Getter";
+ /** @domName HTMLObjectElement.archive */
+ String archive;
- int get domContentLoadedEventEnd native "PerformanceTiming_domContentLoadedEventEnd_Getter";
+ /** @domName HTMLObjectElement.border */
+ String border;
- int get domContentLoadedEventStart native "PerformanceTiming_domContentLoadedEventStart_Getter";
+ /** @domName HTMLObjectElement.code */
+ String code;
- int get domInteractive native "PerformanceTiming_domInteractive_Getter";
+ /** @domName HTMLObjectElement.codeBase */
+ String codeBase;
- int get domLoading native "PerformanceTiming_domLoading_Getter";
+ /** @domName HTMLObjectElement.codeType */
+ String codeType;
- int get domainLookupEnd native "PerformanceTiming_domainLookupEnd_Getter";
+ /** @domName HTMLObjectElement.contentDocument */
+ abstract Document get contentDocument;
- int get domainLookupStart native "PerformanceTiming_domainLookupStart_Getter";
+ /** @domName HTMLObjectElement.data */
+ String data;
- int get fetchStart native "PerformanceTiming_fetchStart_Getter";
+ /** @domName HTMLObjectElement.declare */
+ bool declare;
- int get loadEventEnd native "PerformanceTiming_loadEventEnd_Getter";
+ /** @domName HTMLObjectElement.form */
+ abstract FormElement get form;
- int get loadEventStart native "PerformanceTiming_loadEventStart_Getter";
+ /** @domName HTMLObjectElement.height */
+ String height;
- int get navigationStart native "PerformanceTiming_navigationStart_Getter";
+ /** @domName HTMLObjectElement.hspace */
+ int hspace;
- int get redirectEnd native "PerformanceTiming_redirectEnd_Getter";
+ /** @domName HTMLObjectElement.name */
+ String name;
- int get redirectStart native "PerformanceTiming_redirectStart_Getter";
+ /** @domName HTMLObjectElement.standby */
+ String standby;
- int get requestStart native "PerformanceTiming_requestStart_Getter";
+ /** @domName HTMLObjectElement.type */
+ String type;
- int get responseEnd native "PerformanceTiming_responseEnd_Getter";
+ /** @domName HTMLObjectElement.useMap */
+ String useMap;
- int get responseStart native "PerformanceTiming_responseStart_Getter";
+ /** @domName HTMLObjectElement.validationMessage */
+ abstract String get validationMessage;
- int get secureConnectionStart native "PerformanceTiming_secureConnectionStart_Getter";
+ /** @domName HTMLObjectElement.validity */
+ abstract ValidityState get validity;
- int get unloadEventEnd native "PerformanceTiming_unloadEventEnd_Getter";
+ /** @domName HTMLObjectElement.vspace */
+ int vspace;
- int get unloadEventStart native "PerformanceTiming_unloadEventStart_Getter";
+ /** @domName HTMLObjectElement.width */
+ String width;
+
+ /** @domName HTMLObjectElement.willValidate */
+ abstract bool get willValidate;
+
+ /** @domName HTMLObjectElement.checkValidity */
+ bool checkValidity();
+ /** @domName HTMLObjectElement.setCustomValidity */
+ 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
@@ -24540,32 +24435,83 @@ class _PerformanceTimingImpl extends NativeFieldWrapperClass1 implements Perform
// WARNING: Do not edit - generated code.
-/// @domName WebKitPoint
-abstract class Point {
+class _HTMLObjectElementImpl extends _HTMLElementImpl implements ObjectElement {
- factory Point(num x, num y) => _PointFactoryProvider.createPoint(x, y);
+ String get align native "HTMLObjectElement_align_Getter";
- /** @domName WebKitPoint.x */
- num x;
+ void set align(String value) native "HTMLObjectElement_align_Setter";
- /** @domName WebKitPoint.y */
- 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.
+ String get archive native "HTMLObjectElement_archive_Getter";
-// WARNING: Do not edit - generated code.
+ void set archive(String value) native "HTMLObjectElement_archive_Setter";
-class _WebKitPointImpl extends NativeFieldWrapperClass1 implements Point {
+ String get border native "HTMLObjectElement_border_Getter";
- num get x native "WebKitPoint_x_Getter";
+ void set border(String value) native "HTMLObjectElement_border_Setter";
- void set x(num value) native "WebKitPoint_x_Setter";
+ String get code native "HTMLObjectElement_code_Getter";
- num get y native "WebKitPoint_y_Getter";
+ void set code(String value) native "HTMLObjectElement_code_Setter";
- void set y(num value) native "WebKitPoint_y_Setter";
+ String get codeBase native "HTMLObjectElement_codeBase_Getter";
+
+ void set codeBase(String value) native "HTMLObjectElement_codeBase_Setter";
+
+ String get codeType native "HTMLObjectElement_codeType_Getter";
+
+ void set codeType(String value) native "HTMLObjectElement_codeType_Setter";
+
+ String get data native "HTMLObjectElement_data_Getter";
+
+ void set data(String value) native "HTMLObjectElement_data_Setter";
+
+ bool get declare native "HTMLObjectElement_declare_Getter";
+
+ void set declare(bool value) native "HTMLObjectElement_declare_Setter";
+
+ FormElement get form native "HTMLObjectElement_form_Getter";
+
+ String get height native "HTMLObjectElement_height_Getter";
+
+ void set height(String value) native "HTMLObjectElement_height_Setter";
+
+ int get hspace native "HTMLObjectElement_hspace_Getter";
+
+ void set hspace(int value) native "HTMLObjectElement_hspace_Setter";
+
+ String get name native "HTMLObjectElement_name_Getter";
+
+ void set name(String value) native "HTMLObjectElement_name_Setter";
+
+ String get standby native "HTMLObjectElement_standby_Getter";
+
+ void set standby(String value) native "HTMLObjectElement_standby_Setter";
+
+ String get type native "HTMLObjectElement_type_Getter";
+
+ void set type(String value) native "HTMLObjectElement_type_Setter";
+
+ String get useMap native "HTMLObjectElement_useMap_Getter";
+
+ void set useMap(String value) native "HTMLObjectElement_useMap_Setter";
+
+ String get validationMessage native "HTMLObjectElement_validationMessage_Getter";
+
+ ValidityState get validity native "HTMLObjectElement_validity_Getter";
+
+ int get vspace native "HTMLObjectElement_vspace_Getter";
+
+ void set vspace(int value) native "HTMLObjectElement_vspace_Setter";
+
+ String get width native "HTMLObjectElement_width_Getter";
+
+ void set width(String value) native "HTMLObjectElement_width_Setter";
+
+ bool get willValidate native "HTMLObjectElement_willValidate_Getter";
+
+ bool checkValidity() native "HTMLObjectElement_checkValidity_Callback";
+
+ void setCustomValidity(String error) native "HTMLObjectElement_setCustomValidity_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -24574,11 +24520,11 @@ class _WebKitPointImpl extends NativeFieldWrapperClass1 implements Point {
// WARNING: Do not edit - generated code.
-/// @domName PopStateEvent
-abstract class PopStateEvent implements Event {
+/// @domName OfflineAudioCompletionEvent
+abstract class OfflineAudioCompletionEvent implements Event {
- /** @domName PopStateEvent.state */
- abstract Object get state;
+ /** @domName OfflineAudioCompletionEvent.renderedBuffer */
+ abstract AudioBuffer get 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
@@ -24586,9 +24532,9 @@ abstract class PopStateEvent implements Event {
// WARNING: Do not edit - generated code.
-class _PopStateEventImpl extends _EventImpl implements PopStateEvent {
+class _OfflineAudioCompletionEventImpl extends _EventImpl implements OfflineAudioCompletionEvent {
- Object get state native "PopStateEvent_state_Getter";
+ AudioBuffer get renderedBuffer native "OfflineAudioCompletionEvent_renderedBuffer_Getter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -24597,27 +24543,33 @@ class _PopStateEventImpl extends _EventImpl implements PopStateEvent {
// WARNING: Do not edit - generated code.
-typedef bool PositionCallback(Geoposition position);
+/// @domName HTMLOptGroupElement
+abstract class OptGroupElement implements Element {
+
+ factory OptGroupElement() => _Elements.createOptGroupElement();
+
+ /** @domName HTMLOptGroupElement.disabled */
+ bool disabled;
+
+ /** @domName HTMLOptGroupElement.label */
+ 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.
-/// @domName PositionError
-abstract class PositionError {
+class _HTMLOptGroupElementImpl extends _HTMLElementImpl implements OptGroupElement {
- static const int PERMISSION_DENIED = 1;
+ bool get disabled native "HTMLOptGroupElement_disabled_Getter";
- static const int POSITION_UNAVAILABLE = 2;
+ void set disabled(bool value) native "HTMLOptGroupElement_disabled_Setter";
- static const int TIMEOUT = 3;
+ String get label native "HTMLOptGroupElement_label_Getter";
- /** @domName PositionError.code */
- abstract int get code;
+ void set label(String value) native "HTMLOptGroupElement_label_Setter";
- /** @domName PositionError.message */
- abstract String get 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
@@ -24625,19 +24577,45 @@ abstract class PositionError {
// 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.
+/// @domName HTMLOptionElement
+abstract class OptionElement implements Element {
-// WARNING: Do not edit - generated code.
+ factory OptionElement([String data, String value, bool defaultSelected, bool selected]) {
+ if (!?data) {
+ return _OptionElementFactoryProvider.createOptionElement();
+ }
+ if (!?value) {
+ return _OptionElementFactoryProvider.createOptionElement(data);
+ }
+ if (!?defaultSelected) {
+ return _OptionElementFactoryProvider.createOptionElement(data, value);
+ }
+ if (!?selected) {
+ return _OptionElementFactoryProvider.createOptionElement(data, value, defaultSelected);
+ }
+ return _OptionElementFactoryProvider.createOptionElement(data, value, defaultSelected, selected);
+ }
-class _PositionErrorImpl extends NativeFieldWrapperClass1 implements PositionError {
+ /** @domName HTMLOptionElement.defaultSelected */
+ bool defaultSelected;
- int get code native "PositionError_code_Getter";
+ /** @domName HTMLOptionElement.disabled */
+ bool disabled;
- String get message native "PositionError_message_Getter";
+ /** @domName HTMLOptionElement.form */
+ abstract FormElement get form;
+ /** @domName HTMLOptionElement.index */
+ abstract int get index;
+
+ /** @domName HTMLOptionElement.label */
+ String label;
+
+ /** @domName HTMLOptionElement.selected */
+ bool selected;
+
+ /** @domName HTMLOptionElement.value */
+ 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
@@ -24645,32 +24623,31 @@ class _PositionErrorImpl extends NativeFieldWrapperClass1 implements PositionErr
// WARNING: Do not edit - generated code.
-/// @domName HTMLPreElement
-abstract class PreElement implements Element {
+class _HTMLOptionElementImpl extends _HTMLElementImpl implements OptionElement {
- factory PreElement() => _Elements.createPreElement();
+ bool get defaultSelected native "HTMLOptionElement_defaultSelected_Getter";
- /** @domName HTMLPreElement.width */
- int width;
+ void set defaultSelected(bool value) native "HTMLOptionElement_defaultSelected_Setter";
- /** @domName HTMLPreElement.wrap */
- 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.
+ bool get disabled native "HTMLOptionElement_disabled_Getter";
-// WARNING: Do not edit - generated code.
+ void set disabled(bool value) native "HTMLOptionElement_disabled_Setter";
-class _HTMLPreElementImpl extends _HTMLElementImpl implements PreElement {
+ FormElement get form native "HTMLOptionElement_form_Getter";
- int get width native "HTMLPreElement_width_Getter";
+ int get index native "HTMLOptionElement_index_Getter";
- void set width(int value) native "HTMLPreElement_width_Setter";
+ String get label native "HTMLOptionElement_label_Getter";
- bool get wrap native "HTMLPreElement_wrap_Getter";
+ void set label(String value) native "HTMLOptionElement_label_Setter";
- void set wrap(bool value) native "HTMLPreElement_wrap_Setter";
+ bool get selected native "HTMLOptionElement_selected_Getter";
+
+ void set selected(bool value) native "HTMLOptionElement_selected_Setter";
+
+ String get value native "HTMLOptionElement_value_Getter";
+
+ void set value(String value) native "HTMLOptionElement_value_Setter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -24679,17 +24656,47 @@ class _HTMLPreElementImpl extends _HTMLElementImpl implements PreElement {
// WARNING: Do not edit - generated code.
-/// @domName ProcessingInstruction
-abstract class ProcessingInstruction implements Node {
+/// @domName Oscillator
+abstract class Oscillator implements AudioSourceNode {
- /** @domName ProcessingInstruction.data */
- String data;
+ static const int CUSTOM = 4;
- /** @domName ProcessingInstruction.sheet */
- abstract StyleSheet get sheet;
+ static const int FINISHED_STATE = 3;
- /** @domName ProcessingInstruction.target */
- abstract String get target;
+ 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;
+
+ /** @domName Oscillator.detune */
+ abstract AudioParam get detune;
+
+ /** @domName Oscillator.frequency */
+ abstract AudioParam get frequency;
+
+ /** @domName Oscillator.playbackState */
+ abstract int get playbackState;
+
+ /** @domName Oscillator.type */
+ int type;
+
+ /** @domName Oscillator.setWaveTable */
+ void setWaveTable(WaveTable waveTable);
+
+ /** @domName Oscillator.start */
+ void start(num when);
+
+ /** @domName Oscillator.stop */
+ void stop(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
@@ -24697,15 +24704,23 @@ abstract class ProcessingInstruction implements Node {
// WARNING: Do not edit - generated code.
-class _ProcessingInstructionImpl extends _NodeImpl implements ProcessingInstruction {
+class _OscillatorImpl extends _AudioSourceNodeImpl implements Oscillator {
- String get data native "ProcessingInstruction_data_Getter";
+ AudioParam get detune native "Oscillator_detune_Getter";
- void set data(String value) native "ProcessingInstruction_data_Setter";
+ AudioParam get frequency native "Oscillator_frequency_Getter";
- StyleSheet get sheet native "ProcessingInstruction_sheet_Getter";
+ int get playbackState native "Oscillator_playbackState_Getter";
- String get target native "ProcessingInstruction_target_Getter";
+ int get type native "Oscillator_type_Getter";
+
+ void set type(int value) native "Oscillator_type_Setter";
+
+ void setWaveTable(WaveTable waveTable) native "Oscillator_setWaveTable_Callback";
+
+ void start(num when) native "Oscillator_start_Callback";
+
+ void stop(num when) native "Oscillator_stop_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -24714,22 +24729,46 @@ class _ProcessingInstructionImpl extends _NodeImpl implements ProcessingInstruct
// WARNING: Do not edit - generated code.
-/// @domName HTMLProgressElement
-abstract class ProgressElement implements Element {
+/// @domName HTMLOutputElement
+abstract class OutputElement implements Element {
- factory ProgressElement() => _Elements.createProgressElement();
+ factory OutputElement() => _Elements.createOutputElement();
- /** @domName HTMLProgressElement.labels */
+ /** @domName HTMLOutputElement.defaultValue */
+ String defaultValue;
+
+ /** @domName HTMLOutputElement.form */
+ abstract FormElement get form;
+
+ /** @domName HTMLOutputElement.htmlFor */
+ DOMSettableTokenList htmlFor;
+
+ /** @domName HTMLOutputElement.labels */
abstract List<Node> get labels;
- /** @domName HTMLProgressElement.max */
- num max;
+ /** @domName HTMLOutputElement.name */
+ String name;
- /** @domName HTMLProgressElement.position */
- abstract num get position;
+ /** @domName HTMLOutputElement.type */
+ abstract String get type;
- /** @domName HTMLProgressElement.value */
- num value;
+ /** @domName HTMLOutputElement.validationMessage */
+ abstract String get validationMessage;
+
+ /** @domName HTMLOutputElement.validity */
+ abstract ValidityState get validity;
+
+ /** @domName HTMLOutputElement.value */
+ String value;
+
+ /** @domName HTMLOutputElement.willValidate */
+ abstract bool get willValidate;
+
+ /** @domName HTMLOutputElement.checkValidity */
+ bool checkValidity();
+
+ /** @domName HTMLOutputElement.setCustomValidity */
+ 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
@@ -24737,19 +24776,39 @@ abstract class ProgressElement implements Element {
// WARNING: Do not edit - generated code.
-class _HTMLProgressElementImpl extends _HTMLElementImpl implements ProgressElement {
+class _HTMLOutputElementImpl extends _HTMLElementImpl implements OutputElement {
- List<Node> get labels native "HTMLProgressElement_labels_Getter";
+ String get defaultValue native "HTMLOutputElement_defaultValue_Getter";
- num get max native "HTMLProgressElement_max_Getter";
+ void set defaultValue(String value) native "HTMLOutputElement_defaultValue_Setter";
- void set max(num value) native "HTMLProgressElement_max_Setter";
+ FormElement get form native "HTMLOutputElement_form_Getter";
- num get position native "HTMLProgressElement_position_Getter";
+ DOMSettableTokenList get htmlFor native "HTMLOutputElement_htmlFor_Getter";
- num get value native "HTMLProgressElement_value_Getter";
+ void set htmlFor(DOMSettableTokenList value) native "HTMLOutputElement_htmlFor_Setter";
- void set value(num value) native "HTMLProgressElement_value_Setter";
+ List<Node> get labels native "HTMLOutputElement_labels_Getter";
+
+ String get name native "HTMLOutputElement_name_Getter";
+
+ void set name(String value) native "HTMLOutputElement_name_Setter";
+
+ String get type native "HTMLOutputElement_type_Getter";
+
+ String get validationMessage native "HTMLOutputElement_validationMessage_Getter";
+
+ ValidityState get validity native "HTMLOutputElement_validity_Getter";
+
+ String get value native "HTMLOutputElement_value_Getter";
+
+ void set value(String value) native "HTMLOutputElement_value_Setter";
+
+ bool get willValidate native "HTMLOutputElement_willValidate_Getter";
+
+ bool checkValidity() native "HTMLOutputElement_checkValidity_Callback";
+
+ void setCustomValidity(String error) native "HTMLOutputElement_setCustomValidity_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -24758,17 +24817,23 @@ class _HTMLProgressElementImpl extends _HTMLElementImpl implements ProgressEleme
// WARNING: Do not edit - generated code.
-/// @domName ProgressEvent
-abstract class ProgressEvent implements Event {
+/// @domName OverflowEvent
+abstract class OverflowEvent implements Event {
- /** @domName ProgressEvent.lengthComputable */
- abstract bool get lengthComputable;
+ static const int BOTH = 2;
- /** @domName ProgressEvent.loaded */
- abstract int get loaded;
+ static const int HORIZONTAL = 0;
- /** @domName ProgressEvent.total */
- abstract int get total;
+ static const int VERTICAL = 1;
+
+ /** @domName OverflowEvent.horizontalOverflow */
+ abstract bool get horizontalOverflow;
+
+ /** @domName OverflowEvent.orient */
+ abstract int get orient;
+
+ /** @domName OverflowEvent.verticalOverflow */
+ abstract bool get 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
@@ -24776,13 +24841,13 @@ abstract class ProgressEvent implements Event {
// WARNING: Do not edit - generated code.
-class _ProgressEventImpl extends _EventImpl implements ProgressEvent {
+class _OverflowEventImpl extends _EventImpl implements OverflowEvent {
- bool get lengthComputable native "ProgressEvent_lengthComputable_Getter";
+ bool get horizontalOverflow native "OverflowEvent_horizontalOverflow_Getter";
- int get loaded native "ProgressEvent_loaded_Getter";
+ int get orient native "OverflowEvent_orient_Getter";
- int get total native "ProgressEvent_total_Getter";
+ bool get verticalOverflow native "OverflowEvent_verticalOverflow_Getter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -24791,11 +24856,14 @@ class _ProgressEventImpl extends _EventImpl implements ProgressEvent {
// WARNING: Do not edit - generated code.
-/// @domName HTMLQuoteElement
-abstract class QuoteElement implements Element {
+/// @domName PagePopupController
+abstract class PagePopupController {
- /** @domName HTMLQuoteElement.cite */
- String cite;
+ /** @domName PagePopupController.localizeNumberString */
+ String localizeNumberString(String numberString);
+
+ /** @domName PagePopupController.setValueAndClosePopup */
+ 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
@@ -24803,11 +24871,11 @@ abstract class QuoteElement implements Element {
// WARNING: Do not edit - generated code.
-class _HTMLQuoteElementImpl extends _HTMLElementImpl implements QuoteElement {
+class _PagePopupControllerImpl extends NativeFieldWrapperClass1 implements PagePopupController {
- String get cite native "HTMLQuoteElement_cite_Getter";
+ String localizeNumberString(String numberString) native "PagePopupController_localizeNumberString_Callback";
- void set cite(String value) native "HTMLQuoteElement_cite_Setter";
+ void setValueAndClosePopup(int numberValue, String stringValue) native "PagePopupController_setValueAndClosePopup_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -24816,17 +24884,11 @@ class _HTMLQuoteElementImpl extends _HTMLElementImpl implements QuoteElement {
// WARNING: Do not edit - generated code.
-/// @domName RGBColor
-abstract class RGBColor {
-
- /** @domName RGBColor.blue */
- abstract CSSPrimitiveValue get blue;
-
- /** @domName RGBColor.green */
- abstract CSSPrimitiveValue get green;
+/// @domName PageTransitionEvent
+abstract class PageTransitionEvent implements Event {
- /** @domName RGBColor.red */
- abstract CSSPrimitiveValue get red;
+ /** @domName PageTransitionEvent.persisted */
+ abstract bool get 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
@@ -24834,13 +24896,9 @@ abstract class RGBColor {
// WARNING: Do not edit - generated code.
-class _RGBColorImpl extends NativeFieldWrapperClass1 implements RGBColor {
-
- CSSPrimitiveValue get blue native "RGBColor_blue_Getter";
-
- CSSPrimitiveValue get green native "RGBColor_green_Getter";
+class _PageTransitionEventImpl extends _EventImpl implements PageTransitionEvent {
- CSSPrimitiveValue get red native "RGBColor_red_Getter";
+ bool get persisted native "PageTransitionEvent_persisted_Getter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -24849,26 +24907,26 @@ class _RGBColorImpl extends NativeFieldWrapperClass1 implements RGBColor {
// WARNING: Do not edit - generated code.
-typedef bool RTCErrorCallback(String errorInformation);
+/// @domName HTMLParagraphElement
+abstract class ParagraphElement implements Element {
+
+ factory ParagraphElement() => _Elements.createParagraphElement();
+
+ /** @domName HTMLParagraphElement.align */
+ 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.
-/// @domName RTCIceCandidate
-abstract class RTCIceCandidate {
-
- factory RTCIceCandidate(Map dictionary) => _RTCIceCandidateFactoryProvider.createRTCIceCandidate(dictionary);
+class _HTMLParagraphElementImpl extends _HTMLElementImpl implements ParagraphElement {
- /** @domName RTCIceCandidate.candidate */
- abstract String get candidate;
+ String get align native "HTMLParagraphElement_align_Getter";
- /** @domName RTCIceCandidate.sdpMLineIndex */
- abstract int get sdpMLineIndex;
+ void set align(String value) native "HTMLParagraphElement_align_Setter";
- /** @domName RTCIceCandidate.sdpMid */
- abstract String get sdpMid;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -24876,22 +24934,22 @@ abstract class RTCIceCandidate {
// WARNING: Do not edit - generated code.
-/// @domName RTCIceCandidateEvent
-abstract class RTCIceCandidateEvent implements Event {
+/// @domName HTMLParamElement
+abstract class ParamElement implements Element {
- /** @domName RTCIceCandidateEvent.candidate */
- abstract RTCIceCandidate get candidate;
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ factory ParamElement() => _Elements.createParamElement();
-// WARNING: Do not edit - generated code.
+ /** @domName HTMLParamElement.name */
+ String name;
-class _RTCIceCandidateEventImpl extends _EventImpl implements RTCIceCandidateEvent {
+ /** @domName HTMLParamElement.type */
+ String type;
- RTCIceCandidate get candidate native "RTCIceCandidateEvent_candidate_Getter";
+ /** @domName HTMLParamElement.value */
+ String value;
+ /** @domName HTMLParamElement.valueType */
+ 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
@@ -24899,13 +24957,23 @@ class _RTCIceCandidateEventImpl extends _EventImpl implements RTCIceCandidateEve
// WARNING: Do not edit - generated code.
-class _RTCIceCandidateImpl extends NativeFieldWrapperClass1 implements RTCIceCandidate {
+class _HTMLParamElementImpl extends _HTMLElementImpl implements ParamElement {
- String get candidate native "RTCIceCandidate_candidate_Getter";
+ String get name native "HTMLParamElement_name_Getter";
- int get sdpMLineIndex native "RTCIceCandidate_sdpMLineIndex_Getter";
+ void set name(String value) native "HTMLParamElement_name_Setter";
- String get sdpMid native "RTCIceCandidate_sdpMid_Getter";
+ String get type native "HTMLParamElement_type_Getter";
+
+ void set type(String value) native "HTMLParamElement_type_Setter";
+
+ String get value native "HTMLParamElement_value_Getter";
+
+ void set value(String value) native "HTMLParamElement_value_Setter";
+
+ String get valueType native "HTMLParamElement_valueType_Getter";
+
+ void set valueType(String value) native "HTMLParamElement_valueType_Setter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -24914,85 +24982,104 @@ class _RTCIceCandidateImpl extends NativeFieldWrapperClass1 implements RTCIceCan
// WARNING: Do not edit - generated code.
-/// @domName RTCPeerConnection
-abstract class RTCPeerConnection implements EventTarget {
-
- factory RTCPeerConnection(Map rtcIceServers, [Map mediaConstraints]) {
- if (!?mediaConstraints) {
- return _RTCPeerConnectionFactoryProvider.createRTCPeerConnection(rtcIceServers);
- }
- return _RTCPeerConnectionFactoryProvider.createRTCPeerConnection(rtcIceServers, mediaConstraints);
- }
+/// @domName PeerConnection00
+abstract class PeerConnection00 implements EventTarget {
+
+ factory PeerConnection00(String serverConfiguration, IceCallback iceCallback) => _PeerConnection00FactoryProvider.createPeerConnection00(serverConfiguration, iceCallback);
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
*/
- RTCPeerConnectionEvents get on;
+ PeerConnection00Events get on;
- /** @domName RTCPeerConnection.iceState */
- abstract String get iceState;
+ static const int ACTIVE = 2;
- /** @domName RTCPeerConnection.localDescription */
- abstract RTCSessionDescription get localDescription;
+ static const int CLOSED = 3;
- /** @domName RTCPeerConnection.localStreams */
+ 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;
+
+ /** @domName PeerConnection00.iceState */
+ abstract int get iceState;
+
+ /** @domName PeerConnection00.localDescription */
+ abstract SessionDescription get localDescription;
+
+ /** @domName PeerConnection00.localStreams */
abstract List<MediaStream> get localStreams;
- /** @domName RTCPeerConnection.readyState */
- abstract String get readyState;
+ /** @domName PeerConnection00.readyState */
+ abstract int get readyState;
- /** @domName RTCPeerConnection.remoteDescription */
- abstract RTCSessionDescription get remoteDescription;
+ /** @domName PeerConnection00.remoteDescription */
+ abstract SessionDescription get remoteDescription;
- /** @domName RTCPeerConnection.remoteStreams */
+ /** @domName PeerConnection00.remoteStreams */
abstract List<MediaStream> get remoteStreams;
- /** @domName RTCPeerConnection.addEventListener */
+ /** @domName PeerConnection00.addEventListener */
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
- /** @domName RTCPeerConnection.addIceCandidate */
- void addIceCandidate(RTCIceCandidate candidate);
-
- /** @domName RTCPeerConnection.addStream */
- void addStream(MediaStream stream, Map mediaConstraints);
+ /** @domName PeerConnection00.addStream */
+ void addStream(MediaStream stream, [Map mediaStreamHints]);
- /** @domName RTCPeerConnection.close */
+ /** @domName PeerConnection00.close */
void close();
- /** @domName RTCPeerConnection.createAnswer */
- void createAnswer(RTCSessionDescriptionCallback successCallback, [RTCErrorCallback failureCallback, Map mediaConstraints]);
+ /** @domName PeerConnection00.createAnswer */
+ SessionDescription createAnswer(String offer, [Map mediaHints]);
- /** @domName RTCPeerConnection.createOffer */
- void createOffer(RTCSessionDescriptionCallback successCallback, [RTCErrorCallback failureCallback, Map mediaConstraints]);
+ /** @domName PeerConnection00.createOffer */
+ SessionDescription createOffer([Map mediaHints]);
- /** @domName RTCPeerConnection.dispatchEvent */
+ /** @domName PeerConnection00.dispatchEvent */
bool $dom_dispatchEvent(Event event);
- /** @domName RTCPeerConnection.removeEventListener */
+ /** @domName PeerConnection00.processIceMessage */
+ void processIceMessage(IceCandidate candidate);
+
+ /** @domName PeerConnection00.removeEventListener */
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
- /** @domName RTCPeerConnection.removeStream */
+ /** @domName PeerConnection00.removeStream */
void removeStream(MediaStream stream);
- /** @domName RTCPeerConnection.setLocalDescription */
- void setLocalDescription(RTCSessionDescription description, [VoidCallback successCallback, RTCErrorCallback failureCallback]);
+ /** @domName PeerConnection00.setLocalDescription */
+ void setLocalDescription(int action, SessionDescription desc);
- /** @domName RTCPeerConnection.setRemoteDescription */
- void setRemoteDescription(RTCSessionDescription description, [VoidCallback successCallback, RTCErrorCallback failureCallback]);
+ /** @domName PeerConnection00.setRemoteDescription */
+ void setRemoteDescription(int action, SessionDescription desc);
- /** @domName RTCPeerConnection.updateIce */
- void updateIce(Map configuration, Map mediaConstraints);
+ /** @domName PeerConnection00.startIce */
+ void startIce([Map iceOptions]);
}
-abstract class RTCPeerConnectionEvents implements Events {
+abstract class PeerConnection00Events implements Events {
EventListenerList get addStream;
- EventListenerList get iceCandidate;
-
- EventListenerList get iceChange;
-
- EventListenerList get negotiationNeeded;
+ EventListenerList get connecting;
EventListenerList get open;
@@ -25006,59 +25093,93 @@ abstract class RTCPeerConnectionEvents implements Events {
// WARNING: Do not edit - generated code.
-class _RTCPeerConnectionImpl extends _EventTargetImpl implements RTCPeerConnection {
+class _PeerConnection00Impl extends _EventTargetImpl implements PeerConnection00 {
- _RTCPeerConnectionEventsImpl get on =>
- new _RTCPeerConnectionEventsImpl(this);
+ _PeerConnection00EventsImpl get on =>
+ new _PeerConnection00EventsImpl(this);
- String get iceState native "RTCPeerConnection_iceState_Getter";
+ int get iceState native "PeerConnection00_iceState_Getter";
- RTCSessionDescription get localDescription native "RTCPeerConnection_localDescription_Getter";
+ SessionDescription get localDescription native "PeerConnection00_localDescription_Getter";
- List<MediaStream> get localStreams native "RTCPeerConnection_localStreams_Getter";
+ List<MediaStream> get localStreams native "PeerConnection00_localStreams_Getter";
- String get readyState native "RTCPeerConnection_readyState_Getter";
+ int get readyState native "PeerConnection00_readyState_Getter";
- RTCSessionDescription get remoteDescription native "RTCPeerConnection_remoteDescription_Getter";
+ SessionDescription get remoteDescription native "PeerConnection00_remoteDescription_Getter";
- List<MediaStream> get remoteStreams native "RTCPeerConnection_remoteStreams_Getter";
+ List<MediaStream> get remoteStreams native "PeerConnection00_remoteStreams_Getter";
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "RTCPeerConnection_addEventListener_Callback";
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "PeerConnection00_addEventListener_Callback";
- void addIceCandidate(RTCIceCandidate candidate) native "RTCPeerConnection_addIceCandidate_Callback";
+ void addStream(stream, [mediaStreamHints]) {
+ if (?mediaStreamHints) {
+ _addStream_1(stream, mediaStreamHints);
+ return;
+ }
+ _addStream_2(stream);
+ }
- void addStream(MediaStream stream, Map mediaConstraints) native "RTCPeerConnection_addStream_Callback";
+ void _addStream_1(stream, mediaStreamHints) native "PeerConnection00_addStream_1_Callback";
- void close() native "RTCPeerConnection_close_Callback";
+ void _addStream_2(stream) native "PeerConnection00_addStream_2_Callback";
- void createAnswer(RTCSessionDescriptionCallback successCallback, [RTCErrorCallback failureCallback, Map mediaConstraints]) native "RTCPeerConnection_createAnswer_Callback";
+ void close() native "PeerConnection00_close_Callback";
- void createOffer(RTCSessionDescriptionCallback successCallback, [RTCErrorCallback failureCallback, Map mediaConstraints]) native "RTCPeerConnection_createOffer_Callback";
+ SessionDescription createAnswer(offer, [mediaHints]) {
+ if (?mediaHints) {
+ return _createAnswer_1(offer, mediaHints);
+ }
+ return _createAnswer_2(offer);
+ }
- bool $dom_dispatchEvent(Event event) native "RTCPeerConnection_dispatchEvent_Callback";
+ SessionDescription _createAnswer_1(offer, mediaHints) native "PeerConnection00_createAnswer_1_Callback";
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "RTCPeerConnection_removeEventListener_Callback";
+ SessionDescription _createAnswer_2(offer) native "PeerConnection00_createAnswer_2_Callback";
- void removeStream(MediaStream stream) native "RTCPeerConnection_removeStream_Callback";
+ SessionDescription createOffer([mediaHints]) {
+ if (?mediaHints) {
+ return _createOffer_1(mediaHints);
+ }
+ return _createOffer_2();
+ }
- void setLocalDescription(RTCSessionDescription description, [VoidCallback successCallback, RTCErrorCallback failureCallback]) native "RTCPeerConnection_setLocalDescription_Callback";
+ SessionDescription _createOffer_1(mediaHints) native "PeerConnection00_createOffer_1_Callback";
- void setRemoteDescription(RTCSessionDescription description, [VoidCallback successCallback, RTCErrorCallback failureCallback]) native "RTCPeerConnection_setRemoteDescription_Callback";
+ SessionDescription _createOffer_2() native "PeerConnection00_createOffer_2_Callback";
- void updateIce(Map configuration, Map mediaConstraints) native "RTCPeerConnection_updateIce_Callback";
+ bool $dom_dispatchEvent(Event event) native "PeerConnection00_dispatchEvent_Callback";
-}
+ void processIceMessage(IceCandidate candidate) native "PeerConnection00_processIceMessage_Callback";
-class _RTCPeerConnectionEventsImpl extends _EventsImpl implements RTCPeerConnectionEvents {
- _RTCPeerConnectionEventsImpl(_ptr) : super(_ptr);
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "PeerConnection00_removeEventListener_Callback";
- EventListenerList get addStream => this['addstream'];
+ void removeStream(MediaStream stream) native "PeerConnection00_removeStream_Callback";
- EventListenerList get iceCandidate => this['icecandidate'];
+ void setLocalDescription(int action, SessionDescription desc) native "PeerConnection00_setLocalDescription_Callback";
- EventListenerList get iceChange => this['icechange'];
+ void setRemoteDescription(int action, SessionDescription desc) native "PeerConnection00_setRemoteDescription_Callback";
- EventListenerList get negotiationNeeded => this['negotiationneeded'];
+ void startIce([iceOptions]) {
+ if (?iceOptions) {
+ _startIce_1(iceOptions);
+ return;
+ }
+ _startIce_2();
+ }
+
+ void _startIce_1(iceOptions) native "PeerConnection00_startIce_1_Callback";
+
+ void _startIce_2() native "PeerConnection00_startIce_2_Callback";
+
+}
+
+class _PeerConnection00EventsImpl extends _EventsImpl implements PeerConnection00Events {
+ _PeerConnection00EventsImpl(_ptr) : super(_ptr);
+
+ EventListenerList get addStream => this['addstream'];
+
+ EventListenerList get connecting => this['connecting'];
EventListenerList get open => this['open'];
@@ -25072,16 +25193,20 @@ class _RTCPeerConnectionEventsImpl extends _EventsImpl implements RTCPeerConnect
// WARNING: Do not edit - generated code.
-/// @domName RTCSessionDescription
-abstract class RTCSessionDescription {
+/// @domName Performance
+abstract class Performance implements EventTarget {
- factory RTCSessionDescription(Map dictionary) => _RTCSessionDescriptionFactoryProvider.createRTCSessionDescription(dictionary);
+ /** @domName Performance.memory */
+ abstract MemoryInfo get memory;
- /** @domName RTCSessionDescription.sdp */
- String sdp;
+ /** @domName Performance.navigation */
+ abstract PerformanceNavigation get navigation;
- /** @domName RTCSessionDescription.type */
- String type;
+ /** @domName Performance.timing */
+ abstract PerformanceTiming get timing;
+
+ /** @domName Performance.webkitNow */
+ 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
@@ -25089,23 +25214,39 @@ abstract class RTCSessionDescription {
// WARNING: Do not edit - generated code.
-typedef bool RTCSessionDescriptionCallback(RTCSessionDescription sdp);
+class _PerformanceImpl extends _EventTargetImpl implements Performance {
+
+ MemoryInfo get memory native "Performance_memory_Getter";
+
+ PerformanceNavigation get navigation native "Performance_navigation_Getter";
+
+ PerformanceTiming get timing native "Performance_timing_Getter";
+
+ num webkitNow() native "Performance_webkitNow_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.
-class _RTCSessionDescriptionImpl extends NativeFieldWrapperClass1 implements RTCSessionDescription {
+/// @domName PerformanceNavigation
+abstract class PerformanceNavigation {
- String get sdp native "RTCSessionDescription_sdp_Getter";
+ static const int TYPE_BACK_FORWARD = 2;
- void set sdp(String value) native "RTCSessionDescription_sdp_Setter";
+ static const int TYPE_NAVIGATE = 0;
- String get type native "RTCSessionDescription_type_Getter";
+ static const int TYPE_RELOAD = 1;
- void set type(String value) native "RTCSessionDescription_type_Setter";
+ static const int TYPE_RESERVED = 255;
+
+ /** @domName PerformanceNavigation.redirectCount */
+ abstract int get redirectCount;
+ /** @domName PerformanceNavigation.type */
+ abstract int get 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
@@ -25113,11 +25254,12 @@ class _RTCSessionDescriptionImpl extends NativeFieldWrapperClass1 implements RTC
// WARNING: Do not edit - generated code.
-/// @domName RadioNodeList
-abstract class RadioNodeList implements List<Node> {
+class _PerformanceNavigationImpl extends NativeFieldWrapperClass1 implements PerformanceNavigation {
+
+ int get redirectCount native "PerformanceNavigation_redirectCount_Getter";
+
+ int get type native "PerformanceNavigation_type_Getter";
- /** @domName RadioNodeList.value */
- 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
@@ -25125,130 +25267,122 @@ abstract class RadioNodeList implements List<Node> {
// WARNING: Do not edit - generated code.
-class _RadioNodeListImpl extends _NodeListImpl implements RadioNodeList {
+/// @domName PerformanceTiming
+abstract class PerformanceTiming {
- String get value native "RadioNodeList_value_Getter";
+ /** @domName PerformanceTiming.connectEnd */
+ abstract int get connectEnd;
- void set value(String value) native "RadioNodeList_value_Setter";
+ /** @domName PerformanceTiming.connectStart */
+ abstract int get connectStart;
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ /** @domName PerformanceTiming.domComplete */
+ abstract int get domComplete;
-// WARNING: Do not edit - generated code.
+ /** @domName PerformanceTiming.domContentLoadedEventEnd */
+ abstract int get domContentLoadedEventEnd;
-/// @domName Range
-abstract class Range {
+ /** @domName PerformanceTiming.domContentLoadedEventStart */
+ abstract int get domContentLoadedEventStart;
- static const int END_TO_END = 2;
+ /** @domName PerformanceTiming.domInteractive */
+ abstract int get domInteractive;
- static const int END_TO_START = 3;
+ /** @domName PerformanceTiming.domLoading */
+ abstract int get domLoading;
- static const int NODE_AFTER = 1;
+ /** @domName PerformanceTiming.domainLookupEnd */
+ abstract int get domainLookupEnd;
- static const int NODE_BEFORE = 0;
+ /** @domName PerformanceTiming.domainLookupStart */
+ abstract int get domainLookupStart;
- static const int NODE_BEFORE_AND_AFTER = 2;
+ /** @domName PerformanceTiming.fetchStart */
+ abstract int get fetchStart;
- static const int NODE_INSIDE = 3;
+ /** @domName PerformanceTiming.loadEventEnd */
+ abstract int get loadEventEnd;
- static const int START_TO_END = 1;
+ /** @domName PerformanceTiming.loadEventStart */
+ abstract int get loadEventStart;
- static const int START_TO_START = 0;
+ /** @domName PerformanceTiming.navigationStart */
+ abstract int get navigationStart;
- /** @domName Range.collapsed */
- abstract bool get collapsed;
+ /** @domName PerformanceTiming.redirectEnd */
+ abstract int get redirectEnd;
- /** @domName Range.commonAncestorContainer */
- abstract Node get commonAncestorContainer;
+ /** @domName PerformanceTiming.redirectStart */
+ abstract int get redirectStart;
- /** @domName Range.endContainer */
- abstract Node get endContainer;
+ /** @domName PerformanceTiming.requestStart */
+ abstract int get requestStart;
- /** @domName Range.endOffset */
- abstract int get endOffset;
+ /** @domName PerformanceTiming.responseEnd */
+ abstract int get responseEnd;
- /** @domName Range.startContainer */
- abstract Node get startContainer;
+ /** @domName PerformanceTiming.responseStart */
+ abstract int get responseStart;
- /** @domName Range.startOffset */
- abstract int get startOffset;
+ /** @domName PerformanceTiming.secureConnectionStart */
+ abstract int get secureConnectionStart;
- /** @domName Range.cloneContents */
- DocumentFragment cloneContents();
+ /** @domName PerformanceTiming.unloadEventEnd */
+ abstract int get unloadEventEnd;
- /** @domName Range.cloneRange */
- Range cloneRange();
+ /** @domName PerformanceTiming.unloadEventStart */
+ abstract int get 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.
- /** @domName Range.collapse */
- void collapse(bool toStart);
+// WARNING: Do not edit - generated code.
- /** @domName Range.compareNode */
- int compareNode(Node refNode);
+class _PerformanceTimingImpl extends NativeFieldWrapperClass1 implements PerformanceTiming {
- /** @domName Range.comparePoint */
- int comparePoint(Node refNode, int offset);
+ int get connectEnd native "PerformanceTiming_connectEnd_Getter";
- /** @domName Range.createContextualFragment */
- DocumentFragment createContextualFragment(String html);
+ int get connectStart native "PerformanceTiming_connectStart_Getter";
- /** @domName Range.deleteContents */
- void deleteContents();
+ int get domComplete native "PerformanceTiming_domComplete_Getter";
- /** @domName Range.detach */
- void detach();
+ int get domContentLoadedEventEnd native "PerformanceTiming_domContentLoadedEventEnd_Getter";
- /** @domName Range.expand */
- void expand(String unit);
+ int get domContentLoadedEventStart native "PerformanceTiming_domContentLoadedEventStart_Getter";
- /** @domName Range.extractContents */
- DocumentFragment extractContents();
+ int get domInteractive native "PerformanceTiming_domInteractive_Getter";
- /** @domName Range.getBoundingClientRect */
- ClientRect getBoundingClientRect();
+ int get domLoading native "PerformanceTiming_domLoading_Getter";
- /** @domName Range.getClientRects */
- List<ClientRect> getClientRects();
+ int get domainLookupEnd native "PerformanceTiming_domainLookupEnd_Getter";
- /** @domName Range.insertNode */
- void insertNode(Node newNode);
+ int get domainLookupStart native "PerformanceTiming_domainLookupStart_Getter";
- /** @domName Range.intersectsNode */
- bool intersectsNode(Node refNode);
+ int get fetchStart native "PerformanceTiming_fetchStart_Getter";
- /** @domName Range.isPointInRange */
- bool isPointInRange(Node refNode, int offset);
+ int get loadEventEnd native "PerformanceTiming_loadEventEnd_Getter";
- /** @domName Range.selectNode */
- void selectNode(Node refNode);
+ int get loadEventStart native "PerformanceTiming_loadEventStart_Getter";
- /** @domName Range.selectNodeContents */
- void selectNodeContents(Node refNode);
+ int get navigationStart native "PerformanceTiming_navigationStart_Getter";
- /** @domName Range.setEnd */
- void setEnd(Node refNode, int offset);
+ int get redirectEnd native "PerformanceTiming_redirectEnd_Getter";
- /** @domName Range.setEndAfter */
- void setEndAfter(Node refNode);
+ int get redirectStart native "PerformanceTiming_redirectStart_Getter";
- /** @domName Range.setEndBefore */
- void setEndBefore(Node refNode);
+ int get requestStart native "PerformanceTiming_requestStart_Getter";
- /** @domName Range.setStart */
- void setStart(Node refNode, int offset);
+ int get responseEnd native "PerformanceTiming_responseEnd_Getter";
- /** @domName Range.setStartAfter */
- void setStartAfter(Node refNode);
+ int get responseStart native "PerformanceTiming_responseStart_Getter";
- /** @domName Range.setStartBefore */
- void setStartBefore(Node refNode);
+ int get secureConnectionStart native "PerformanceTiming_secureConnectionStart_Getter";
- /** @domName Range.surroundContents */
- void surroundContents(Node newParent);
+ int get unloadEventEnd native "PerformanceTiming_unloadEventEnd_Getter";
+
+ int get unloadEventStart native "PerformanceTiming_unloadEventStart_Getter";
- /** @domName Range.toString */
- 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
@@ -25256,24 +25390,16 @@ abstract class Range {
// WARNING: Do not edit - generated code.
-/// @domName RangeException
-abstract class RangeException {
-
- static const int BAD_BOUNDARYPOINTS_ERR = 1;
-
- static const int INVALID_NODE_TYPE_ERR = 2;
-
- /** @domName RangeException.code */
- abstract int get code;
+/// @domName WebKitPoint
+abstract class Point {
- /** @domName RangeException.message */
- abstract String get message;
+ factory Point(num x, num y) => _PointFactoryProvider.createPoint(x, y);
- /** @domName RangeException.name */
- abstract String get name;
+ /** @domName WebKitPoint.x */
+ num x;
- /** @domName RangeException.toString */
- String toString();
+ /** @domName WebKitPoint.y */
+ 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
@@ -25281,15 +25407,15 @@ abstract class RangeException {
// WARNING: Do not edit - generated code.
-class _RangeExceptionImpl extends NativeFieldWrapperClass1 implements RangeException {
+class _WebKitPointImpl extends NativeFieldWrapperClass1 implements Point {
- int get code native "RangeException_code_Getter";
+ num get x native "WebKitPoint_x_Getter";
- String get message native "RangeException_message_Getter";
+ void set x(num value) native "WebKitPoint_x_Setter";
- String get name native "RangeException_name_Getter";
+ num get y native "WebKitPoint_y_Getter";
- String toString() native "RangeException_toString_Callback";
+ void set y(num value) native "WebKitPoint_y_Setter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -25298,70 +25424,87 @@ class _RangeExceptionImpl extends NativeFieldWrapperClass1 implements RangeExcep
// WARNING: Do not edit - generated code.
-class _RangeImpl extends NativeFieldWrapperClass1 implements Range {
+/// @domName PopStateEvent
+abstract class PopStateEvent implements Event {
- bool get collapsed native "Range_collapsed_Getter";
+ /** @domName PopStateEvent.state */
+ abstract Object get 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.
- Node get commonAncestorContainer native "Range_commonAncestorContainer_Getter";
+// WARNING: Do not edit - generated code.
- Node get endContainer native "Range_endContainer_Getter";
+class _PopStateEventImpl extends _EventImpl implements PopStateEvent {
- int get endOffset native "Range_endOffset_Getter";
+ Object get state native "PopStateEvent_state_Getter";
- Node get startContainer native "Range_startContainer_Getter";
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- int get startOffset native "Range_startOffset_Getter";
+// WARNING: Do not edit - generated code.
- DocumentFragment cloneContents() native "Range_cloneContents_Callback";
+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.
- Range cloneRange() native "Range_cloneRange_Callback";
+// WARNING: Do not edit - generated code.
- void collapse(bool toStart) native "Range_collapse_Callback";
+/// @domName PositionError
+abstract class PositionError {
- int compareNode(Node refNode) native "Range_compareNode_Callback";
+ static const int PERMISSION_DENIED = 1;
- int comparePoint(Node refNode, int offset) native "Range_comparePoint_Callback";
+ static const int POSITION_UNAVAILABLE = 2;
- DocumentFragment createContextualFragment(String html) native "Range_createContextualFragment_Callback";
+ static const int TIMEOUT = 3;
- void deleteContents() native "Range_deleteContents_Callback";
+ /** @domName PositionError.code */
+ abstract int get code;
- void detach() native "Range_detach_Callback";
+ /** @domName PositionError.message */
+ abstract String get 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.
- void expand(String unit) native "Range_expand_Callback";
+// WARNING: Do not edit - generated code.
- DocumentFragment extractContents() native "Range_extractContents_Callback";
+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.
- ClientRect getBoundingClientRect() native "Range_getBoundingClientRect_Callback";
+// WARNING: Do not edit - generated code.
- List<ClientRect> getClientRects() native "Range_getClientRects_Callback";
+class _PositionErrorImpl extends NativeFieldWrapperClass1 implements PositionError {
- void insertNode(Node newNode) native "Range_insertNode_Callback";
+ int get code native "PositionError_code_Getter";
- bool intersectsNode(Node refNode) native "Range_intersectsNode_Callback";
+ String get message native "PositionError_message_Getter";
- bool isPointInRange(Node refNode, int offset) native "Range_isPointInRange_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.
- void selectNode(Node refNode) native "Range_selectNode_Callback";
+// WARNING: Do not edit - generated code.
- void selectNodeContents(Node refNode) native "Range_selectNodeContents_Callback";
+/// @domName HTMLPreElement
+abstract class PreElement implements Element {
- void setEnd(Node refNode, int offset) native "Range_setEnd_Callback";
-
- void setEndAfter(Node refNode) native "Range_setEndAfter_Callback";
-
- void setEndBefore(Node refNode) native "Range_setEndBefore_Callback";
-
- void setStart(Node refNode, int offset) native "Range_setStart_Callback";
-
- void setStartAfter(Node refNode) native "Range_setStartAfter_Callback";
-
- void setStartBefore(Node refNode) native "Range_setStartBefore_Callback";
-
- void surroundContents(Node newParent) native "Range_surroundContents_Callback";
+ factory PreElement() => _Elements.createPreElement();
- String toString() native "Range_toString_Callback";
+ /** @domName HTMLPreElement.width */
+ int width;
+ /** @domName HTMLPreElement.wrap */
+ 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
@@ -25369,32 +25512,16 @@ class _RangeImpl extends NativeFieldWrapperClass1 implements Range {
// WARNING: Do not edit - generated code.
-/// @domName RealtimeAnalyserNode
-abstract class RealtimeAnalyserNode implements AudioNode {
-
- /** @domName RealtimeAnalyserNode.fftSize */
- int fftSize;
-
- /** @domName RealtimeAnalyserNode.frequencyBinCount */
- abstract int get frequencyBinCount;
-
- /** @domName RealtimeAnalyserNode.maxDecibels */
- num maxDecibels;
+class _HTMLPreElementImpl extends _HTMLElementImpl implements PreElement {
- /** @domName RealtimeAnalyserNode.minDecibels */
- num minDecibels;
+ int get width native "HTMLPreElement_width_Getter";
- /** @domName RealtimeAnalyserNode.smoothingTimeConstant */
- num smoothingTimeConstant;
+ void set width(int value) native "HTMLPreElement_width_Setter";
- /** @domName RealtimeAnalyserNode.getByteFrequencyData */
- void getByteFrequencyData(Uint8Array array);
+ bool get wrap native "HTMLPreElement_wrap_Getter";
- /** @domName RealtimeAnalyserNode.getByteTimeDomainData */
- void getByteTimeDomainData(Uint8Array array);
+ void set wrap(bool value) native "HTMLPreElement_wrap_Setter";
- /** @domName RealtimeAnalyserNode.getFloatFrequencyData */
- 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
@@ -25402,32 +25529,17 @@ abstract class RealtimeAnalyserNode implements AudioNode {
// WARNING: Do not edit - generated code.
-class _RealtimeAnalyserNodeImpl extends _AudioNodeImpl implements RealtimeAnalyserNode {
-
- int get fftSize native "RealtimeAnalyserNode_fftSize_Getter";
-
- void set fftSize(int value) native "RealtimeAnalyserNode_fftSize_Setter";
-
- int get frequencyBinCount native "RealtimeAnalyserNode_frequencyBinCount_Getter";
-
- num get maxDecibels native "RealtimeAnalyserNode_maxDecibels_Getter";
-
- void set maxDecibels(num value) native "RealtimeAnalyserNode_maxDecibels_Setter";
-
- num get minDecibels native "RealtimeAnalyserNode_minDecibels_Getter";
-
- void set minDecibels(num value) native "RealtimeAnalyserNode_minDecibels_Setter";
-
- num get smoothingTimeConstant native "RealtimeAnalyserNode_smoothingTimeConstant_Getter";
-
- void set smoothingTimeConstant(num value) native "RealtimeAnalyserNode_smoothingTimeConstant_Setter";
-
- void getByteFrequencyData(Uint8Array array) native "RealtimeAnalyserNode_getByteFrequencyData_Callback";
+/// @domName ProcessingInstruction
+abstract class ProcessingInstruction implements Node {
- void getByteTimeDomainData(Uint8Array array) native "RealtimeAnalyserNode_getByteTimeDomainData_Callback";
+ /** @domName ProcessingInstruction.data */
+ String data;
- void getFloatFrequencyData(Float32Array array) native "RealtimeAnalyserNode_getFloatFrequencyData_Callback";
+ /** @domName ProcessingInstruction.sheet */
+ abstract StyleSheet get sheet;
+ /** @domName ProcessingInstruction.target */
+ abstract String get 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
@@ -25435,20 +25547,16 @@ class _RealtimeAnalyserNodeImpl extends _AudioNodeImpl implements RealtimeAnalys
// WARNING: Do not edit - generated code.
-/// @domName Rect
-abstract class Rect {
+class _ProcessingInstructionImpl extends _NodeImpl implements ProcessingInstruction {
- /** @domName Rect.bottom */
- abstract CSSPrimitiveValue get bottom;
+ String get data native "ProcessingInstruction_data_Getter";
- /** @domName Rect.left */
- abstract CSSPrimitiveValue get left;
+ void set data(String value) native "ProcessingInstruction_data_Setter";
- /** @domName Rect.right */
- abstract CSSPrimitiveValue get right;
+ StyleSheet get sheet native "ProcessingInstruction_sheet_Getter";
+
+ String get target native "ProcessingInstruction_target_Getter";
- /** @domName Rect.top */
- abstract CSSPrimitiveValue get 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
@@ -25456,16 +25564,22 @@ abstract class Rect {
// WARNING: Do not edit - generated code.
-class _RectImpl extends NativeFieldWrapperClass1 implements Rect {
+/// @domName HTMLProgressElement
+abstract class ProgressElement implements Element {
- CSSPrimitiveValue get bottom native "Rect_bottom_Getter";
+ factory ProgressElement() => _Elements.createProgressElement();
- CSSPrimitiveValue get left native "Rect_left_Getter";
+ /** @domName HTMLProgressElement.labels */
+ abstract List<Node> get labels;
- CSSPrimitiveValue get right native "Rect_right_Getter";
+ /** @domName HTMLProgressElement.max */
+ num max;
- CSSPrimitiveValue get top native "Rect_top_Getter";
+ /** @domName HTMLProgressElement.position */
+ abstract num get position;
+ /** @domName HTMLProgressElement.value */
+ 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
@@ -25473,37 +25587,20 @@ class _RectImpl extends NativeFieldWrapperClass1 implements Rect {
// WARNING: Do not edit - generated code.
-typedef void 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.
-
-/// @domName SQLError
-abstract class SQLError {
-
- static const int CONSTRAINT_ERR = 6;
-
- static const int DATABASE_ERR = 1;
-
- static const int QUOTA_ERR = 4;
+class _HTMLProgressElementImpl extends _HTMLElementImpl implements ProgressElement {
- static const int SYNTAX_ERR = 5;
+ List<Node> get labels native "HTMLProgressElement_labels_Getter";
- static const int TIMEOUT_ERR = 7;
+ num get max native "HTMLProgressElement_max_Getter";
- static const int TOO_LARGE_ERR = 3;
+ void set max(num value) native "HTMLProgressElement_max_Setter";
- static const int UNKNOWN_ERR = 0;
+ num get position native "HTMLProgressElement_position_Getter";
- static const int VERSION_ERR = 2;
+ num get value native "HTMLProgressElement_value_Getter";
- /** @domName SQLError.code */
- abstract int get code;
+ void set value(num value) native "HTMLProgressElement_value_Setter";
- /** @domName SQLError.message */
- abstract String get 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
@@ -25511,12 +25608,17 @@ abstract class SQLError {
// WARNING: Do not edit - generated code.
-class _SQLErrorImpl extends NativeFieldWrapperClass1 implements SQLError {
+/// @domName ProgressEvent
+abstract class ProgressEvent implements Event {
- int get code native "SQLError_code_Getter";
+ /** @domName ProgressEvent.lengthComputable */
+ abstract bool get lengthComputable;
- String get message native "SQLError_message_Getter";
+ /** @domName ProgressEvent.loaded */
+ abstract int get loaded;
+ /** @domName ProgressEvent.total */
+ abstract int get 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
@@ -25524,30 +25626,26 @@ class _SQLErrorImpl extends NativeFieldWrapperClass1 implements SQLError {
// WARNING: Do not edit - generated code.
-/// @domName SQLException
-abstract class SQLException {
-
- static const int CONSTRAINT_ERR = 6;
-
- static const int DATABASE_ERR = 1;
-
- static const int QUOTA_ERR = 4;
+class _ProgressEventImpl extends _EventImpl implements ProgressEvent {
- static const int SYNTAX_ERR = 5;
+ bool get lengthComputable native "ProgressEvent_lengthComputable_Getter";
- static const int TIMEOUT_ERR = 7;
+ int get loaded native "ProgressEvent_loaded_Getter";
- static const int TOO_LARGE_ERR = 3;
+ int get total native "ProgressEvent_total_Getter";
- static const int UNKNOWN_ERR = 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.
- static const int VERSION_ERR = 2;
+// WARNING: Do not edit - generated code.
- /** @domName SQLException.code */
- abstract int get code;
+/// @domName HTMLQuoteElement
+abstract class QuoteElement implements Element {
- /** @domName SQLException.message */
- abstract String get message;
+ /** @domName HTMLQuoteElement.cite */
+ 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
@@ -25555,11 +25653,11 @@ abstract class SQLException {
// WARNING: Do not edit - generated code.
-class _SQLExceptionImpl extends NativeFieldWrapperClass1 implements SQLException {
+class _HTMLQuoteElementImpl extends _HTMLElementImpl implements QuoteElement {
- int get code native "SQLException_code_Getter";
+ String get cite native "HTMLQuoteElement_cite_Getter";
- String get message native "SQLException_message_Getter";
+ void set cite(String value) native "HTMLQuoteElement_cite_Setter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -25568,17 +25666,17 @@ class _SQLExceptionImpl extends NativeFieldWrapperClass1 implements SQLException
// WARNING: Do not edit - generated code.
-/// @domName SQLResultSet
-abstract class SQLResultSet {
+/// @domName RGBColor
+abstract class RGBColor {
- /** @domName SQLResultSet.insertId */
- abstract int get insertId;
+ /** @domName RGBColor.blue */
+ abstract CSSPrimitiveValue get blue;
- /** @domName SQLResultSet.rows */
- abstract SQLResultSetRowList get rows;
+ /** @domName RGBColor.green */
+ abstract CSSPrimitiveValue get green;
- /** @domName SQLResultSet.rowsAffected */
- abstract int get rowsAffected;
+ /** @domName RGBColor.red */
+ abstract CSSPrimitiveValue get 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
@@ -25586,13 +25684,13 @@ abstract class SQLResultSet {
// WARNING: Do not edit - generated code.
-class _SQLResultSetImpl extends NativeFieldWrapperClass1 implements SQLResultSet {
+class _RGBColorImpl extends NativeFieldWrapperClass1 implements RGBColor {
- int get insertId native "SQLResultSet_insertId_Getter";
+ CSSPrimitiveValue get blue native "RGBColor_blue_Getter";
- SQLResultSetRowList get rows native "SQLResultSet_rows_Getter";
+ CSSPrimitiveValue get green native "RGBColor_green_Getter";
- int get rowsAffected native "SQLResultSet_rowsAffected_Getter";
+ CSSPrimitiveValue get red native "RGBColor_red_Getter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -25601,27 +25699,26 @@ class _SQLResultSetImpl extends NativeFieldWrapperClass1 implements SQLResultSet
// WARNING: Do not edit - generated code.
-/// @domName SQLResultSetRowList
-abstract class SQLResultSetRowList {
-
- /** @domName SQLResultSetRowList.length */
- abstract int get length;
-
- /** @domName SQLResultSetRowList.item */
- Map item(int index);
-}
+typedef bool RTCErrorCallback(String errorInformation);
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// WARNING: Do not edit - generated code.
-class _SQLResultSetRowListImpl extends NativeFieldWrapperClass1 implements SQLResultSetRowList {
+/// @domName RTCIceCandidate
+abstract class RTCIceCandidate {
- int get length native "SQLResultSetRowList_length_Getter";
+ factory RTCIceCandidate(Map dictionary) => _RTCIceCandidateFactoryProvider.createRTCIceCandidate(dictionary);
- Map item(int index) native "SQLResultSetRowList_item_Callback";
+ /** @domName RTCIceCandidate.candidate */
+ abstract String get candidate;
+
+ /** @domName RTCIceCandidate.sdpMLineIndex */
+ abstract int get sdpMLineIndex;
+ /** @domName RTCIceCandidate.sdpMid */
+ abstract String get sdpMid;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -25629,25 +25726,37 @@ class _SQLResultSetRowListImpl extends NativeFieldWrapperClass1 implements SQLRe
// WARNING: Do not edit - generated code.
-typedef bool SQLStatementCallback(SQLTransaction transaction, SQLResultSet resultSet);
+/// @domName RTCIceCandidateEvent
+abstract class RTCIceCandidateEvent implements Event {
+
+ /** @domName RTCIceCandidateEvent.candidate */
+ abstract RTCIceCandidate get candidate;
+}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of 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);
+class _RTCIceCandidateEventImpl extends _EventImpl implements RTCIceCandidateEvent {
+
+ RTCIceCandidate get candidate native "RTCIceCandidateEvent_candidate_Getter";
+
+}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// WARNING: Do not edit - generated code.
-/// @domName SQLTransaction
-abstract class SQLTransaction {
+class _RTCIceCandidateImpl extends NativeFieldWrapperClass1 implements RTCIceCandidate {
+
+ String get candidate native "RTCIceCandidate_candidate_Getter";
+
+ int get sdpMLineIndex native "RTCIceCandidate_sdpMLineIndex_Getter";
+
+ String get sdpMid native "RTCIceCandidate_sdpMid_Getter";
- /** @domName SQLTransaction.executeSql */
- 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
@@ -25655,66 +25764,91 @@ abstract class SQLTransaction {
// 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.
+/// @domName RTCPeerConnection
+abstract class RTCPeerConnection implements EventTarget {
-// WARNING: Do not edit - generated code.
+ factory RTCPeerConnection(Map rtcIceServers, [Map mediaConstraints]) {
+ if (!?mediaConstraints) {
+ return _RTCPeerConnectionFactoryProvider.createRTCPeerConnection(rtcIceServers);
+ }
+ return _RTCPeerConnectionFactoryProvider.createRTCPeerConnection(rtcIceServers, mediaConstraints);
+ }
-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.
+ /**
+ * @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
+ */
+ RTCPeerConnectionEvents get on;
-// WARNING: Do not edit - generated code.
+ /** @domName RTCPeerConnection.iceState */
+ abstract String get iceState;
-class _SQLTransactionImpl extends NativeFieldWrapperClass1 implements SQLTransaction {
+ /** @domName RTCPeerConnection.localDescription */
+ abstract RTCSessionDescription get localDescription;
- void executeSql(String sqlStatement, List arguments, [SQLStatementCallback callback, SQLStatementErrorCallback errorCallback]) native "SQLTransaction_executeSql_Callback";
+ /** @domName RTCPeerConnection.localStreams */
+ abstract List<MediaStream> get localStreams;
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ /** @domName RTCPeerConnection.readyState */
+ abstract String get readyState;
-// WARNING: Do not edit - generated code.
+ /** @domName RTCPeerConnection.remoteDescription */
+ abstract RTCSessionDescription get remoteDescription;
-/// @domName SQLTransactionSync
-abstract class SQLTransactionSync {
+ /** @domName RTCPeerConnection.remoteStreams */
+ abstract List<MediaStream> get remoteStreams;
- /** @domName SQLTransactionSync.executeSql */
- 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.
+ /** @domName RTCPeerConnection.addEventListener */
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
-// WARNING: Do not edit - generated code.
+ /** @domName RTCPeerConnection.addIceCandidate */
+ void addIceCandidate(RTCIceCandidate candidate);
-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.
+ /** @domName RTCPeerConnection.addStream */
+ void addStream(MediaStream stream, Map mediaConstraints);
-// WARNING: Do not edit - generated code.
+ /** @domName RTCPeerConnection.close */
+ void close();
-class _SQLTransactionSyncImpl extends NativeFieldWrapperClass1 implements SQLTransactionSync {
+ /** @domName RTCPeerConnection.createAnswer */
+ void createAnswer(RTCSessionDescriptionCallback successCallback, [RTCErrorCallback failureCallback, Map mediaConstraints]);
- SQLResultSet executeSql(String sqlStatement, List arguments) native "SQLTransactionSync_executeSql_Callback";
+ /** @domName RTCPeerConnection.createOffer */
+ void createOffer(RTCSessionDescriptionCallback successCallback, [RTCErrorCallback failureCallback, Map mediaConstraints]);
+
+ /** @domName RTCPeerConnection.dispatchEvent */
+ bool $dom_dispatchEvent(Event event);
+
+ /** @domName RTCPeerConnection.removeEventListener */
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
+
+ /** @domName RTCPeerConnection.removeStream */
+ void removeStream(MediaStream stream);
+
+ /** @domName RTCPeerConnection.setLocalDescription */
+ void setLocalDescription(RTCSessionDescription description, [VoidCallback successCallback, RTCErrorCallback failureCallback]);
+
+ /** @domName RTCPeerConnection.setRemoteDescription */
+ void setRemoteDescription(RTCSessionDescription description, [VoidCallback successCallback, RTCErrorCallback failureCallback]);
+ /** @domName RTCPeerConnection.updateIce */
+ void updateIce(Map configuration, Map 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.
-// WARNING: Do not edit - generated code.
+abstract class RTCPeerConnectionEvents implements Events {
-/// @domName SVGAElement
-abstract class SVGAElement implements SVGElement, SVGURIReference, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
+ EventListenerList get addStream;
- /** @domName SVGAElement.target */
- abstract SVGAnimatedString get target;
+ EventListenerList get iceCandidate;
+
+ EventListenerList get iceChange;
+
+ EventListenerList get negotiationNeeded;
+
+ EventListenerList get open;
+
+ EventListenerList get removeStream;
+
+ EventListenerList get stateChange;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -25722,59 +25856,65 @@ abstract class SVGAElement implements SVGElement, SVGURIReference, SVGTests, SVG
// WARNING: Do not edit - generated code.
-class _SVGAElementImpl extends _SVGElementImpl implements SVGAElement {
+class _RTCPeerConnectionImpl extends _EventTargetImpl implements RTCPeerConnection {
- SVGAnimatedString get target native "SVGAElement_target_Getter";
+ _RTCPeerConnectionEventsImpl get on =>
+ new _RTCPeerConnectionEventsImpl(this);
- SVGAnimatedString get href native "SVGAElement_href_Getter";
+ String get iceState native "RTCPeerConnection_iceState_Getter";
- SVGStringList get requiredExtensions native "SVGAElement_requiredExtensions_Getter";
+ RTCSessionDescription get localDescription native "RTCPeerConnection_localDescription_Getter";
- SVGStringList get requiredFeatures native "SVGAElement_requiredFeatures_Getter";
+ List<MediaStream> get localStreams native "RTCPeerConnection_localStreams_Getter";
- SVGStringList get systemLanguage native "SVGAElement_systemLanguage_Getter";
+ String get readyState native "RTCPeerConnection_readyState_Getter";
- bool hasExtension(String extension) native "SVGAElement_hasExtension_Callback";
+ RTCSessionDescription get remoteDescription native "RTCPeerConnection_remoteDescription_Getter";
- String get xmllang native "SVGAElement_xmllang_Getter";
+ List<MediaStream> get remoteStreams native "RTCPeerConnection_remoteStreams_Getter";
- void set xmllang(String value) native "SVGAElement_xmllang_Setter";
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "RTCPeerConnection_addEventListener_Callback";
- String get xmlspace native "SVGAElement_xmlspace_Getter";
+ void addIceCandidate(RTCIceCandidate candidate) native "RTCPeerConnection_addIceCandidate_Callback";
- void set xmlspace(String value) native "SVGAElement_xmlspace_Setter";
+ void addStream(MediaStream stream, Map mediaConstraints) native "RTCPeerConnection_addStream_Callback";
- SVGAnimatedBoolean get externalResourcesRequired native "SVGAElement_externalResourcesRequired_Getter";
+ void close() native "RTCPeerConnection_close_Callback";
- SVGAnimatedString get $dom_svgClassName native "SVGAElement_className_Getter";
+ void createAnswer(RTCSessionDescriptionCallback successCallback, [RTCErrorCallback failureCallback, Map mediaConstraints]) native "RTCPeerConnection_createAnswer_Callback";
- CSSStyleDeclaration get style native "SVGAElement_style_Getter";
+ void createOffer(RTCSessionDescriptionCallback successCallback, [RTCErrorCallback failureCallback, Map mediaConstraints]) native "RTCPeerConnection_createOffer_Callback";
- CSSValue getPresentationAttribute(String name) native "SVGAElement_getPresentationAttribute_Callback";
+ bool $dom_dispatchEvent(Event event) native "RTCPeerConnection_dispatchEvent_Callback";
- SVGAnimatedTransformList get transform native "SVGAElement_transform_Getter";
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "RTCPeerConnection_removeEventListener_Callback";
- SVGElement get farthestViewportElement native "SVGAElement_farthestViewportElement_Getter";
+ void removeStream(MediaStream stream) native "RTCPeerConnection_removeStream_Callback";
- SVGElement get nearestViewportElement native "SVGAElement_nearestViewportElement_Getter";
+ void setLocalDescription(RTCSessionDescription description, [VoidCallback successCallback, RTCErrorCallback failureCallback]) native "RTCPeerConnection_setLocalDescription_Callback";
- SVGRect getBBox() native "SVGAElement_getBBox_Callback";
+ void setRemoteDescription(RTCSessionDescription description, [VoidCallback successCallback, RTCErrorCallback failureCallback]) native "RTCPeerConnection_setRemoteDescription_Callback";
- SVGMatrix getCTM() native "SVGAElement_getCTM_Callback";
+ void updateIce(Map configuration, Map mediaConstraints) native "RTCPeerConnection_updateIce_Callback";
- SVGMatrix getScreenCTM() native "SVGAElement_getScreenCTM_Callback";
+}
- SVGMatrix getTransformToElement(SVGElement element) native "SVGAElement_getTransformToElement_Callback";
+class _RTCPeerConnectionEventsImpl extends _EventsImpl implements RTCPeerConnectionEvents {
+ _RTCPeerConnectionEventsImpl(_ptr) : super(_ptr);
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ EventListenerList get addStream => this['addstream'];
-// WARNING: Do not edit - generated code.
+ EventListenerList get iceCandidate => this['icecandidate'];
-/// @domName SVGAltGlyphDefElement
-abstract class SVGAltGlyphDefElement implements SVGElement {
+ EventListenerList get iceChange => this['icechange'];
+
+ EventListenerList get negotiationNeeded => this['negotiationneeded'];
+
+ EventListenerList get open => this['open'];
+
+ EventListenerList get removeStream => this['removestream'];
+
+ EventListenerList get stateChange => this['statechange'];
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -25782,8 +25922,16 @@ abstract class SVGAltGlyphDefElement implements SVGElement {
// WARNING: Do not edit - generated code.
-class _SVGAltGlyphDefElementImpl extends _SVGElementImpl implements SVGAltGlyphDefElement {
+/// @domName RTCSessionDescription
+abstract class RTCSessionDescription {
+
+ factory RTCSessionDescription(Map dictionary) => _RTCSessionDescriptionFactoryProvider.createRTCSessionDescription(dictionary);
+ /** @domName RTCSessionDescription.sdp */
+ String sdp;
+
+ /** @domName RTCSessionDescription.type */
+ 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
@@ -25791,32 +25939,22 @@ class _SVGAltGlyphDefElementImpl extends _SVGElementImpl implements SVGAltGlyphD
// WARNING: Do not edit - generated code.
-/// @domName SVGAltGlyphElement
-abstract class SVGAltGlyphElement implements SVGTextPositioningElement, SVGURIReference {
-
- /** @domName SVGAltGlyphElement.format */
- String format;
-
- /** @domName SVGAltGlyphElement.glyphRef */
- String glyphRef;
-}
+typedef bool RTCSessionDescriptionCallback(RTCSessionDescription 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.
// WARNING: Do not edit - generated code.
-class _SVGAltGlyphElementImpl extends _SVGTextPositioningElementImpl implements SVGAltGlyphElement {
-
- String get format native "SVGAltGlyphElement_format_Getter";
+class _RTCSessionDescriptionImpl extends NativeFieldWrapperClass1 implements RTCSessionDescription {
- void set format(String value) native "SVGAltGlyphElement_format_Setter";
+ String get sdp native "RTCSessionDescription_sdp_Getter";
- String get glyphRef native "SVGAltGlyphElement_glyphRef_Getter";
+ void set sdp(String value) native "RTCSessionDescription_sdp_Setter";
- void set glyphRef(String value) native "SVGAltGlyphElement_glyphRef_Setter";
+ String get type native "RTCSessionDescription_type_Getter";
- SVGAnimatedString get href native "SVGAltGlyphElement_href_Getter";
+ void set type(String value) native "RTCSessionDescription_type_Setter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -25825,8 +25963,11 @@ class _SVGAltGlyphElementImpl extends _SVGTextPositioningElementImpl implements
// WARNING: Do not edit - generated code.
-/// @domName SVGAltGlyphItemElement
-abstract class SVGAltGlyphItemElement implements SVGElement {
+/// @domName RadioNodeList
+abstract class RadioNodeList implements List<Node> {
+
+ /** @domName RadioNodeList.value */
+ 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
@@ -25834,7 +25975,11 @@ abstract class SVGAltGlyphItemElement implements SVGElement {
// WARNING: Do not edit - generated code.
-class _SVGAltGlyphItemElementImpl extends _SVGElementImpl implements SVGAltGlyphItemElement {
+class _RadioNodeListImpl extends _NodeListImpl implements RadioNodeList {
+
+ String get value native "RadioNodeList_value_Getter";
+
+ void set value(String value) native "RadioNodeList_value_Setter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -25843,117 +25988,117 @@ class _SVGAltGlyphItemElementImpl extends _SVGElementImpl implements SVGAltGlyph
// WARNING: Do not edit - generated code.
-/// @domName SVGAngle
-abstract class SVGAngle {
+/// @domName Range
+abstract class Range {
- static const int SVG_ANGLETYPE_DEG = 2;
+ static const int END_TO_END = 2;
- static const int SVG_ANGLETYPE_GRAD = 4;
+ static const int END_TO_START = 3;
- static const int SVG_ANGLETYPE_RAD = 3;
+ static const int NODE_AFTER = 1;
- static const int SVG_ANGLETYPE_UNKNOWN = 0;
+ static const int NODE_BEFORE = 0;
- static const int SVG_ANGLETYPE_UNSPECIFIED = 1;
+ static const int NODE_BEFORE_AND_AFTER = 2;
- /** @domName SVGAngle.unitType */
- abstract int get unitType;
+ static const int NODE_INSIDE = 3;
- /** @domName SVGAngle.value */
- num value;
+ static const int START_TO_END = 1;
- /** @domName SVGAngle.valueAsString */
- String valueAsString;
+ static const int START_TO_START = 0;
- /** @domName SVGAngle.valueInSpecifiedUnits */
- num valueInSpecifiedUnits;
+ /** @domName Range.collapsed */
+ abstract bool get collapsed;
- /** @domName SVGAngle.convertToSpecifiedUnits */
- void convertToSpecifiedUnits(int unitType);
+ /** @domName Range.commonAncestorContainer */
+ abstract Node get commonAncestorContainer;
- /** @domName SVGAngle.newValueSpecifiedUnits */
- 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.
+ /** @domName Range.endContainer */
+ abstract Node get endContainer;
-// WARNING: Do not edit - generated code.
+ /** @domName Range.endOffset */
+ abstract int get endOffset;
-class _SVGAngleImpl extends NativeFieldWrapperClass1 implements SVGAngle {
+ /** @domName Range.startContainer */
+ abstract Node get startContainer;
- int get unitType native "SVGAngle_unitType_Getter";
+ /** @domName Range.startOffset */
+ abstract int get startOffset;
- num get value native "SVGAngle_value_Getter";
+ /** @domName Range.cloneContents */
+ DocumentFragment cloneContents();
- void set value(num value) native "SVGAngle_value_Setter";
+ /** @domName Range.cloneRange */
+ Range cloneRange();
- String get valueAsString native "SVGAngle_valueAsString_Getter";
+ /** @domName Range.collapse */
+ void collapse(bool toStart);
- void set valueAsString(String value) native "SVGAngle_valueAsString_Setter";
+ /** @domName Range.compareNode */
+ int compareNode(Node refNode);
- num get valueInSpecifiedUnits native "SVGAngle_valueInSpecifiedUnits_Getter";
+ /** @domName Range.comparePoint */
+ int comparePoint(Node refNode, int offset);
- void set valueInSpecifiedUnits(num value) native "SVGAngle_valueInSpecifiedUnits_Setter";
+ /** @domName Range.createContextualFragment */
+ DocumentFragment createContextualFragment(String html);
- void convertToSpecifiedUnits(int unitType) native "SVGAngle_convertToSpecifiedUnits_Callback";
+ /** @domName Range.deleteContents */
+ void deleteContents();
- void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native "SVGAngle_newValueSpecifiedUnits_Callback";
+ /** @domName Range.detach */
+ void detach();
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ /** @domName Range.expand */
+ void expand(String unit);
-// WARNING: Do not edit - generated code.
+ /** @domName Range.extractContents */
+ DocumentFragment extractContents();
-/// @domName SVGAnimateColorElement
-abstract class SVGAnimateColorElement implements 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.
+ /** @domName Range.getBoundingClientRect */
+ ClientRect getBoundingClientRect();
-// WARNING: Do not edit - generated code.
+ /** @domName Range.getClientRects */
+ List<ClientRect> getClientRects();
-class _SVGAnimateColorElementImpl extends _SVGAnimationElementImpl implements SVGAnimateColorElement {
+ /** @domName Range.insertNode */
+ void insertNode(Node newNode);
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ /** @domName Range.intersectsNode */
+ bool intersectsNode(Node refNode);
-// WARNING: Do not edit - generated code.
+ /** @domName Range.isPointInRange */
+ bool isPointInRange(Node refNode, int offset);
-/// @domName SVGAnimateElement
-abstract class SVGAnimateElement implements 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.
+ /** @domName Range.selectNode */
+ void selectNode(Node refNode);
-// WARNING: Do not edit - generated code.
+ /** @domName Range.selectNodeContents */
+ void selectNodeContents(Node refNode);
-class _SVGAnimateElementImpl extends _SVGAnimationElementImpl implements SVGAnimateElement {
+ /** @domName Range.setEnd */
+ void setEnd(Node refNode, 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.
+ /** @domName Range.setEndAfter */
+ void setEndAfter(Node refNode);
-// WARNING: Do not edit - generated code.
+ /** @domName Range.setEndBefore */
+ void setEndBefore(Node refNode);
-/// @domName SVGAnimateMotionElement
-abstract class SVGAnimateMotionElement implements 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.
+ /** @domName Range.setStart */
+ void setStart(Node refNode, int offset);
-// WARNING: Do not edit - generated code.
+ /** @domName Range.setStartAfter */
+ void setStartAfter(Node refNode);
-class _SVGAnimateMotionElementImpl extends _SVGAnimationElementImpl implements SVGAnimateMotionElement {
+ /** @domName Range.setStartBefore */
+ void setStartBefore(Node refNode);
+
+ /** @domName Range.surroundContents */
+ void surroundContents(Node newParent);
+ /** @domName Range.toString */
+ 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
@@ -25961,17 +26106,24 @@ class _SVGAnimateMotionElementImpl extends _SVGAnimationElementImpl implements S
// WARNING: Do not edit - generated code.
-/// @domName SVGAnimateTransformElement
-abstract class SVGAnimateTransformElement implements 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.
+/// @domName RangeException
+abstract class RangeException {
-// WARNING: Do not edit - generated code.
+ static const int BAD_BOUNDARYPOINTS_ERR = 1;
-class _SVGAnimateTransformElementImpl extends _SVGAnimationElementImpl implements SVGAnimateTransformElement {
+ static const int INVALID_NODE_TYPE_ERR = 2;
+
+ /** @domName RangeException.code */
+ abstract int get code;
+
+ /** @domName RangeException.message */
+ abstract String get message;
+ /** @domName RangeException.name */
+ abstract String get name;
+
+ /** @domName RangeException.toString */
+ 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
@@ -25979,14 +26131,16 @@ class _SVGAnimateTransformElementImpl extends _SVGAnimationElementImpl implement
// WARNING: Do not edit - generated code.
-/// @domName SVGAnimatedAngle
-abstract class SVGAnimatedAngle {
+class _RangeExceptionImpl extends NativeFieldWrapperClass1 implements RangeException {
- /** @domName SVGAnimatedAngle.animVal */
- abstract SVGAngle get animVal;
+ int get code native "RangeException_code_Getter";
+
+ String get message native "RangeException_message_Getter";
+
+ String get name native "RangeException_name_Getter";
+
+ String toString() native "RangeException_toString_Callback";
- /** @domName SVGAnimatedAngle.baseVal */
- abstract SVGAngle get 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
@@ -25994,41 +26148,69 @@ abstract class SVGAnimatedAngle {
// WARNING: Do not edit - generated code.
-class _SVGAnimatedAngleImpl extends NativeFieldWrapperClass1 implements SVGAnimatedAngle {
+class _RangeImpl extends NativeFieldWrapperClass1 implements Range {
- SVGAngle get animVal native "SVGAnimatedAngle_animVal_Getter";
+ bool get collapsed native "Range_collapsed_Getter";
- SVGAngle get baseVal native "SVGAnimatedAngle_baseVal_Getter";
+ Node get commonAncestorContainer native "Range_commonAncestorContainer_Getter";
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ Node get endContainer native "Range_endContainer_Getter";
-// WARNING: Do not edit - generated code.
+ int get endOffset native "Range_endOffset_Getter";
-/// @domName SVGAnimatedBoolean
-abstract class SVGAnimatedBoolean {
+ Node get startContainer native "Range_startContainer_Getter";
- /** @domName SVGAnimatedBoolean.animVal */
- abstract bool get animVal;
+ int get startOffset native "Range_startOffset_Getter";
- /** @domName SVGAnimatedBoolean.baseVal */
- 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.
+ DocumentFragment cloneContents() native "Range_cloneContents_Callback";
-// WARNING: Do not edit - generated code.
+ Range cloneRange() native "Range_cloneRange_Callback";
-class _SVGAnimatedBooleanImpl extends NativeFieldWrapperClass1 implements SVGAnimatedBoolean {
+ void collapse(bool toStart) native "Range_collapse_Callback";
- bool get animVal native "SVGAnimatedBoolean_animVal_Getter";
+ int compareNode(Node refNode) native "Range_compareNode_Callback";
- bool get baseVal native "SVGAnimatedBoolean_baseVal_Getter";
+ int comparePoint(Node refNode, int offset) native "Range_comparePoint_Callback";
- void set baseVal(bool value) native "SVGAnimatedBoolean_baseVal_Setter";
+ DocumentFragment createContextualFragment(String html) native "Range_createContextualFragment_Callback";
+
+ void deleteContents() native "Range_deleteContents_Callback";
+
+ void detach() native "Range_detach_Callback";
+
+ void expand(String unit) native "Range_expand_Callback";
+
+ DocumentFragment extractContents() native "Range_extractContents_Callback";
+
+ ClientRect getBoundingClientRect() native "Range_getBoundingClientRect_Callback";
+
+ List<ClientRect> getClientRects() native "Range_getClientRects_Callback";
+
+ void insertNode(Node newNode) native "Range_insertNode_Callback";
+
+ bool intersectsNode(Node refNode) native "Range_intersectsNode_Callback";
+
+ bool isPointInRange(Node refNode, int offset) native "Range_isPointInRange_Callback";
+
+ void selectNode(Node refNode) native "Range_selectNode_Callback";
+
+ void selectNodeContents(Node refNode) native "Range_selectNodeContents_Callback";
+
+ void setEnd(Node refNode, int offset) native "Range_setEnd_Callback";
+
+ void setEndAfter(Node refNode) native "Range_setEndAfter_Callback";
+
+ void setEndBefore(Node refNode) native "Range_setEndBefore_Callback";
+
+ void setStart(Node refNode, int offset) native "Range_setStart_Callback";
+
+ void setStartAfter(Node refNode) native "Range_setStartAfter_Callback";
+
+ void setStartBefore(Node refNode) native "Range_setStartBefore_Callback";
+
+ void surroundContents(Node newParent) native "Range_surroundContents_Callback";
+
+ String toString() native "Range_toString_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -26037,14 +26219,32 @@ class _SVGAnimatedBooleanImpl extends NativeFieldWrapperClass1 implements SVGAni
// WARNING: Do not edit - generated code.
-/// @domName SVGAnimatedEnumeration
-abstract class SVGAnimatedEnumeration {
+/// @domName RealtimeAnalyserNode
+abstract class RealtimeAnalyserNode implements AudioNode {
- /** @domName SVGAnimatedEnumeration.animVal */
- abstract int get animVal;
+ /** @domName RealtimeAnalyserNode.fftSize */
+ int fftSize;
- /** @domName SVGAnimatedEnumeration.baseVal */
- int baseVal;
+ /** @domName RealtimeAnalyserNode.frequencyBinCount */
+ abstract int get frequencyBinCount;
+
+ /** @domName RealtimeAnalyserNode.maxDecibels */
+ num maxDecibels;
+
+ /** @domName RealtimeAnalyserNode.minDecibels */
+ num minDecibels;
+
+ /** @domName RealtimeAnalyserNode.smoothingTimeConstant */
+ num smoothingTimeConstant;
+
+ /** @domName RealtimeAnalyserNode.getByteFrequencyData */
+ void getByteFrequencyData(Uint8Array array);
+
+ /** @domName RealtimeAnalyserNode.getByteTimeDomainData */
+ void getByteTimeDomainData(Uint8Array array);
+
+ /** @domName RealtimeAnalyserNode.getFloatFrequencyData */
+ 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
@@ -26052,13 +26252,31 @@ abstract class SVGAnimatedEnumeration {
// WARNING: Do not edit - generated code.
-class _SVGAnimatedEnumerationImpl extends NativeFieldWrapperClass1 implements SVGAnimatedEnumeration {
+class _RealtimeAnalyserNodeImpl extends _AudioNodeImpl implements RealtimeAnalyserNode {
- int get animVal native "SVGAnimatedEnumeration_animVal_Getter";
+ int get fftSize native "RealtimeAnalyserNode_fftSize_Getter";
- int get baseVal native "SVGAnimatedEnumeration_baseVal_Getter";
+ void set fftSize(int value) native "RealtimeAnalyserNode_fftSize_Setter";
- void set baseVal(int value) native "SVGAnimatedEnumeration_baseVal_Setter";
+ int get frequencyBinCount native "RealtimeAnalyserNode_frequencyBinCount_Getter";
+
+ num get maxDecibels native "RealtimeAnalyserNode_maxDecibels_Getter";
+
+ void set maxDecibels(num value) native "RealtimeAnalyserNode_maxDecibels_Setter";
+
+ num get minDecibels native "RealtimeAnalyserNode_minDecibels_Getter";
+
+ void set minDecibels(num value) native "RealtimeAnalyserNode_minDecibels_Setter";
+
+ num get smoothingTimeConstant native "RealtimeAnalyserNode_smoothingTimeConstant_Getter";
+
+ void set smoothingTimeConstant(num value) native "RealtimeAnalyserNode_smoothingTimeConstant_Setter";
+
+ void getByteFrequencyData(Uint8Array array) native "RealtimeAnalyserNode_getByteFrequencyData_Callback";
+
+ void getByteTimeDomainData(Uint8Array array) native "RealtimeAnalyserNode_getByteTimeDomainData_Callback";
+
+ void getFloatFrequencyData(Float32Array array) native "RealtimeAnalyserNode_getFloatFrequencyData_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -26067,14 +26285,20 @@ class _SVGAnimatedEnumerationImpl extends NativeFieldWrapperClass1 implements SV
// WARNING: Do not edit - generated code.
-/// @domName SVGAnimatedInteger
-abstract class SVGAnimatedInteger {
+/// @domName Rect
+abstract class Rect {
- /** @domName SVGAnimatedInteger.animVal */
- abstract int get animVal;
+ /** @domName Rect.bottom */
+ abstract CSSPrimitiveValue get bottom;
- /** @domName SVGAnimatedInteger.baseVal */
- int baseVal;
+ /** @domName Rect.left */
+ abstract CSSPrimitiveValue get left;
+
+ /** @domName Rect.right */
+ abstract CSSPrimitiveValue get right;
+
+ /** @domName Rect.top */
+ abstract CSSPrimitiveValue get 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
@@ -26082,13 +26306,15 @@ abstract class SVGAnimatedInteger {
// WARNING: Do not edit - generated code.
-class _SVGAnimatedIntegerImpl extends NativeFieldWrapperClass1 implements SVGAnimatedInteger {
+class _RectImpl extends NativeFieldWrapperClass1 implements Rect {
- int get animVal native "SVGAnimatedInteger_animVal_Getter";
+ CSSPrimitiveValue get bottom native "Rect_bottom_Getter";
- int get baseVal native "SVGAnimatedInteger_baseVal_Getter";
+ CSSPrimitiveValue get left native "Rect_left_Getter";
- void set baseVal(int value) native "SVGAnimatedInteger_baseVal_Setter";
+ CSSPrimitiveValue get right native "Rect_right_Getter";
+
+ CSSPrimitiveValue get top native "Rect_top_Getter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -26097,27 +26323,37 @@ class _SVGAnimatedIntegerImpl extends NativeFieldWrapperClass1 implements SVGAni
// WARNING: Do not edit - generated code.
-/// @domName SVGAnimatedLength
-abstract class SVGAnimatedLength {
-
- /** @domName SVGAnimatedLength.animVal */
- abstract SVGLength get animVal;
-
- /** @domName SVGAnimatedLength.baseVal */
- abstract SVGLength get baseVal;
-}
+typedef void 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.
-class _SVGAnimatedLengthImpl extends NativeFieldWrapperClass1 implements SVGAnimatedLength {
+/// @domName SQLError
+abstract class SQLError {
- SVGLength get animVal native "SVGAnimatedLength_animVal_Getter";
+ static const int CONSTRAINT_ERR = 6;
- SVGLength get baseVal native "SVGAnimatedLength_baseVal_Getter";
+ 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;
+
+ /** @domName SQLError.code */
+ abstract int get code;
+
+ /** @domName SQLError.message */
+ abstract String get 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
@@ -26125,14 +26361,12 @@ class _SVGAnimatedLengthImpl extends NativeFieldWrapperClass1 implements SVGAnim
// WARNING: Do not edit - generated code.
-/// @domName SVGAnimatedLengthList
-abstract class SVGAnimatedLengthList implements List<SVGAnimatedLength> {
+class _SQLErrorImpl extends NativeFieldWrapperClass1 implements SQLError {
- /** @domName SVGAnimatedLengthList.animVal */
- abstract SVGLengthList get animVal;
+ int get code native "SQLError_code_Getter";
+
+ String get message native "SQLError_message_Getter";
- /** @domName SVGAnimatedLengthList.baseVal */
- abstract SVGLengthList get 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
@@ -26140,92 +26374,75 @@ abstract class SVGAnimatedLengthList implements List<SVGAnimatedLength> {
// WARNING: Do not edit - generated code.
-class _SVGAnimatedLengthListImpl extends NativeFieldWrapperClass1 implements SVGAnimatedLengthList {
-
- SVGLengthList get animVal native "SVGAnimatedLengthList_animVal_Getter";
-
- SVGLengthList get baseVal native "SVGAnimatedLengthList_baseVal_Getter";
+/// @domName SQLException
+abstract class SQLException {
- SVGAnimatedLength operator[](int index) native "SVGAnimatedLengthList_item_Callback";
+ static const int CONSTRAINT_ERR = 6;
- void operator[]=(int index, SVGAnimatedLength value) {
- throw new UnsupportedOperationException("Cannot assign element of immutable List.");
- }
- // -- start List<SVGAnimatedLength> mixins.
- // SVGAnimatedLength is the element type.
+ static const int DATABASE_ERR = 1;
- // From Iterable<SVGAnimatedLength>:
+ static const int QUOTA_ERR = 4;
- Iterator<SVGAnimatedLength> 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<SVGAnimatedLength>(this);
- }
+ static const int SYNTAX_ERR = 5;
- // From Collection<SVGAnimatedLength>:
+ static const int TIMEOUT_ERR = 7;
- void add(SVGAnimatedLength value) {
- throw const UnsupportedOperationException("Cannot add to immutable List.");
- }
+ static const int TOO_LARGE_ERR = 3;
- void addLast(SVGAnimatedLength value) {
- throw const UnsupportedOperationException("Cannot add to immutable List.");
- }
+ static const int UNKNOWN_ERR = 0;
- void addAll(Collection<SVGAnimatedLength> collection) {
- throw const UnsupportedOperationException("Cannot add to immutable List.");
- }
+ static const int VERSION_ERR = 2;
- void forEach(void f(SVGAnimatedLength element)) => _Collections.forEach(this, f);
+ /** @domName SQLException.code */
+ abstract int get code;
- Collection map(f(SVGAnimatedLength element)) => _Collections.map(this, [], f);
+ /** @domName SQLException.message */
+ abstract String get 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.
- Collection<SVGAnimatedLength> filter(bool f(SVGAnimatedLength element)) =>
- _Collections.filter(this, <SVGAnimatedLength>[], f);
+// WARNING: Do not edit - generated code.
- bool every(bool f(SVGAnimatedLength element)) => _Collections.every(this, f);
+class _SQLExceptionImpl extends NativeFieldWrapperClass1 implements SQLException {
- bool some(bool f(SVGAnimatedLength element)) => _Collections.some(this, f);
+ int get code native "SQLException_code_Getter";
- bool isEmpty() => this.length == 0;
+ String get message native "SQLException_message_Getter";
- // From List<SVGAnimatedLength>:
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- void sort(int compare(SVGAnimatedLength a, SVGAnimatedLength b)) {
- throw const UnsupportedOperationException("Cannot sort immutable List.");
- }
+// WARNING: Do not edit - generated code.
- int indexOf(SVGAnimatedLength element, [int start = 0]) =>
- _Lists.indexOf(this, element, start, this.length);
+/// @domName SQLResultSet
+abstract class SQLResultSet {
- int lastIndexOf(SVGAnimatedLength element, [int start]) {
- if (start === null) start = length - 1;
- return _Lists.lastIndexOf(this, element, start);
- }
+ /** @domName SQLResultSet.insertId */
+ abstract int get insertId;
- SVGAnimatedLength last() => this[length - 1];
+ /** @domName SQLResultSet.rows */
+ abstract SQLResultSetRowList get rows;
- SVGAnimatedLength removeLast() {
- throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
- }
+ /** @domName SQLResultSet.rowsAffected */
+ abstract int get 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.
- void setRange(int start, int rangeLength, List<SVGAnimatedLength> from, [int startFrom]) {
- throw const UnsupportedOperationException("Cannot setRange on immutable List.");
- }
+// WARNING: Do not edit - generated code.
- void removeRange(int start, int rangeLength) {
- throw const UnsupportedOperationException("Cannot removeRange on immutable List.");
- }
+class _SQLResultSetImpl extends NativeFieldWrapperClass1 implements SQLResultSet {
- void insertRange(int start, int rangeLength, [SVGAnimatedLength initialValue]) {
- throw const UnsupportedOperationException("Cannot insertRange on immutable List.");
- }
+ int get insertId native "SQLResultSet_insertId_Getter";
- List<SVGAnimatedLength> getRange(int start, int rangeLength) =>
- _Lists.getRange(this, start, rangeLength, <SVGAnimatedLength>[]);
+ SQLResultSetRowList get rows native "SQLResultSet_rows_Getter";
- // -- end List<SVGAnimatedLength> mixins.
+ int get rowsAffected native "SQLResultSet_rowsAffected_Getter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -26234,14 +26451,14 @@ class _SVGAnimatedLengthListImpl extends NativeFieldWrapperClass1 implements SVG
// WARNING: Do not edit - generated code.
-/// @domName SVGAnimatedNumber
-abstract class SVGAnimatedNumber {
+/// @domName SQLResultSetRowList
+abstract class SQLResultSetRowList {
- /** @domName SVGAnimatedNumber.animVal */
- abstract num get animVal;
+ /** @domName SQLResultSetRowList.length */
+ abstract int get length;
- /** @domName SVGAnimatedNumber.baseVal */
- num baseVal;
+ /** @domName SQLResultSetRowList.item */
+ 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
@@ -26249,13 +26466,11 @@ abstract class SVGAnimatedNumber {
// WARNING: Do not edit - generated code.
-class _SVGAnimatedNumberImpl extends NativeFieldWrapperClass1 implements SVGAnimatedNumber {
-
- num get animVal native "SVGAnimatedNumber_animVal_Getter";
+class _SQLResultSetRowListImpl extends NativeFieldWrapperClass1 implements SQLResultSetRowList {
- num get baseVal native "SVGAnimatedNumber_baseVal_Getter";
+ int get length native "SQLResultSetRowList_length_Getter";
- void set baseVal(num value) native "SVGAnimatedNumber_baseVal_Setter";
+ Map item(int index) native "SQLResultSetRowList_item_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -26264,135 +26479,142 @@ class _SVGAnimatedNumberImpl extends NativeFieldWrapperClass1 implements SVGAnim
// WARNING: Do not edit - generated code.
-/// @domName SVGAnimatedNumberList
-abstract class SVGAnimatedNumberList implements List<SVGAnimatedNumber> {
+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.
- /** @domName SVGAnimatedNumberList.animVal */
- abstract SVGNumberList get animVal;
+// WARNING: Do not edit - generated code.
- /** @domName SVGAnimatedNumberList.baseVal */
- abstract SVGNumberList get baseVal;
-}
+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.
-class _SVGAnimatedNumberListImpl extends NativeFieldWrapperClass1 implements SVGAnimatedNumberList {
+/// @domName SQLTransaction
+abstract class SQLTransaction {
- SVGNumberList get animVal native "SVGAnimatedNumberList_animVal_Getter";
+ /** @domName SQLTransaction.executeSql */
+ 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.
- SVGNumberList get baseVal native "SVGAnimatedNumberList_baseVal_Getter";
+// WARNING: Do not edit - generated code.
- SVGAnimatedNumber operator[](int index) native "SVGAnimatedNumberList_item_Callback";
+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.
- void operator[]=(int index, SVGAnimatedNumber value) {
- throw new UnsupportedOperationException("Cannot assign element of immutable List.");
- }
- // -- start List<SVGAnimatedNumber> mixins.
- // SVGAnimatedNumber is the element type.
+// WARNING: Do not edit - generated code.
- // From Iterable<SVGAnimatedNumber>:
+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.
- Iterator<SVGAnimatedNumber> 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<SVGAnimatedNumber>(this);
- }
+// WARNING: Do not edit - generated code.
- // From Collection<SVGAnimatedNumber>:
+class _SQLTransactionImpl extends NativeFieldWrapperClass1 implements SQLTransaction {
- void add(SVGAnimatedNumber value) {
- throw const UnsupportedOperationException("Cannot add to immutable List.");
- }
+ void executeSql(String sqlStatement, List arguments, [SQLStatementCallback callback, SQLStatementErrorCallback errorCallback]) native "SQLTransaction_executeSql_Callback";
- void addLast(SVGAnimatedNumber value) {
- throw const UnsupportedOperationException("Cannot add to immutable 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.
- void addAll(Collection<SVGAnimatedNumber> collection) {
- throw const UnsupportedOperationException("Cannot add to immutable List.");
- }
+// WARNING: Do not edit - generated code.
- void forEach(void f(SVGAnimatedNumber element)) => _Collections.forEach(this, f);
+/// @domName SQLTransactionSync
+abstract class SQLTransactionSync {
- Collection map(f(SVGAnimatedNumber element)) => _Collections.map(this, [], f);
+ /** @domName SQLTransactionSync.executeSql */
+ 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.
- Collection<SVGAnimatedNumber> filter(bool f(SVGAnimatedNumber element)) =>
- _Collections.filter(this, <SVGAnimatedNumber>[], f);
+// WARNING: Do not edit - generated code.
- bool every(bool f(SVGAnimatedNumber element)) => _Collections.every(this, f);
+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.
- bool some(bool f(SVGAnimatedNumber element)) => _Collections.some(this, f);
+// WARNING: Do not edit - generated code.
- bool isEmpty() => this.length == 0;
+class _SQLTransactionSyncImpl extends NativeFieldWrapperClass1 implements SQLTransactionSync {
- // From List<SVGAnimatedNumber>:
+ SQLResultSet executeSql(String sqlStatement, List arguments) native "SQLTransactionSync_executeSql_Callback";
- void sort(int compare(SVGAnimatedNumber a, SVGAnimatedNumber b)) {
- throw const UnsupportedOperationException("Cannot sort immutable 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.
- int indexOf(SVGAnimatedNumber element, [int start = 0]) =>
- _Lists.indexOf(this, element, start, this.length);
+// WARNING: Do not edit - generated code.
- int lastIndexOf(SVGAnimatedNumber element, [int start]) {
- if (start === null) start = length - 1;
- return _Lists.lastIndexOf(this, element, start);
- }
+/// @domName SVGAElement
+abstract class SVGAElement implements SVGElement, SVGURIReference, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
- SVGAnimatedNumber last() => this[length - 1];
+ /** @domName SVGAElement.target */
+ abstract SVGAnimatedString get 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.
- SVGAnimatedNumber removeLast() {
- throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
- }
+// WARNING: Do not edit - generated code.
- void setRange(int start, int rangeLength, List<SVGAnimatedNumber> from, [int startFrom]) {
- throw const UnsupportedOperationException("Cannot setRange on immutable List.");
- }
+class _SVGAElementImpl extends _SVGElementImpl implements SVGAElement {
- void removeRange(int start, int rangeLength) {
- throw const UnsupportedOperationException("Cannot removeRange on immutable List.");
- }
+ SVGAnimatedString get target native "SVGAElement_target_Getter";
- void insertRange(int start, int rangeLength, [SVGAnimatedNumber initialValue]) {
- throw const UnsupportedOperationException("Cannot insertRange on immutable List.");
- }
+ SVGAnimatedString get href native "SVGAElement_href_Getter";
- List<SVGAnimatedNumber> getRange(int start, int rangeLength) =>
- _Lists.getRange(this, start, rangeLength, <SVGAnimatedNumber>[]);
+ SVGStringList get requiredExtensions native "SVGAElement_requiredExtensions_Getter";
- // -- end List<SVGAnimatedNumber> mixins.
+ SVGStringList get requiredFeatures native "SVGAElement_requiredFeatures_Getter";
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ SVGStringList get systemLanguage native "SVGAElement_systemLanguage_Getter";
-// WARNING: Do not edit - generated code.
+ bool hasExtension(String extension) native "SVGAElement_hasExtension_Callback";
-/// @domName SVGAnimatedPreserveAspectRatio
-abstract class SVGAnimatedPreserveAspectRatio {
+ String get xmllang native "SVGAElement_xmllang_Getter";
- /** @domName SVGAnimatedPreserveAspectRatio.animVal */
- abstract SVGPreserveAspectRatio get animVal;
+ void set xmllang(String value) native "SVGAElement_xmllang_Setter";
- /** @domName SVGAnimatedPreserveAspectRatio.baseVal */
- abstract SVGPreserveAspectRatio get 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.
+ String get xmlspace native "SVGAElement_xmlspace_Getter";
-// WARNING: Do not edit - generated code.
+ void set xmlspace(String value) native "SVGAElement_xmlspace_Setter";
-class _SVGAnimatedPreserveAspectRatioImpl extends NativeFieldWrapperClass1 implements SVGAnimatedPreserveAspectRatio {
+ SVGAnimatedBoolean get externalResourcesRequired native "SVGAElement_externalResourcesRequired_Getter";
- SVGPreserveAspectRatio get animVal native "SVGAnimatedPreserveAspectRatio_animVal_Getter";
+ SVGAnimatedString get $dom_svgClassName native "SVGAElement_className_Getter";
- SVGPreserveAspectRatio get baseVal native "SVGAnimatedPreserveAspectRatio_baseVal_Getter";
+ CSSStyleDeclaration get style native "SVGAElement_style_Getter";
+
+ CSSValue getPresentationAttribute(String name) native "SVGAElement_getPresentationAttribute_Callback";
+
+ SVGAnimatedTransformList get transform native "SVGAElement_transform_Getter";
+
+ SVGElement get farthestViewportElement native "SVGAElement_farthestViewportElement_Getter";
+
+ SVGElement get nearestViewportElement native "SVGAElement_nearestViewportElement_Getter";
+
+ SVGRect getBBox() native "SVGAElement_getBBox_Callback";
+
+ SVGMatrix getCTM() native "SVGAElement_getCTM_Callback";
+
+ SVGMatrix getScreenCTM() native "SVGAElement_getScreenCTM_Callback";
+
+ SVGMatrix getTransformToElement(SVGElement element) native "SVGAElement_getTransformToElement_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -26401,14 +26623,8 @@ class _SVGAnimatedPreserveAspectRatioImpl extends NativeFieldWrapperClass1 imple
// WARNING: Do not edit - generated code.
-/// @domName SVGAnimatedRect
-abstract class SVGAnimatedRect {
-
- /** @domName SVGAnimatedRect.animVal */
- abstract SVGRect get animVal;
-
- /** @domName SVGAnimatedRect.baseVal */
- abstract SVGRect get baseVal;
+/// @domName SVGAltGlyphDefElement
+abstract class SVGAltGlyphDefElement implements 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
@@ -26416,11 +26632,7 @@ abstract class SVGAnimatedRect {
// WARNING: Do not edit - generated code.
-class _SVGAnimatedRectImpl extends NativeFieldWrapperClass1 implements SVGAnimatedRect {
-
- SVGRect get animVal native "SVGAnimatedRect_animVal_Getter";
-
- SVGRect get baseVal native "SVGAnimatedRect_baseVal_Getter";
+class _SVGAltGlyphDefElementImpl extends _SVGElementImpl implements SVGAltGlyphDefElement {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -26429,14 +26641,14 @@ class _SVGAnimatedRectImpl extends NativeFieldWrapperClass1 implements SVGAnimat
// WARNING: Do not edit - generated code.
-/// @domName SVGAnimatedString
-abstract class SVGAnimatedString {
+/// @domName SVGAltGlyphElement
+abstract class SVGAltGlyphElement implements SVGTextPositioningElement, SVGURIReference {
- /** @domName SVGAnimatedString.animVal */
- abstract String get animVal;
+ /** @domName SVGAltGlyphElement.format */
+ String format;
- /** @domName SVGAnimatedString.baseVal */
- String baseVal;
+ /** @domName SVGAltGlyphElement.glyphRef */
+ 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
@@ -26444,13 +26656,17 @@ abstract class SVGAnimatedString {
// WARNING: Do not edit - generated code.
-class _SVGAnimatedStringImpl extends NativeFieldWrapperClass1 implements SVGAnimatedString {
+class _SVGAltGlyphElementImpl extends _SVGTextPositioningElementImpl implements SVGAltGlyphElement {
- String get animVal native "SVGAnimatedString_animVal_Getter";
+ String get format native "SVGAltGlyphElement_format_Getter";
- String get baseVal native "SVGAnimatedString_baseVal_Getter";
+ void set format(String value) native "SVGAltGlyphElement_format_Setter";
- void set baseVal(String value) native "SVGAnimatedString_baseVal_Setter";
+ String get glyphRef native "SVGAltGlyphElement_glyphRef_Getter";
+
+ void set glyphRef(String value) native "SVGAltGlyphElement_glyphRef_Setter";
+
+ SVGAnimatedString get href native "SVGAltGlyphElement_href_Getter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -26459,14 +26675,8 @@ class _SVGAnimatedStringImpl extends NativeFieldWrapperClass1 implements SVGAnim
// WARNING: Do not edit - generated code.
-/// @domName SVGAnimatedTransformList
-abstract class SVGAnimatedTransformList implements List<SVGAnimateTransformElement> {
-
- /** @domName SVGAnimatedTransformList.animVal */
- abstract SVGTransformList get animVal;
-
- /** @domName SVGAnimatedTransformList.baseVal */
- abstract SVGTransformList get baseVal;
+/// @domName SVGAltGlyphItemElement
+abstract class SVGAltGlyphItemElement implements 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
@@ -26474,92 +26684,71 @@ abstract class SVGAnimatedTransformList implements List<SVGAnimateTransformEleme
// WARNING: Do not edit - generated code.
-class _SVGAnimatedTransformListImpl extends NativeFieldWrapperClass1 implements SVGAnimatedTransformList {
-
- SVGTransformList get animVal native "SVGAnimatedTransformList_animVal_Getter";
-
- SVGTransformList get baseVal native "SVGAnimatedTransformList_baseVal_Getter";
+class _SVGAltGlyphItemElementImpl extends _SVGElementImpl implements SVGAltGlyphItemElement {
- SVGAnimateTransformElement operator[](int index) native "SVGAnimatedTransformList_item_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.
- void operator[]=(int index, SVGAnimateTransformElement value) {
- throw new UnsupportedOperationException("Cannot assign element of immutable List.");
- }
- // -- start List<SVGAnimateTransformElement> mixins.
- // SVGAnimateTransformElement is the element type.
+// WARNING: Do not edit - generated code.
- // From Iterable<SVGAnimateTransformElement>:
+/// @domName SVGAngle
+abstract class SVGAngle {
- Iterator<SVGAnimateTransformElement> 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<SVGAnimateTransformElement>(this);
- }
+ static const int SVG_ANGLETYPE_DEG = 2;
- // From Collection<SVGAnimateTransformElement>:
+ static const int SVG_ANGLETYPE_GRAD = 4;
- void add(SVGAnimateTransformElement value) {
- throw const UnsupportedOperationException("Cannot add to immutable List.");
- }
+ static const int SVG_ANGLETYPE_RAD = 3;
- void addLast(SVGAnimateTransformElement value) {
- throw const UnsupportedOperationException("Cannot add to immutable List.");
- }
+ static const int SVG_ANGLETYPE_UNKNOWN = 0;
- void addAll(Collection<SVGAnimateTransformElement> collection) {
- throw const UnsupportedOperationException("Cannot add to immutable List.");
- }
+ static const int SVG_ANGLETYPE_UNSPECIFIED = 1;
- void forEach(void f(SVGAnimateTransformElement element)) => _Collections.forEach(this, f);
+ /** @domName SVGAngle.unitType */
+ abstract int get unitType;
- Collection map(f(SVGAnimateTransformElement element)) => _Collections.map(this, [], f);
+ /** @domName SVGAngle.value */
+ num value;
- Collection<SVGAnimateTransformElement> filter(bool f(SVGAnimateTransformElement element)) =>
- _Collections.filter(this, <SVGAnimateTransformElement>[], f);
+ /** @domName SVGAngle.valueAsString */
+ String valueAsString;
- bool every(bool f(SVGAnimateTransformElement element)) => _Collections.every(this, f);
+ /** @domName SVGAngle.valueInSpecifiedUnits */
+ num valueInSpecifiedUnits;
- bool some(bool f(SVGAnimateTransformElement element)) => _Collections.some(this, f);
+ /** @domName SVGAngle.convertToSpecifiedUnits */
+ void convertToSpecifiedUnits(int unitType);
- bool isEmpty() => this.length == 0;
+ /** @domName SVGAngle.newValueSpecifiedUnits */
+ 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.
- // From List<SVGAnimateTransformElement>:
+// WARNING: Do not edit - generated code.
- void sort(int compare(SVGAnimateTransformElement a, SVGAnimateTransformElement b)) {
- throw const UnsupportedOperationException("Cannot sort immutable List.");
- }
+class _SVGAngleImpl extends NativeFieldWrapperClass1 implements SVGAngle {
- int indexOf(SVGAnimateTransformElement element, [int start = 0]) =>
- _Lists.indexOf(this, element, start, this.length);
+ int get unitType native "SVGAngle_unitType_Getter";
- int lastIndexOf(SVGAnimateTransformElement element, [int start]) {
- if (start === null) start = length - 1;
- return _Lists.lastIndexOf(this, element, start);
- }
+ num get value native "SVGAngle_value_Getter";
- SVGAnimateTransformElement last() => this[length - 1];
+ void set value(num value) native "SVGAngle_value_Setter";
- SVGAnimateTransformElement removeLast() {
- throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
- }
+ String get valueAsString native "SVGAngle_valueAsString_Getter";
- void setRange(int start, int rangeLength, List<SVGAnimateTransformElement> from, [int startFrom]) {
- throw const UnsupportedOperationException("Cannot setRange on immutable List.");
- }
+ void set valueAsString(String value) native "SVGAngle_valueAsString_Setter";
- void removeRange(int start, int rangeLength) {
- throw const UnsupportedOperationException("Cannot removeRange on immutable List.");
- }
+ num get valueInSpecifiedUnits native "SVGAngle_valueInSpecifiedUnits_Getter";
- void insertRange(int start, int rangeLength, [SVGAnimateTransformElement initialValue]) {
- throw const UnsupportedOperationException("Cannot insertRange on immutable List.");
- }
+ void set valueInSpecifiedUnits(num value) native "SVGAngle_valueInSpecifiedUnits_Setter";
- List<SVGAnimateTransformElement> getRange(int start, int rangeLength) =>
- _Lists.getRange(this, start, rangeLength, <SVGAnimateTransformElement>[]);
+ void convertToSpecifiedUnits(int unitType) native "SVGAngle_convertToSpecifiedUnits_Callback";
- // -- end List<SVGAnimateTransformElement> mixins.
+ void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native "SVGAngle_newValueSpecifiedUnits_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -26568,20 +26757,17 @@ class _SVGAnimatedTransformListImpl extends NativeFieldWrapperClass1 implements
// WARNING: Do not edit - generated code.
-/// @domName SVGAnimationElement
-abstract class SVGAnimationElement implements SVGElement, SVGTests, SVGExternalResourcesRequired, ElementTimeControl {
-
- /** @domName SVGAnimationElement.targetElement */
- abstract SVGElement get targetElement;
+/// @domName SVGAnimateColorElement
+abstract class SVGAnimateColorElement implements 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.
- /** @domName SVGAnimationElement.getCurrentTime */
- num getCurrentTime();
+// WARNING: Do not edit - generated code.
- /** @domName SVGAnimationElement.getSimpleDuration */
- num getSimpleDuration();
+class _SVGAnimateColorElementImpl extends _SVGAnimationElementImpl implements SVGAnimateColorElement {
- /** @domName SVGAnimationElement.getStartTime */
- 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
@@ -26589,33 +26775,52 @@ abstract class SVGAnimationElement implements SVGElement, SVGTests, SVGExternalR
// WARNING: Do not edit - generated code.
-class _SVGAnimationElementImpl extends _SVGElementImpl implements SVGAnimationElement {
-
- SVGElement get targetElement native "SVGAnimationElement_targetElement_Getter";
+/// @domName SVGAnimateElement
+abstract class SVGAnimateElement implements 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.
- num getCurrentTime() native "SVGAnimationElement_getCurrentTime_Callback";
+// WARNING: Do not edit - generated code.
- num getSimpleDuration() native "SVGAnimationElement_getSimpleDuration_Callback";
+class _SVGAnimateElementImpl extends _SVGAnimationElementImpl implements SVGAnimateElement {
- num getStartTime() native "SVGAnimationElement_getStartTime_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.
- SVGStringList get requiredExtensions native "SVGAnimationElement_requiredExtensions_Getter";
+// WARNING: Do not edit - generated code.
- SVGStringList get requiredFeatures native "SVGAnimationElement_requiredFeatures_Getter";
+/// @domName SVGAnimateMotionElement
+abstract class SVGAnimateMotionElement implements 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.
- SVGStringList get systemLanguage native "SVGAnimationElement_systemLanguage_Getter";
+// WARNING: Do not edit - generated code.
- bool hasExtension(String extension) native "SVGAnimationElement_hasExtension_Callback";
+class _SVGAnimateMotionElementImpl extends _SVGAnimationElementImpl implements SVGAnimateMotionElement {
- SVGAnimatedBoolean get externalResourcesRequired native "SVGAnimationElement_externalResourcesRequired_Getter";
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- void beginElement() native "SVGAnimationElement_beginElement_Callback";
+// WARNING: Do not edit - generated code.
- void beginElementAt(num offset) native "SVGAnimationElement_beginElementAt_Callback";
+/// @domName SVGAnimateTransformElement
+abstract class SVGAnimateTransformElement implements 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.
- void endElement() native "SVGAnimationElement_endElement_Callback";
+// WARNING: Do not edit - generated code.
- void endElementAt(num offset) native "SVGAnimationElement_endElementAt_Callback";
+class _SVGAnimateTransformElementImpl extends _SVGAnimationElementImpl implements SVGAnimateTransformElement {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -26624,17 +26829,14 @@ class _SVGAnimationElementImpl extends _SVGElementImpl implements SVGAnimationEl
// WARNING: Do not edit - generated code.
-/// @domName SVGCircleElement
-abstract class SVGCircleElement implements SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
-
- /** @domName SVGCircleElement.cx */
- abstract SVGAnimatedLength get cx;
+/// @domName SVGAnimatedAngle
+abstract class SVGAnimatedAngle {
- /** @domName SVGCircleElement.cy */
- abstract SVGAnimatedLength get cy;
+ /** @domName SVGAnimatedAngle.animVal */
+ abstract SVGAngle get animVal;
- /** @domName SVGCircleElement.r */
- abstract SVGAnimatedLength get r;
+ /** @domName SVGAnimatedAngle.baseVal */
+ abstract SVGAngle get 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
@@ -26642,51 +26844,71 @@ abstract class SVGCircleElement implements SVGElement, SVGTests, SVGLangSpace, S
// WARNING: Do not edit - generated code.
-class _SVGCircleElementImpl extends _SVGElementImpl implements SVGCircleElement {
+class _SVGAnimatedAngleImpl extends NativeFieldWrapperClass1 implements SVGAnimatedAngle {
- SVGAnimatedLength get cx native "SVGCircleElement_cx_Getter";
+ SVGAngle get animVal native "SVGAnimatedAngle_animVal_Getter";
- SVGAnimatedLength get cy native "SVGCircleElement_cy_Getter";
+ SVGAngle get baseVal native "SVGAnimatedAngle_baseVal_Getter";
- SVGAnimatedLength get r native "SVGCircleElement_r_Getter";
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- SVGStringList get requiredExtensions native "SVGCircleElement_requiredExtensions_Getter";
+// WARNING: Do not edit - generated code.
- SVGStringList get requiredFeatures native "SVGCircleElement_requiredFeatures_Getter";
+/// @domName SVGAnimatedBoolean
+abstract class SVGAnimatedBoolean {
- SVGStringList get systemLanguage native "SVGCircleElement_systemLanguage_Getter";
+ /** @domName SVGAnimatedBoolean.animVal */
+ abstract bool get animVal;
- bool hasExtension(String extension) native "SVGCircleElement_hasExtension_Callback";
+ /** @domName SVGAnimatedBoolean.baseVal */
+ 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.
- String get xmllang native "SVGCircleElement_xmllang_Getter";
+// WARNING: Do not edit - generated code.
- void set xmllang(String value) native "SVGCircleElement_xmllang_Setter";
+class _SVGAnimatedBooleanImpl extends NativeFieldWrapperClass1 implements SVGAnimatedBoolean {
- String get xmlspace native "SVGCircleElement_xmlspace_Getter";
+ bool get animVal native "SVGAnimatedBoolean_animVal_Getter";
- void set xmlspace(String value) native "SVGCircleElement_xmlspace_Setter";
+ bool get baseVal native "SVGAnimatedBoolean_baseVal_Getter";
- SVGAnimatedBoolean get externalResourcesRequired native "SVGCircleElement_externalResourcesRequired_Getter";
+ void set baseVal(bool value) native "SVGAnimatedBoolean_baseVal_Setter";
- SVGAnimatedString get $dom_svgClassName native "SVGCircleElement_className_Getter";
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- CSSStyleDeclaration get style native "SVGCircleElement_style_Getter";
+// WARNING: Do not edit - generated code.
- CSSValue getPresentationAttribute(String name) native "SVGCircleElement_getPresentationAttribute_Callback";
+/// @domName SVGAnimatedEnumeration
+abstract class SVGAnimatedEnumeration {
- SVGAnimatedTransformList get transform native "SVGCircleElement_transform_Getter";
+ /** @domName SVGAnimatedEnumeration.animVal */
+ abstract int get animVal;
- SVGElement get farthestViewportElement native "SVGCircleElement_farthestViewportElement_Getter";
+ /** @domName SVGAnimatedEnumeration.baseVal */
+ 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.
- SVGElement get nearestViewportElement native "SVGCircleElement_nearestViewportElement_Getter";
+// WARNING: Do not edit - generated code.
- SVGRect getBBox() native "SVGCircleElement_getBBox_Callback";
+class _SVGAnimatedEnumerationImpl extends NativeFieldWrapperClass1 implements SVGAnimatedEnumeration {
- SVGMatrix getCTM() native "SVGCircleElement_getCTM_Callback";
+ int get animVal native "SVGAnimatedEnumeration_animVal_Getter";
- SVGMatrix getScreenCTM() native "SVGCircleElement_getScreenCTM_Callback";
+ int get baseVal native "SVGAnimatedEnumeration_baseVal_Getter";
- SVGMatrix getTransformToElement(SVGElement element) native "SVGCircleElement_getTransformToElement_Callback";
+ void set baseVal(int value) native "SVGAnimatedEnumeration_baseVal_Setter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -26695,11 +26917,14 @@ class _SVGCircleElementImpl extends _SVGElementImpl implements SVGCircleElement
// WARNING: Do not edit - generated code.
-/// @domName SVGClipPathElement
-abstract class SVGClipPathElement implements SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
+/// @domName SVGAnimatedInteger
+abstract class SVGAnimatedInteger {
- /** @domName SVGClipPathElement.clipPathUnits */
- abstract SVGAnimatedEnumeration get clipPathUnits;
+ /** @domName SVGAnimatedInteger.animVal */
+ abstract int get animVal;
+
+ /** @domName SVGAnimatedInteger.baseVal */
+ 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
@@ -26707,48 +26932,57 @@ abstract class SVGClipPathElement implements SVGElement, SVGTests, SVGLangSpace,
// WARNING: Do not edit - generated code.
-class _SVGClipPathElementImpl extends _SVGElementImpl implements SVGClipPathElement {
-
- SVGAnimatedEnumeration get clipPathUnits native "SVGClipPathElement_clipPathUnits_Getter";
-
- SVGStringList get requiredExtensions native "SVGClipPathElement_requiredExtensions_Getter";
-
- SVGStringList get requiredFeatures native "SVGClipPathElement_requiredFeatures_Getter";
-
- SVGStringList get systemLanguage native "SVGClipPathElement_systemLanguage_Getter";
+class _SVGAnimatedIntegerImpl extends NativeFieldWrapperClass1 implements SVGAnimatedInteger {
- bool hasExtension(String extension) native "SVGClipPathElement_hasExtension_Callback";
+ int get animVal native "SVGAnimatedInteger_animVal_Getter";
- String get xmllang native "SVGClipPathElement_xmllang_Getter";
+ int get baseVal native "SVGAnimatedInteger_baseVal_Getter";
- void set xmllang(String value) native "SVGClipPathElement_xmllang_Setter";
+ void set baseVal(int value) native "SVGAnimatedInteger_baseVal_Setter";
- String get xmlspace native "SVGClipPathElement_xmlspace_Getter";
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- void set xmlspace(String value) native "SVGClipPathElement_xmlspace_Setter";
+// WARNING: Do not edit - generated code.
- SVGAnimatedBoolean get externalResourcesRequired native "SVGClipPathElement_externalResourcesRequired_Getter";
+/// @domName SVGAnimatedLength
+abstract class SVGAnimatedLength {
- SVGAnimatedString get $dom_svgClassName native "SVGClipPathElement_className_Getter";
+ /** @domName SVGAnimatedLength.animVal */
+ abstract SVGLength get animVal;
- CSSStyleDeclaration get style native "SVGClipPathElement_style_Getter";
+ /** @domName SVGAnimatedLength.baseVal */
+ abstract SVGLength get 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.
- CSSValue getPresentationAttribute(String name) native "SVGClipPathElement_getPresentationAttribute_Callback";
+// WARNING: Do not edit - generated code.
- SVGAnimatedTransformList get transform native "SVGClipPathElement_transform_Getter";
+class _SVGAnimatedLengthImpl extends NativeFieldWrapperClass1 implements SVGAnimatedLength {
- SVGElement get farthestViewportElement native "SVGClipPathElement_farthestViewportElement_Getter";
+ SVGLength get animVal native "SVGAnimatedLength_animVal_Getter";
- SVGElement get nearestViewportElement native "SVGClipPathElement_nearestViewportElement_Getter";
+ SVGLength get baseVal native "SVGAnimatedLength_baseVal_Getter";
- SVGRect getBBox() native "SVGClipPathElement_getBBox_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.
- SVGMatrix getCTM() native "SVGClipPathElement_getCTM_Callback";
+// WARNING: Do not edit - generated code.
- SVGMatrix getScreenCTM() native "SVGClipPathElement_getScreenCTM_Callback";
+/// @domName SVGAnimatedLengthList
+abstract class SVGAnimatedLengthList implements List<SVGAnimatedLength> {
- SVGMatrix getTransformToElement(SVGElement element) native "SVGClipPathElement_getTransformToElement_Callback";
+ /** @domName SVGAnimatedLengthList.animVal */
+ abstract SVGLengthList get animVal;
+ /** @domName SVGAnimatedLengthList.baseVal */
+ abstract SVGLengthList get 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
@@ -26756,92 +26990,93 @@ class _SVGClipPathElementImpl extends _SVGElementImpl implements SVGClipPathElem
// WARNING: Do not edit - generated code.
-/// @domName SVGColor
-abstract class SVGColor implements CSSValue {
+class _SVGAnimatedLengthListImpl extends NativeFieldWrapperClass1 implements SVGAnimatedLengthList {
- static const int SVG_COLORTYPE_CURRENTCOLOR = 3;
+ SVGLengthList get animVal native "SVGAnimatedLengthList_animVal_Getter";
- static const int SVG_COLORTYPE_RGBCOLOR = 1;
+ SVGLengthList get baseVal native "SVGAnimatedLengthList_baseVal_Getter";
- static const int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2;
-
- static const int SVG_COLORTYPE_UNKNOWN = 0;
-
- /** @domName SVGColor.colorType */
- abstract int get colorType;
-
- /** @domName SVGColor.rgbColor */
- abstract RGBColor get rgbColor;
-
- /** @domName SVGColor.setColor */
- void setColor(int colorType, String rgbColor, String iccColor);
+ SVGAnimatedLength operator[](int index) native "SVGAnimatedLengthList_item_Callback";
- /** @domName SVGColor.setRGBColor */
- void setRGBColor(String rgbColor);
+ void operator[]=(int index, SVGAnimatedLength value) {
+ throw new UnsupportedOperationException("Cannot assign element of immutable List.");
+ }
+ // -- start List<SVGAnimatedLength> mixins.
+ // SVGAnimatedLength is the element type.
- /** @domName SVGColor.setRGBColorICCColor */
- 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.
+ // From Iterable<SVGAnimatedLength>:
-// WARNING: Do not edit - generated code.
+ Iterator<SVGAnimatedLength> 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<SVGAnimatedLength>(this);
+ }
-class _SVGColorImpl extends _CSSValueImpl implements SVGColor {
+ // From Collection<SVGAnimatedLength>:
- int get colorType native "SVGColor_colorType_Getter";
+ void add(SVGAnimatedLength value) {
+ throw const UnsupportedOperationException("Cannot add to immutable List.");
+ }
- RGBColor get rgbColor native "SVGColor_rgbColor_Getter";
+ void addLast(SVGAnimatedLength value) {
+ throw const UnsupportedOperationException("Cannot add to immutable List.");
+ }
- void setColor(int colorType, String rgbColor, String iccColor) native "SVGColor_setColor_Callback";
+ void addAll(Collection<SVGAnimatedLength> collection) {
+ throw const UnsupportedOperationException("Cannot add to immutable List.");
+ }
- void setRGBColor(String rgbColor) native "SVGColor_setRGBColor_Callback";
+ void forEach(void f(SVGAnimatedLength element)) => _Collections.forEach(this, f);
- void setRGBColorICCColor(String rgbColor, String iccColor) native "SVGColor_setRGBColorICCColor_Callback";
+ Collection map(f(SVGAnimatedLength element)) => _Collections.map(this, [], f);
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ Collection<SVGAnimatedLength> filter(bool f(SVGAnimatedLength element)) =>
+ _Collections.filter(this, <SVGAnimatedLength>[], f);
-// WARNING: Do not edit - generated code.
+ bool every(bool f(SVGAnimatedLength element)) => _Collections.every(this, f);
-/// @domName SVGComponentTransferFunctionElement
-abstract class SVGComponentTransferFunctionElement implements SVGElement {
+ bool some(bool f(SVGAnimatedLength element)) => _Collections.some(this, f);
- static const int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3;
+ bool isEmpty() => this.length == 0;
- static const int SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5;
+ // From List<SVGAnimatedLength>:
- static const int SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1;
+ void sort(int compare(SVGAnimatedLength a, SVGAnimatedLength b)) {
+ throw const UnsupportedOperationException("Cannot sort immutable List.");
+ }
- static const int SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4;
+ int indexOf(SVGAnimatedLength element, [int start = 0]) =>
+ _Lists.indexOf(this, element, start, this.length);
- static const int SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2;
+ int lastIndexOf(SVGAnimatedLength element, [int start]) {
+ if (start === null) start = length - 1;
+ return _Lists.lastIndexOf(this, element, start);
+ }
- static const int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0;
+ SVGAnimatedLength last() => this[length - 1];
- /** @domName SVGComponentTransferFunctionElement.amplitude */
- abstract SVGAnimatedNumber get amplitude;
+ SVGAnimatedLength removeLast() {
+ throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
+ }
- /** @domName SVGComponentTransferFunctionElement.exponent */
- abstract SVGAnimatedNumber get exponent;
+ void setRange(int start, int rangeLength, List<SVGAnimatedLength> from, [int startFrom]) {
+ throw const UnsupportedOperationException("Cannot setRange on immutable List.");
+ }
- /** @domName SVGComponentTransferFunctionElement.intercept */
- abstract SVGAnimatedNumber get intercept;
+ void removeRange(int start, int rangeLength) {
+ throw const UnsupportedOperationException("Cannot removeRange on immutable List.");
+ }
- /** @domName SVGComponentTransferFunctionElement.offset */
- abstract SVGAnimatedNumber get offset;
+ void insertRange(int start, int rangeLength, [SVGAnimatedLength initialValue]) {
+ throw const UnsupportedOperationException("Cannot insertRange on immutable List.");
+ }
- /** @domName SVGComponentTransferFunctionElement.slope */
- abstract SVGAnimatedNumber get slope;
+ List<SVGAnimatedLength> getRange(int start, int rangeLength) =>
+ _Lists.getRange(this, start, rangeLength, <SVGAnimatedLength>[]);
- /** @domName SVGComponentTransferFunctionElement.tableValues */
- abstract SVGAnimatedNumberList get tableValues;
+ // -- end List<SVGAnimatedLength> mixins.
- /** @domName SVGComponentTransferFunctionElement.type */
- abstract SVGAnimatedEnumeration get 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
@@ -26849,21 +27084,28 @@ abstract class SVGComponentTransferFunctionElement implements SVGElement {
// WARNING: Do not edit - generated code.
-class _SVGComponentTransferFunctionElementImpl extends _SVGElementImpl implements SVGComponentTransferFunctionElement {
+/// @domName SVGAnimatedNumber
+abstract class SVGAnimatedNumber {
- SVGAnimatedNumber get amplitude native "SVGComponentTransferFunctionElement_amplitude_Getter";
+ /** @domName SVGAnimatedNumber.animVal */
+ abstract num get animVal;
- SVGAnimatedNumber get exponent native "SVGComponentTransferFunctionElement_exponent_Getter";
+ /** @domName SVGAnimatedNumber.baseVal */
+ 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.
- SVGAnimatedNumber get intercept native "SVGComponentTransferFunctionElement_intercept_Getter";
+// WARNING: Do not edit - generated code.
- SVGAnimatedNumber get offset native "SVGComponentTransferFunctionElement_offset_Getter";
+class _SVGAnimatedNumberImpl extends NativeFieldWrapperClass1 implements SVGAnimatedNumber {
- SVGAnimatedNumber get slope native "SVGComponentTransferFunctionElement_slope_Getter";
+ num get animVal native "SVGAnimatedNumber_animVal_Getter";
- SVGAnimatedNumberList get tableValues native "SVGComponentTransferFunctionElement_tableValues_Getter";
+ num get baseVal native "SVGAnimatedNumber_baseVal_Getter";
- SVGAnimatedEnumeration get type native "SVGComponentTransferFunctionElement_type_Getter";
+ void set baseVal(num value) native "SVGAnimatedNumber_baseVal_Setter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -26872,14 +27114,14 @@ class _SVGComponentTransferFunctionElementImpl extends _SVGElementImpl implement
// WARNING: Do not edit - generated code.
-/// @domName SVGCursorElement
-abstract class SVGCursorElement implements SVGElement, SVGURIReference, SVGTests, SVGExternalResourcesRequired {
+/// @domName SVGAnimatedNumberList
+abstract class SVGAnimatedNumberList implements List<SVGAnimatedNumber> {
- /** @domName SVGCursorElement.x */
- abstract SVGAnimatedLength get x;
+ /** @domName SVGAnimatedNumberList.animVal */
+ abstract SVGNumberList get animVal;
- /** @domName SVGCursorElement.y */
- abstract SVGAnimatedLength get y;
+ /** @domName SVGAnimatedNumberList.baseVal */
+ abstract SVGNumberList get 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
@@ -26887,80 +27129,108 @@ abstract class SVGCursorElement implements SVGElement, SVGURIReference, SVGTests
// WARNING: Do not edit - generated code.
-class _SVGCursorElementImpl extends _SVGElementImpl implements SVGCursorElement {
-
- SVGAnimatedLength get x native "SVGCursorElement_x_Getter";
+class _SVGAnimatedNumberListImpl extends NativeFieldWrapperClass1 implements SVGAnimatedNumberList {
- SVGAnimatedLength get y native "SVGCursorElement_y_Getter";
+ SVGNumberList get animVal native "SVGAnimatedNumberList_animVal_Getter";
- SVGAnimatedString get href native "SVGCursorElement_href_Getter";
+ SVGNumberList get baseVal native "SVGAnimatedNumberList_baseVal_Getter";
- SVGStringList get requiredExtensions native "SVGCursorElement_requiredExtensions_Getter";
+ SVGAnimatedNumber operator[](int index) native "SVGAnimatedNumberList_item_Callback";
- SVGStringList get requiredFeatures native "SVGCursorElement_requiredFeatures_Getter";
+ void operator[]=(int index, SVGAnimatedNumber value) {
+ throw new UnsupportedOperationException("Cannot assign element of immutable List.");
+ }
+ // -- start List<SVGAnimatedNumber> mixins.
+ // SVGAnimatedNumber is the element type.
- SVGStringList get systemLanguage native "SVGCursorElement_systemLanguage_Getter";
+ // From Iterable<SVGAnimatedNumber>:
- bool hasExtension(String extension) native "SVGCursorElement_hasExtension_Callback";
+ Iterator<SVGAnimatedNumber> 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<SVGAnimatedNumber>(this);
+ }
- SVGAnimatedBoolean get externalResourcesRequired native "SVGCursorElement_externalResourcesRequired_Getter";
+ // From Collection<SVGAnimatedNumber>:
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ void add(SVGAnimatedNumber value) {
+ throw const UnsupportedOperationException("Cannot add to immutable List.");
+ }
-// WARNING: Do not edit - generated code.
+ void addLast(SVGAnimatedNumber value) {
+ throw const UnsupportedOperationException("Cannot add to immutable List.");
+ }
-/// @domName SVGDefsElement
-abstract class SVGDefsElement implements 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.
+ void addAll(Collection<SVGAnimatedNumber> collection) {
+ throw const UnsupportedOperationException("Cannot add to immutable List.");
+ }
-// WARNING: Do not edit - generated code.
+ void forEach(void f(SVGAnimatedNumber element)) => _Collections.forEach(this, f);
-class _SVGDefsElementImpl extends _SVGElementImpl implements SVGDefsElement {
+ Collection map(f(SVGAnimatedNumber element)) => _Collections.map(this, [], f);
- SVGStringList get requiredExtensions native "SVGDefsElement_requiredExtensions_Getter";
+ Collection<SVGAnimatedNumber> filter(bool f(SVGAnimatedNumber element)) =>
+ _Collections.filter(this, <SVGAnimatedNumber>[], f);
- SVGStringList get requiredFeatures native "SVGDefsElement_requiredFeatures_Getter";
+ bool every(bool f(SVGAnimatedNumber element)) => _Collections.every(this, f);
- SVGStringList get systemLanguage native "SVGDefsElement_systemLanguage_Getter";
+ bool some(bool f(SVGAnimatedNumber element)) => _Collections.some(this, f);
- bool hasExtension(String extension) native "SVGDefsElement_hasExtension_Callback";
+ bool isEmpty() => this.length == 0;
- String get xmllang native "SVGDefsElement_xmllang_Getter";
+ // From List<SVGAnimatedNumber>:
- void set xmllang(String value) native "SVGDefsElement_xmllang_Setter";
+ void sort(int compare(SVGAnimatedNumber a, SVGAnimatedNumber b)) {
+ throw const UnsupportedOperationException("Cannot sort immutable List.");
+ }
- String get xmlspace native "SVGDefsElement_xmlspace_Getter";
+ int indexOf(SVGAnimatedNumber element, [int start = 0]) =>
+ _Lists.indexOf(this, element, start, this.length);
- void set xmlspace(String value) native "SVGDefsElement_xmlspace_Setter";
+ int lastIndexOf(SVGAnimatedNumber element, [int start]) {
+ if (start === null) start = length - 1;
+ return _Lists.lastIndexOf(this, element, start);
+ }
- SVGAnimatedBoolean get externalResourcesRequired native "SVGDefsElement_externalResourcesRequired_Getter";
+ SVGAnimatedNumber last() => this[length - 1];
- SVGAnimatedString get $dom_svgClassName native "SVGDefsElement_className_Getter";
+ SVGAnimatedNumber removeLast() {
+ throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
+ }
- CSSStyleDeclaration get style native "SVGDefsElement_style_Getter";
+ void setRange(int start, int rangeLength, List<SVGAnimatedNumber> from, [int startFrom]) {
+ throw const UnsupportedOperationException("Cannot setRange on immutable List.");
+ }
- CSSValue getPresentationAttribute(String name) native "SVGDefsElement_getPresentationAttribute_Callback";
+ void removeRange(int start, int rangeLength) {
+ throw const UnsupportedOperationException("Cannot removeRange on immutable List.");
+ }
- SVGAnimatedTransformList get transform native "SVGDefsElement_transform_Getter";
+ void insertRange(int start, int rangeLength, [SVGAnimatedNumber initialValue]) {
+ throw const UnsupportedOperationException("Cannot insertRange on immutable List.");
+ }
- SVGElement get farthestViewportElement native "SVGDefsElement_farthestViewportElement_Getter";
+ List<SVGAnimatedNumber> getRange(int start, int rangeLength) =>
+ _Lists.getRange(this, start, rangeLength, <SVGAnimatedNumber>[]);
- SVGElement get nearestViewportElement native "SVGDefsElement_nearestViewportElement_Getter";
+ // -- end List<SVGAnimatedNumber> mixins.
- SVGRect getBBox() native "SVGDefsElement_getBBox_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.
- SVGMatrix getCTM() native "SVGDefsElement_getCTM_Callback";
+// WARNING: Do not edit - generated code.
- SVGMatrix getScreenCTM() native "SVGDefsElement_getScreenCTM_Callback";
+/// @domName SVGAnimatedPreserveAspectRatio
+abstract class SVGAnimatedPreserveAspectRatio {
- SVGMatrix getTransformToElement(SVGElement element) native "SVGDefsElement_getTransformToElement_Callback";
+ /** @domName SVGAnimatedPreserveAspectRatio.animVal */
+ abstract SVGPreserveAspectRatio get animVal;
+ /** @domName SVGAnimatedPreserveAspectRatio.baseVal */
+ abstract SVGPreserveAspectRatio get 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
@@ -26968,8 +27238,12 @@ class _SVGDefsElementImpl extends _SVGElementImpl implements SVGDefsElement {
// WARNING: Do not edit - generated code.
-/// @domName SVGDescElement
-abstract class SVGDescElement implements SVGElement, SVGLangSpace, SVGStylable {
+class _SVGAnimatedPreserveAspectRatioImpl extends NativeFieldWrapperClass1 implements SVGAnimatedPreserveAspectRatio {
+
+ SVGPreserveAspectRatio get animVal native "SVGAnimatedPreserveAspectRatio_animVal_Getter";
+
+ SVGPreserveAspectRatio get baseVal native "SVGAnimatedPreserveAspectRatio_baseVal_Getter";
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -26977,21 +27251,26 @@ abstract class SVGDescElement implements SVGElement, SVGLangSpace, SVGStylable {
// WARNING: Do not edit - generated code.
-class _SVGDescElementImpl extends _SVGElementImpl implements SVGDescElement {
-
- String get xmllang native "SVGDescElement_xmllang_Getter";
+/// @domName SVGAnimatedRect
+abstract class SVGAnimatedRect {
- void set xmllang(String value) native "SVGDescElement_xmllang_Setter";
+ /** @domName SVGAnimatedRect.animVal */
+ abstract SVGRect get animVal;
- String get xmlspace native "SVGDescElement_xmlspace_Getter";
+ /** @domName SVGAnimatedRect.baseVal */
+ abstract SVGRect get 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.
- void set xmlspace(String value) native "SVGDescElement_xmlspace_Setter";
+// WARNING: Do not edit - generated code.
- SVGAnimatedString get $dom_svgClassName native "SVGDescElement_className_Getter";
+class _SVGAnimatedRectImpl extends NativeFieldWrapperClass1 implements SVGAnimatedRect {
- CSSStyleDeclaration get style native "SVGDescElement_style_Getter";
+ SVGRect get animVal native "SVGAnimatedRect_animVal_Getter";
- CSSValue getPresentationAttribute(String name) native "SVGDescElement_getPresentationAttribute_Callback";
+ SVGRect get baseVal native "SVGAnimatedRect_baseVal_Getter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -27000,14 +27279,14 @@ class _SVGDescElementImpl extends _SVGElementImpl implements SVGDescElement {
// WARNING: Do not edit - generated code.
-/// @domName SVGDocument
-abstract class SVGDocument implements Document {
+/// @domName SVGAnimatedString
+abstract class SVGAnimatedString {
- /** @domName SVGDocument.rootElement */
- abstract SVGSVGElement get rootElement;
+ /** @domName SVGAnimatedString.animVal */
+ abstract String get animVal;
- /** @domName SVGDocument.createEvent */
- Event $dom_createEvent(String eventType);
+ /** @domName SVGAnimatedString.baseVal */
+ 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
@@ -27015,105 +27294,122 @@ abstract class SVGDocument implements Document {
// WARNING: Do not edit - generated code.
-class _SVGDocumentImpl extends _DocumentImpl implements SVGDocument {
+class _SVGAnimatedStringImpl extends NativeFieldWrapperClass1 implements SVGAnimatedString {
- SVGSVGElement get rootElement native "SVGDocument_rootElement_Getter";
+ String get animVal native "SVGAnimatedString_animVal_Getter";
- Event $dom_createEvent(String eventType) native "SVGDocument_createEvent_Callback";
+ String get baseVal native "SVGAnimatedString_baseVal_Getter";
+
+ void set baseVal(String value) native "SVGAnimatedString_baseVal_Setter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-/// @domName SVGElement
-abstract class SVGElement implements Element {
+// WARNING: Do not edit - generated code.
- factory SVGElement.tag(String tag) =>
- _SVGElementFactoryProvider.createSVGElement_tag(tag);
- factory SVGElement.svg(String svg) =>
- _SVGElementFactoryProvider.createSVGElement_svg(svg);
+/// @domName SVGAnimatedTransformList
+abstract class SVGAnimatedTransformList implements List<SVGAnimateTransformElement> {
- SVGElement clone(bool deep);
+ /** @domName SVGAnimatedTransformList.animVal */
+ abstract SVGTransformList get animVal;
+ /** @domName SVGAnimatedTransformList.baseVal */
+ abstract SVGTransformList get 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.
- /** @domName SVGElement.id */
- String id;
+// WARNING: Do not edit - generated code.
- /** @domName SVGElement.ownerSVGElement */
- abstract SVGSVGElement get ownerSVGElement;
+class _SVGAnimatedTransformListImpl extends NativeFieldWrapperClass1 implements SVGAnimatedTransformList {
- /** @domName SVGElement.viewportElement */
- abstract SVGElement get viewportElement;
+ SVGTransformList get animVal native "SVGAnimatedTransformList_animVal_Getter";
- /** @domName SVGElement.xmlbase */
- String xmlbase;
+ SVGTransformList get baseVal native "SVGAnimatedTransformList_baseVal_Getter";
-}
-// 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.
+ SVGAnimateTransformElement operator[](int index) native "SVGAnimatedTransformList_item_Callback";
-class _AttributeClassSet extends _CssClassSet {
- _AttributeClassSet(element) : super(element);
+ void operator[]=(int index, SVGAnimateTransformElement value) {
+ throw new UnsupportedOperationException("Cannot assign element of immutable List.");
+ }
+ // -- start List<SVGAnimateTransformElement> mixins.
+ // SVGAnimateTransformElement is the element type.
- String $dom_className() => _element.attributes['class'];
+ // From Iterable<SVGAnimateTransformElement>:
- void _write(Set s) {
- _element.attributes['class'] = _formatSet(s);
+ Iterator<SVGAnimateTransformElement> 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<SVGAnimateTransformElement>(this);
}
-}
-class _SVGElementImpl extends _ElementImpl implements SVGElement {
- CSSClassSet get classes {
- if (_cssClassSet === null) {
- _cssClassSet = new _AttributeClassSet(_ptr);
- }
- return _cssClassSet;
- }
+ // From Collection<SVGAnimateTransformElement>:
- List<Element> get elements => new _FilteredElementList(this);
+ void add(SVGAnimateTransformElement value) {
+ throw const UnsupportedOperationException("Cannot add to immutable List.");
+ }
- void set elements(Collection<Element> value) {
- final elements = this.elements;
- elements.clear();
- elements.addAll(value);
+ void addLast(SVGAnimateTransformElement value) {
+ throw const UnsupportedOperationException("Cannot add to immutable List.");
}
- String get outerHTML {
- final container = new Element.tag("div");
- final SVGElement cloned = this.clone(true);
- container.elements.add(cloned);
- return container.innerHTML;
+ void addAll(Collection<SVGAnimateTransformElement> collection) {
+ throw const UnsupportedOperationException("Cannot add to immutable List.");
}
- String get innerHTML {
- final container = new Element.tag("div");
- final SVGElement cloned = this.clone(true);
- container.elements.addAll(cloned.elements);
- return container.innerHTML;
+ void forEach(void f(SVGAnimateTransformElement element)) => _Collections.forEach(this, f);
+
+ Collection map(f(SVGAnimateTransformElement element)) => _Collections.map(this, [], f);
+
+ Collection<SVGAnimateTransformElement> filter(bool f(SVGAnimateTransformElement element)) =>
+ _Collections.filter(this, <SVGAnimateTransformElement>[], f);
+
+ bool every(bool f(SVGAnimateTransformElement element)) => _Collections.every(this, f);
+
+ bool some(bool f(SVGAnimateTransformElement element)) => _Collections.some(this, f);
+
+ bool isEmpty() => this.length == 0;
+
+ // From List<SVGAnimateTransformElement>:
+
+ void sort(int compare(SVGAnimateTransformElement a, SVGAnimateTransformElement b)) {
+ throw const UnsupportedOperationException("Cannot sort immutable List.");
}
- void set innerHTML(String svg) {
- final container = new Element.tag("div");
- // Wrap the SVG string in <svg> so that SVGElements are created, rather than
- // HTMLElements.
- container.innerHTML = '<svg version="1.1">$svg</svg>';
- this.elements = container.elements[0].elements;
+ int indexOf(SVGAnimateTransformElement element, [int start = 0]) =>
+ _Lists.indexOf(this, element, start, this.length);
+
+ int lastIndexOf(SVGAnimateTransformElement element, [int start]) {
+ if (start === null) start = length - 1;
+ return _Lists.lastIndexOf(this, element, start);
}
+ SVGAnimateTransformElement last() => this[length - 1];
- String get id native "SVGElement_id_Getter";
+ SVGAnimateTransformElement removeLast() {
+ throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
+ }
- void set id(String value) native "SVGElement_id_Setter";
+ void setRange(int start, int rangeLength, List<SVGAnimateTransformElement> from, [int startFrom]) {
+ throw const UnsupportedOperationException("Cannot setRange on immutable List.");
+ }
- SVGSVGElement get ownerSVGElement native "SVGElement_ownerSVGElement_Getter";
+ void removeRange(int start, int rangeLength) {
+ throw const UnsupportedOperationException("Cannot removeRange on immutable List.");
+ }
- SVGElement get viewportElement native "SVGElement_viewportElement_Getter";
+ void insertRange(int start, int rangeLength, [SVGAnimateTransformElement initialValue]) {
+ throw const UnsupportedOperationException("Cannot insertRange on immutable List.");
+ }
- String get xmlbase native "SVGElement_xmlbase_Getter";
+ List<SVGAnimateTransformElement> getRange(int start, int rangeLength) =>
+ _Lists.getRange(this, start, rangeLength, <SVGAnimateTransformElement>[]);
- void set xmlbase(String value) native "SVGElement_xmlbase_Setter";
+ // -- end List<SVGAnimateTransformElement> mixins.
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -27122,120 +27418,126 @@ class _SVGElementImpl extends _ElementImpl implements SVGElement {
// WARNING: Do not edit - generated code.
-/// @domName SVGElementInstance
-abstract class SVGElementInstance implements EventTarget {
-
- /**
- * @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
- */
- SVGElementInstanceEvents get on;
+/// @domName SVGAnimationElement
+abstract class SVGAnimationElement implements SVGElement, SVGTests, SVGExternalResourcesRequired, ElementTimeControl {
- /** @domName SVGElementInstance.childNodes */
- abstract List<SVGElementInstance> get childNodes;
+ /** @domName SVGAnimationElement.targetElement */
+ abstract SVGElement get targetElement;
- /** @domName SVGElementInstance.correspondingElement */
- abstract SVGElement get correspondingElement;
+ /** @domName SVGAnimationElement.getCurrentTime */
+ num getCurrentTime();
- /** @domName SVGElementInstance.correspondingUseElement */
- abstract SVGUseElement get correspondingUseElement;
+ /** @domName SVGAnimationElement.getSimpleDuration */
+ num getSimpleDuration();
- /** @domName SVGElementInstance.firstChild */
- abstract SVGElementInstance get firstChild;
+ /** @domName SVGAnimationElement.getStartTime */
+ 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.
- /** @domName SVGElementInstance.lastChild */
- abstract SVGElementInstance get lastChild;
+// WARNING: Do not edit - generated code.
- /** @domName SVGElementInstance.nextSibling */
- abstract SVGElementInstance get nextSibling;
+class _SVGAnimationElementImpl extends _SVGElementImpl implements SVGAnimationElement {
- /** @domName SVGElementInstance.parentNode */
- abstract SVGElementInstance get parentNode;
+ SVGElement get targetElement native "SVGAnimationElement_targetElement_Getter";
- /** @domName SVGElementInstance.previousSibling */
- abstract SVGElementInstance get previousSibling;
-}
+ num getCurrentTime() native "SVGAnimationElement_getCurrentTime_Callback";
-abstract class SVGElementInstanceEvents implements Events {
+ num getSimpleDuration() native "SVGAnimationElement_getSimpleDuration_Callback";
- EventListenerList get abort;
+ num getStartTime() native "SVGAnimationElement_getStartTime_Callback";
- EventListenerList get beforeCopy;
+ SVGStringList get requiredExtensions native "SVGAnimationElement_requiredExtensions_Getter";
- EventListenerList get beforeCut;
+ SVGStringList get requiredFeatures native "SVGAnimationElement_requiredFeatures_Getter";
- EventListenerList get beforePaste;
+ SVGStringList get systemLanguage native "SVGAnimationElement_systemLanguage_Getter";
- EventListenerList get blur;
+ bool hasExtension(String extension) native "SVGAnimationElement_hasExtension_Callback";
- EventListenerList get change;
+ SVGAnimatedBoolean get externalResourcesRequired native "SVGAnimationElement_externalResourcesRequired_Getter";
- EventListenerList get click;
+ void beginElement() native "SVGAnimationElement_beginElement_Callback";
- EventListenerList get contextMenu;
+ void beginElementAt(num offset) native "SVGAnimationElement_beginElementAt_Callback";
- EventListenerList get copy;
+ void endElement() native "SVGAnimationElement_endElement_Callback";
- EventListenerList get cut;
+ void endElementAt(num offset) native "SVGAnimationElement_endElementAt_Callback";
- EventListenerList get doubleClick;
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- EventListenerList get drag;
+// WARNING: Do not edit - generated code.
- EventListenerList get dragEnd;
+/// @domName SVGCircleElement
+abstract class SVGCircleElement implements SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
- EventListenerList get dragEnter;
+ /** @domName SVGCircleElement.cx */
+ abstract SVGAnimatedLength get cx;
- EventListenerList get dragLeave;
+ /** @domName SVGCircleElement.cy */
+ abstract SVGAnimatedLength get cy;
- EventListenerList get dragOver;
+ /** @domName SVGCircleElement.r */
+ abstract SVGAnimatedLength get 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.
- EventListenerList get dragStart;
+// WARNING: Do not edit - generated code.
- EventListenerList get drop;
+class _SVGCircleElementImpl extends _SVGElementImpl implements SVGCircleElement {
- EventListenerList get error;
+ SVGAnimatedLength get cx native "SVGCircleElement_cx_Getter";
- EventListenerList get focus;
+ SVGAnimatedLength get cy native "SVGCircleElement_cy_Getter";
- EventListenerList get input;
+ SVGAnimatedLength get r native "SVGCircleElement_r_Getter";
- EventListenerList get keyDown;
+ SVGStringList get requiredExtensions native "SVGCircleElement_requiredExtensions_Getter";
- EventListenerList get keyPress;
+ SVGStringList get requiredFeatures native "SVGCircleElement_requiredFeatures_Getter";
- EventListenerList get keyUp;
+ SVGStringList get systemLanguage native "SVGCircleElement_systemLanguage_Getter";
- EventListenerList get load;
+ bool hasExtension(String extension) native "SVGCircleElement_hasExtension_Callback";
- EventListenerList get mouseDown;
+ String get xmllang native "SVGCircleElement_xmllang_Getter";
- EventListenerList get mouseMove;
+ void set xmllang(String value) native "SVGCircleElement_xmllang_Setter";
- EventListenerList get mouseOut;
+ String get xmlspace native "SVGCircleElement_xmlspace_Getter";
- EventListenerList get mouseOver;
+ void set xmlspace(String value) native "SVGCircleElement_xmlspace_Setter";
- EventListenerList get mouseUp;
+ SVGAnimatedBoolean get externalResourcesRequired native "SVGCircleElement_externalResourcesRequired_Getter";
- EventListenerList get mouseWheel;
+ SVGAnimatedString get $dom_svgClassName native "SVGCircleElement_className_Getter";
- EventListenerList get paste;
+ CSSStyleDeclaration get style native "SVGCircleElement_style_Getter";
- EventListenerList get reset;
+ CSSValue getPresentationAttribute(String name) native "SVGCircleElement_getPresentationAttribute_Callback";
- EventListenerList get resize;
+ SVGAnimatedTransformList get transform native "SVGCircleElement_transform_Getter";
- EventListenerList get scroll;
+ SVGElement get farthestViewportElement native "SVGCircleElement_farthestViewportElement_Getter";
- EventListenerList get search;
+ SVGElement get nearestViewportElement native "SVGCircleElement_nearestViewportElement_Getter";
- EventListenerList get select;
+ SVGRect getBBox() native "SVGCircleElement_getBBox_Callback";
- EventListenerList get selectStart;
+ SVGMatrix getCTM() native "SVGCircleElement_getCTM_Callback";
- EventListenerList get submit;
+ SVGMatrix getScreenCTM() native "SVGCircleElement_getScreenCTM_Callback";
+
+ SVGMatrix getTransformToElement(SVGElement element) native "SVGCircleElement_getTransformToElement_Callback";
- EventListenerList get unload;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -27243,111 +27545,111 @@ abstract class SVGElementInstanceEvents implements Events {
// WARNING: Do not edit - generated code.
-class _SVGElementInstanceImpl extends _EventTargetImpl implements SVGElementInstance {
-
- _SVGElementInstanceEventsImpl get on =>
- new _SVGElementInstanceEventsImpl(this);
-
- List<SVGElementInstance> get childNodes native "SVGElementInstance_childNodes_Getter";
-
- SVGElement get correspondingElement native "SVGElementInstance_correspondingElement_Getter";
-
- SVGUseElement get correspondingUseElement native "SVGElementInstance_correspondingUseElement_Getter";
-
- SVGElementInstance get firstChild native "SVGElementInstance_firstChild_Getter";
-
- SVGElementInstance get lastChild native "SVGElementInstance_lastChild_Getter";
-
- SVGElementInstance get nextSibling native "SVGElementInstance_nextSibling_Getter";
-
- SVGElementInstance get parentNode native "SVGElementInstance_parentNode_Getter";
-
- SVGElementInstance get previousSibling native "SVGElementInstance_previousSibling_Getter";
+/// @domName SVGClipPathElement
+abstract class SVGClipPathElement implements SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
+ /** @domName SVGClipPathElement.clipPathUnits */
+ abstract SVGAnimatedEnumeration get 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.
-class _SVGElementInstanceEventsImpl extends _EventsImpl implements SVGElementInstanceEvents {
- _SVGElementInstanceEventsImpl(_ptr) : super(_ptr);
+// WARNING: Do not edit - generated code.
- EventListenerList get abort => this['abort'];
+class _SVGClipPathElementImpl extends _SVGElementImpl implements SVGClipPathElement {
- EventListenerList get beforeCopy => this['beforecopy'];
+ SVGAnimatedEnumeration get clipPathUnits native "SVGClipPathElement_clipPathUnits_Getter";
- EventListenerList get beforeCut => this['beforecut'];
+ SVGStringList get requiredExtensions native "SVGClipPathElement_requiredExtensions_Getter";
- EventListenerList get beforePaste => this['beforepaste'];
+ SVGStringList get requiredFeatures native "SVGClipPathElement_requiredFeatures_Getter";
- EventListenerList get blur => this['blur'];
+ SVGStringList get systemLanguage native "SVGClipPathElement_systemLanguage_Getter";
- EventListenerList get change => this['change'];
+ bool hasExtension(String extension) native "SVGClipPathElement_hasExtension_Callback";
- EventListenerList get click => this['click'];
+ String get xmllang native "SVGClipPathElement_xmllang_Getter";
- EventListenerList get contextMenu => this['contextmenu'];
+ void set xmllang(String value) native "SVGClipPathElement_xmllang_Setter";
- EventListenerList get copy => this['copy'];
+ String get xmlspace native "SVGClipPathElement_xmlspace_Getter";
- EventListenerList get cut => this['cut'];
+ void set xmlspace(String value) native "SVGClipPathElement_xmlspace_Setter";
- EventListenerList get doubleClick => this['dblclick'];
+ SVGAnimatedBoolean get externalResourcesRequired native "SVGClipPathElement_externalResourcesRequired_Getter";
- EventListenerList get drag => this['drag'];
+ SVGAnimatedString get $dom_svgClassName native "SVGClipPathElement_className_Getter";
- EventListenerList get dragEnd => this['dragend'];
+ CSSStyleDeclaration get style native "SVGClipPathElement_style_Getter";
- EventListenerList get dragEnter => this['dragenter'];
+ CSSValue getPresentationAttribute(String name) native "SVGClipPathElement_getPresentationAttribute_Callback";
- EventListenerList get dragLeave => this['dragleave'];
+ SVGAnimatedTransformList get transform native "SVGClipPathElement_transform_Getter";
- EventListenerList get dragOver => this['dragover'];
+ SVGElement get farthestViewportElement native "SVGClipPathElement_farthestViewportElement_Getter";
- EventListenerList get dragStart => this['dragstart'];
+ SVGElement get nearestViewportElement native "SVGClipPathElement_nearestViewportElement_Getter";
- EventListenerList get drop => this['drop'];
+ SVGRect getBBox() native "SVGClipPathElement_getBBox_Callback";
- EventListenerList get error => this['error'];
+ SVGMatrix getCTM() native "SVGClipPathElement_getCTM_Callback";
- EventListenerList get focus => this['focus'];
+ SVGMatrix getScreenCTM() native "SVGClipPathElement_getScreenCTM_Callback";
- EventListenerList get input => this['input'];
+ SVGMatrix getTransformToElement(SVGElement element) native "SVGClipPathElement_getTransformToElement_Callback";
- EventListenerList get keyDown => this['keydown'];
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- EventListenerList get keyPress => this['keypress'];
+// WARNING: Do not edit - generated code.
- EventListenerList get keyUp => this['keyup'];
+/// @domName SVGColor
+abstract class SVGColor implements CSSValue {
- EventListenerList get load => this['load'];
+ static const int SVG_COLORTYPE_CURRENTCOLOR = 3;
- EventListenerList get mouseDown => this['mousedown'];
+ static const int SVG_COLORTYPE_RGBCOLOR = 1;
- EventListenerList get mouseMove => this['mousemove'];
+ static const int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2;
- EventListenerList get mouseOut => this['mouseout'];
+ static const int SVG_COLORTYPE_UNKNOWN = 0;
- EventListenerList get mouseOver => this['mouseover'];
+ /** @domName SVGColor.colorType */
+ abstract int get colorType;
- EventListenerList get mouseUp => this['mouseup'];
+ /** @domName SVGColor.rgbColor */
+ abstract RGBColor get rgbColor;
- EventListenerList get mouseWheel => this['mousewheel'];
+ /** @domName SVGColor.setColor */
+ void setColor(int colorType, String rgbColor, String iccColor);
- EventListenerList get paste => this['paste'];
+ /** @domName SVGColor.setRGBColor */
+ void setRGBColor(String rgbColor);
- EventListenerList get reset => this['reset'];
+ /** @domName SVGColor.setRGBColorICCColor */
+ 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.
- EventListenerList get resize => this['resize'];
+// WARNING: Do not edit - generated code.
- EventListenerList get scroll => this['scroll'];
+class _SVGColorImpl extends _CSSValueImpl implements SVGColor {
- EventListenerList get search => this['search'];
+ int get colorType native "SVGColor_colorType_Getter";
- EventListenerList get select => this['select'];
+ RGBColor get rgbColor native "SVGColor_rgbColor_Getter";
- EventListenerList get selectStart => this['selectstart'];
+ void setColor(int colorType, String rgbColor, String iccColor) native "SVGColor_setColor_Callback";
- EventListenerList get submit => this['submit'];
+ void setRGBColor(String rgbColor) native "SVGColor_setRGBColor_Callback";
+
+ void setRGBColorICCColor(String rgbColor, String iccColor) native "SVGColor_setRGBColorICCColor_Callback";
- EventListenerList get unload => this['unload'];
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -27355,93 +27657,79 @@ class _SVGElementInstanceEventsImpl extends _EventsImpl implements SVGElementIns
// WARNING: Do not edit - generated code.
-class _SVGElementInstanceListImpl extends NativeFieldWrapperClass1 implements List<SVGElementInstance> {
-
- int get length native "SVGElementInstanceList_length_Getter";
+/// @domName SVGComponentTransferFunctionElement
+abstract class SVGComponentTransferFunctionElement implements SVGElement {
- SVGElementInstance operator[](int index) native "SVGElementInstanceList_item_Callback";
+ static const int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3;
- void operator[]=(int index, SVGElementInstance value) {
- throw new UnsupportedOperationException("Cannot assign element of immutable List.");
- }
- // -- start List<SVGElementInstance> mixins.
- // SVGElementInstance is the element type.
+ static const int SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5;
- // From Iterable<SVGElementInstance>:
+ static const int SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1;
- Iterator<SVGElementInstance> 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<SVGElementInstance>(this);
- }
+ static const int SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4;
- // From Collection<SVGElementInstance>:
+ static const int SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2;
- void add(SVGElementInstance value) {
- throw const UnsupportedOperationException("Cannot add to immutable List.");
- }
+ static const int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0;
- void addLast(SVGElementInstance value) {
- throw const UnsupportedOperationException("Cannot add to immutable List.");
- }
+ /** @domName SVGComponentTransferFunctionElement.amplitude */
+ abstract SVGAnimatedNumber get amplitude;
- void addAll(Collection<SVGElementInstance> collection) {
- throw const UnsupportedOperationException("Cannot add to immutable List.");
- }
+ /** @domName SVGComponentTransferFunctionElement.exponent */
+ abstract SVGAnimatedNumber get exponent;
- void forEach(void f(SVGElementInstance element)) => _Collections.forEach(this, f);
+ /** @domName SVGComponentTransferFunctionElement.intercept */
+ abstract SVGAnimatedNumber get intercept;
- Collection map(f(SVGElementInstance element)) => _Collections.map(this, [], f);
+ /** @domName SVGComponentTransferFunctionElement.offset */
+ abstract SVGAnimatedNumber get offset;
- Collection<SVGElementInstance> filter(bool f(SVGElementInstance element)) =>
- _Collections.filter(this, <SVGElementInstance>[], f);
+ /** @domName SVGComponentTransferFunctionElement.slope */
+ abstract SVGAnimatedNumber get slope;
- bool every(bool f(SVGElementInstance element)) => _Collections.every(this, f);
+ /** @domName SVGComponentTransferFunctionElement.tableValues */
+ abstract SVGAnimatedNumberList get tableValues;
- bool some(bool f(SVGElementInstance element)) => _Collections.some(this, f);
+ /** @domName SVGComponentTransferFunctionElement.type */
+ abstract SVGAnimatedEnumeration get 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.
- bool isEmpty() => this.length == 0;
+// WARNING: Do not edit - generated code.
- // From List<SVGElementInstance>:
+class _SVGComponentTransferFunctionElementImpl extends _SVGElementImpl implements SVGComponentTransferFunctionElement {
- void sort(int compare(SVGElementInstance a, SVGElementInstance b)) {
- throw const UnsupportedOperationException("Cannot sort immutable List.");
- }
+ SVGAnimatedNumber get amplitude native "SVGComponentTransferFunctionElement_amplitude_Getter";
- int indexOf(SVGElementInstance element, [int start = 0]) =>
- _Lists.indexOf(this, element, start, this.length);
+ SVGAnimatedNumber get exponent native "SVGComponentTransferFunctionElement_exponent_Getter";
- int lastIndexOf(SVGElementInstance element, [int start]) {
- if (start === null) start = length - 1;
- return _Lists.lastIndexOf(this, element, start);
- }
+ SVGAnimatedNumber get intercept native "SVGComponentTransferFunctionElement_intercept_Getter";
- SVGElementInstance last() => this[length - 1];
+ SVGAnimatedNumber get offset native "SVGComponentTransferFunctionElement_offset_Getter";
- SVGElementInstance removeLast() {
- throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
- }
+ SVGAnimatedNumber get slope native "SVGComponentTransferFunctionElement_slope_Getter";
- void setRange(int start, int rangeLength, List<SVGElementInstance> from, [int startFrom]) {
- throw const UnsupportedOperationException("Cannot setRange on immutable List.");
- }
+ SVGAnimatedNumberList get tableValues native "SVGComponentTransferFunctionElement_tableValues_Getter";
- void removeRange(int start, int rangeLength) {
- throw const UnsupportedOperationException("Cannot removeRange on immutable List.");
- }
+ SVGAnimatedEnumeration get type native "SVGComponentTransferFunctionElement_type_Getter";
- void insertRange(int start, int rangeLength, [SVGElementInstance initialValue]) {
- throw const UnsupportedOperationException("Cannot insertRange on immutable 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.
- List<SVGElementInstance> getRange(int start, int rangeLength) =>
- _Lists.getRange(this, start, rangeLength, <SVGElementInstance>[]);
+// WARNING: Do not edit - generated code.
- // -- end List<SVGElementInstance> mixins.
+/// @domName SVGCursorElement
+abstract class SVGCursorElement implements SVGElement, SVGURIReference, SVGTests, SVGExternalResourcesRequired {
- SVGElementInstance item(int index) native "SVGElementInstanceList_item_Callback";
+ /** @domName SVGCursorElement.x */
+ abstract SVGAnimatedLength get x;
+ /** @domName SVGCursorElement.y */
+ abstract SVGAnimatedLength get 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
@@ -27449,20 +27737,24 @@ class _SVGElementInstanceListImpl extends NativeFieldWrapperClass1 implements Li
// WARNING: Do not edit - generated code.
-/// @domName SVGEllipseElement
-abstract class SVGEllipseElement implements SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
+class _SVGCursorElementImpl extends _SVGElementImpl implements SVGCursorElement {
- /** @domName SVGEllipseElement.cx */
- abstract SVGAnimatedLength get cx;
+ SVGAnimatedLength get x native "SVGCursorElement_x_Getter";
- /** @domName SVGEllipseElement.cy */
- abstract SVGAnimatedLength get cy;
+ SVGAnimatedLength get y native "SVGCursorElement_y_Getter";
- /** @domName SVGEllipseElement.rx */
- abstract SVGAnimatedLength get rx;
+ SVGAnimatedString get href native "SVGCursorElement_href_Getter";
+
+ SVGStringList get requiredExtensions native "SVGCursorElement_requiredExtensions_Getter";
+
+ SVGStringList get requiredFeatures native "SVGCursorElement_requiredFeatures_Getter";
+
+ SVGStringList get systemLanguage native "SVGCursorElement_systemLanguage_Getter";
+
+ bool hasExtension(String extension) native "SVGCursorElement_hasExtension_Callback";
+
+ SVGAnimatedBoolean get externalResourcesRequired native "SVGCursorElement_externalResourcesRequired_Getter";
- /** @domName SVGEllipseElement.ry */
- abstract SVGAnimatedLength get 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
@@ -27470,54 +27762,64 @@ abstract class SVGEllipseElement implements SVGElement, SVGTests, SVGLangSpace,
// WARNING: Do not edit - generated code.
-class _SVGEllipseElementImpl extends _SVGElementImpl implements SVGEllipseElement {
+/// @domName SVGDefsElement
+abstract class SVGDefsElement implements 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.
- SVGAnimatedLength get cx native "SVGEllipseElement_cx_Getter";
+// WARNING: Do not edit - generated code.
- SVGAnimatedLength get cy native "SVGEllipseElement_cy_Getter";
+class _SVGDefsElementImpl extends _SVGElementImpl implements SVGDefsElement {
- SVGAnimatedLength get rx native "SVGEllipseElement_rx_Getter";
+ SVGStringList get requiredExtensions native "SVGDefsElement_requiredExtensions_Getter";
- SVGAnimatedLength get ry native "SVGEllipseElement_ry_Getter";
+ SVGStringList get requiredFeatures native "SVGDefsElement_requiredFeatures_Getter";
- SVGStringList get requiredExtensions native "SVGEllipseElement_requiredExtensions_Getter";
+ SVGStringList get systemLanguage native "SVGDefsElement_systemLanguage_Getter";
- SVGStringList get requiredFeatures native "SVGEllipseElement_requiredFeatures_Getter";
+ bool hasExtension(String extension) native "SVGDefsElement_hasExtension_Callback";
- SVGStringList get systemLanguage native "SVGEllipseElement_systemLanguage_Getter";
+ String get xmllang native "SVGDefsElement_xmllang_Getter";
- bool hasExtension(String extension) native "SVGEllipseElement_hasExtension_Callback";
+ void set xmllang(String value) native "SVGDefsElement_xmllang_Setter";
- String get xmllang native "SVGEllipseElement_xmllang_Getter";
+ String get xmlspace native "SVGDefsElement_xmlspace_Getter";
- void set xmllang(String value) native "SVGEllipseElement_xmllang_Setter";
+ void set xmlspace(String value) native "SVGDefsElement_xmlspace_Setter";
- String get xmlspace native "SVGEllipseElement_xmlspace_Getter";
+ SVGAnimatedBoolean get externalResourcesRequired native "SVGDefsElement_externalResourcesRequired_Getter";
- void set xmlspace(String value) native "SVGEllipseElement_xmlspace_Setter";
+ SVGAnimatedString get $dom_svgClassName native "SVGDefsElement_className_Getter";
- SVGAnimatedBoolean get externalResourcesRequired native "SVGEllipseElement_externalResourcesRequired_Getter";
+ CSSStyleDeclaration get style native "SVGDefsElement_style_Getter";
- SVGAnimatedString get $dom_svgClassName native "SVGEllipseElement_className_Getter";
+ CSSValue getPresentationAttribute(String name) native "SVGDefsElement_getPresentationAttribute_Callback";
- CSSStyleDeclaration get style native "SVGEllipseElement_style_Getter";
+ SVGAnimatedTransformList get transform native "SVGDefsElement_transform_Getter";
- CSSValue getPresentationAttribute(String name) native "SVGEllipseElement_getPresentationAttribute_Callback";
+ SVGElement get farthestViewportElement native "SVGDefsElement_farthestViewportElement_Getter";
- SVGAnimatedTransformList get transform native "SVGEllipseElement_transform_Getter";
+ SVGElement get nearestViewportElement native "SVGDefsElement_nearestViewportElement_Getter";
- SVGElement get farthestViewportElement native "SVGEllipseElement_farthestViewportElement_Getter";
+ SVGRect getBBox() native "SVGDefsElement_getBBox_Callback";
- SVGElement get nearestViewportElement native "SVGEllipseElement_nearestViewportElement_Getter";
+ SVGMatrix getCTM() native "SVGDefsElement_getCTM_Callback";
- SVGRect getBBox() native "SVGEllipseElement_getBBox_Callback";
+ SVGMatrix getScreenCTM() native "SVGDefsElement_getScreenCTM_Callback";
- SVGMatrix getCTM() native "SVGEllipseElement_getCTM_Callback";
+ SVGMatrix getTransformToElement(SVGElement element) native "SVGDefsElement_getTransformToElement_Callback";
- SVGMatrix getScreenCTM() native "SVGEllipseElement_getScreenCTM_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.
- SVGMatrix getTransformToElement(SVGElement element) native "SVGEllipseElement_getTransformToElement_Callback";
+// WARNING: Do not edit - generated code.
+/// @domName SVGDescElement
+abstract class SVGDescElement implements 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
@@ -27525,26 +27827,22 @@ class _SVGEllipseElementImpl extends _SVGElementImpl implements SVGEllipseElemen
// WARNING: Do not edit - generated code.
-/// @domName SVGException
-abstract class SVGException {
+class _SVGDescElementImpl extends _SVGElementImpl implements SVGDescElement {
- static const int SVG_INVALID_VALUE_ERR = 1;
+ String get xmllang native "SVGDescElement_xmllang_Getter";
- static const int SVG_MATRIX_NOT_INVERTABLE = 2;
+ void set xmllang(String value) native "SVGDescElement_xmllang_Setter";
- static const int SVG_WRONG_TYPE_ERR = 0;
+ String get xmlspace native "SVGDescElement_xmlspace_Getter";
- /** @domName SVGException.code */
- abstract int get code;
+ void set xmlspace(String value) native "SVGDescElement_xmlspace_Setter";
- /** @domName SVGException.message */
- abstract String get message;
+ SVGAnimatedString get $dom_svgClassName native "SVGDescElement_className_Getter";
- /** @domName SVGException.name */
- abstract String get name;
+ CSSStyleDeclaration get style native "SVGDescElement_style_Getter";
+
+ CSSValue getPresentationAttribute(String name) native "SVGDescElement_getPresentationAttribute_Callback";
- /** @domName SVGException.toString */
- 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
@@ -27552,16 +27850,14 @@ abstract class SVGException {
// WARNING: Do not edit - generated code.
-class _SVGExceptionImpl extends NativeFieldWrapperClass1 implements SVGException {
-
- int get code native "SVGException_code_Getter";
-
- String get message native "SVGException_message_Getter";
-
- String get name native "SVGException_name_Getter";
+/// @domName SVGDocument
+abstract class SVGDocument implements Document {
- String toString() native "SVGException_toString_Callback";
+ /** @domName SVGDocument.rootElement */
+ abstract SVGSVGElement get rootElement;
+ /** @domName SVGDocument.createEvent */
+ Event $dom_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
@@ -27569,170 +27865,227 @@ class _SVGExceptionImpl extends NativeFieldWrapperClass1 implements SVGException
// WARNING: Do not edit - generated code.
-/// @domName SVGExternalResourcesRequired
-abstract class SVGExternalResourcesRequired {
+class _SVGDocumentImpl extends _DocumentImpl implements SVGDocument {
+
+ SVGSVGElement get rootElement native "SVGDocument_rootElement_Getter";
+
+ Event $dom_createEvent(String eventType) native "SVGDocument_createEvent_Callback";
- /** @domName SVGExternalResourcesRequired.externalResourcesRequired */
- abstract SVGAnimatedBoolean get 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.
-
-/// @domName SVGFEBlendElement
-abstract class SVGFEBlendElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
-
- static const int SVG_FEBLEND_MODE_DARKEN = 4;
+/// @domName SVGElement
+abstract class SVGElement implements Element {
- static const int SVG_FEBLEND_MODE_LIGHTEN = 5;
+ factory SVGElement.tag(String tag) =>
+ _SVGElementFactoryProvider.createSVGElement_tag(tag);
+ factory SVGElement.svg(String svg) =>
+ _SVGElementFactoryProvider.createSVGElement_svg(svg);
- static const int SVG_FEBLEND_MODE_MULTIPLY = 2;
+ SVGElement clone(bool deep);
- static const int SVG_FEBLEND_MODE_NORMAL = 1;
- static const int SVG_FEBLEND_MODE_SCREEN = 3;
+ /** @domName SVGElement.id */
+ String id;
- static const int SVG_FEBLEND_MODE_UNKNOWN = 0;
+ /** @domName SVGElement.ownerSVGElement */
+ abstract SVGSVGElement get ownerSVGElement;
- /** @domName SVGFEBlendElement.in1 */
- abstract SVGAnimatedString get in1;
+ /** @domName SVGElement.viewportElement */
+ abstract SVGElement get viewportElement;
- /** @domName SVGFEBlendElement.in2 */
- abstract SVGAnimatedString get in2;
+ /** @domName SVGElement.xmlbase */
+ String xmlbase;
- /** @domName SVGFEBlendElement.mode */
- abstract SVGAnimatedEnumeration get mode;
}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// WARNING: Do not edit - generated code.
+class _AttributeClassSet extends _CssClassSet {
+ _AttributeClassSet(element) : super(element);
-class _SVGFEBlendElementImpl extends _SVGElementImpl implements SVGFEBlendElement {
+ String $dom_className() => _element.attributes['class'];
- SVGAnimatedString get in1 native "SVGFEBlendElement_in1_Getter";
+ void _write(Set s) {
+ _element.attributes['class'] = _formatSet(s);
+ }
+}
- SVGAnimatedString get in2 native "SVGFEBlendElement_in2_Getter";
+class _SVGElementImpl extends _ElementImpl implements SVGElement {
+ CSSClassSet get classes {
+ if (_cssClassSet === null) {
+ _cssClassSet = new _AttributeClassSet(_ptr);
+ }
+ return _cssClassSet;
+ }
- SVGAnimatedEnumeration get mode native "SVGFEBlendElement_mode_Getter";
+ List<Element> get elements => new _FilteredElementList(this);
- SVGAnimatedLength get height native "SVGFEBlendElement_height_Getter";
+ void set elements(Collection<Element> value) {
+ final elements = this.elements;
+ elements.clear();
+ elements.addAll(value);
+ }
- SVGAnimatedString get result native "SVGFEBlendElement_result_Getter";
+ String get outerHTML {
+ final container = new Element.tag("div");
+ final SVGElement cloned = this.clone(true);
+ container.elements.add(cloned);
+ return container.innerHTML;
+ }
- SVGAnimatedLength get width native "SVGFEBlendElement_width_Getter";
+ String get innerHTML {
+ final container = new Element.tag("div");
+ final SVGElement cloned = this.clone(true);
+ container.elements.addAll(cloned.elements);
+ return container.innerHTML;
+ }
- SVGAnimatedLength get x native "SVGFEBlendElement_x_Getter";
+ void set innerHTML(String svg) {
+ final container = new Element.tag("div");
+ // Wrap the SVG string in <svg> so that SVGElements are created, rather than
+ // HTMLElements.
+ container.innerHTML = '<svg version="1.1">$svg</svg>';
+ this.elements = container.elements[0].elements;
+ }
- SVGAnimatedLength get y native "SVGFEBlendElement_y_Getter";
- SVGAnimatedString get $dom_svgClassName native "SVGFEBlendElement_className_Getter";
+ String get id native "SVGElement_id_Getter";
- CSSStyleDeclaration get style native "SVGFEBlendElement_style_Getter";
+ void set id(String value) native "SVGElement_id_Setter";
- CSSValue getPresentationAttribute(String name) native "SVGFEBlendElement_getPresentationAttribute_Callback";
+ SVGSVGElement get ownerSVGElement native "SVGElement_ownerSVGElement_Getter";
-}
+ SVGElement get viewportElement native "SVGElement_viewportElement_Getter";
+
+ String get xmlbase native "SVGElement_xmlbase_Getter";
+
+ void set xmlbase(String value) native "SVGElement_xmlbase_Setter";
+
+}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// WARNING: Do not edit - generated code.
-/// @domName SVGFEColorMatrixElement
-abstract class SVGFEColorMatrixElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
+/// @domName SVGElementInstance
+abstract class SVGElementInstance implements EventTarget {
- static const int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3;
+ /**
+ * @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
+ */
+ SVGElementInstanceEvents get on;
- static const int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4;
+ /** @domName SVGElementInstance.childNodes */
+ abstract List<SVGElementInstance> get childNodes;
- static const int SVG_FECOLORMATRIX_TYPE_MATRIX = 1;
+ /** @domName SVGElementInstance.correspondingElement */
+ abstract SVGElement get correspondingElement;
- static const int SVG_FECOLORMATRIX_TYPE_SATURATE = 2;
+ /** @domName SVGElementInstance.correspondingUseElement */
+ abstract SVGUseElement get correspondingUseElement;
- static const int SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0;
+ /** @domName SVGElementInstance.firstChild */
+ abstract SVGElementInstance get firstChild;
- /** @domName SVGFEColorMatrixElement.in1 */
- abstract SVGAnimatedString get in1;
+ /** @domName SVGElementInstance.lastChild */
+ abstract SVGElementInstance get lastChild;
- /** @domName SVGFEColorMatrixElement.type */
- abstract SVGAnimatedEnumeration get type;
+ /** @domName SVGElementInstance.nextSibling */
+ abstract SVGElementInstance get nextSibling;
- /** @domName SVGFEColorMatrixElement.values */
- abstract SVGAnimatedNumberList get values;
+ /** @domName SVGElementInstance.parentNode */
+ abstract SVGElementInstance get parentNode;
+
+ /** @domName SVGElementInstance.previousSibling */
+ abstract SVGElementInstance get 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.
+abstract class SVGElementInstanceEvents implements Events {
-class _SVGFEColorMatrixElementImpl extends _SVGElementImpl implements SVGFEColorMatrixElement {
+ EventListenerList get abort;
- SVGAnimatedString get in1 native "SVGFEColorMatrixElement_in1_Getter";
+ EventListenerList get beforeCopy;
- SVGAnimatedEnumeration get type native "SVGFEColorMatrixElement_type_Getter";
+ EventListenerList get beforeCut;
- SVGAnimatedNumberList get values native "SVGFEColorMatrixElement_values_Getter";
+ EventListenerList get beforePaste;
- SVGAnimatedLength get height native "SVGFEColorMatrixElement_height_Getter";
+ EventListenerList get blur;
- SVGAnimatedString get result native "SVGFEColorMatrixElement_result_Getter";
+ EventListenerList get change;
- SVGAnimatedLength get width native "SVGFEColorMatrixElement_width_Getter";
+ EventListenerList get click;
- SVGAnimatedLength get x native "SVGFEColorMatrixElement_x_Getter";
+ EventListenerList get contextMenu;
- SVGAnimatedLength get y native "SVGFEColorMatrixElement_y_Getter";
+ EventListenerList get copy;
- SVGAnimatedString get $dom_svgClassName native "SVGFEColorMatrixElement_className_Getter";
+ EventListenerList get cut;
- CSSStyleDeclaration get style native "SVGFEColorMatrixElement_style_Getter";
+ EventListenerList get doubleClick;
- CSSValue getPresentationAttribute(String name) native "SVGFEColorMatrixElement_getPresentationAttribute_Callback";
+ EventListenerList get drag;
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ EventListenerList get dragEnd;
-// WARNING: Do not edit - generated code.
+ EventListenerList get dragEnter;
-/// @domName SVGFEComponentTransferElement
-abstract class SVGFEComponentTransferElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
+ EventListenerList get dragLeave;
- /** @domName SVGFEComponentTransferElement.in1 */
- abstract SVGAnimatedString get 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.
+ EventListenerList get dragOver;
-// WARNING: Do not edit - generated code.
+ EventListenerList get dragStart;
-class _SVGFEComponentTransferElementImpl extends _SVGElementImpl implements SVGFEComponentTransferElement {
+ EventListenerList get drop;
- SVGAnimatedString get in1 native "SVGFEComponentTransferElement_in1_Getter";
+ EventListenerList get error;
- SVGAnimatedLength get height native "SVGFEComponentTransferElement_height_Getter";
+ EventListenerList get focus;
- SVGAnimatedString get result native "SVGFEComponentTransferElement_result_Getter";
+ EventListenerList get input;
- SVGAnimatedLength get width native "SVGFEComponentTransferElement_width_Getter";
+ EventListenerList get keyDown;
- SVGAnimatedLength get x native "SVGFEComponentTransferElement_x_Getter";
+ EventListenerList get keyPress;
- SVGAnimatedLength get y native "SVGFEComponentTransferElement_y_Getter";
+ EventListenerList get keyUp;
- SVGAnimatedString get $dom_svgClassName native "SVGFEComponentTransferElement_className_Getter";
+ EventListenerList get load;
- CSSStyleDeclaration get style native "SVGFEComponentTransferElement_style_Getter";
+ EventListenerList get mouseDown;
- CSSValue getPresentationAttribute(String name) native "SVGFEComponentTransferElement_getPresentationAttribute_Callback";
+ EventListenerList get mouseMove;
+
+ EventListenerList get mouseOut;
+
+ EventListenerList get mouseOver;
+
+ EventListenerList get mouseUp;
+
+ EventListenerList get mouseWheel;
+
+ EventListenerList get paste;
+
+ EventListenerList get reset;
+
+ EventListenerList get resize;
+
+ EventListenerList get scroll;
+
+ EventListenerList get search;
+
+ EventListenerList get select;
+
+ EventListenerList get selectStart;
+
+ EventListenerList get submit;
+ EventListenerList get unload;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -27740,135 +28093,111 @@ class _SVGFEComponentTransferElementImpl extends _SVGElementImpl implements SVGF
// WARNING: Do not edit - generated code.
-/// @domName SVGFECompositeElement
-abstract class SVGFECompositeElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
+class _SVGElementInstanceImpl extends _EventTargetImpl implements SVGElementInstance {
- static const int SVG_FECOMPOSITE_OPERATOR_ARITHMETIC = 6;
+ _SVGElementInstanceEventsImpl get on =>
+ new _SVGElementInstanceEventsImpl(this);
- static const int SVG_FECOMPOSITE_OPERATOR_ATOP = 4;
+ List<SVGElementInstance> get childNodes native "SVGElementInstance_childNodes_Getter";
- static const int SVG_FECOMPOSITE_OPERATOR_IN = 2;
+ SVGElement get correspondingElement native "SVGElementInstance_correspondingElement_Getter";
- static const int SVG_FECOMPOSITE_OPERATOR_OUT = 3;
+ SVGUseElement get correspondingUseElement native "SVGElementInstance_correspondingUseElement_Getter";
- static const int SVG_FECOMPOSITE_OPERATOR_OVER = 1;
+ SVGElementInstance get firstChild native "SVGElementInstance_firstChild_Getter";
- static const int SVG_FECOMPOSITE_OPERATOR_UNKNOWN = 0;
+ SVGElementInstance get lastChild native "SVGElementInstance_lastChild_Getter";
- static const int SVG_FECOMPOSITE_OPERATOR_XOR = 5;
+ SVGElementInstance get nextSibling native "SVGElementInstance_nextSibling_Getter";
- /** @domName SVGFECompositeElement.in1 */
- abstract SVGAnimatedString get in1;
+ SVGElementInstance get parentNode native "SVGElementInstance_parentNode_Getter";
- /** @domName SVGFECompositeElement.in2 */
- abstract SVGAnimatedString get in2;
+ SVGElementInstance get previousSibling native "SVGElementInstance_previousSibling_Getter";
- /** @domName SVGFECompositeElement.k1 */
- abstract SVGAnimatedNumber get k1;
+}
- /** @domName SVGFECompositeElement.k2 */
- abstract SVGAnimatedNumber get k2;
+class _SVGElementInstanceEventsImpl extends _EventsImpl implements SVGElementInstanceEvents {
+ _SVGElementInstanceEventsImpl(_ptr) : super(_ptr);
- /** @domName SVGFECompositeElement.k3 */
- abstract SVGAnimatedNumber get k3;
+ EventListenerList get abort => this['abort'];
- /** @domName SVGFECompositeElement.k4 */
- abstract SVGAnimatedNumber get k4;
+ EventListenerList get beforeCopy => this['beforecopy'];
- /** @domName SVGFECompositeElement.operator */
- abstract SVGAnimatedEnumeration get 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.
+ EventListenerList get beforeCut => this['beforecut'];
-// WARNING: Do not edit - generated code.
+ EventListenerList get beforePaste => this['beforepaste'];
-class _SVGFECompositeElementImpl extends _SVGElementImpl implements SVGFECompositeElement {
+ EventListenerList get blur => this['blur'];
- SVGAnimatedString get in1 native "SVGFECompositeElement_in1_Getter";
+ EventListenerList get change => this['change'];
- SVGAnimatedString get in2 native "SVGFECompositeElement_in2_Getter";
+ EventListenerList get click => this['click'];
- SVGAnimatedNumber get k1 native "SVGFECompositeElement_k1_Getter";
+ EventListenerList get contextMenu => this['contextmenu'];
- SVGAnimatedNumber get k2 native "SVGFECompositeElement_k2_Getter";
+ EventListenerList get copy => this['copy'];
- SVGAnimatedNumber get k3 native "SVGFECompositeElement_k3_Getter";
+ EventListenerList get cut => this['cut'];
- SVGAnimatedNumber get k4 native "SVGFECompositeElement_k4_Getter";
+ EventListenerList get doubleClick => this['dblclick'];
- SVGAnimatedEnumeration get operator native "SVGFECompositeElement_operator_Getter";
+ EventListenerList get drag => this['drag'];
- SVGAnimatedLength get height native "SVGFECompositeElement_height_Getter";
+ EventListenerList get dragEnd => this['dragend'];
- SVGAnimatedString get result native "SVGFECompositeElement_result_Getter";
+ EventListenerList get dragEnter => this['dragenter'];
- SVGAnimatedLength get width native "SVGFECompositeElement_width_Getter";
+ EventListenerList get dragLeave => this['dragleave'];
- SVGAnimatedLength get x native "SVGFECompositeElement_x_Getter";
+ EventListenerList get dragOver => this['dragover'];
- SVGAnimatedLength get y native "SVGFECompositeElement_y_Getter";
+ EventListenerList get dragStart => this['dragstart'];
- SVGAnimatedString get $dom_svgClassName native "SVGFECompositeElement_className_Getter";
+ EventListenerList get drop => this['drop'];
- CSSStyleDeclaration get style native "SVGFECompositeElement_style_Getter";
+ EventListenerList get error => this['error'];
- CSSValue getPresentationAttribute(String name) native "SVGFECompositeElement_getPresentationAttribute_Callback";
+ EventListenerList get focus => this['focus'];
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ EventListenerList get input => this['input'];
-// WARNING: Do not edit - generated code.
+ EventListenerList get keyDown => this['keydown'];
-/// @domName SVGFEConvolveMatrixElement
-abstract class SVGFEConvolveMatrixElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
+ EventListenerList get keyPress => this['keypress'];
- static const int SVG_EDGEMODE_DUPLICATE = 1;
+ EventListenerList get keyUp => this['keyup'];
- static const int SVG_EDGEMODE_NONE = 3;
+ EventListenerList get load => this['load'];
- static const int SVG_EDGEMODE_UNKNOWN = 0;
+ EventListenerList get mouseDown => this['mousedown'];
- static const int SVG_EDGEMODE_WRAP = 2;
+ EventListenerList get mouseMove => this['mousemove'];
- /** @domName SVGFEConvolveMatrixElement.bias */
- abstract SVGAnimatedNumber get bias;
+ EventListenerList get mouseOut => this['mouseout'];
- /** @domName SVGFEConvolveMatrixElement.divisor */
- abstract SVGAnimatedNumber get divisor;
+ EventListenerList get mouseOver => this['mouseover'];
- /** @domName SVGFEConvolveMatrixElement.edgeMode */
- abstract SVGAnimatedEnumeration get edgeMode;
+ EventListenerList get mouseUp => this['mouseup'];
- /** @domName SVGFEConvolveMatrixElement.in1 */
- abstract SVGAnimatedString get in1;
+ EventListenerList get mouseWheel => this['mousewheel'];
- /** @domName SVGFEConvolveMatrixElement.kernelMatrix */
- abstract SVGAnimatedNumberList get kernelMatrix;
+ EventListenerList get paste => this['paste'];
- /** @domName SVGFEConvolveMatrixElement.kernelUnitLengthX */
- abstract SVGAnimatedNumber get kernelUnitLengthX;
+ EventListenerList get reset => this['reset'];
- /** @domName SVGFEConvolveMatrixElement.kernelUnitLengthY */
- abstract SVGAnimatedNumber get kernelUnitLengthY;
+ EventListenerList get resize => this['resize'];
- /** @domName SVGFEConvolveMatrixElement.orderX */
- abstract SVGAnimatedInteger get orderX;
+ EventListenerList get scroll => this['scroll'];
- /** @domName SVGFEConvolveMatrixElement.orderY */
- abstract SVGAnimatedInteger get orderY;
+ EventListenerList get search => this['search'];
- /** @domName SVGFEConvolveMatrixElement.preserveAlpha */
- abstract SVGAnimatedBoolean get preserveAlpha;
+ EventListenerList get select => this['select'];
- /** @domName SVGFEConvolveMatrixElement.targetX */
- abstract SVGAnimatedInteger get targetX;
+ EventListenerList get selectStart => this['selectstart'];
- /** @domName SVGFEConvolveMatrixElement.targetY */
- abstract SVGAnimatedInteger get targetY;
+ EventListenerList get submit => this['submit'];
+
+ EventListenerList get unload => this['unload'];
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -27876,47 +28205,92 @@ abstract class SVGFEConvolveMatrixElement implements SVGElement, SVGFilterPrimit
// WARNING: Do not edit - generated code.
-class _SVGFEConvolveMatrixElementImpl extends _SVGElementImpl implements SVGFEConvolveMatrixElement {
+class _SVGElementInstanceListImpl extends NativeFieldWrapperClass1 implements List<SVGElementInstance> {
- SVGAnimatedNumber get bias native "SVGFEConvolveMatrixElement_bias_Getter";
+ int get length native "SVGElementInstanceList_length_Getter";
- SVGAnimatedNumber get divisor native "SVGFEConvolveMatrixElement_divisor_Getter";
+ SVGElementInstance operator[](int index) native "SVGElementInstanceList_item_Callback";
- SVGAnimatedEnumeration get edgeMode native "SVGFEConvolveMatrixElement_edgeMode_Getter";
+ void operator[]=(int index, SVGElementInstance value) {
+ throw new UnsupportedOperationException("Cannot assign element of immutable List.");
+ }
+ // -- start List<SVGElementInstance> mixins.
+ // SVGElementInstance is the element type.
- SVGAnimatedString get in1 native "SVGFEConvolveMatrixElement_in1_Getter";
+ // From Iterable<SVGElementInstance>:
- SVGAnimatedNumberList get kernelMatrix native "SVGFEConvolveMatrixElement_kernelMatrix_Getter";
+ Iterator<SVGElementInstance> 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<SVGElementInstance>(this);
+ }
- SVGAnimatedNumber get kernelUnitLengthX native "SVGFEConvolveMatrixElement_kernelUnitLengthX_Getter";
+ // From Collection<SVGElementInstance>:
- SVGAnimatedNumber get kernelUnitLengthY native "SVGFEConvolveMatrixElement_kernelUnitLengthY_Getter";
+ void add(SVGElementInstance value) {
+ throw const UnsupportedOperationException("Cannot add to immutable List.");
+ }
- SVGAnimatedInteger get orderX native "SVGFEConvolveMatrixElement_orderX_Getter";
+ void addLast(SVGElementInstance value) {
+ throw const UnsupportedOperationException("Cannot add to immutable List.");
+ }
- SVGAnimatedInteger get orderY native "SVGFEConvolveMatrixElement_orderY_Getter";
+ void addAll(Collection<SVGElementInstance> collection) {
+ throw const UnsupportedOperationException("Cannot add to immutable List.");
+ }
- SVGAnimatedBoolean get preserveAlpha native "SVGFEConvolveMatrixElement_preserveAlpha_Getter";
+ void forEach(void f(SVGElementInstance element)) => _Collections.forEach(this, f);
- SVGAnimatedInteger get targetX native "SVGFEConvolveMatrixElement_targetX_Getter";
+ Collection map(f(SVGElementInstance element)) => _Collections.map(this, [], f);
- SVGAnimatedInteger get targetY native "SVGFEConvolveMatrixElement_targetY_Getter";
+ Collection<SVGElementInstance> filter(bool f(SVGElementInstance element)) =>
+ _Collections.filter(this, <SVGElementInstance>[], f);
- SVGAnimatedLength get height native "SVGFEConvolveMatrixElement_height_Getter";
+ bool every(bool f(SVGElementInstance element)) => _Collections.every(this, f);
- SVGAnimatedString get result native "SVGFEConvolveMatrixElement_result_Getter";
+ bool some(bool f(SVGElementInstance element)) => _Collections.some(this, f);
- SVGAnimatedLength get width native "SVGFEConvolveMatrixElement_width_Getter";
+ bool isEmpty() => this.length == 0;
- SVGAnimatedLength get x native "SVGFEConvolveMatrixElement_x_Getter";
+ // From List<SVGElementInstance>:
- SVGAnimatedLength get y native "SVGFEConvolveMatrixElement_y_Getter";
+ void sort(int compare(SVGElementInstance a, SVGElementInstance b)) {
+ throw const UnsupportedOperationException("Cannot sort immutable List.");
+ }
- SVGAnimatedString get $dom_svgClassName native "SVGFEConvolveMatrixElement_className_Getter";
+ int indexOf(SVGElementInstance element, [int start = 0]) =>
+ _Lists.indexOf(this, element, start, this.length);
- CSSStyleDeclaration get style native "SVGFEConvolveMatrixElement_style_Getter";
+ int lastIndexOf(SVGElementInstance element, [int start]) {
+ if (start === null) start = length - 1;
+ return _Lists.lastIndexOf(this, element, start);
+ }
- CSSValue getPresentationAttribute(String name) native "SVGFEConvolveMatrixElement_getPresentationAttribute_Callback";
+ SVGElementInstance last() => this[length - 1];
+
+ SVGElementInstance removeLast() {
+ throw const UnsupportedOperationException("Cannot removeLast on immutable List.");
+ }
+
+ void setRange(int start, int rangeLength, List<SVGElementInstance> 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, [SVGElementInstance initialValue]) {
+ throw const UnsupportedOperationException("Cannot insertRange on immutable List.");
+ }
+
+ List<SVGElementInstance> getRange(int start, int rangeLength) =>
+ _Lists.getRange(this, start, rangeLength, <SVGElementInstance>[]);
+
+ // -- end List<SVGElementInstance> mixins.
+
+ SVGElementInstance item(int index) native "SVGElementInstanceList_item_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -27925,23 +28299,20 @@ class _SVGFEConvolveMatrixElementImpl extends _SVGElementImpl implements SVGFECo
// WARNING: Do not edit - generated code.
-/// @domName SVGFEDiffuseLightingElement
-abstract class SVGFEDiffuseLightingElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
-
- /** @domName SVGFEDiffuseLightingElement.diffuseConstant */
- abstract SVGAnimatedNumber get diffuseConstant;
+/// @domName SVGEllipseElement
+abstract class SVGEllipseElement implements SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
- /** @domName SVGFEDiffuseLightingElement.in1 */
- abstract SVGAnimatedString get in1;
+ /** @domName SVGEllipseElement.cx */
+ abstract SVGAnimatedLength get cx;
- /** @domName SVGFEDiffuseLightingElement.kernelUnitLengthX */
- abstract SVGAnimatedNumber get kernelUnitLengthX;
+ /** @domName SVGEllipseElement.cy */
+ abstract SVGAnimatedLength get cy;
- /** @domName SVGFEDiffuseLightingElement.kernelUnitLengthY */
- abstract SVGAnimatedNumber get kernelUnitLengthY;
+ /** @domName SVGEllipseElement.rx */
+ abstract SVGAnimatedLength get rx;
- /** @domName SVGFEDiffuseLightingElement.surfaceScale */
- abstract SVGAnimatedNumber get surfaceScale;
+ /** @domName SVGEllipseElement.ry */
+ abstract SVGAnimatedLength get 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
@@ -27949,68 +28320,54 @@ abstract class SVGFEDiffuseLightingElement implements SVGElement, SVGFilterPrimi
// WARNING: Do not edit - generated code.
-class _SVGFEDiffuseLightingElementImpl extends _SVGElementImpl implements SVGFEDiffuseLightingElement {
-
- SVGAnimatedNumber get diffuseConstant native "SVGFEDiffuseLightingElement_diffuseConstant_Getter";
-
- SVGAnimatedString get in1 native "SVGFEDiffuseLightingElement_in1_Getter";
+class _SVGEllipseElementImpl extends _SVGElementImpl implements SVGEllipseElement {
- SVGAnimatedNumber get kernelUnitLengthX native "SVGFEDiffuseLightingElement_kernelUnitLengthX_Getter";
+ SVGAnimatedLength get cx native "SVGEllipseElement_cx_Getter";
- SVGAnimatedNumber get kernelUnitLengthY native "SVGFEDiffuseLightingElement_kernelUnitLengthY_Getter";
+ SVGAnimatedLength get cy native "SVGEllipseElement_cy_Getter";
- SVGAnimatedNumber get surfaceScale native "SVGFEDiffuseLightingElement_surfaceScale_Getter";
+ SVGAnimatedLength get rx native "SVGEllipseElement_rx_Getter";
- SVGAnimatedLength get height native "SVGFEDiffuseLightingElement_height_Getter";
+ SVGAnimatedLength get ry native "SVGEllipseElement_ry_Getter";
- SVGAnimatedString get result native "SVGFEDiffuseLightingElement_result_Getter";
+ SVGStringList get requiredExtensions native "SVGEllipseElement_requiredExtensions_Getter";
- SVGAnimatedLength get width native "SVGFEDiffuseLightingElement_width_Getter";
+ SVGStringList get requiredFeatures native "SVGEllipseElement_requiredFeatures_Getter";
- SVGAnimatedLength get x native "SVGFEDiffuseLightingElement_x_Getter";
+ SVGStringList get systemLanguage native "SVGEllipseElement_systemLanguage_Getter";
- SVGAnimatedLength get y native "SVGFEDiffuseLightingElement_y_Getter";
+ bool hasExtension(String extension) native "SVGEllipseElement_hasExtension_Callback";
- SVGAnimatedString get $dom_svgClassName native "SVGFEDiffuseLightingElement_className_Getter";
+ String get xmllang native "SVGEllipseElement_xmllang_Getter";
- CSSStyleDeclaration get style native "SVGFEDiffuseLightingElement_style_Getter";
+ void set xmllang(String value) native "SVGEllipseElement_xmllang_Setter";
- CSSValue getPresentationAttribute(String name) native "SVGFEDiffuseLightingElement_getPresentationAttribute_Callback";
+ String get xmlspace native "SVGEllipseElement_xmlspace_Getter";
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ void set xmlspace(String value) native "SVGEllipseElement_xmlspace_Setter";
-// WARNING: Do not edit - generated code.
+ SVGAnimatedBoolean get externalResourcesRequired native "SVGEllipseElement_externalResourcesRequired_Getter";
-/// @domName SVGFEDisplacementMapElement
-abstract class SVGFEDisplacementMapElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
+ SVGAnimatedString get $dom_svgClassName native "SVGEllipseElement_className_Getter";
- static const int SVG_CHANNEL_A = 4;
+ CSSStyleDeclaration get style native "SVGEllipseElement_style_Getter";
- static const int SVG_CHANNEL_B = 3;
+ CSSValue getPresentationAttribute(String name) native "SVGEllipseElement_getPresentationAttribute_Callback";
- static const int SVG_CHANNEL_G = 2;
+ SVGAnimatedTransformList get transform native "SVGEllipseElement_transform_Getter";
- static const int SVG_CHANNEL_R = 1;
+ SVGElement get farthestViewportElement native "SVGEllipseElement_farthestViewportElement_Getter";
- static const int SVG_CHANNEL_UNKNOWN = 0;
+ SVGElement get nearestViewportElement native "SVGEllipseElement_nearestViewportElement_Getter";
- /** @domName SVGFEDisplacementMapElement.in1 */
- abstract SVGAnimatedString get in1;
+ SVGRect getBBox() native "SVGEllipseElement_getBBox_Callback";
- /** @domName SVGFEDisplacementMapElement.in2 */
- abstract SVGAnimatedString get in2;
+ SVGMatrix getCTM() native "SVGEllipseElement_getCTM_Callback";
- /** @domName SVGFEDisplacementMapElement.scale */
- abstract SVGAnimatedNumber get scale;
+ SVGMatrix getScreenCTM() native "SVGEllipseElement_getScreenCTM_Callback";
- /** @domName SVGFEDisplacementMapElement.xChannelSelector */
- abstract SVGAnimatedEnumeration get xChannelSelector;
+ SVGMatrix getTransformToElement(SVGElement element) native "SVGEllipseElement_getTransformToElement_Callback";
- /** @domName SVGFEDisplacementMapElement.yChannelSelector */
- abstract SVGAnimatedEnumeration get 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
@@ -28018,33 +28375,42 @@ abstract class SVGFEDisplacementMapElement implements SVGElement, SVGFilterPrimi
// WARNING: Do not edit - generated code.
-class _SVGFEDisplacementMapElementImpl extends _SVGElementImpl implements SVGFEDisplacementMapElement {
+/// @domName SVGException
+abstract class SVGException {
- SVGAnimatedString get in1 native "SVGFEDisplacementMapElement_in1_Getter";
+ static const int SVG_INVALID_VALUE_ERR = 1;
- SVGAnimatedString get in2 native "SVGFEDisplacementMapElement_in2_Getter";
+ static const int SVG_MATRIX_NOT_INVERTABLE = 2;
- SVGAnimatedNumber get scale native "SVGFEDisplacementMapElement_scale_Getter";
+ static const int SVG_WRONG_TYPE_ERR = 0;
- SVGAnimatedEnumeration get xChannelSelector native "SVGFEDisplacementMapElement_xChannelSelector_Getter";
+ /** @domName SVGException.code */
+ abstract int get code;
- SVGAnimatedEnumeration get yChannelSelector native "SVGFEDisplacementMapElement_yChannelSelector_Getter";
+ /** @domName SVGException.message */
+ abstract String get message;
- SVGAnimatedLength get height native "SVGFEDisplacementMapElement_height_Getter";
+ /** @domName SVGException.name */
+ abstract String get name;
- SVGAnimatedString get result native "SVGFEDisplacementMapElement_result_Getter";
+ /** @domName SVGException.toString */
+ 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.
- SVGAnimatedLength get width native "SVGFEDisplacementMapElement_width_Getter";
+// WARNING: Do not edit - generated code.
- SVGAnimatedLength get x native "SVGFEDisplacementMapElement_x_Getter";
+class _SVGExceptionImpl extends NativeFieldWrapperClass1 implements SVGException {
- SVGAnimatedLength get y native "SVGFEDisplacementMapElement_y_Getter";
+ int get code native "SVGException_code_Getter";
- SVGAnimatedString get $dom_svgClassName native "SVGFEDisplacementMapElement_className_Getter";
+ String get message native "SVGException_message_Getter";
- CSSStyleDeclaration get style native "SVGFEDisplacementMapElement_style_Getter";
+ String get name native "SVGException_name_Getter";
- CSSValue getPresentationAttribute(String name) native "SVGFEDisplacementMapElement_getPresentationAttribute_Callback";
+ String toString() native "SVGException_toString_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -28053,14 +28419,11 @@ class _SVGFEDisplacementMapElementImpl extends _SVGElementImpl implements SVGFED
// WARNING: Do not edit - generated code.
-/// @domName SVGFEDistantLightElement
-abstract class SVGFEDistantLightElement implements SVGElement {
-
- /** @domName SVGFEDistantLightElement.azimuth */
- abstract SVGAnimatedNumber get azimuth;
+/// @domName SVGExternalResourcesRequired
+abstract class SVGExternalResourcesRequired {
- /** @domName SVGFEDistantLightElement.elevation */
- abstract SVGAnimatedNumber get elevation;
+ /** @domName SVGExternalResourcesRequired.externalResourcesRequired */
+ abstract SVGAnimatedBoolean get 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
@@ -28068,27 +28431,514 @@ abstract class SVGFEDistantLightElement implements SVGElement {
// WARNING: Do not edit - generated code.
-class _SVGFEDistantLightElementImpl extends _SVGElementImpl implements SVGFEDistantLightElement {
+/// @domName SVGFEBlendElement
+abstract class SVGFEBlendElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
- SVGAnimatedNumber get azimuth native "SVGFEDistantLightElement_azimuth_Getter";
+ static const int SVG_FEBLEND_MODE_DARKEN = 4;
- SVGAnimatedNumber get elevation native "SVGFEDistantLightElement_elevation_Getter";
+ static const int SVG_FEBLEND_MODE_LIGHTEN = 5;
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ static const int SVG_FEBLEND_MODE_MULTIPLY = 2;
-// WARNING: Do not edit - generated code.
+ static const int SVG_FEBLEND_MODE_NORMAL = 1;
-/// @domName SVGFEDropShadowElement
-abstract class SVGFEDropShadowElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
+ static const int SVG_FEBLEND_MODE_SCREEN = 3;
- /** @domName SVGFEDropShadowElement.dx */
- abstract SVGAnimatedNumber get dx;
+ static const int SVG_FEBLEND_MODE_UNKNOWN = 0;
- /** @domName SVGFEDropShadowElement.dy */
- abstract SVGAnimatedNumber get dy;
+ /** @domName SVGFEBlendElement.in1 */
+ abstract SVGAnimatedString get in1;
+
+ /** @domName SVGFEBlendElement.in2 */
+ abstract SVGAnimatedString get in2;
+
+ /** @domName SVGFEBlendElement.mode */
+ abstract SVGAnimatedEnumeration get 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.
+
+class _SVGFEBlendElementImpl extends _SVGElementImpl implements SVGFEBlendElement {
+
+ SVGAnimatedString get in1 native "SVGFEBlendElement_in1_Getter";
+
+ SVGAnimatedString get in2 native "SVGFEBlendElement_in2_Getter";
+
+ SVGAnimatedEnumeration get mode native "SVGFEBlendElement_mode_Getter";
+
+ SVGAnimatedLength get height native "SVGFEBlendElement_height_Getter";
+
+ SVGAnimatedString get result native "SVGFEBlendElement_result_Getter";
+
+ SVGAnimatedLength get width native "SVGFEBlendElement_width_Getter";
+
+ SVGAnimatedLength get x native "SVGFEBlendElement_x_Getter";
+
+ SVGAnimatedLength get y native "SVGFEBlendElement_y_Getter";
+
+ SVGAnimatedString get $dom_svgClassName native "SVGFEBlendElement_className_Getter";
+
+ CSSStyleDeclaration get style native "SVGFEBlendElement_style_Getter";
+
+ CSSValue getPresentationAttribute(String name) native "SVGFEBlendElement_getPresentationAttribute_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.
+
+/// @domName SVGFEColorMatrixElement
+abstract class SVGFEColorMatrixElement implements 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;
+
+ /** @domName SVGFEColorMatrixElement.in1 */
+ abstract SVGAnimatedString get in1;
+
+ /** @domName SVGFEColorMatrixElement.type */
+ abstract SVGAnimatedEnumeration get type;
+
+ /** @domName SVGFEColorMatrixElement.values */
+ abstract SVGAnimatedNumberList get 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.
+
+class _SVGFEColorMatrixElementImpl extends _SVGElementImpl implements SVGFEColorMatrixElement {
+
+ SVGAnimatedString get in1 native "SVGFEColorMatrixElement_in1_Getter";
+
+ SVGAnimatedEnumeration get type native "SVGFEColorMatrixElement_type_Getter";
+
+ SVGAnimatedNumberList get values native "SVGFEColorMatrixElement_values_Getter";
+
+ SVGAnimatedLength get height native "SVGFEColorMatrixElement_height_Getter";
+
+ SVGAnimatedString get result native "SVGFEColorMatrixElement_result_Getter";
+
+ SVGAnimatedLength get width native "SVGFEColorMatrixElement_width_Getter";
+
+ SVGAnimatedLength get x native "SVGFEColorMatrixElement_x_Getter";
+
+ SVGAnimatedLength get y native "SVGFEColorMatrixElement_y_Getter";
+
+ SVGAnimatedString get $dom_svgClassName native "SVGFEColorMatrixElement_className_Getter";
+
+ CSSStyleDeclaration get style native "SVGFEColorMatrixElement_style_Getter";
+
+ CSSValue getPresentationAttribute(String name) native "SVGFEColorMatrixElement_getPresentationAttribute_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.
+
+/// @domName SVGFEComponentTransferElement
+abstract class SVGFEComponentTransferElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
+
+ /** @domName SVGFEComponentTransferElement.in1 */
+ abstract SVGAnimatedString get 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.
+
+class _SVGFEComponentTransferElementImpl extends _SVGElementImpl implements SVGFEComponentTransferElement {
+
+ SVGAnimatedString get in1 native "SVGFEComponentTransferElement_in1_Getter";
+
+ SVGAnimatedLength get height native "SVGFEComponentTransferElement_height_Getter";
+
+ SVGAnimatedString get result native "SVGFEComponentTransferElement_result_Getter";
+
+ SVGAnimatedLength get width native "SVGFEComponentTransferElement_width_Getter";
+
+ SVGAnimatedLength get x native "SVGFEComponentTransferElement_x_Getter";
+
+ SVGAnimatedLength get y native "SVGFEComponentTransferElement_y_Getter";
+
+ SVGAnimatedString get $dom_svgClassName native "SVGFEComponentTransferElement_className_Getter";
+
+ CSSStyleDeclaration get style native "SVGFEComponentTransferElement_style_Getter";
+
+ CSSValue getPresentationAttribute(String name) native "SVGFEComponentTransferElement_getPresentationAttribute_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.
+
+/// @domName SVGFECompositeElement
+abstract class SVGFECompositeElement implements 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;
+
+ /** @domName SVGFECompositeElement.in1 */
+ abstract SVGAnimatedString get in1;
+
+ /** @domName SVGFECompositeElement.in2 */
+ abstract SVGAnimatedString get in2;
+
+ /** @domName SVGFECompositeElement.k1 */
+ abstract SVGAnimatedNumber get k1;
+
+ /** @domName SVGFECompositeElement.k2 */
+ abstract SVGAnimatedNumber get k2;
+
+ /** @domName SVGFECompositeElement.k3 */
+ abstract SVGAnimatedNumber get k3;
+
+ /** @domName SVGFECompositeElement.k4 */
+ abstract SVGAnimatedNumber get k4;
+
+ /** @domName SVGFECompositeElement.operator */
+ abstract SVGAnimatedEnumeration get 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.
+
+class _SVGFECompositeElementImpl extends _SVGElementImpl implements SVGFECompositeElement {
+
+ SVGAnimatedString get in1 native "SVGFECompositeElement_in1_Getter";
+
+ SVGAnimatedString get in2 native "SVGFECompositeElement_in2_Getter";
+
+ SVGAnimatedNumber get k1 native "SVGFECompositeElement_k1_Getter";
+
+ SVGAnimatedNumber get k2 native "SVGFECompositeElement_k2_Getter";
+
+ SVGAnimatedNumber get k3 native "SVGFECompositeElement_k3_Getter";
+
+ SVGAnimatedNumber get k4 native "SVGFECompositeElement_k4_Getter";
+
+ SVGAnimatedEnumeration get operator native "SVGFECompositeElement_operator_Getter";
+
+ SVGAnimatedLength get height native "SVGFECompositeElement_height_Getter";
+
+ SVGAnimatedString get result native "SVGFECompositeElement_result_Getter";
+
+ SVGAnimatedLength get width native "SVGFECompositeElement_width_Getter";
+
+ SVGAnimatedLength get x native "SVGFECompositeElement_x_Getter";
+
+ SVGAnimatedLength get y native "SVGFECompositeElement_y_Getter";
+
+ SVGAnimatedString get $dom_svgClassName native "SVGFECompositeElement_className_Getter";
+
+ CSSStyleDeclaration get style native "SVGFECompositeElement_style_Getter";
+
+ CSSValue getPresentationAttribute(String name) native "SVGFECompositeElement_getPresentationAttribute_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.
+
+/// @domName SVGFEConvolveMatrixElement
+abstract class SVGFEConvolveMatrixElement implements 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;
+
+ /** @domName SVGFEConvolveMatrixElement.bias */
+ abstract SVGAnimatedNumber get bias;
+
+ /** @domName SVGFEConvolveMatrixElement.divisor */
+ abstract SVGAnimatedNumber get divisor;
+
+ /** @domName SVGFEConvolveMatrixElement.edgeMode */
+ abstract SVGAnimatedEnumeration get edgeMode;
+
+ /** @domName SVGFEConvolveMatrixElement.in1 */
+ abstract SVGAnimatedString get in1;
+
+ /** @domName SVGFEConvolveMatrixElement.kernelMatrix */
+ abstract SVGAnimatedNumberList get kernelMatrix;
+
+ /** @domName SVGFEConvolveMatrixElement.kernelUnitLengthX */
+ abstract SVGAnimatedNumber get kernelUnitLengthX;
+
+ /** @domName SVGFEConvolveMatrixElement.kernelUnitLengthY */
+ abstract SVGAnimatedNumber get kernelUnitLengthY;
+
+ /** @domName SVGFEConvolveMatrixElement.orderX */
+ abstract SVGAnimatedInteger get orderX;
+
+ /** @domName SVGFEConvolveMatrixElement.orderY */
+ abstract SVGAnimatedInteger get orderY;
+
+ /** @domName SVGFEConvolveMatrixElement.preserveAlpha */
+ abstract SVGAnimatedBoolean get preserveAlpha;
+
+ /** @domName SVGFEConvolveMatrixElement.targetX */
+ abstract SVGAnimatedInteger get targetX;
+
+ /** @domName SVGFEConvolveMatrixElement.targetY */
+ abstract SVGAnimatedInteger get 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.
+
+class _SVGFEConvolveMatrixElementImpl extends _SVGElementImpl implements SVGFEConvolveMatrixElement {
+
+ SVGAnimatedNumber get bias native "SVGFEConvolveMatrixElement_bias_Getter";
+
+ SVGAnimatedNumber get divisor native "SVGFEConvolveMatrixElement_divisor_Getter";
+
+ SVGAnimatedEnumeration get edgeMode native "SVGFEConvolveMatrixElement_edgeMode_Getter";
+
+ SVGAnimatedString get in1 native "SVGFEConvolveMatrixElement_in1_Getter";
+
+ SVGAnimatedNumberList get kernelMatrix native "SVGFEConvolveMatrixElement_kernelMatrix_Getter";
+
+ SVGAnimatedNumber get kernelUnitLengthX native "SVGFEConvolveMatrixElement_kernelUnitLengthX_Getter";
+
+ SVGAnimatedNumber get kernelUnitLengthY native "SVGFEConvolveMatrixElement_kernelUnitLengthY_Getter";
+
+ SVGAnimatedInteger get orderX native "SVGFEConvolveMatrixElement_orderX_Getter";
+
+ SVGAnimatedInteger get orderY native "SVGFEConvolveMatrixElement_orderY_Getter";
+
+ SVGAnimatedBoolean get preserveAlpha native "SVGFEConvolveMatrixElement_preserveAlpha_Getter";
+
+ SVGAnimatedInteger get targetX native "SVGFEConvolveMatrixElement_targetX_Getter";
+
+ SVGAnimatedInteger get targetY native "SVGFEConvolveMatrixElement_targetY_Getter";
+
+ SVGAnimatedLength get height native "SVGFEConvolveMatrixElement_height_Getter";
+
+ SVGAnimatedString get result native "SVGFEConvolveMatrixElement_result_Getter";
+
+ SVGAnimatedLength get width native "SVGFEConvolveMatrixElement_width_Getter";
+
+ SVGAnimatedLength get x native "SVGFEConvolveMatrixElement_x_Getter";
+
+ SVGAnimatedLength get y native "SVGFEConvolveMatrixElement_y_Getter";
+
+ SVGAnimatedString get $dom_svgClassName native "SVGFEConvolveMatrixElement_className_Getter";
+
+ CSSStyleDeclaration get style native "SVGFEConvolveMatrixElement_style_Getter";
+
+ CSSValue getPresentationAttribute(String name) native "SVGFEConvolveMatrixElement_getPresentationAttribute_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.
+
+/// @domName SVGFEDiffuseLightingElement
+abstract class SVGFEDiffuseLightingElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
+
+ /** @domName SVGFEDiffuseLightingElement.diffuseConstant */
+ abstract SVGAnimatedNumber get diffuseConstant;
+
+ /** @domName SVGFEDiffuseLightingElement.in1 */
+ abstract SVGAnimatedString get in1;
+
+ /** @domName SVGFEDiffuseLightingElement.kernelUnitLengthX */
+ abstract SVGAnimatedNumber get kernelUnitLengthX;
+
+ /** @domName SVGFEDiffuseLightingElement.kernelUnitLengthY */
+ abstract SVGAnimatedNumber get kernelUnitLengthY;
+
+ /** @domName SVGFEDiffuseLightingElement.surfaceScale */
+ abstract SVGAnimatedNumber get 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.
+
+class _SVGFEDiffuseLightingElementImpl extends _SVGElementImpl implements SVGFEDiffuseLightingElement {
+
+ SVGAnimatedNumber get diffuseConstant native "SVGFEDiffuseLightingElement_diffuseConstant_Getter";
+
+ SVGAnimatedString get in1 native "SVGFEDiffuseLightingElement_in1_Getter";
+
+ SVGAnimatedNumber get kernelUnitLengthX native "SVGFEDiffuseLightingElement_kernelUnitLengthX_Getter";
+
+ SVGAnimatedNumber get kernelUnitLengthY native "SVGFEDiffuseLightingElement_kernelUnitLengthY_Getter";
+
+ SVGAnimatedNumber get surfaceScale native "SVGFEDiffuseLightingElement_surfaceScale_Getter";
+
+ SVGAnimatedLength get height native "SVGFEDiffuseLightingElement_height_Getter";
+
+ SVGAnimatedString get result native "SVGFEDiffuseLightingElement_result_Getter";
+
+ SVGAnimatedLength get width native "SVGFEDiffuseLightingElement_width_Getter";
+
+ SVGAnimatedLength get x native "SVGFEDiffuseLightingElement_x_Getter";
+
+ SVGAnimatedLength get y native "SVGFEDiffuseLightingElement_y_Getter";
+
+ SVGAnimatedString get $dom_svgClassName native "SVGFEDiffuseLightingElement_className_Getter";
+
+ CSSStyleDeclaration get style native "SVGFEDiffuseLightingElement_style_Getter";
+
+ CSSValue getPresentationAttribute(String name) native "SVGFEDiffuseLightingElement_getPresentationAttribute_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.
+
+/// @domName SVGFEDisplacementMapElement
+abstract class SVGFEDisplacementMapElement implements 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;
+
+ /** @domName SVGFEDisplacementMapElement.in1 */
+ abstract SVGAnimatedString get in1;
+
+ /** @domName SVGFEDisplacementMapElement.in2 */
+ abstract SVGAnimatedString get in2;
+
+ /** @domName SVGFEDisplacementMapElement.scale */
+ abstract SVGAnimatedNumber get scale;
+
+ /** @domName SVGFEDisplacementMapElement.xChannelSelector */
+ abstract SVGAnimatedEnumeration get xChannelSelector;
+
+ /** @domName SVGFEDisplacementMapElement.yChannelSelector */
+ abstract SVGAnimatedEnumeration get 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.
+
+class _SVGFEDisplacementMapElementImpl extends _SVGElementImpl implements SVGFEDisplacementMapElement {
+
+ SVGAnimatedString get in1 native "SVGFEDisplacementMapElement_in1_Getter";
+
+ SVGAnimatedString get in2 native "SVGFEDisplacementMapElement_in2_Getter";
+
+ SVGAnimatedNumber get scale native "SVGFEDisplacementMapElement_scale_Getter";
+
+ SVGAnimatedEnumeration get xChannelSelector native "SVGFEDisplacementMapElement_xChannelSelector_Getter";
+
+ SVGAnimatedEnumeration get yChannelSelector native "SVGFEDisplacementMapElement_yChannelSelector_Getter";
+
+ SVGAnimatedLength get height native "SVGFEDisplacementMapElement_height_Getter";
+
+ SVGAnimatedString get result native "SVGFEDisplacementMapElement_result_Getter";
+
+ SVGAnimatedLength get width native "SVGFEDisplacementMapElement_width_Getter";
+
+ SVGAnimatedLength get x native "SVGFEDisplacementMapElement_x_Getter";
+
+ SVGAnimatedLength get y native "SVGFEDisplacementMapElement_y_Getter";
+
+ SVGAnimatedString get $dom_svgClassName native "SVGFEDisplacementMapElement_className_Getter";
+
+ CSSStyleDeclaration get style native "SVGFEDisplacementMapElement_style_Getter";
+
+ CSSValue getPresentationAttribute(String name) native "SVGFEDisplacementMapElement_getPresentationAttribute_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.
+
+/// @domName SVGFEDistantLightElement
+abstract class SVGFEDistantLightElement implements SVGElement {
+
+ /** @domName SVGFEDistantLightElement.azimuth */
+ abstract SVGAnimatedNumber get azimuth;
+
+ /** @domName SVGFEDistantLightElement.elevation */
+ abstract SVGAnimatedNumber get 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.
+
+class _SVGFEDistantLightElementImpl extends _SVGElementImpl implements SVGFEDistantLightElement {
+
+ SVGAnimatedNumber get azimuth native "SVGFEDistantLightElement_azimuth_Getter";
+
+ SVGAnimatedNumber get elevation native "SVGFEDistantLightElement_elevation_Getter";
+
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING: Do not edit - generated code.
+
+/// @domName SVGFEDropShadowElement
+abstract class SVGFEDropShadowElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
+
+ /** @domName SVGFEDropShadowElement.dx */
+ abstract SVGAnimatedNumber get dx;
+
+ /** @domName SVGFEDropShadowElement.dy */
+ abstract SVGAnimatedNumber get dy;
/** @domName SVGFEDropShadowElement.in1 */
abstract SVGAnimatedString get in1;
@@ -36185,7 +37035,7 @@ abstract class TextEvent implements UIEvent {
abstract String get data;
/** @domName TextEvent.initTextEvent */
- void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Window viewArg, String dataArg);
+ void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, LocalWindow 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
@@ -36197,7 +37047,7 @@ class _TextEventImpl extends _UIEventImpl implements TextEvent {
String get data native "TextEvent_data_Getter";
- void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Window viewArg, String dataArg) native "TextEvent_initTextEvent_Callback";
+ void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, LocalWindow viewArg, String dataArg) native "TextEvent_initTextEvent_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -36870,7 +37720,7 @@ abstract class TouchEvent implements UIEvent {
abstract TouchList get touches;
/** @domName TouchEvent.initTouchEvent */
- void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList changedTouches, String type, Window view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey);
+ void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList changedTouches, String type, LocalWindow 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
@@ -36894,7 +37744,7 @@ class _TouchEventImpl extends _UIEventImpl implements TouchEvent {
TouchList get touches native "TouchEvent_touches_Getter";
- void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList changedTouches, String type, Window view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native "TouchEvent_initTouchEvent_Callback";
+ void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList changedTouches, String type, LocalWindow view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native "TouchEvent_initTouchEvent_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -37280,7 +38130,7 @@ abstract class UIEvent implements Event {
abstract int get which;
/** @domName UIEvent.initUIEvent */
- void initUIEvent(String type, bool canBubble, bool cancelable, Window view, int detail);
+ void initUIEvent(String type, bool canBubble, bool cancelable, LocalWindow 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
@@ -37308,7 +38158,7 @@ class _UIEventImpl extends _EventImpl implements UIEvent {
int get which native "UIEvent_which_Getter";
- void initUIEvent(String type, bool canBubble, bool cancelable, Window view, int detail) native "UIEvent_initUIEvent_Callback";
+ void initUIEvent(String type, bool canBubble, bool cancelable, LocalWindow view, int detail) native "UIEvent_initUIEvent_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -39198,1778 +40048,924 @@ abstract class WebGLRenderingContext implements CanvasRenderingContext {
void pixelStorei(int pname, int param);
/** @domName WebGLRenderingContext.polygonOffset */
- void polygonOffset(num factor, num units);
-
- /** @domName WebGLRenderingContext.readPixels */
- void readPixels(int x, int y, int width, int height, int format, int type, ArrayBufferView pixels);
-
- /** @domName WebGLRenderingContext.releaseShaderCompiler */
- void releaseShaderCompiler();
-
- /** @domName WebGLRenderingContext.renderbufferStorage */
- void renderbufferStorage(int target, int internalformat, int width, int height);
-
- /** @domName WebGLRenderingContext.sampleCoverage */
- void sampleCoverage(num value, bool invert);
-
- /** @domName WebGLRenderingContext.scissor */
- void scissor(int x, int y, int width, int height);
-
- /** @domName WebGLRenderingContext.shaderSource */
- void shaderSource(WebGLShader shader, String string);
-
- /** @domName WebGLRenderingContext.stencilFunc */
- void stencilFunc(int func, int ref, int mask);
-
- /** @domName WebGLRenderingContext.stencilFuncSeparate */
- void stencilFuncSeparate(int face, int func, int ref, int mask);
-
- /** @domName WebGLRenderingContext.stencilMask */
- void stencilMask(int mask);
-
- /** @domName WebGLRenderingContext.stencilMaskSeparate */
- void stencilMaskSeparate(int face, int mask);
-
- /** @domName WebGLRenderingContext.stencilOp */
- void stencilOp(int fail, int zfail, int zpass);
-
- /** @domName WebGLRenderingContext.stencilOpSeparate */
- void stencilOpSeparate(int face, int fail, int zfail, int zpass);
-
- /** @domName WebGLRenderingContext.texImage2D */
- 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]);
-
- /** @domName WebGLRenderingContext.texParameterf */
- void texParameterf(int target, int pname, num param);
-
- /** @domName WebGLRenderingContext.texParameteri */
- void texParameteri(int target, int pname, int param);
-
- /** @domName WebGLRenderingContext.texSubImage2D */
- 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]);
-
- /** @domName WebGLRenderingContext.uniform1f */
- void uniform1f(WebGLUniformLocation location, num x);
-
- /** @domName WebGLRenderingContext.uniform1fv */
- void uniform1fv(WebGLUniformLocation location, Float32Array v);
-
- /** @domName WebGLRenderingContext.uniform1i */
- void uniform1i(WebGLUniformLocation location, int x);
-
- /** @domName WebGLRenderingContext.uniform1iv */
- void uniform1iv(WebGLUniformLocation location, Int32Array v);
-
- /** @domName WebGLRenderingContext.uniform2f */
- void uniform2f(WebGLUniformLocation location, num x, num y);
-
- /** @domName WebGLRenderingContext.uniform2fv */
- void uniform2fv(WebGLUniformLocation location, Float32Array v);
-
- /** @domName WebGLRenderingContext.uniform2i */
- void uniform2i(WebGLUniformLocation location, int x, int y);
-
- /** @domName WebGLRenderingContext.uniform2iv */
- void uniform2iv(WebGLUniformLocation location, Int32Array v);
-
- /** @domName WebGLRenderingContext.uniform3f */
- void uniform3f(WebGLUniformLocation location, num x, num y, num z);
-
- /** @domName WebGLRenderingContext.uniform3fv */
- void uniform3fv(WebGLUniformLocation location, Float32Array v);
-
- /** @domName WebGLRenderingContext.uniform3i */
- void uniform3i(WebGLUniformLocation location, int x, int y, int z);
-
- /** @domName WebGLRenderingContext.uniform3iv */
- void uniform3iv(WebGLUniformLocation location, Int32Array v);
-
- /** @domName WebGLRenderingContext.uniform4f */
- void uniform4f(WebGLUniformLocation location, num x, num y, num z, num w);
-
- /** @domName WebGLRenderingContext.uniform4fv */
- void uniform4fv(WebGLUniformLocation location, Float32Array v);
-
- /** @domName WebGLRenderingContext.uniform4i */
- void uniform4i(WebGLUniformLocation location, int x, int y, int z, int w);
-
- /** @domName WebGLRenderingContext.uniform4iv */
- void uniform4iv(WebGLUniformLocation location, Int32Array v);
-
- /** @domName WebGLRenderingContext.uniformMatrix2fv */
- void uniformMatrix2fv(WebGLUniformLocation location, bool transpose, Float32Array array);
-
- /** @domName WebGLRenderingContext.uniformMatrix3fv */
- void uniformMatrix3fv(WebGLUniformLocation location, bool transpose, Float32Array array);
-
- /** @domName WebGLRenderingContext.uniformMatrix4fv */
- void uniformMatrix4fv(WebGLUniformLocation location, bool transpose, Float32Array array);
-
- /** @domName WebGLRenderingContext.useProgram */
- void useProgram(WebGLProgram program);
-
- /** @domName WebGLRenderingContext.validateProgram */
- void validateProgram(WebGLProgram program);
-
- /** @domName WebGLRenderingContext.vertexAttrib1f */
- void vertexAttrib1f(int indx, num x);
-
- /** @domName WebGLRenderingContext.vertexAttrib1fv */
- void vertexAttrib1fv(int indx, Float32Array values);
-
- /** @domName WebGLRenderingContext.vertexAttrib2f */
- void vertexAttrib2f(int indx, num x, num y);
-
- /** @domName WebGLRenderingContext.vertexAttrib2fv */
- void vertexAttrib2fv(int indx, Float32Array values);
-
- /** @domName WebGLRenderingContext.vertexAttrib3f */
- void vertexAttrib3f(int indx, num x, num y, num z);
-
- /** @domName WebGLRenderingContext.vertexAttrib3fv */
- void vertexAttrib3fv(int indx, Float32Array values);
-
- /** @domName WebGLRenderingContext.vertexAttrib4f */
- void vertexAttrib4f(int indx, num x, num y, num z, num w);
-
- /** @domName WebGLRenderingContext.vertexAttrib4fv */
- void vertexAttrib4fv(int indx, Float32Array values);
-
- /** @domName WebGLRenderingContext.vertexAttribPointer */
- void vertexAttribPointer(int indx, int size, int type, bool normalized, int stride, int offset);
-
- /** @domName WebGLRenderingContext.viewport */
- 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.
-
-class _WebGLRenderingContextImpl extends _CanvasRenderingContextImpl implements WebGLRenderingContext {
-
- int get drawingBufferHeight native "WebGLRenderingContext_drawingBufferHeight_Getter";
-
- int get drawingBufferWidth native "WebGLRenderingContext_drawingBufferWidth_Getter";
-
- void activeTexture(int texture) native "WebGLRenderingContext_activeTexture_Callback";
-
- void attachShader(WebGLProgram program, WebGLShader shader) native "WebGLRenderingContext_attachShader_Callback";
-
- void bindAttribLocation(WebGLProgram program, int index, String name) native "WebGLRenderingContext_bindAttribLocation_Callback";
-
- void bindBuffer(int target, WebGLBuffer buffer) native "WebGLRenderingContext_bindBuffer_Callback";
-
- void bindFramebuffer(int target, WebGLFramebuffer framebuffer) native "WebGLRenderingContext_bindFramebuffer_Callback";
-
- void bindRenderbuffer(int target, WebGLRenderbuffer renderbuffer) native "WebGLRenderingContext_bindRenderbuffer_Callback";
-
- void bindTexture(int target, WebGLTexture texture) native "WebGLRenderingContext_bindTexture_Callback";
-
- void blendColor(num red, num green, num blue, num alpha) native "WebGLRenderingContext_blendColor_Callback";
-
- void blendEquation(int mode) native "WebGLRenderingContext_blendEquation_Callback";
-
- void blendEquationSeparate(int modeRGB, int modeAlpha) native "WebGLRenderingContext_blendEquationSeparate_Callback";
-
- void blendFunc(int sfactor, int dfactor) native "WebGLRenderingContext_blendFunc_Callback";
-
- void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) native "WebGLRenderingContext_blendFuncSeparate_Callback";
-
- void bufferData(target, data_OR_size, usage) {
- if ((target is int || target === null) && (data_OR_size is ArrayBuffer || data_OR_size === null) && (usage is int || usage === null)) {
- _bufferData_1(target, data_OR_size, usage);
- return;
- }
- if ((target is int || target === null) && (data_OR_size is ArrayBufferView || data_OR_size === null) && (usage is int || usage === null)) {
- _bufferData_2(target, data_OR_size, usage);
- return;
- }
- if ((target is int || target === null) && (data_OR_size is int || data_OR_size === null) && (usage is int || usage === null)) {
- _bufferData_3(target, data_OR_size, usage);
- return;
- }
- throw "Incorrect number or type of arguments";
- }
-
- void _bufferData_1(target, data_OR_size, usage) native "WebGLRenderingContext_bufferData_1_Callback";
-
- void _bufferData_2(target, data_OR_size, usage) native "WebGLRenderingContext_bufferData_2_Callback";
-
- void _bufferData_3(target, data_OR_size, usage) native "WebGLRenderingContext_bufferData_3_Callback";
-
- void bufferSubData(target, offset, data) {
- if ((target is int || target === null) && (offset is int || offset === null) && (data is ArrayBuffer || data === null)) {
- _bufferSubData_1(target, offset, data);
- return;
- }
- if ((target is int || target === null) && (offset is int || offset === null) && (data is ArrayBufferView || data === null)) {
- _bufferSubData_2(target, offset, data);
- return;
- }
- throw "Incorrect number or type of arguments";
- }
-
- void _bufferSubData_1(target, offset, data) native "WebGLRenderingContext_bufferSubData_1_Callback";
-
- void _bufferSubData_2(target, offset, data) native "WebGLRenderingContext_bufferSubData_2_Callback";
-
- int checkFramebufferStatus(int target) native "WebGLRenderingContext_checkFramebufferStatus_Callback";
-
- void clear(int mask) native "WebGLRenderingContext_clear_Callback";
-
- void clearColor(num red, num green, num blue, num alpha) native "WebGLRenderingContext_clearColor_Callback";
-
- void clearDepth(num depth) native "WebGLRenderingContext_clearDepth_Callback";
-
- void clearStencil(int s) native "WebGLRenderingContext_clearStencil_Callback";
-
- void colorMask(bool red, bool green, bool blue, bool alpha) native "WebGLRenderingContext_colorMask_Callback";
-
- void compileShader(WebGLShader shader) native "WebGLRenderingContext_compileShader_Callback";
-
- void compressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, ArrayBufferView data) native "WebGLRenderingContext_compressedTexImage2D_Callback";
-
- void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, ArrayBufferView data) native "WebGLRenderingContext_compressedTexSubImage2D_Callback";
-
- void copyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border) native "WebGLRenderingContext_copyTexImage2D_Callback";
-
- void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) native "WebGLRenderingContext_copyTexSubImage2D_Callback";
-
- WebGLBuffer createBuffer() native "WebGLRenderingContext_createBuffer_Callback";
-
- WebGLFramebuffer createFramebuffer() native "WebGLRenderingContext_createFramebuffer_Callback";
-
- WebGLProgram createProgram() native "WebGLRenderingContext_createProgram_Callback";
-
- WebGLRenderbuffer createRenderbuffer() native "WebGLRenderingContext_createRenderbuffer_Callback";
-
- WebGLShader createShader(int type) native "WebGLRenderingContext_createShader_Callback";
-
- WebGLTexture createTexture() native "WebGLRenderingContext_createTexture_Callback";
-
- void cullFace(int mode) native "WebGLRenderingContext_cullFace_Callback";
-
- void deleteBuffer(WebGLBuffer buffer) native "WebGLRenderingContext_deleteBuffer_Callback";
-
- void deleteFramebuffer(WebGLFramebuffer framebuffer) native "WebGLRenderingContext_deleteFramebuffer_Callback";
-
- void deleteProgram(WebGLProgram program) native "WebGLRenderingContext_deleteProgram_Callback";
-
- void deleteRenderbuffer(WebGLRenderbuffer renderbuffer) native "WebGLRenderingContext_deleteRenderbuffer_Callback";
-
- void deleteShader(WebGLShader shader) native "WebGLRenderingContext_deleteShader_Callback";
-
- void deleteTexture(WebGLTexture texture) native "WebGLRenderingContext_deleteTexture_Callback";
-
- void depthFunc(int func) native "WebGLRenderingContext_depthFunc_Callback";
-
- void depthMask(bool flag) native "WebGLRenderingContext_depthMask_Callback";
-
- void depthRange(num zNear, num zFar) native "WebGLRenderingContext_depthRange_Callback";
-
- void detachShader(WebGLProgram program, WebGLShader shader) native "WebGLRenderingContext_detachShader_Callback";
-
- void disable(int cap) native "WebGLRenderingContext_disable_Callback";
-
- void disableVertexAttribArray(int index) native "WebGLRenderingContext_disableVertexAttribArray_Callback";
-
- void drawArrays(int mode, int first, int count) native "WebGLRenderingContext_drawArrays_Callback";
-
- void drawElements(int mode, int count, int type, int offset) native "WebGLRenderingContext_drawElements_Callback";
-
- void enable(int cap) native "WebGLRenderingContext_enable_Callback";
-
- void enableVertexAttribArray(int index) native "WebGLRenderingContext_enableVertexAttribArray_Callback";
-
- void finish() native "WebGLRenderingContext_finish_Callback";
-
- void flush() native "WebGLRenderingContext_flush_Callback";
-
- void framebufferRenderbuffer(int target, int attachment, int renderbuffertarget, WebGLRenderbuffer renderbuffer) native "WebGLRenderingContext_framebufferRenderbuffer_Callback";
-
- void framebufferTexture2D(int target, int attachment, int textarget, WebGLTexture texture, int level) native "WebGLRenderingContext_framebufferTexture2D_Callback";
-
- void frontFace(int mode) native "WebGLRenderingContext_frontFace_Callback";
-
- void generateMipmap(int target) native "WebGLRenderingContext_generateMipmap_Callback";
-
- WebGLActiveInfo getActiveAttrib(WebGLProgram program, int index) native "WebGLRenderingContext_getActiveAttrib_Callback";
-
- WebGLActiveInfo getActiveUniform(WebGLProgram program, int index) native "WebGLRenderingContext_getActiveUniform_Callback";
-
- List<Object> getAttachedShaders(WebGLProgram program) native "WebGLRenderingContext_getAttachedShaders_Callback";
-
- int getAttribLocation(WebGLProgram program, String name) native "WebGLRenderingContext_getAttribLocation_Callback";
-
- Object getBufferParameter(int target, int pname) native "WebGLRenderingContext_getBufferParameter_Callback";
-
- WebGLContextAttributes getContextAttributes() native "WebGLRenderingContext_getContextAttributes_Callback";
-
- int getError() native "WebGLRenderingContext_getError_Callback";
-
- Object getExtension(String name) native "WebGLRenderingContext_getExtension_Callback";
-
- Object getFramebufferAttachmentParameter(int target, int attachment, int pname) native "WebGLRenderingContext_getFramebufferAttachmentParameter_Callback";
-
- Object getParameter(int pname) native "WebGLRenderingContext_getParameter_Callback";
-
- String getProgramInfoLog(WebGLProgram program) native "WebGLRenderingContext_getProgramInfoLog_Callback";
-
- Object getProgramParameter(WebGLProgram program, int pname) native "WebGLRenderingContext_getProgramParameter_Callback";
-
- Object getRenderbufferParameter(int target, int pname) native "WebGLRenderingContext_getRenderbufferParameter_Callback";
-
- String getShaderInfoLog(WebGLShader shader) native "WebGLRenderingContext_getShaderInfoLog_Callback";
-
- Object getShaderParameter(WebGLShader shader, int pname) native "WebGLRenderingContext_getShaderParameter_Callback";
-
- WebGLShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisiontype) native "WebGLRenderingContext_getShaderPrecisionFormat_Callback";
-
- String getShaderSource(WebGLShader shader) native "WebGLRenderingContext_getShaderSource_Callback";
-
- List<String> getSupportedExtensions() native "WebGLRenderingContext_getSupportedExtensions_Callback";
-
- Object getTexParameter(int target, int pname) native "WebGLRenderingContext_getTexParameter_Callback";
-
- Object getUniform(WebGLProgram program, WebGLUniformLocation location) native "WebGLRenderingContext_getUniform_Callback";
-
- WebGLUniformLocation getUniformLocation(WebGLProgram program, String name) native "WebGLRenderingContext_getUniformLocation_Callback";
-
- Object getVertexAttrib(int index, int pname) native "WebGLRenderingContext_getVertexAttrib_Callback";
-
- int getVertexAttribOffset(int index, int pname) native "WebGLRenderingContext_getVertexAttribOffset_Callback";
-
- void hint(int target, int mode) native "WebGLRenderingContext_hint_Callback";
-
- bool isBuffer(WebGLBuffer buffer) native "WebGLRenderingContext_isBuffer_Callback";
-
- bool isContextLost() native "WebGLRenderingContext_isContextLost_Callback";
-
- bool isEnabled(int cap) native "WebGLRenderingContext_isEnabled_Callback";
-
- bool isFramebuffer(WebGLFramebuffer framebuffer) native "WebGLRenderingContext_isFramebuffer_Callback";
-
- bool isProgram(WebGLProgram program) native "WebGLRenderingContext_isProgram_Callback";
-
- bool isRenderbuffer(WebGLRenderbuffer renderbuffer) native "WebGLRenderingContext_isRenderbuffer_Callback";
-
- bool isShader(WebGLShader shader) native "WebGLRenderingContext_isShader_Callback";
-
- bool isTexture(WebGLTexture texture) native "WebGLRenderingContext_isTexture_Callback";
-
- void lineWidth(num width) native "WebGLRenderingContext_lineWidth_Callback";
-
- void linkProgram(WebGLProgram program) native "WebGLRenderingContext_linkProgram_Callback";
-
- void pixelStorei(int pname, int param) native "WebGLRenderingContext_pixelStorei_Callback";
-
- void polygonOffset(num factor, num units) native "WebGLRenderingContext_polygonOffset_Callback";
-
- void readPixels(int x, int y, int width, int height, int format, int type, ArrayBufferView pixels) native "WebGLRenderingContext_readPixels_Callback";
-
- void releaseShaderCompiler() native "WebGLRenderingContext_releaseShaderCompiler_Callback";
-
- void renderbufferStorage(int target, int internalformat, int width, int height) native "WebGLRenderingContext_renderbufferStorage_Callback";
-
- void sampleCoverage(num value, bool invert) native "WebGLRenderingContext_sampleCoverage_Callback";
-
- void scissor(int x, int y, int width, int height) native "WebGLRenderingContext_scissor_Callback";
-
- void shaderSource(WebGLShader shader, String string) native "WebGLRenderingContext_shaderSource_Callback";
-
- void stencilFunc(int func, int ref, int mask) native "WebGLRenderingContext_stencilFunc_Callback";
-
- void stencilFuncSeparate(int face, int func, int ref, int mask) native "WebGLRenderingContext_stencilFuncSeparate_Callback";
-
- void stencilMask(int mask) native "WebGLRenderingContext_stencilMask_Callback";
-
- void stencilMaskSeparate(int face, int mask) native "WebGLRenderingContext_stencilMaskSeparate_Callback";
-
- void stencilOp(int fail, int zfail, int zpass) native "WebGLRenderingContext_stencilOp_Callback";
-
- void stencilOpSeparate(int face, int fail, int zfail, int zpass) native "WebGLRenderingContext_stencilOpSeparate_Callback";
-
- void texImage2D(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [format, type, pixels]) {
- if ((target is int || target === null) && (level is int || level === null) && (internalformat is int || internalformat === null) && (format_OR_width is int || format_OR_width === null) && (height_OR_type is int || height_OR_type === null) && (border_OR_canvas_OR_image_OR_pixels_OR_video is int || border_OR_canvas_OR_image_OR_pixels_OR_video === null) && (format is int || format === null) && (type is int || type === null) && (pixels is ArrayBufferView || pixels === null)) {
- _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels);
- return;
- }
- if ((target is int || target === null) && (level is int || level === null) && (internalformat is int || internalformat === null) && (format_OR_width is int || format_OR_width === null) && (height_OR_type is int || height_OR_type === null) && (border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_canvas_OR_image_OR_pixels_OR_video === null) && !?format && !?type && !?pixels) {
- _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
- return;
- }
- if ((target is int || target === null) && (level is int || level === null) && (internalformat is int || internalformat === null) && (format_OR_width is int || format_OR_width === null) && (height_OR_type is int || height_OR_type === null) && (border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement || border_OR_canvas_OR_image_OR_pixels_OR_video === null) && !?format && !?type && !?pixels) {
- _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
- return;
- }
- if ((target is int || target === null) && (level is int || level === null) && (internalformat is int || internalformat === null) && (format_OR_width is int || format_OR_width === null) && (height_OR_type is int || height_OR_type === null) && (border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement || border_OR_canvas_OR_image_OR_pixels_OR_video === null) && !?format && !?type && !?pixels) {
- _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
- return;
- }
- if ((target is int || target === null) && (level is int || level === null) && (internalformat is int || internalformat === null) && (format_OR_width is int || format_OR_width === null) && (height_OR_type is int || height_OR_type === null) && (border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement || border_OR_canvas_OR_image_OR_pixels_OR_video === null) && !?format && !?type && !?pixels) {
- _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
- return;
- }
- throw "Incorrect number or type of arguments";
- }
-
- void _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels) native "WebGLRenderingContext_texImage2D_1_Callback";
-
- void _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext_texImage2D_2_Callback";
-
- void _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext_texImage2D_3_Callback";
-
- void _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext_texImage2D_4_Callback";
-
- void _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext_texImage2D_5_Callback";
-
- void texParameterf(int target, int pname, num param) native "WebGLRenderingContext_texParameterf_Callback";
-
- void texParameteri(int target, int pname, int param) native "WebGLRenderingContext_texParameteri_Callback";
-
- void texSubImage2D(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [type, pixels]) {
- if ((target is int || target === null) && (level is int || level === null) && (xoffset is int || xoffset === null) && (yoffset is int || yoffset === null) && (format_OR_width is int || format_OR_width === null) && (height_OR_type is int || height_OR_type === null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is int || canvas_OR_format_OR_image_OR_pixels_OR_video === null) && (type is int || type === null) && (pixels is ArrayBufferView || pixels === null)) {
- _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels);
- return;
- }
- if ((target is int || target === null) && (level is int || level === null) && (xoffset is int || xoffset === null) && (yoffset is int || yoffset === null) && (format_OR_width is int || format_OR_width === null) && (height_OR_type is int || height_OR_type === null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_format_OR_image_OR_pixels_OR_video === null) && !?type && !?pixels) {
- _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
- return;
- }
- if ((target is int || target === null) && (level is int || level === null) && (xoffset is int || xoffset === null) && (yoffset is int || yoffset === null) && (format_OR_width is int || format_OR_width === null) && (height_OR_type is int || height_OR_type === null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement || canvas_OR_format_OR_image_OR_pixels_OR_video === null) && !?type && !?pixels) {
- _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
- return;
- }
- if ((target is int || target === null) && (level is int || level === null) && (xoffset is int || xoffset === null) && (yoffset is int || yoffset === null) && (format_OR_width is int || format_OR_width === null) && (height_OR_type is int || height_OR_type === null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement || canvas_OR_format_OR_image_OR_pixels_OR_video === null) && !?type && !?pixels) {
- _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
- return;
- }
- if ((target is int || target === null) && (level is int || level === null) && (xoffset is int || xoffset === null) && (yoffset is int || yoffset === null) && (format_OR_width is int || format_OR_width === null) && (height_OR_type is int || height_OR_type === null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement || canvas_OR_format_OR_image_OR_pixels_OR_video === null) && !?type && !?pixels) {
- _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
- return;
- }
- throw "Incorrect number or type of arguments";
- }
-
- void _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels) native "WebGLRenderingContext_texSubImage2D_1_Callback";
-
- void _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext_texSubImage2D_2_Callback";
-
- void _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext_texSubImage2D_3_Callback";
-
- void _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext_texSubImage2D_4_Callback";
-
- void _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext_texSubImage2D_5_Callback";
-
- void uniform1f(WebGLUniformLocation location, num x) native "WebGLRenderingContext_uniform1f_Callback";
-
- void uniform1fv(WebGLUniformLocation location, Float32Array v) native "WebGLRenderingContext_uniform1fv_Callback";
-
- void uniform1i(WebGLUniformLocation location, int x) native "WebGLRenderingContext_uniform1i_Callback";
-
- void uniform1iv(WebGLUniformLocation location, Int32Array v) native "WebGLRenderingContext_uniform1iv_Callback";
-
- void uniform2f(WebGLUniformLocation location, num x, num y) native "WebGLRenderingContext_uniform2f_Callback";
-
- void uniform2fv(WebGLUniformLocation location, Float32Array v) native "WebGLRenderingContext_uniform2fv_Callback";
-
- void uniform2i(WebGLUniformLocation location, int x, int y) native "WebGLRenderingContext_uniform2i_Callback";
-
- void uniform2iv(WebGLUniformLocation location, Int32Array v) native "WebGLRenderingContext_uniform2iv_Callback";
-
- void uniform3f(WebGLUniformLocation location, num x, num y, num z) native "WebGLRenderingContext_uniform3f_Callback";
-
- void uniform3fv(WebGLUniformLocation location, Float32Array v) native "WebGLRenderingContext_uniform3fv_Callback";
-
- void uniform3i(WebGLUniformLocation location, int x, int y, int z) native "WebGLRenderingContext_uniform3i_Callback";
-
- void uniform3iv(WebGLUniformLocation location, Int32Array v) native "WebGLRenderingContext_uniform3iv_Callback";
-
- void uniform4f(WebGLUniformLocation location, num x, num y, num z, num w) native "WebGLRenderingContext_uniform4f_Callback";
-
- void uniform4fv(WebGLUniformLocation location, Float32Array v) native "WebGLRenderingContext_uniform4fv_Callback";
-
- void uniform4i(WebGLUniformLocation location, int x, int y, int z, int w) native "WebGLRenderingContext_uniform4i_Callback";
-
- void uniform4iv(WebGLUniformLocation location, Int32Array v) native "WebGLRenderingContext_uniform4iv_Callback";
-
- void uniformMatrix2fv(WebGLUniformLocation location, bool transpose, Float32Array array) native "WebGLRenderingContext_uniformMatrix2fv_Callback";
-
- void uniformMatrix3fv(WebGLUniformLocation location, bool transpose, Float32Array array) native "WebGLRenderingContext_uniformMatrix3fv_Callback";
-
- void uniformMatrix4fv(WebGLUniformLocation location, bool transpose, Float32Array array) native "WebGLRenderingContext_uniformMatrix4fv_Callback";
-
- void useProgram(WebGLProgram program) native "WebGLRenderingContext_useProgram_Callback";
-
- void validateProgram(WebGLProgram program) native "WebGLRenderingContext_validateProgram_Callback";
-
- void vertexAttrib1f(int indx, num x) native "WebGLRenderingContext_vertexAttrib1f_Callback";
-
- void vertexAttrib1fv(int indx, Float32Array values) native "WebGLRenderingContext_vertexAttrib1fv_Callback";
-
- void vertexAttrib2f(int indx, num x, num y) native "WebGLRenderingContext_vertexAttrib2f_Callback";
-
- void vertexAttrib2fv(int indx, Float32Array values) native "WebGLRenderingContext_vertexAttrib2fv_Callback";
-
- void vertexAttrib3f(int indx, num x, num y, num z) native "WebGLRenderingContext_vertexAttrib3f_Callback";
-
- void vertexAttrib3fv(int indx, Float32Array values) native "WebGLRenderingContext_vertexAttrib3fv_Callback";
-
- void vertexAttrib4f(int indx, num x, num y, num z, num w) native "WebGLRenderingContext_vertexAttrib4f_Callback";
-
- void vertexAttrib4fv(int indx, Float32Array values) native "WebGLRenderingContext_vertexAttrib4fv_Callback";
-
- void vertexAttribPointer(int indx, int size, int type, bool normalized, int stride, int offset) native "WebGLRenderingContext_vertexAttribPointer_Callback";
-
- void viewport(int x, int y, int width, int height) native "WebGLRenderingContext_viewport_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.
-
-/// @domName WebGLShader
-abstract class 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.
-
-class _WebGLShaderImpl extends NativeFieldWrapperClass1 implements 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.
-
-/// @domName WebGLShaderPrecisionFormat
-abstract class WebGLShaderPrecisionFormat {
-
- /** @domName WebGLShaderPrecisionFormat.precision */
- abstract int get precision;
-
- /** @domName WebGLShaderPrecisionFormat.rangeMax */
- abstract int get rangeMax;
-
- /** @domName WebGLShaderPrecisionFormat.rangeMin */
- abstract int get 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.
-
-class _WebGLShaderPrecisionFormatImpl extends NativeFieldWrapperClass1 implements WebGLShaderPrecisionFormat {
-
- int get precision native "WebGLShaderPrecisionFormat_precision_Getter";
-
- int get rangeMax native "WebGLShaderPrecisionFormat_rangeMax_Getter";
-
- int get rangeMin native "WebGLShaderPrecisionFormat_rangeMin_Getter";
-
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// WARNING: Do not edit - generated code.
-
-/// @domName WebGLTexture
-abstract class 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.
-
-class _WebGLTextureImpl extends NativeFieldWrapperClass1 implements 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.
-
-/// @domName WebGLUniformLocation
-abstract class 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.
-
-class _WebGLUniformLocationImpl extends NativeFieldWrapperClass1 implements 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.
-
-/// @domName WebGLVertexArrayObjectOES
-abstract class 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.
-
-class _WebGLVertexArrayObjectOESImpl extends NativeFieldWrapperClass1 implements 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.
-
-/// @domName WebKitCSSFilterValue
-abstract class WebKitCSSFilterValue implements List<CSSValue> {
-
- 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;
-
- /** @domName WebKitCSSFilterValue.operationType */
- abstract int get 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.
-
-class _WebKitCSSFilterValueImpl extends _CSSValueListImpl implements WebKitCSSFilterValue {
-
- int get operationType native "WebKitCSSFilterValue_operationType_Getter";
-
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// WARNING: Do not edit - generated code.
-
-/// @domName WebKitNamedFlow
-abstract class WebKitNamedFlow implements EventTarget {
-
- /** @domName WebKitNamedFlow.firstEmptyRegionIndex */
- abstract int get firstEmptyRegionIndex;
-
- /** @domName WebKitNamedFlow.name */
- abstract String get name;
-
- /** @domName WebKitNamedFlow.overset */
- abstract bool get overset;
-
- /** @domName WebKitNamedFlow.addEventListener */
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
-
- /** @domName WebKitNamedFlow.dispatchEvent */
- bool $dom_dispatchEvent(Event event);
-
- /** @domName WebKitNamedFlow.getContent */
- List<Node> getContent();
-
- /** @domName WebKitNamedFlow.getRegions */
- List<Node> getRegions();
-
- /** @domName WebKitNamedFlow.getRegionsByContent */
- List<Node> getRegionsByContent(Node contentNode);
-
- /** @domName WebKitNamedFlow.removeEventListener */
- void $dom_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.
-
-class _WebKitNamedFlowImpl extends _EventTargetImpl implements WebKitNamedFlow {
-
- int get firstEmptyRegionIndex native "WebKitNamedFlow_firstEmptyRegionIndex_Getter";
-
- String get name native "WebKitNamedFlow_name_Getter";
-
- bool get overset native "WebKitNamedFlow_overset_Getter";
-
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "WebKitNamedFlow_addEventListener_Callback";
-
- bool $dom_dispatchEvent(Event event) native "WebKitNamedFlow_dispatchEvent_Callback";
-
- List<Node> getContent() native "WebKitNamedFlow_getContent_Callback";
-
- List<Node> getRegions() native "WebKitNamedFlow_getRegions_Callback";
-
- List<Node> getRegionsByContent(Node contentNode) native "WebKitNamedFlow_getRegionsByContent_Callback";
-
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "WebKitNamedFlow_removeEventListener_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.
-
-/// @domName WebSocket
-abstract class WebSocket implements EventTarget {
-
- factory WebSocket(String url) => _WebSocketFactoryProvider.createWebSocket(url);
-
- /**
- * @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
- */
- WebSocketEvents get on;
-
- static const int CLOSED = 3;
-
- static const int CLOSING = 2;
-
- static const int CONNECTING = 0;
-
- static const int OPEN = 1;
-
- /** @domName WebSocket.URL */
- abstract String get URL;
-
- /** @domName WebSocket.binaryType */
- String binaryType;
-
- /** @domName WebSocket.bufferedAmount */
- abstract int get bufferedAmount;
-
- /** @domName WebSocket.extensions */
- abstract String get extensions;
-
- /** @domName WebSocket.protocol */
- abstract String get protocol;
-
- /** @domName WebSocket.readyState */
- abstract int get readyState;
-
- /** @domName WebSocket.url */
- abstract String get url;
-
- /** @domName WebSocket.addEventListener */
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
-
- /** @domName WebSocket.close */
- void close([int code, String reason]);
-
- /** @domName WebSocket.dispatchEvent */
- bool $dom_dispatchEvent(Event evt);
-
- /** @domName WebSocket.removeEventListener */
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
-
- /** @domName WebSocket.send */
- void send(data);
-}
-
-abstract class WebSocketEvents implements Events {
-
- EventListenerList get close;
-
- EventListenerList get error;
-
- EventListenerList get message;
-
- EventListenerList get 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.
-
-class _WebSocketImpl extends _EventTargetImpl implements WebSocket {
-
- _WebSocketEventsImpl get on =>
- new _WebSocketEventsImpl(this);
-
- String get URL native "WebSocket_URL_Getter";
-
- String get binaryType native "WebSocket_binaryType_Getter";
-
- void set binaryType(String value) native "WebSocket_binaryType_Setter";
-
- int get bufferedAmount native "WebSocket_bufferedAmount_Getter";
-
- String get extensions native "WebSocket_extensions_Getter";
-
- String get protocol native "WebSocket_protocol_Getter";
-
- int get readyState native "WebSocket_readyState_Getter";
-
- String get url native "WebSocket_url_Getter";
-
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "WebSocket_addEventListener_Callback";
-
- void close([code, reason]) {
- if (?reason) {
- _close_1(code, reason);
- return;
- }
- if (?code) {
- _close_2(code);
- return;
- }
- _close_3();
- }
-
- void _close_1(code, reason) native "WebSocket_close_1_Callback";
-
- void _close_2(code) native "WebSocket_close_2_Callback";
-
- void _close_3() native "WebSocket_close_3_Callback";
-
- bool $dom_dispatchEvent(Event evt) native "WebSocket_dispatchEvent_Callback";
-
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "WebSocket_removeEventListener_Callback";
-
- void send(data) native "WebSocket_send_Callback";
-
-}
-
-class _WebSocketEventsImpl extends _EventsImpl implements WebSocketEvents {
- _WebSocketEventsImpl(_ptr) : super(_ptr);
-
- EventListenerList get close => this['close'];
-
- EventListenerList get error => this['error'];
-
- EventListenerList get message => this['message'];
-
- EventListenerList get open => this['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.
-
-/// @domName WheelEvent
-abstract class WheelEvent implements MouseEvent {
-
- /** @domName WheelEvent.webkitDirectionInvertedFromDevice */
- abstract bool get webkitDirectionInvertedFromDevice;
-
- /** @domName WheelEvent.initWebKitWheelEvent */
- void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, Window view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey);
-
-
- /** @domName WheelEvent.deltaX */
- num get deltaX;
-
- /** @domName WheelEvent.deltaY */
- num get deltaY;
-
- /** @domName WheelEvent.deltaMode */
- int get deltaMode;
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for 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 _WheelEventImpl extends _MouseEventImpl implements WheelEvent {
-
- bool get webkitDirectionInvertedFromDevice native "WheelEvent_webkitDirectionInvertedFromDevice_Getter";
-
- void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, Window view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native "WheelEvent_initWebKitWheelEvent_Callback";
-
-
- num get deltaY native 'WheelEvent_wheelDelta_Getter';
- num get deltaX native 'WheelEvent_wheelDeltaX_Getter';
- int get deltaMode => 0;
-
-}
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// WARNING: Do not edit - generated code.
-
-/// @domName DOMWindow
-abstract class Window implements EventTarget {
-
- /**
- * Register a [port] on this window under the given [name]. This
- * port may be retrieved by any isolate (or JavaScript script)
- * running in this window.
- */
- void registerPort(String name, SendPortSync port);
-
- /**
- * Lookup a port by its [name]. Return null if no port is
- * registered under [name].
- */
- SendPortSync lookupPort(String name);
-
- /**
- * Executes a [callback] after the next batch of browser layout measurements
- * has completed or would have completed if any browser layout measurements
- * had been scheduled.
- */
- void requestLayoutFrame(TimeoutHandler callback);
-
- /**
- * Creates a new object URL for the specified object. The URL will be
- * available until revokeObjectUrl is called.
- * [object] can be a Blob, MediaStream or MediaSource.
- */
- String createObjectUrl(object);
-
- /** @domName DOMURL.revokeObjectURL */
- void revokeObjectUrl(String objectUrl);
-
-
- /**
- * @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
- */
- WindowEvents get on;
-
- static const int PERSISTENT = 1;
-
- static const int TEMPORARY = 0;
-
- /** @domName DOMWindow.applicationCache */
- abstract DOMApplicationCache get applicationCache;
-
- /** @domName DOMWindow.clientInformation */
- abstract Navigator get clientInformation;
-
- /** @domName DOMWindow.closed */
- abstract bool get closed;
-
- /** @domName DOMWindow.console */
- abstract Console get console;
-
- /** @domName DOMWindow.crypto */
- abstract Crypto get crypto;
-
- /** @domName DOMWindow.defaultStatus */
- String defaultStatus;
-
- /** @domName DOMWindow.defaultstatus */
- String defaultstatus;
-
- /** @domName DOMWindow.devicePixelRatio */
- abstract num get devicePixelRatio;
-
- /** @domName DOMWindow.document */
- abstract Document get document;
-
- /** @domName DOMWindow.event */
- abstract Event get event;
-
- /** @domName DOMWindow.frames */
- abstract Window get frames;
+ void polygonOffset(num factor, num units);
- /** @domName DOMWindow.history */
- abstract History get history;
+ /** @domName WebGLRenderingContext.readPixels */
+ void readPixels(int x, int y, int width, int height, int format, int type, ArrayBufferView pixels);
- /** @domName DOMWindow.indexedDB */
- abstract IDBFactory get indexedDB;
+ /** @domName WebGLRenderingContext.releaseShaderCompiler */
+ void releaseShaderCompiler();
- /** @domName DOMWindow.innerHeight */
- abstract int get innerHeight;
+ /** @domName WebGLRenderingContext.renderbufferStorage */
+ void renderbufferStorage(int target, int internalformat, int width, int height);
- /** @domName DOMWindow.innerWidth */
- abstract int get innerWidth;
+ /** @domName WebGLRenderingContext.sampleCoverage */
+ void sampleCoverage(num value, bool invert);
- /** @domName DOMWindow.length */
- abstract int get length;
+ /** @domName WebGLRenderingContext.scissor */
+ void scissor(int x, int y, int width, int height);
- /** @domName DOMWindow.localStorage */
- abstract Storage get localStorage;
+ /** @domName WebGLRenderingContext.shaderSource */
+ void shaderSource(WebGLShader shader, String string);
- /** @domName DOMWindow.location */
- Location location;
+ /** @domName WebGLRenderingContext.stencilFunc */
+ void stencilFunc(int func, int ref, int mask);
- /** @domName DOMWindow.locationbar */
- abstract BarInfo get locationbar;
+ /** @domName WebGLRenderingContext.stencilFuncSeparate */
+ void stencilFuncSeparate(int face, int func, int ref, int mask);
- /** @domName DOMWindow.menubar */
- abstract BarInfo get menubar;
+ /** @domName WebGLRenderingContext.stencilMask */
+ void stencilMask(int mask);
- /** @domName DOMWindow.name */
- String name;
+ /** @domName WebGLRenderingContext.stencilMaskSeparate */
+ void stencilMaskSeparate(int face, int mask);
- /** @domName DOMWindow.navigator */
- abstract Navigator get navigator;
+ /** @domName WebGLRenderingContext.stencilOp */
+ void stencilOp(int fail, int zfail, int zpass);
- /** @domName DOMWindow.offscreenBuffering */
- abstract bool get offscreenBuffering;
+ /** @domName WebGLRenderingContext.stencilOpSeparate */
+ void stencilOpSeparate(int face, int fail, int zfail, int zpass);
- /** @domName DOMWindow.opener */
- abstract Window get opener;
+ /** @domName WebGLRenderingContext.texImage2D */
+ 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]);
- /** @domName DOMWindow.outerHeight */
- abstract int get outerHeight;
+ /** @domName WebGLRenderingContext.texParameterf */
+ void texParameterf(int target, int pname, num param);
- /** @domName DOMWindow.outerWidth */
- abstract int get outerWidth;
+ /** @domName WebGLRenderingContext.texParameteri */
+ void texParameteri(int target, int pname, int param);
- /** @domName DOMWindow.pagePopupController */
- abstract PagePopupController get pagePopupController;
+ /** @domName WebGLRenderingContext.texSubImage2D */
+ 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]);
- /** @domName DOMWindow.pageXOffset */
- abstract int get pageXOffset;
+ /** @domName WebGLRenderingContext.uniform1f */
+ void uniform1f(WebGLUniformLocation location, num x);
- /** @domName DOMWindow.pageYOffset */
- abstract int get pageYOffset;
+ /** @domName WebGLRenderingContext.uniform1fv */
+ void uniform1fv(WebGLUniformLocation location, Float32Array v);
- /** @domName DOMWindow.parent */
- abstract Window get parent;
+ /** @domName WebGLRenderingContext.uniform1i */
+ void uniform1i(WebGLUniformLocation location, int x);
- /** @domName DOMWindow.performance */
- abstract Performance get performance;
+ /** @domName WebGLRenderingContext.uniform1iv */
+ void uniform1iv(WebGLUniformLocation location, Int32Array v);
- /** @domName DOMWindow.personalbar */
- abstract BarInfo get personalbar;
+ /** @domName WebGLRenderingContext.uniform2f */
+ void uniform2f(WebGLUniformLocation location, num x, num y);
- /** @domName DOMWindow.screen */
- abstract Screen get screen;
+ /** @domName WebGLRenderingContext.uniform2fv */
+ void uniform2fv(WebGLUniformLocation location, Float32Array v);
- /** @domName DOMWindow.screenLeft */
- abstract int get screenLeft;
+ /** @domName WebGLRenderingContext.uniform2i */
+ void uniform2i(WebGLUniformLocation location, int x, int y);
- /** @domName DOMWindow.screenTop */
- abstract int get screenTop;
+ /** @domName WebGLRenderingContext.uniform2iv */
+ void uniform2iv(WebGLUniformLocation location, Int32Array v);
- /** @domName DOMWindow.screenX */
- abstract int get screenX;
+ /** @domName WebGLRenderingContext.uniform3f */
+ void uniform3f(WebGLUniformLocation location, num x, num y, num z);
- /** @domName DOMWindow.screenY */
- abstract int get screenY;
+ /** @domName WebGLRenderingContext.uniform3fv */
+ void uniform3fv(WebGLUniformLocation location, Float32Array v);
- /** @domName DOMWindow.scrollX */
- abstract int get scrollX;
+ /** @domName WebGLRenderingContext.uniform3i */
+ void uniform3i(WebGLUniformLocation location, int x, int y, int z);
- /** @domName DOMWindow.scrollY */
- abstract int get scrollY;
+ /** @domName WebGLRenderingContext.uniform3iv */
+ void uniform3iv(WebGLUniformLocation location, Int32Array v);
- /** @domName DOMWindow.scrollbars */
- abstract BarInfo get scrollbars;
+ /** @domName WebGLRenderingContext.uniform4f */
+ void uniform4f(WebGLUniformLocation location, num x, num y, num z, num w);
- /** @domName DOMWindow.self */
- abstract Window get self;
+ /** @domName WebGLRenderingContext.uniform4fv */
+ void uniform4fv(WebGLUniformLocation location, Float32Array v);
- /** @domName DOMWindow.sessionStorage */
- abstract Storage get sessionStorage;
+ /** @domName WebGLRenderingContext.uniform4i */
+ void uniform4i(WebGLUniformLocation location, int x, int y, int z, int w);
- /** @domName DOMWindow.status */
- String status;
+ /** @domName WebGLRenderingContext.uniform4iv */
+ void uniform4iv(WebGLUniformLocation location, Int32Array v);
- /** @domName DOMWindow.statusbar */
- abstract BarInfo get statusbar;
+ /** @domName WebGLRenderingContext.uniformMatrix2fv */
+ void uniformMatrix2fv(WebGLUniformLocation location, bool transpose, Float32Array array);
- /** @domName DOMWindow.styleMedia */
- abstract StyleMedia get styleMedia;
+ /** @domName WebGLRenderingContext.uniformMatrix3fv */
+ void uniformMatrix3fv(WebGLUniformLocation location, bool transpose, Float32Array array);
- /** @domName DOMWindow.toolbar */
- abstract BarInfo get toolbar;
+ /** @domName WebGLRenderingContext.uniformMatrix4fv */
+ void uniformMatrix4fv(WebGLUniformLocation location, bool transpose, Float32Array array);
- /** @domName DOMWindow.top */
- abstract Window get top;
+ /** @domName WebGLRenderingContext.useProgram */
+ void useProgram(WebGLProgram program);
- /** @domName DOMWindow.webkitIndexedDB */
- abstract IDBFactory get webkitIndexedDB;
+ /** @domName WebGLRenderingContext.validateProgram */
+ void validateProgram(WebGLProgram program);
- /** @domName DOMWindow.webkitNotifications */
- abstract NotificationCenter get webkitNotifications;
+ /** @domName WebGLRenderingContext.vertexAttrib1f */
+ void vertexAttrib1f(int indx, num x);
- /** @domName DOMWindow.webkitStorageInfo */
- abstract StorageInfo get webkitStorageInfo;
+ /** @domName WebGLRenderingContext.vertexAttrib1fv */
+ void vertexAttrib1fv(int indx, Float32Array values);
- /** @domName DOMWindow.window */
- abstract Window get window;
+ /** @domName WebGLRenderingContext.vertexAttrib2f */
+ void vertexAttrib2f(int indx, num x, num y);
- /** @domName DOMWindow.addEventListener */
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
+ /** @domName WebGLRenderingContext.vertexAttrib2fv */
+ void vertexAttrib2fv(int indx, Float32Array values);
- /** @domName DOMWindow.alert */
- void alert(String message);
+ /** @domName WebGLRenderingContext.vertexAttrib3f */
+ void vertexAttrib3f(int indx, num x, num y, num z);
- /** @domName DOMWindow.atob */
- String atob(String string);
+ /** @domName WebGLRenderingContext.vertexAttrib3fv */
+ void vertexAttrib3fv(int indx, Float32Array values);
- /** @domName DOMWindow.blur */
- void blur();
+ /** @domName WebGLRenderingContext.vertexAttrib4f */
+ void vertexAttrib4f(int indx, num x, num y, num z, num w);
- /** @domName DOMWindow.btoa */
- String btoa(String string);
+ /** @domName WebGLRenderingContext.vertexAttrib4fv */
+ void vertexAttrib4fv(int indx, Float32Array values);
- /** @domName DOMWindow.captureEvents */
- void captureEvents();
+ /** @domName WebGLRenderingContext.vertexAttribPointer */
+ void vertexAttribPointer(int indx, int size, int type, bool normalized, int stride, int offset);
- /** @domName DOMWindow.clearInterval */
- void clearInterval(int handle);
+ /** @domName WebGLRenderingContext.viewport */
+ 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.
- /** @domName DOMWindow.clearTimeout */
- void clearTimeout(int handle);
+// WARNING: Do not edit - generated code.
- /** @domName DOMWindow.close */
- void close();
+class _WebGLRenderingContextImpl extends _CanvasRenderingContextImpl implements WebGLRenderingContext {
- /** @domName DOMWindow.confirm */
- bool confirm(String message);
+ int get drawingBufferHeight native "WebGLRenderingContext_drawingBufferHeight_Getter";
- /** @domName DOMWindow.dispatchEvent */
- bool $dom_dispatchEvent(Event evt);
+ int get drawingBufferWidth native "WebGLRenderingContext_drawingBufferWidth_Getter";
- /** @domName DOMWindow.find */
- bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog);
+ void activeTexture(int texture) native "WebGLRenderingContext_activeTexture_Callback";
- /** @domName DOMWindow.focus */
- void focus();
+ void attachShader(WebGLProgram program, WebGLShader shader) native "WebGLRenderingContext_attachShader_Callback";
- /** @domName DOMWindow.getComputedStyle */
- CSSStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElement);
+ void bindAttribLocation(WebGLProgram program, int index, String name) native "WebGLRenderingContext_bindAttribLocation_Callback";
- /** @domName DOMWindow.getMatchedCSSRules */
- List<CSSRule> getMatchedCSSRules(Element element, String pseudoElement);
+ void bindBuffer(int target, WebGLBuffer buffer) native "WebGLRenderingContext_bindBuffer_Callback";
- /** @domName DOMWindow.getSelection */
- DOMSelection getSelection();
+ void bindFramebuffer(int target, WebGLFramebuffer framebuffer) native "WebGLRenderingContext_bindFramebuffer_Callback";
- /** @domName DOMWindow.matchMedia */
- MediaQueryList matchMedia(String query);
+ void bindRenderbuffer(int target, WebGLRenderbuffer renderbuffer) native "WebGLRenderingContext_bindRenderbuffer_Callback";
- /** @domName DOMWindow.moveBy */
- void moveBy(num x, num y);
+ void bindTexture(int target, WebGLTexture texture) native "WebGLRenderingContext_bindTexture_Callback";
- /** @domName DOMWindow.moveTo */
- void moveTo(num x, num y);
+ void blendColor(num red, num green, num blue, num alpha) native "WebGLRenderingContext_blendColor_Callback";
- /** @domName DOMWindow.open */
- Window open(String url, String name, [String options]);
+ void blendEquation(int mode) native "WebGLRenderingContext_blendEquation_Callback";
- /** @domName DOMWindow.openDatabase */
- Database openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]);
+ void blendEquationSeparate(int modeRGB, int modeAlpha) native "WebGLRenderingContext_blendEquationSeparate_Callback";
- /** @domName DOMWindow.postMessage */
- void postMessage(/*SerializedScriptValue*/ message, String targetOrigin, [List messagePorts]);
+ void blendFunc(int sfactor, int dfactor) native "WebGLRenderingContext_blendFunc_Callback";
- /** @domName DOMWindow.print */
- void print();
+ void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) native "WebGLRenderingContext_blendFuncSeparate_Callback";
- /** @domName DOMWindow.prompt */
- String prompt(String message, String defaultValue);
+ void bufferData(target, data_OR_size, usage) {
+ if ((target is int || target === null) && (data_OR_size is ArrayBuffer || data_OR_size === null) && (usage is int || usage === null)) {
+ _bufferData_1(target, data_OR_size, usage);
+ return;
+ }
+ if ((target is int || target === null) && (data_OR_size is ArrayBufferView || data_OR_size === null) && (usage is int || usage === null)) {
+ _bufferData_2(target, data_OR_size, usage);
+ return;
+ }
+ if ((target is int || target === null) && (data_OR_size is int || data_OR_size === null) && (usage is int || usage === null)) {
+ _bufferData_3(target, data_OR_size, usage);
+ return;
+ }
+ throw "Incorrect number or type of arguments";
+ }
- /** @domName DOMWindow.releaseEvents */
- void releaseEvents();
+ void _bufferData_1(target, data_OR_size, usage) native "WebGLRenderingContext_bufferData_1_Callback";
- /** @domName DOMWindow.removeEventListener */
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
+ void _bufferData_2(target, data_OR_size, usage) native "WebGLRenderingContext_bufferData_2_Callback";
- /** @domName DOMWindow.resizeBy */
- void resizeBy(num x, num y);
+ void _bufferData_3(target, data_OR_size, usage) native "WebGLRenderingContext_bufferData_3_Callback";
- /** @domName DOMWindow.resizeTo */
- void resizeTo(num width, num height);
+ void bufferSubData(target, offset, data) {
+ if ((target is int || target === null) && (offset is int || offset === null) && (data is ArrayBuffer || data === null)) {
+ _bufferSubData_1(target, offset, data);
+ return;
+ }
+ if ((target is int || target === null) && (offset is int || offset === null) && (data is ArrayBufferView || data === null)) {
+ _bufferSubData_2(target, offset, data);
+ return;
+ }
+ throw "Incorrect number or type of arguments";
+ }
- /** @domName DOMWindow.scroll */
- void scroll(int x, int y);
+ void _bufferSubData_1(target, offset, data) native "WebGLRenderingContext_bufferSubData_1_Callback";
- /** @domName DOMWindow.scrollBy */
- void scrollBy(int x, int y);
+ void _bufferSubData_2(target, offset, data) native "WebGLRenderingContext_bufferSubData_2_Callback";
- /** @domName DOMWindow.scrollTo */
- void scrollTo(int x, int y);
+ int checkFramebufferStatus(int target) native "WebGLRenderingContext_checkFramebufferStatus_Callback";
- /** @domName DOMWindow.setInterval */
- int setInterval(TimeoutHandler handler, int timeout);
+ void clear(int mask) native "WebGLRenderingContext_clear_Callback";
- /** @domName DOMWindow.setTimeout */
- int setTimeout(TimeoutHandler handler, int timeout);
+ void clearColor(num red, num green, num blue, num alpha) native "WebGLRenderingContext_clearColor_Callback";
- /** @domName DOMWindow.showModalDialog */
- Object showModalDialog(String url, [Object dialogArgs, String featureArgs]);
+ void clearDepth(num depth) native "WebGLRenderingContext_clearDepth_Callback";
- /** @domName DOMWindow.stop */
- void stop();
+ void clearStencil(int s) native "WebGLRenderingContext_clearStencil_Callback";
- /** @domName DOMWindow.webkitCancelAnimationFrame */
- void cancelAnimationFrame(int id);
+ void colorMask(bool red, bool green, bool blue, bool alpha) native "WebGLRenderingContext_colorMask_Callback";
- /** @domName DOMWindow.webkitConvertPointFromNodeToPage */
- Point webkitConvertPointFromNodeToPage(Node node, Point p);
+ void compileShader(WebGLShader shader) native "WebGLRenderingContext_compileShader_Callback";
- /** @domName DOMWindow.webkitConvertPointFromPageToNode */
- Point webkitConvertPointFromPageToNode(Node node, Point p);
+ void compressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, ArrayBufferView data) native "WebGLRenderingContext_compressedTexImage2D_Callback";
- /** @domName DOMWindow.webkitRequestAnimationFrame */
- int requestAnimationFrame(RequestAnimationFrameCallback callback);
+ void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, ArrayBufferView data) native "WebGLRenderingContext_compressedTexSubImage2D_Callback";
- /** @domName DOMWindow.webkitRequestFileSystem */
- void webkitRequestFileSystem(int type, int size, FileSystemCallback successCallback, [ErrorCallback errorCallback]);
+ void copyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border) native "WebGLRenderingContext_copyTexImage2D_Callback";
- /** @domName DOMWindow.webkitResolveLocalFileSystemURL */
- void webkitResolveLocalFileSystemURL(String url, EntryCallback successCallback, [ErrorCallback errorCallback]);
+ void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) native "WebGLRenderingContext_copyTexSubImage2D_Callback";
-}
+ WebGLBuffer createBuffer() native "WebGLRenderingContext_createBuffer_Callback";
-abstract class WindowEvents implements Events {
+ WebGLFramebuffer createFramebuffer() native "WebGLRenderingContext_createFramebuffer_Callback";
- EventListenerList get contentLoaded;
+ WebGLProgram createProgram() native "WebGLRenderingContext_createProgram_Callback";
- EventListenerList get abort;
+ WebGLRenderbuffer createRenderbuffer() native "WebGLRenderingContext_createRenderbuffer_Callback";
- EventListenerList get beforeUnload;
+ WebGLShader createShader(int type) native "WebGLRenderingContext_createShader_Callback";
- EventListenerList get blur;
+ WebGLTexture createTexture() native "WebGLRenderingContext_createTexture_Callback";
- EventListenerList get canPlay;
+ void cullFace(int mode) native "WebGLRenderingContext_cullFace_Callback";
- EventListenerList get canPlayThrough;
+ void deleteBuffer(WebGLBuffer buffer) native "WebGLRenderingContext_deleteBuffer_Callback";
- EventListenerList get change;
+ void deleteFramebuffer(WebGLFramebuffer framebuffer) native "WebGLRenderingContext_deleteFramebuffer_Callback";
- EventListenerList get click;
+ void deleteProgram(WebGLProgram program) native "WebGLRenderingContext_deleteProgram_Callback";
- EventListenerList get contextMenu;
+ void deleteRenderbuffer(WebGLRenderbuffer renderbuffer) native "WebGLRenderingContext_deleteRenderbuffer_Callback";
- EventListenerList get doubleClick;
+ void deleteShader(WebGLShader shader) native "WebGLRenderingContext_deleteShader_Callback";
- EventListenerList get deviceMotion;
+ void deleteTexture(WebGLTexture texture) native "WebGLRenderingContext_deleteTexture_Callback";
- EventListenerList get deviceOrientation;
+ void depthFunc(int func) native "WebGLRenderingContext_depthFunc_Callback";
- EventListenerList get drag;
+ void depthMask(bool flag) native "WebGLRenderingContext_depthMask_Callback";
- EventListenerList get dragEnd;
+ void depthRange(num zNear, num zFar) native "WebGLRenderingContext_depthRange_Callback";
- EventListenerList get dragEnter;
+ void detachShader(WebGLProgram program, WebGLShader shader) native "WebGLRenderingContext_detachShader_Callback";
- EventListenerList get dragLeave;
+ void disable(int cap) native "WebGLRenderingContext_disable_Callback";
- EventListenerList get dragOver;
+ void disableVertexAttribArray(int index) native "WebGLRenderingContext_disableVertexAttribArray_Callback";
- EventListenerList get dragStart;
+ void drawArrays(int mode, int first, int count) native "WebGLRenderingContext_drawArrays_Callback";
- EventListenerList get drop;
+ void drawElements(int mode, int count, int type, int offset) native "WebGLRenderingContext_drawElements_Callback";
- EventListenerList get durationChange;
+ void enable(int cap) native "WebGLRenderingContext_enable_Callback";
- EventListenerList get emptied;
+ void enableVertexAttribArray(int index) native "WebGLRenderingContext_enableVertexAttribArray_Callback";
- EventListenerList get ended;
+ void finish() native "WebGLRenderingContext_finish_Callback";
- EventListenerList get error;
+ void flush() native "WebGLRenderingContext_flush_Callback";
- EventListenerList get focus;
+ void framebufferRenderbuffer(int target, int attachment, int renderbuffertarget, WebGLRenderbuffer renderbuffer) native "WebGLRenderingContext_framebufferRenderbuffer_Callback";
- EventListenerList get hashChange;
+ void framebufferTexture2D(int target, int attachment, int textarget, WebGLTexture texture, int level) native "WebGLRenderingContext_framebufferTexture2D_Callback";
- EventListenerList get input;
+ void frontFace(int mode) native "WebGLRenderingContext_frontFace_Callback";
- EventListenerList get invalid;
+ void generateMipmap(int target) native "WebGLRenderingContext_generateMipmap_Callback";
- EventListenerList get keyDown;
+ WebGLActiveInfo getActiveAttrib(WebGLProgram program, int index) native "WebGLRenderingContext_getActiveAttrib_Callback";
- EventListenerList get keyPress;
+ WebGLActiveInfo getActiveUniform(WebGLProgram program, int index) native "WebGLRenderingContext_getActiveUniform_Callback";
- EventListenerList get keyUp;
+ List<Object> getAttachedShaders(WebGLProgram program) native "WebGLRenderingContext_getAttachedShaders_Callback";
- EventListenerList get load;
+ int getAttribLocation(WebGLProgram program, String name) native "WebGLRenderingContext_getAttribLocation_Callback";
- EventListenerList get loadedData;
+ Object getBufferParameter(int target, int pname) native "WebGLRenderingContext_getBufferParameter_Callback";
- EventListenerList get loadedMetadata;
+ WebGLContextAttributes getContextAttributes() native "WebGLRenderingContext_getContextAttributes_Callback";
- EventListenerList get loadStart;
+ int getError() native "WebGLRenderingContext_getError_Callback";
- EventListenerList get message;
+ Object getExtension(String name) native "WebGLRenderingContext_getExtension_Callback";
- EventListenerList get mouseDown;
+ Object getFramebufferAttachmentParameter(int target, int attachment, int pname) native "WebGLRenderingContext_getFramebufferAttachmentParameter_Callback";
- EventListenerList get mouseMove;
+ Object getParameter(int pname) native "WebGLRenderingContext_getParameter_Callback";
- EventListenerList get mouseOut;
+ String getProgramInfoLog(WebGLProgram program) native "WebGLRenderingContext_getProgramInfoLog_Callback";
- EventListenerList get mouseOver;
+ Object getProgramParameter(WebGLProgram program, int pname) native "WebGLRenderingContext_getProgramParameter_Callback";
- EventListenerList get mouseUp;
+ Object getRenderbufferParameter(int target, int pname) native "WebGLRenderingContext_getRenderbufferParameter_Callback";
- EventListenerList get mouseWheel;
+ String getShaderInfoLog(WebGLShader shader) native "WebGLRenderingContext_getShaderInfoLog_Callback";
- EventListenerList get offline;
+ Object getShaderParameter(WebGLShader shader, int pname) native "WebGLRenderingContext_getShaderParameter_Callback";
- EventListenerList get online;
+ WebGLShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisiontype) native "WebGLRenderingContext_getShaderPrecisionFormat_Callback";
- EventListenerList get pageHide;
+ String getShaderSource(WebGLShader shader) native "WebGLRenderingContext_getShaderSource_Callback";
- EventListenerList get pageShow;
+ List<String> getSupportedExtensions() native "WebGLRenderingContext_getSupportedExtensions_Callback";
- EventListenerList get pause;
+ Object getTexParameter(int target, int pname) native "WebGLRenderingContext_getTexParameter_Callback";
- EventListenerList get play;
+ Object getUniform(WebGLProgram program, WebGLUniformLocation location) native "WebGLRenderingContext_getUniform_Callback";
- EventListenerList get playing;
+ WebGLUniformLocation getUniformLocation(WebGLProgram program, String name) native "WebGLRenderingContext_getUniformLocation_Callback";
- EventListenerList get popState;
+ Object getVertexAttrib(int index, int pname) native "WebGLRenderingContext_getVertexAttrib_Callback";
- EventListenerList get progress;
+ int getVertexAttribOffset(int index, int pname) native "WebGLRenderingContext_getVertexAttribOffset_Callback";
- EventListenerList get rateChange;
+ void hint(int target, int mode) native "WebGLRenderingContext_hint_Callback";
- EventListenerList get reset;
+ bool isBuffer(WebGLBuffer buffer) native "WebGLRenderingContext_isBuffer_Callback";
- EventListenerList get resize;
+ bool isContextLost() native "WebGLRenderingContext_isContextLost_Callback";
- EventListenerList get scroll;
+ bool isEnabled(int cap) native "WebGLRenderingContext_isEnabled_Callback";
- EventListenerList get search;
+ bool isFramebuffer(WebGLFramebuffer framebuffer) native "WebGLRenderingContext_isFramebuffer_Callback";
- EventListenerList get seeked;
+ bool isProgram(WebGLProgram program) native "WebGLRenderingContext_isProgram_Callback";
- EventListenerList get seeking;
+ bool isRenderbuffer(WebGLRenderbuffer renderbuffer) native "WebGLRenderingContext_isRenderbuffer_Callback";
- EventListenerList get select;
+ bool isShader(WebGLShader shader) native "WebGLRenderingContext_isShader_Callback";
- EventListenerList get stalled;
+ bool isTexture(WebGLTexture texture) native "WebGLRenderingContext_isTexture_Callback";
- EventListenerList get storage;
+ void lineWidth(num width) native "WebGLRenderingContext_lineWidth_Callback";
- EventListenerList get submit;
+ void linkProgram(WebGLProgram program) native "WebGLRenderingContext_linkProgram_Callback";
- EventListenerList get suspend;
+ void pixelStorei(int pname, int param) native "WebGLRenderingContext_pixelStorei_Callback";
- EventListenerList get timeUpdate;
+ void polygonOffset(num factor, num units) native "WebGLRenderingContext_polygonOffset_Callback";
- EventListenerList get touchCancel;
+ void readPixels(int x, int y, int width, int height, int format, int type, ArrayBufferView pixels) native "WebGLRenderingContext_readPixels_Callback";
- EventListenerList get touchEnd;
+ void releaseShaderCompiler() native "WebGLRenderingContext_releaseShaderCompiler_Callback";
- EventListenerList get touchMove;
+ void renderbufferStorage(int target, int internalformat, int width, int height) native "WebGLRenderingContext_renderbufferStorage_Callback";
- EventListenerList get touchStart;
+ void sampleCoverage(num value, bool invert) native "WebGLRenderingContext_sampleCoverage_Callback";
- EventListenerList get unload;
+ void scissor(int x, int y, int width, int height) native "WebGLRenderingContext_scissor_Callback";
- EventListenerList get volumeChange;
+ void shaderSource(WebGLShader shader, String string) native "WebGLRenderingContext_shaderSource_Callback";
- EventListenerList get waiting;
+ void stencilFunc(int func, int ref, int mask) native "WebGLRenderingContext_stencilFunc_Callback";
- EventListenerList get animationEnd;
+ void stencilFuncSeparate(int face, int func, int ref, int mask) native "WebGLRenderingContext_stencilFuncSeparate_Callback";
- EventListenerList get animationIteration;
+ void stencilMask(int mask) native "WebGLRenderingContext_stencilMask_Callback";
- EventListenerList get animationStart;
+ void stencilMaskSeparate(int face, int mask) native "WebGLRenderingContext_stencilMaskSeparate_Callback";
- EventListenerList get transitionEnd;
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ void stencilOp(int fail, int zfail, int zpass) native "WebGLRenderingContext_stencilOp_Callback";
-class _DOMWindowImpl extends _EventTargetImpl implements Window {
+ void stencilOpSeparate(int face, int fail, int zfail, int zpass) native "WebGLRenderingContext_stencilOpSeparate_Callback";
- void requestLayoutFrame(TimeoutHandler callback) {
- _addMeasurementFrameCallback(callback);
+ void texImage2D(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [format, type, pixels]) {
+ if ((target is int || target === null) && (level is int || level === null) && (internalformat is int || internalformat === null) && (format_OR_width is int || format_OR_width === null) && (height_OR_type is int || height_OR_type === null) && (border_OR_canvas_OR_image_OR_pixels_OR_video is int || border_OR_canvas_OR_image_OR_pixels_OR_video === null) && (format is int || format === null) && (type is int || type === null) && (pixels is ArrayBufferView || pixels === null)) {
+ _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels);
+ return;
+ }
+ if ((target is int || target === null) && (level is int || level === null) && (internalformat is int || internalformat === null) && (format_OR_width is int || format_OR_width === null) && (height_OR_type is int || height_OR_type === null) && (border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_canvas_OR_image_OR_pixels_OR_video === null) && !?format && !?type && !?pixels) {
+ _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
+ return;
+ }
+ if ((target is int || target === null) && (level is int || level === null) && (internalformat is int || internalformat === null) && (format_OR_width is int || format_OR_width === null) && (height_OR_type is int || height_OR_type === null) && (border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement || border_OR_canvas_OR_image_OR_pixels_OR_video === null) && !?format && !?type && !?pixels) {
+ _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
+ return;
+ }
+ if ((target is int || target === null) && (level is int || level === null) && (internalformat is int || internalformat === null) && (format_OR_width is int || format_OR_width === null) && (height_OR_type is int || height_OR_type === null) && (border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement || border_OR_canvas_OR_image_OR_pixels_OR_video === null) && !?format && !?type && !?pixels) {
+ _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
+ return;
+ }
+ if ((target is int || target === null) && (level is int || level === null) && (internalformat is int || internalformat === null) && (format_OR_width is int || format_OR_width === null) && (height_OR_type is int || height_OR_type === null) && (border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement || border_OR_canvas_OR_image_OR_pixels_OR_video === null) && !?format && !?type && !?pixels) {
+ _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
+ return;
+ }
+ throw "Incorrect number or type of arguments";
}
- // TODO(kasperl): Document these.
- lookupPort(String name) {
- var port = JSON.parse(localStorage['dart-port:$name']);
- return _deserialize(port);
- }
+ void _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels) native "WebGLRenderingContext_texImage2D_1_Callback";
- registerPort(String name, var port) {
- var serialized = _serialize(port);
- localStorage['dart-port:$name'] = JSON.stringify(serialized);
- }
+ void _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext_texImage2D_2_Callback";
+
+ void _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext_texImage2D_3_Callback";
+
+ void _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext_texImage2D_4_Callback";
- String createObjectUrl(object) => DOMURL.createObjectURL(object);
- void revokeObjectUrl(String url) {
- DOMURL.revokeObjectURL(url);
- }
+ void _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext_texImage2D_5_Callback";
+ void texParameterf(int target, int pname, num param) native "WebGLRenderingContext_texParameterf_Callback";
- _WindowEventsImpl get on =>
- new _WindowEventsImpl(this);
+ void texParameteri(int target, int pname, int param) native "WebGLRenderingContext_texParameteri_Callback";
- DOMApplicationCache get applicationCache native "DOMWindow_applicationCache_Getter";
+ void texSubImage2D(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [type, pixels]) {
+ if ((target is int || target === null) && (level is int || level === null) && (xoffset is int || xoffset === null) && (yoffset is int || yoffset === null) && (format_OR_width is int || format_OR_width === null) && (height_OR_type is int || height_OR_type === null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is int || canvas_OR_format_OR_image_OR_pixels_OR_video === null) && (type is int || type === null) && (pixels is ArrayBufferView || pixels === null)) {
+ _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels);
+ return;
+ }
+ if ((target is int || target === null) && (level is int || level === null) && (xoffset is int || xoffset === null) && (yoffset is int || yoffset === null) && (format_OR_width is int || format_OR_width === null) && (height_OR_type is int || height_OR_type === null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_format_OR_image_OR_pixels_OR_video === null) && !?type && !?pixels) {
+ _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
+ return;
+ }
+ if ((target is int || target === null) && (level is int || level === null) && (xoffset is int || xoffset === null) && (yoffset is int || yoffset === null) && (format_OR_width is int || format_OR_width === null) && (height_OR_type is int || height_OR_type === null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement || canvas_OR_format_OR_image_OR_pixels_OR_video === null) && !?type && !?pixels) {
+ _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
+ return;
+ }
+ if ((target is int || target === null) && (level is int || level === null) && (xoffset is int || xoffset === null) && (yoffset is int || yoffset === null) && (format_OR_width is int || format_OR_width === null) && (height_OR_type is int || height_OR_type === null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement || canvas_OR_format_OR_image_OR_pixels_OR_video === null) && !?type && !?pixels) {
+ _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
+ return;
+ }
+ if ((target is int || target === null) && (level is int || level === null) && (xoffset is int || xoffset === null) && (yoffset is int || yoffset === null) && (format_OR_width is int || format_OR_width === null) && (height_OR_type is int || height_OR_type === null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement || canvas_OR_format_OR_image_OR_pixels_OR_video === null) && !?type && !?pixels) {
+ _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
+ return;
+ }
+ throw "Incorrect number or type of arguments";
+ }
- Navigator get clientInformation native "DOMWindow_clientInformation_Getter";
+ void _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels) native "WebGLRenderingContext_texSubImage2D_1_Callback";
- bool get closed native "DOMWindow_closed_Getter";
+ void _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext_texSubImage2D_2_Callback";
- Console get console native "DOMWindow_console_Getter";
+ void _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext_texSubImage2D_3_Callback";
- Crypto get crypto native "DOMWindow_crypto_Getter";
+ void _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext_texSubImage2D_4_Callback";
- String get defaultStatus native "DOMWindow_defaultStatus_Getter";
+ void _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext_texSubImage2D_5_Callback";
- void set defaultStatus(String value) native "DOMWindow_defaultStatus_Setter";
+ void uniform1f(WebGLUniformLocation location, num x) native "WebGLRenderingContext_uniform1f_Callback";
- String get defaultstatus native "DOMWindow_defaultstatus_Getter";
+ void uniform1fv(WebGLUniformLocation location, Float32Array v) native "WebGLRenderingContext_uniform1fv_Callback";
- void set defaultstatus(String value) native "DOMWindow_defaultstatus_Setter";
+ void uniform1i(WebGLUniformLocation location, int x) native "WebGLRenderingContext_uniform1i_Callback";
- num get devicePixelRatio native "DOMWindow_devicePixelRatio_Getter";
+ void uniform1iv(WebGLUniformLocation location, Int32Array v) native "WebGLRenderingContext_uniform1iv_Callback";
- Document get document native "DOMWindow_document_Getter";
+ void uniform2f(WebGLUniformLocation location, num x, num y) native "WebGLRenderingContext_uniform2f_Callback";
- Event get event native "DOMWindow_event_Getter";
+ void uniform2fv(WebGLUniformLocation location, Float32Array v) native "WebGLRenderingContext_uniform2fv_Callback";
- Window get frames native "DOMWindow_frames_Getter";
+ void uniform2i(WebGLUniformLocation location, int x, int y) native "WebGLRenderingContext_uniform2i_Callback";
- History get history native "DOMWindow_history_Getter";
+ void uniform2iv(WebGLUniformLocation location, Int32Array v) native "WebGLRenderingContext_uniform2iv_Callback";
- IDBFactory get indexedDB native "DOMWindow_indexedDB_Getter";
+ void uniform3f(WebGLUniformLocation location, num x, num y, num z) native "WebGLRenderingContext_uniform3f_Callback";
- int get innerHeight native "DOMWindow_innerHeight_Getter";
+ void uniform3fv(WebGLUniformLocation location, Float32Array v) native "WebGLRenderingContext_uniform3fv_Callback";
- int get innerWidth native "DOMWindow_innerWidth_Getter";
+ void uniform3i(WebGLUniformLocation location, int x, int y, int z) native "WebGLRenderingContext_uniform3i_Callback";
- int get length native "DOMWindow_length_Getter";
+ void uniform3iv(WebGLUniformLocation location, Int32Array v) native "WebGLRenderingContext_uniform3iv_Callback";
- Storage get localStorage native "DOMWindow_localStorage_Getter";
+ void uniform4f(WebGLUniformLocation location, num x, num y, num z, num w) native "WebGLRenderingContext_uniform4f_Callback";
- Location get location native "DOMWindow_location_Getter";
+ void uniform4fv(WebGLUniformLocation location, Float32Array v) native "WebGLRenderingContext_uniform4fv_Callback";
- void set location(Location value) native "DOMWindow_location_Setter";
+ void uniform4i(WebGLUniformLocation location, int x, int y, int z, int w) native "WebGLRenderingContext_uniform4i_Callback";
- BarInfo get locationbar native "DOMWindow_locationbar_Getter";
+ void uniform4iv(WebGLUniformLocation location, Int32Array v) native "WebGLRenderingContext_uniform4iv_Callback";
- BarInfo get menubar native "DOMWindow_menubar_Getter";
+ void uniformMatrix2fv(WebGLUniformLocation location, bool transpose, Float32Array array) native "WebGLRenderingContext_uniformMatrix2fv_Callback";
- String get name native "DOMWindow_name_Getter";
+ void uniformMatrix3fv(WebGLUniformLocation location, bool transpose, Float32Array array) native "WebGLRenderingContext_uniformMatrix3fv_Callback";
- void set name(String value) native "DOMWindow_name_Setter";
+ void uniformMatrix4fv(WebGLUniformLocation location, bool transpose, Float32Array array) native "WebGLRenderingContext_uniformMatrix4fv_Callback";
- Navigator get navigator native "DOMWindow_navigator_Getter";
+ void useProgram(WebGLProgram program) native "WebGLRenderingContext_useProgram_Callback";
- bool get offscreenBuffering native "DOMWindow_offscreenBuffering_Getter";
+ void validateProgram(WebGLProgram program) native "WebGLRenderingContext_validateProgram_Callback";
- Window get opener native "DOMWindow_opener_Getter";
+ void vertexAttrib1f(int indx, num x) native "WebGLRenderingContext_vertexAttrib1f_Callback";
- int get outerHeight native "DOMWindow_outerHeight_Getter";
+ void vertexAttrib1fv(int indx, Float32Array values) native "WebGLRenderingContext_vertexAttrib1fv_Callback";
- int get outerWidth native "DOMWindow_outerWidth_Getter";
+ void vertexAttrib2f(int indx, num x, num y) native "WebGLRenderingContext_vertexAttrib2f_Callback";
- PagePopupController get pagePopupController native "DOMWindow_pagePopupController_Getter";
+ void vertexAttrib2fv(int indx, Float32Array values) native "WebGLRenderingContext_vertexAttrib2fv_Callback";
- int get pageXOffset native "DOMWindow_pageXOffset_Getter";
+ void vertexAttrib3f(int indx, num x, num y, num z) native "WebGLRenderingContext_vertexAttrib3f_Callback";
- int get pageYOffset native "DOMWindow_pageYOffset_Getter";
+ void vertexAttrib3fv(int indx, Float32Array values) native "WebGLRenderingContext_vertexAttrib3fv_Callback";
- Window get parent native "DOMWindow_parent_Getter";
+ void vertexAttrib4f(int indx, num x, num y, num z, num w) native "WebGLRenderingContext_vertexAttrib4f_Callback";
- Performance get performance native "DOMWindow_performance_Getter";
+ void vertexAttrib4fv(int indx, Float32Array values) native "WebGLRenderingContext_vertexAttrib4fv_Callback";
- BarInfo get personalbar native "DOMWindow_personalbar_Getter";
+ void vertexAttribPointer(int indx, int size, int type, bool normalized, int stride, int offset) native "WebGLRenderingContext_vertexAttribPointer_Callback";
- Screen get screen native "DOMWindow_screen_Getter";
+ void viewport(int x, int y, int width, int height) native "WebGLRenderingContext_viewport_Callback";
- int get screenLeft native "DOMWindow_screenLeft_Getter";
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- int get screenTop native "DOMWindow_screenTop_Getter";
+// WARNING: Do not edit - generated code.
- int get screenX native "DOMWindow_screenX_Getter";
+/// @domName WebGLShader
+abstract class 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.
- int get screenY native "DOMWindow_screenY_Getter";
+// WARNING: Do not edit - generated code.
- int get scrollX native "DOMWindow_scrollX_Getter";
+class _WebGLShaderImpl extends NativeFieldWrapperClass1 implements WebGLShader {
- int get scrollY native "DOMWindow_scrollY_Getter";
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- BarInfo get scrollbars native "DOMWindow_scrollbars_Getter";
+// WARNING: Do not edit - generated code.
- Window get self native "DOMWindow_self_Getter";
+/// @domName WebGLShaderPrecisionFormat
+abstract class WebGLShaderPrecisionFormat {
- Storage get sessionStorage native "DOMWindow_sessionStorage_Getter";
+ /** @domName WebGLShaderPrecisionFormat.precision */
+ abstract int get precision;
- String get status native "DOMWindow_status_Getter";
+ /** @domName WebGLShaderPrecisionFormat.rangeMax */
+ abstract int get rangeMax;
- void set status(String value) native "DOMWindow_status_Setter";
+ /** @domName WebGLShaderPrecisionFormat.rangeMin */
+ abstract int get 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.
- BarInfo get statusbar native "DOMWindow_statusbar_Getter";
+// WARNING: Do not edit - generated code.
- StyleMedia get styleMedia native "DOMWindow_styleMedia_Getter";
+class _WebGLShaderPrecisionFormatImpl extends NativeFieldWrapperClass1 implements WebGLShaderPrecisionFormat {
- BarInfo get toolbar native "DOMWindow_toolbar_Getter";
+ int get precision native "WebGLShaderPrecisionFormat_precision_Getter";
- Window get top native "DOMWindow_top_Getter";
+ int get rangeMax native "WebGLShaderPrecisionFormat_rangeMax_Getter";
- IDBFactory get webkitIndexedDB native "DOMWindow_webkitIndexedDB_Getter";
+ int get rangeMin native "WebGLShaderPrecisionFormat_rangeMin_Getter";
- NotificationCenter get webkitNotifications native "DOMWindow_webkitNotifications_Getter";
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- StorageInfo get webkitStorageInfo native "DOMWindow_webkitStorageInfo_Getter";
+// WARNING: Do not edit - generated code.
- Window get window native "DOMWindow_window_Getter";
+/// @domName WebGLTexture
+abstract class 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.
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "DOMWindow_addEventListener_Callback";
+// WARNING: Do not edit - generated code.
- void alert(String message) native "DOMWindow_alert_Callback";
+class _WebGLTextureImpl extends NativeFieldWrapperClass1 implements WebGLTexture {
- String atob(String string) native "DOMWindow_atob_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.
- void blur() native "DOMWindow_blur_Callback";
+// WARNING: Do not edit - generated code.
- String btoa(String string) native "DOMWindow_btoa_Callback";
+/// @domName WebGLUniformLocation
+abstract class 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.
- void captureEvents() native "DOMWindow_captureEvents_Callback";
+// WARNING: Do not edit - generated code.
- void clearInterval(int handle) native "DOMWindow_clearInterval_Callback";
+class _WebGLUniformLocationImpl extends NativeFieldWrapperClass1 implements WebGLUniformLocation {
- void clearTimeout(int handle) native "DOMWindow_clearTimeout_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.
- void close() native "DOMWindow_close_Callback";
+// WARNING: Do not edit - generated code.
- bool confirm(String message) native "DOMWindow_confirm_Callback";
+/// @domName WebGLVertexArrayObjectOES
+abstract class 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.
- bool $dom_dispatchEvent(Event evt) native "DOMWindow_dispatchEvent_Callback";
+// WARNING: Do not edit - generated code.
- bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog) native "DOMWindow_find_Callback";
+class _WebGLVertexArrayObjectOESImpl extends NativeFieldWrapperClass1 implements WebGLVertexArrayObjectOES {
- void focus() native "DOMWindow_focus_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.
- CSSStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElement) native "DOMWindow_getComputedStyle_Callback";
+// WARNING: Do not edit - generated code.
- List<CSSRule> getMatchedCSSRules(Element element, String pseudoElement) native "DOMWindow_getMatchedCSSRules_Callback";
+/// @domName WebKitCSSFilterValue
+abstract class WebKitCSSFilterValue implements List<CSSValue> {
- DOMSelection getSelection() native "DOMWindow_getSelection_Callback";
+ static const int CSS_FILTER_BLUR = 10;
- MediaQueryList matchMedia(String query) native "DOMWindow_matchMedia_Callback";
+ static const int CSS_FILTER_BRIGHTNESS = 8;
- void moveBy(num x, num y) native "DOMWindow_moveBy_Callback";
+ static const int CSS_FILTER_CONTRAST = 9;
- void moveTo(num x, num y) native "DOMWindow_moveTo_Callback";
+ static const int CSS_FILTER_CUSTOM = 12;
- Window open(String url, String name, [String options]) native "DOMWindow_open_Callback";
+ static const int CSS_FILTER_DROP_SHADOW = 11;
- Database openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]) native "DOMWindow_openDatabase_Callback";
+ static const int CSS_FILTER_GRAYSCALE = 2;
- void postMessage(message, String targetOrigin, [List messagePorts]) native "DOMWindow_postMessage_Callback";
+ static const int CSS_FILTER_HUE_ROTATE = 5;
- void print() native "DOMWindow_print_Callback";
+ static const int CSS_FILTER_INVERT = 6;
- String prompt(String message, String defaultValue) native "DOMWindow_prompt_Callback";
+ static const int CSS_FILTER_OPACITY = 7;
- void releaseEvents() native "DOMWindow_releaseEvents_Callback";
+ static const int CSS_FILTER_REFERENCE = 1;
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "DOMWindow_removeEventListener_Callback";
+ static const int CSS_FILTER_SATURATE = 4;
- void resizeBy(num x, num y) native "DOMWindow_resizeBy_Callback";
+ static const int CSS_FILTER_SEPIA = 3;
- void resizeTo(num width, num height) native "DOMWindow_resizeTo_Callback";
+ /** @domName WebKitCSSFilterValue.operationType */
+ abstract int get 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.
- void scroll(int x, int y) native "DOMWindow_scroll_Callback";
+// WARNING: Do not edit - generated code.
- void scrollBy(int x, int y) native "DOMWindow_scrollBy_Callback";
+class _WebKitCSSFilterValueImpl extends _CSSValueListImpl implements WebKitCSSFilterValue {
- void scrollTo(int x, int y) native "DOMWindow_scrollTo_Callback";
+ int get operationType native "WebKitCSSFilterValue_operationType_Getter";
- int setInterval(TimeoutHandler handler, int timeout) native "DOMWindow_setInterval_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.
- int setTimeout(TimeoutHandler handler, int timeout) native "DOMWindow_setTimeout_Callback";
+// WARNING: Do not edit - generated code.
- Object showModalDialog(String url, [Object dialogArgs, String featureArgs]) native "DOMWindow_showModalDialog_Callback";
+/// @domName WebKitNamedFlow
+abstract class WebKitNamedFlow implements EventTarget {
- void stop() native "DOMWindow_stop_Callback";
+ /** @domName WebKitNamedFlow.firstEmptyRegionIndex */
+ abstract int get firstEmptyRegionIndex;
- void cancelAnimationFrame(int id) native "DOMWindow_webkitCancelAnimationFrame_Callback";
+ /** @domName WebKitNamedFlow.name */
+ abstract String get name;
- Point webkitConvertPointFromNodeToPage(Node node, Point p) native "DOMWindow_webkitConvertPointFromNodeToPage_Callback";
+ /** @domName WebKitNamedFlow.overset */
+ abstract bool get overset;
- Point webkitConvertPointFromPageToNode(Node node, Point p) native "DOMWindow_webkitConvertPointFromPageToNode_Callback";
+ /** @domName WebKitNamedFlow.addEventListener */
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
- int requestAnimationFrame(RequestAnimationFrameCallback callback) native "DOMWindow_webkitRequestAnimationFrame_Callback";
+ /** @domName WebKitNamedFlow.dispatchEvent */
+ bool $dom_dispatchEvent(Event event);
- void webkitRequestFileSystem(int type, int size, FileSystemCallback successCallback, [ErrorCallback errorCallback]) native "DOMWindow_webkitRequestFileSystem_Callback";
+ /** @domName WebKitNamedFlow.getContent */
+ List<Node> getContent();
- void webkitResolveLocalFileSystemURL(String url, EntryCallback successCallback, [ErrorCallback errorCallback]) native "DOMWindow_webkitResolveLocalFileSystemURL_Callback";
+ /** @domName WebKitNamedFlow.getRegions */
+ List<Node> getRegions();
+
+ /** @domName WebKitNamedFlow.getRegionsByContent */
+ List<Node> getRegionsByContent(Node contentNode);
+ /** @domName WebKitNamedFlow.removeEventListener */
+ void $dom_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.
-class _WindowEventsImpl extends _EventsImpl implements WindowEvents {
- _WindowEventsImpl(_ptr) : super(_ptr);
+// WARNING: Do not edit - generated code.
- EventListenerList get contentLoaded => this['DOMContentLoaded'];
+class _WebKitNamedFlowImpl extends _EventTargetImpl implements WebKitNamedFlow {
- EventListenerList get abort => this['abort'];
+ int get firstEmptyRegionIndex native "WebKitNamedFlow_firstEmptyRegionIndex_Getter";
- EventListenerList get beforeUnload => this['beforeunload'];
+ String get name native "WebKitNamedFlow_name_Getter";
- EventListenerList get blur => this['blur'];
+ bool get overset native "WebKitNamedFlow_overset_Getter";
- EventListenerList get canPlay => this['canplay'];
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "WebKitNamedFlow_addEventListener_Callback";
- EventListenerList get canPlayThrough => this['canplaythrough'];
+ bool $dom_dispatchEvent(Event event) native "WebKitNamedFlow_dispatchEvent_Callback";
- EventListenerList get change => this['change'];
+ List<Node> getContent() native "WebKitNamedFlow_getContent_Callback";
- EventListenerList get click => this['click'];
+ List<Node> getRegions() native "WebKitNamedFlow_getRegions_Callback";
- EventListenerList get contextMenu => this['contextmenu'];
+ List<Node> getRegionsByContent(Node contentNode) native "WebKitNamedFlow_getRegionsByContent_Callback";
- EventListenerList get doubleClick => this['dblclick'];
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "WebKitNamedFlow_removeEventListener_Callback";
- EventListenerList get deviceMotion => this['devicemotion'];
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- EventListenerList get deviceOrientation => this['deviceorientation'];
+// WARNING: Do not edit - generated code.
- EventListenerList get drag => this['drag'];
+/// @domName WebSocket
+abstract class WebSocket implements EventTarget {
- EventListenerList get dragEnd => this['dragend'];
+ factory WebSocket(String url) => _WebSocketFactoryProvider.createWebSocket(url);
- EventListenerList get dragEnter => this['dragenter'];
+ /**
+ * @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
+ */
+ WebSocketEvents get on;
- EventListenerList get dragLeave => this['dragleave'];
+ static const int CLOSED = 3;
- EventListenerList get dragOver => this['dragover'];
+ static const int CLOSING = 2;
- EventListenerList get dragStart => this['dragstart'];
+ static const int CONNECTING = 0;
- EventListenerList get drop => this['drop'];
+ static const int OPEN = 1;
- EventListenerList get durationChange => this['durationchange'];
+ /** @domName WebSocket.URL */
+ abstract String get URL;
- EventListenerList get emptied => this['emptied'];
+ /** @domName WebSocket.binaryType */
+ String binaryType;
- EventListenerList get ended => this['ended'];
+ /** @domName WebSocket.bufferedAmount */
+ abstract int get bufferedAmount;
- EventListenerList get error => this['error'];
+ /** @domName WebSocket.extensions */
+ abstract String get extensions;
- EventListenerList get focus => this['focus'];
+ /** @domName WebSocket.protocol */
+ abstract String get protocol;
- EventListenerList get hashChange => this['hashchange'];
+ /** @domName WebSocket.readyState */
+ abstract int get readyState;
- EventListenerList get input => this['input'];
+ /** @domName WebSocket.url */
+ abstract String get url;
- EventListenerList get invalid => this['invalid'];
+ /** @domName WebSocket.addEventListener */
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
- EventListenerList get keyDown => this['keydown'];
+ /** @domName WebSocket.close */
+ void close([int code, String reason]);
- EventListenerList get keyPress => this['keypress'];
+ /** @domName WebSocket.dispatchEvent */
+ bool $dom_dispatchEvent(Event evt);
- EventListenerList get keyUp => this['keyup'];
+ /** @domName WebSocket.removeEventListener */
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
- EventListenerList get load => this['load'];
+ /** @domName WebSocket.send */
+ void send(data);
+}
- EventListenerList get loadedData => this['loadeddata'];
+abstract class WebSocketEvents implements Events {
- EventListenerList get loadedMetadata => this['loadedmetadata'];
+ EventListenerList get close;
- EventListenerList get loadStart => this['loadstart'];
+ EventListenerList get error;
- EventListenerList get message => this['message'];
+ EventListenerList get message;
- EventListenerList get mouseDown => this['mousedown'];
+ EventListenerList get 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.
- EventListenerList get mouseMove => this['mousemove'];
+// WARNING: Do not edit - generated code.
- EventListenerList get mouseOut => this['mouseout'];
+class _WebSocketImpl extends _EventTargetImpl implements WebSocket {
- EventListenerList get mouseOver => this['mouseover'];
+ _WebSocketEventsImpl get on =>
+ new _WebSocketEventsImpl(this);
- EventListenerList get mouseUp => this['mouseup'];
+ String get URL native "WebSocket_URL_Getter";
- EventListenerList get mouseWheel => this['mousewheel'];
+ String get binaryType native "WebSocket_binaryType_Getter";
- EventListenerList get offline => this['offline'];
+ void set binaryType(String value) native "WebSocket_binaryType_Setter";
- EventListenerList get online => this['online'];
+ int get bufferedAmount native "WebSocket_bufferedAmount_Getter";
- EventListenerList get pageHide => this['pagehide'];
+ String get extensions native "WebSocket_extensions_Getter";
- EventListenerList get pageShow => this['pageshow'];
+ String get protocol native "WebSocket_protocol_Getter";
- EventListenerList get pause => this['pause'];
+ int get readyState native "WebSocket_readyState_Getter";
- EventListenerList get play => this['play'];
+ String get url native "WebSocket_url_Getter";
- EventListenerList get playing => this['playing'];
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "WebSocket_addEventListener_Callback";
- EventListenerList get popState => this['popstate'];
+ void close([code, reason]) {
+ if (?reason) {
+ _close_1(code, reason);
+ return;
+ }
+ if (?code) {
+ _close_2(code);
+ return;
+ }
+ _close_3();
+ }
- EventListenerList get progress => this['progress'];
+ void _close_1(code, reason) native "WebSocket_close_1_Callback";
- EventListenerList get rateChange => this['ratechange'];
+ void _close_2(code) native "WebSocket_close_2_Callback";
- EventListenerList get reset => this['reset'];
+ void _close_3() native "WebSocket_close_3_Callback";
- EventListenerList get resize => this['resize'];
+ bool $dom_dispatchEvent(Event evt) native "WebSocket_dispatchEvent_Callback";
- EventListenerList get scroll => this['scroll'];
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "WebSocket_removeEventListener_Callback";
- EventListenerList get search => this['search'];
+ void send(data) native "WebSocket_send_Callback";
- EventListenerList get seeked => this['seeked'];
+}
- EventListenerList get seeking => this['seeking'];
+class _WebSocketEventsImpl extends _EventsImpl implements WebSocketEvents {
+ _WebSocketEventsImpl(_ptr) : super(_ptr);
- EventListenerList get select => this['select'];
+ EventListenerList get close => this['close'];
- EventListenerList get stalled => this['stalled'];
+ EventListenerList get error => this['error'];
- EventListenerList get storage => this['storage'];
+ EventListenerList get message => this['message'];
- EventListenerList get submit => this['submit'];
+ EventListenerList get open => this['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.
- EventListenerList get suspend => this['suspend'];
+/// @domName WheelEvent
+abstract class WheelEvent implements MouseEvent {
- EventListenerList get timeUpdate => this['timeupdate'];
+ /** @domName WheelEvent.webkitDirectionInvertedFromDevice */
+ abstract bool get webkitDirectionInvertedFromDevice;
- EventListenerList get touchCancel => this['touchcancel'];
+ /** @domName WheelEvent.initWebKitWheelEvent */
+ void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, LocalWindow view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey);
- EventListenerList get touchEnd => this['touchend'];
- EventListenerList get touchMove => this['touchmove'];
+ /** @domName WheelEvent.deltaX */
+ num get deltaX;
- EventListenerList get touchStart => this['touchstart'];
+ /** @domName WheelEvent.deltaY */
+ num get deltaY;
- EventListenerList get unload => this['unload'];
+ /** @domName WheelEvent.deltaMode */
+ int get deltaMode;
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- EventListenerList get volumeChange => this['volumechange'];
+class _WheelEventImpl extends _MouseEventImpl implements WheelEvent {
- EventListenerList get waiting => this['waiting'];
+ bool get webkitDirectionInvertedFromDevice native "WheelEvent_webkitDirectionInvertedFromDevice_Getter";
- EventListenerList get animationEnd => this['webkitAnimationEnd'];
+ void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, LocalWindow view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native "WheelEvent_initWebKitWheelEvent_Callback";
- EventListenerList get animationIteration => this['webkitAnimationIteration'];
- EventListenerList get animationStart => this['webkitAnimationStart'];
+ num get deltaY native 'WheelEvent_wheelDelta_Getter';
+ num get deltaX native 'WheelEvent_wheelDeltaX_Getter';
+ int get deltaMode => 0;
- EventListenerList get transitionEnd => this['webkitTransitionEnd'];
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -42155,7 +42151,40 @@ class _XSLTProcessorFactoryProvider {
static XSLTProcessor createXSLTProcessor() => _createXSLTProcessor();
static XSLTProcessor _createXSLTProcessor() native "XSLTProcessor_constructor_Callback";
}
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS 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.
+
+abstract class Window {
+ // Fields.
+ Location get location;
+ History get history;
+
+ bool get closed;
+ Window get opener;
+ Window get parent;
+ Window get top;
+
+ // TODO(vsm): Add frames to navigate subframes. See 2312.
+
+ // Methods.
+ void focus();
+ void blur();
+ void close();
+ void postMessage(Dynamic message,
+ String targetOrigin,
+ [List messagePorts = null]);
+}
+
+abstract class Location {
+ void set href(String val);
+}
+
+abstract class History {
+ void back();
+ void forward();
+ void go(int distance);
+}// 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.
@@ -43919,9 +43948,9 @@ class _DOMWindowCrossFrameImpl extends NativeFieldWrapperClass1 implements Windo
Location get location() native "DOMWindow_location_cross_frame_Getter";
bool get closed() native "DOMWindow_closed_Getter";
int get length() native "DOMWindow_length_Getter";
- DOMWindow get opener() native "DOMWindow_opener_Getter";
- DOMWindow get parent() native "DOMWindow_parent_Getter";
- DOMWindow get top() native "DOMWindow_top_Getter";
+ Window get opener() native "DOMWindow_opener_Getter";
+ Window get parent() native "DOMWindow_parent_Getter";
+ Window get top() native "DOMWindow_top_Getter";
// Methods.
void focus() native "DOMWindow_focus_Callback";
« no previous file with comments | « no previous file | lib/html/scripts/htmlrenamer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698