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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 30353003: Removing some deprecated members (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | sdk/lib/indexed_db/dartium/indexed_db_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index adc5b0e63c457ac6934ca8fb365dfcb3e65b0823..a09de3e5e6d015a017708fb50e9d8ce6dc868d14 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -265,24 +265,6 @@ class AnchorElement extends HtmlElement {
@DocsEditable()
void set hreflang(String value) native "HTMLAnchorElement_hreflang_Setter";
- @DomName('HTMLAnchorElement.name')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLAnchorElement-partial
- @deprecated // deprecated
- String get name native "HTMLAnchorElement_name_Getter";
-
- @DomName('HTMLAnchorElement.name')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLAnchorElement-partial
- @deprecated // deprecated
- void set name(String value) native "HTMLAnchorElement_name_Setter";
-
- @DomName('HTMLAnchorElement.origin')
- @DocsEditable()
- // WebKit only
- @deprecated // nonstandard
- String get origin native "HTMLAnchorElement_origin_Getter";
-
@DomName('HTMLAnchorElement.pathname')
@DocsEditable()
String get pathname native "HTMLAnchorElement_pathname_Getter";
@@ -291,18 +273,6 @@ class AnchorElement extends HtmlElement {
@DocsEditable()
void set pathname(String value) native "HTMLAnchorElement_pathname_Setter";
- @DomName('HTMLAnchorElement.ping')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-a-element
- @deprecated // deprecated
- String get ping native "HTMLAnchorElement_ping_Getter";
-
- @DomName('HTMLAnchorElement.ping')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-a-element
- @deprecated // deprecated
- void set ping(String value) native "HTMLAnchorElement_ping_Setter";
-
@DomName('HTMLAnchorElement.port')
@DocsEditable()
String get port native "HTMLAnchorElement_port_Getter";
@@ -477,7 +447,7 @@ class ApplicationCache extends EventTarget {
@DomName('ApplicationCache.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "ApplicationCache_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "ApplicationCache_addEventListener_Callback";
@DomName('ApplicationCache.dispatchEvent')
@DocsEditable()
@@ -485,7 +455,7 @@ class ApplicationCache extends EventTarget {
@DomName('ApplicationCache.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "ApplicationCache_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "ApplicationCache_removeEventListener_Callback";
@DomName('ApplicationCache.oncached')
@DocsEditable()
@@ -593,18 +563,6 @@ class AreaElement extends HtmlElement {
@DocsEditable()
String get pathname native "HTMLAreaElement_pathname_Getter";
- @DomName('HTMLAreaElement.ping')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLAreaElement-partial
- @deprecated // deprecated
- String get ping native "HTMLAreaElement_ping_Getter";
-
- @DomName('HTMLAreaElement.ping')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLAreaElement-partial
- @deprecated // deprecated
- void set ping(String value) native "HTMLAreaElement_ping_Setter";
-
@DomName('HTMLAreaElement.port')
@DocsEditable()
String get port native "HTMLAreaElement_port_Getter";
@@ -3299,12 +3257,6 @@ class CssRule extends NativeFieldWrapperClass2 {
@DocsEditable()
static const int SUPPORTS_RULE = 12;
- @DomName('CSSRule.UNKNOWN_RULE')
- @DocsEditable()
- // http://dev.w3.org/csswg/cssom/#changes-from-dom2
- @deprecated // deprecated
- static const int UNKNOWN_RULE = 0;
-
@DomName('CSSRule.VIEWPORT_RULE')
@DocsEditable()
@Experimental() // untriaged
@@ -7701,16 +7653,6 @@ class Document extends Node
@DocsEditable()
void set _body(HtmlElement value) native "Document_body_Setter";
- @DomName('Document.charset')
- @DocsEditable()
- @deprecated // nonstandard
- String get charset native "Document_charset_Getter";
-
- @DomName('Document.charset')
- @DocsEditable()
- @deprecated // nonstandard
- void set charset(String value) native "Document_charset_Setter";
-
@DomName('Document.cookie')
@DocsEditable()
String get cookie native "Document_cookie_Getter";
@@ -7816,15 +7758,6 @@ class Document extends Node
// https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PageVisibility/Overview.html#document
bool get _webkitHidden native "Document_webkitHidden_Getter";
- @DomName('Document.webkitIsFullScreen')
- @DocsEditable()
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- @Experimental()
- // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html
- @deprecated // deprecated
- bool get _webkitIsFullScreen native "Document_webkitIsFullScreen_Getter";
-
@DomName('Document.webkitPointerLockElement')
@DocsEditable()
@SupportedBrowser(SupportedBrowser.CHROME)
@@ -7851,12 +7784,6 @@ class Document extends Node
@Experimental()
Range _caretRangeFromPoint(int x, int y) native "Document_caretRangeFromPoint_Callback";
- @DomName('Document.createCDATASection')
- @DocsEditable()
- // http://dom.spec.whatwg.org/#dom-document-createcdatasection
- @deprecated // deprecated
- CDataSection createCDataSection(String data) native "Document_createCDATASection_Callback";
-
@DomName('Document.createDocumentFragment')
@DocsEditable()
DocumentFragment createDocumentFragment() native "Document_createDocumentFragment_Callback";
@@ -8020,15 +7947,6 @@ class Document extends Node
@DocsEditable()
List<Node> _querySelectorAll(String selectors) native "Document_querySelectorAll_Callback";
- @DomName('Document.webkitCancelFullScreen')
- @DocsEditable()
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- @Experimental()
- // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html
- @deprecated // deprecated
- void _webkitCancelFullScreen() native "Document_webkitCancelFullScreen_Callback";
-
@DomName('Document.webkitExitFullscreen')
@DocsEditable()
@SupportedBrowser(SupportedBrowser.CHROME)
@@ -10726,12 +10644,6 @@ abstract class Element extends Node implements ParentNode, ChildNode {
void insertAdjacentText(String where, String text);
- @DomName('Element.ALLOW_KEYBOARD_INPUT')
- @DocsEditable()
- // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-element-requestfullscreen
- @deprecated // deprecated
- static const int ALLOW_KEYBOARD_INPUT = 1;
-
@DomName('Element.attributes')
@DocsEditable()
_NamedNodeMap get _attributes native "Element_attributes_Getter";
@@ -10871,12 +10783,12 @@ abstract class Element extends Node implements ParentNode, ChildNode {
@DomName('Element.getAttribute')
@DocsEditable()
- @deprecated
+ @Experimental() // untriaged
String getAttribute(String name) native "Element_getAttribute_Callback";
@DomName('Element.getAttributeNS')
@DocsEditable()
- @deprecated
+ @Experimental() // untriaged
String getAttributeNS(String namespaceURI, String localName) native "Element_getAttributeNS_Callback";
@DomName('Element.getBoundingClientRect')
@@ -10977,12 +10889,10 @@ abstract class Element extends Node implements ParentNode, ChildNode {
@DomName('Element.setAttribute')
@DocsEditable()
- @deprecated
void setAttribute(String name, String value) native "Element_setAttribute_Callback";
@DomName('Element.setAttributeNS')
@DocsEditable()
- @deprecated
void setAttributeNS(String namespaceURI, String qualifiedName, String value) native "Element_setAttributeNS_Callback";
@DomName('Element.webkitGetRegionFlowRanges')
@@ -10999,15 +10909,6 @@ abstract class Element extends Node implements ParentNode, ChildNode {
// http://dev.w3.org/2006/webapi/selectors-api2/#matches
bool matches(String selectors) native "Element_webkitMatchesSelector_Callback";
- @DomName('Element.webkitRequestFullScreen')
- @DocsEditable()
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- @Experimental()
- // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-element-requestfullscreen
- @deprecated // deprecated
- void requestFullScreen(int flags) native "Element_webkitRequestFullScreen_Callback";
-
@DomName('Element.webkitRequestFullscreen')
@DocsEditable()
@SupportedBrowser(SupportedBrowser.CHROME)
@@ -11335,18 +11236,6 @@ class EmbedElement extends HtmlElement {
/// Checks if this type is supported on the current platform.
static bool get supported => true;
- @DomName('HTMLEmbedElement.align')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLEmbedElement-partial
- @deprecated // deprecated
- String get align native "HTMLEmbedElement_align_Getter";
-
- @DomName('HTMLEmbedElement.align')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLEmbedElement-partial
- @deprecated // deprecated
- void set align(String value) native "HTMLEmbedElement_align_Setter";
-
@DomName('HTMLEmbedElement.height')
@DocsEditable()
String get height native "HTMLEmbedElement_height_Getter";
@@ -11651,12 +11540,6 @@ class Event extends NativeFieldWrapperClass2 {
@DocsEditable()
static const int AT_TARGET = 2;
- @DomName('Event.BLUR')
- @DocsEditable()
- // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents
- @deprecated // deprecated
- static const int BLUR = 8192;
-
@DomName('Event.BUBBLING_PHASE')
@DocsEditable()
static const int BUBBLING_PHASE = 3;
@@ -11665,118 +11548,10 @@ class Event extends NativeFieldWrapperClass2 {
@DocsEditable()
static const int CAPTURING_PHASE = 1;
- @DomName('Event.CHANGE')
- @DocsEditable()
- // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents
- @deprecated // deprecated
- static const int CHANGE = 32768;
-
- @DomName('Event.CLICK')
- @DocsEditable()
- // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents
- @deprecated // deprecated
- static const int CLICK = 64;
-
- @DomName('Event.DBLCLICK')
- @DocsEditable()
- // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents
- @deprecated // deprecated
- static const int DBLCLICK = 128;
-
- @DomName('Event.DRAGDROP')
- @DocsEditable()
- // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents
- @deprecated // deprecated
- static const int DRAGDROP = 2048;
-
- @DomName('Event.FOCUS')
- @DocsEditable()
- // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents
- @deprecated // deprecated
- static const int FOCUS = 4096;
-
- @DomName('Event.KEYDOWN')
- @DocsEditable()
- // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents
- @deprecated // deprecated
- static const int KEYDOWN = 256;
-
- @DomName('Event.KEYPRESS')
- @DocsEditable()
- // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents
- @deprecated // deprecated
- static const int KEYPRESS = 1024;
-
- @DomName('Event.KEYUP')
- @DocsEditable()
- // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents
- @deprecated // deprecated
- static const int KEYUP = 512;
-
- @DomName('Event.MOUSEDOWN')
- @DocsEditable()
- // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents
- @deprecated // deprecated
- static const int MOUSEDOWN = 1;
-
- @DomName('Event.MOUSEDRAG')
- @DocsEditable()
- // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents
- @deprecated // deprecated
- static const int MOUSEDRAG = 32;
-
- @DomName('Event.MOUSEMOVE')
- @DocsEditable()
- // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents
- @deprecated // deprecated
- static const int MOUSEMOVE = 16;
-
- @DomName('Event.MOUSEOUT')
- @DocsEditable()
- // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents
- @deprecated // deprecated
- static const int MOUSEOUT = 8;
-
- @DomName('Event.MOUSEOVER')
- @DocsEditable()
- // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents
- @deprecated // deprecated
- static const int MOUSEOVER = 4;
-
- @DomName('Event.MOUSEUP')
- @DocsEditable()
- // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents
- @deprecated // deprecated
- static const int MOUSEUP = 2;
-
- @DomName('Event.NONE')
- @DocsEditable()
- // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents
- @deprecated // deprecated
- static const int NONE = 0;
-
- @DomName('Event.SELECT')
- @DocsEditable()
- // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents
- @deprecated // deprecated
- static const int SELECT = 16384;
-
@DomName('Event.bubbles')
@DocsEditable()
bool get bubbles native "Event_bubbles_Getter";
- @DomName('Event.cancelBubble')
- @DocsEditable()
- // http://www.w3.org/TR/DOM-Level-3-Events/#events-event-type-stopPropagation
- @deprecated // deprecated
- bool get cancelBubble native "Event_cancelBubble_Getter";
-
- @DomName('Event.cancelBubble')
- @DocsEditable()
- // http://www.w3.org/TR/DOM-Level-3-Events/#events-event-type-stopPropagation
- @deprecated // deprecated
- void set cancelBubble(bool value) native "Event_cancelBubble_Setter";
-
@DomName('Event.cancelable')
@DocsEditable()
bool get cancelable native "Event_cancelable_Getter";
@@ -11906,7 +11681,7 @@ class EventSource extends EventTarget {
@DomName('EventSource.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "EventSource_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "EventSource_addEventListener_Callback";
@DomName('EventSource.dispatchEvent')
@DocsEditable()
@@ -11914,7 +11689,7 @@ class EventSource extends EventTarget {
@DomName('EventSource.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "EventSource_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "EventSource_removeEventListener_Callback";
@DomName('EventSource.onerror')
@DocsEditable()
@@ -11995,8 +11770,7 @@ class ElementEvents extends Events {
/**
* Base class for all browser objects that support events.
*
- * Use the [on] property to add, and remove events (rather than
- * [$dom_addEventListener] and [$dom_removeEventListener]
+ * Use the [on] property to add, and remove events
* for compile-time type checks and a more concise API.
*/
@DomName('EventTarget')
@@ -12015,8 +11789,7 @@ class EventTarget extends NativeFieldWrapperClass2 {
@DomName('EventTarget.addEventListener')
@DocsEditable()
- @deprecated
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "EventTarget_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "EventTarget_addEventListener_Callback";
@DomName('EventTarget.dispatchEvent')
@DocsEditable()
@@ -12024,8 +11797,7 @@ class EventTarget extends NativeFieldWrapperClass2 {
@DomName('EventTarget.removeEventListener')
@DocsEditable()
- @deprecated
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "EventTarget_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "EventTarget_removeEventListener_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -12395,12 +12167,6 @@ class FileReader extends EventTarget {
@DocsEditable()
void readAsArrayBuffer(Blob blob) native "FileReader_readAsArrayBuffer_Callback";
- @DomName('FileReader.readAsBinaryString')
- @DocsEditable()
- // http://blog.whatwg.org/weekly-stream-autocomplete
- @deprecated // deprecated
- void readAsBinaryString(Blob blob) native "FileReader_readAsBinaryString_Callback";
-
@DomName('FileReader.readAsDataURL')
@DocsEditable()
void readAsDataUrl(Blob blob) native "FileReader_readAsDataURL_Callback";
@@ -12420,7 +12186,7 @@ class FileReader extends EventTarget {
@DomName('FileReader.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "FileReader_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "FileReader_addEventListener_Callback";
@DomName('FileReader.dispatchEvent')
@DocsEditable()
@@ -12428,7 +12194,7 @@ class FileReader extends EventTarget {
@DomName('FileReader.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "FileReader_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "FileReader_removeEventListener_Callback";
@DomName('FileReader.onabort')
@DocsEditable()
@@ -12599,7 +12365,7 @@ class FileWriter extends EventTarget {
@DomName('FileWriter.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "FileWriter_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "FileWriter_addEventListener_Callback";
@DomName('FileWriter.dispatchEvent')
@DocsEditable()
@@ -12607,7 +12373,7 @@ class FileWriter extends EventTarget {
@DomName('FileWriter.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "FileWriter_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "FileWriter_removeEventListener_Callback";
@DomName('FileWriter.onabort')
@DocsEditable()
@@ -12723,7 +12489,7 @@ class FontLoader extends EventTarget {
@DomName('FontLoader.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "FontLoader_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "FontLoader_addEventListener_Callback";
@DomName('FontLoader.dispatchEvent')
@DocsEditable()
@@ -12731,7 +12497,7 @@ class FontLoader extends EventTarget {
@DomName('FontLoader.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "FontLoader_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "FontLoader_removeEventListener_Callback";
@DomName('FontLoader.onerror')
@DocsEditable()
@@ -13504,18 +13270,6 @@ class HtmlDocument extends Document {
@DocsEditable()
Element get activeElement native "HTMLDocument_activeElement_Getter";
- @DomName('HTMLDocument.captureEvents')
- @DocsEditable()
- // http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-flow-capture
- @deprecated // deprecated
- void captureEvents() native "HTMLDocument_captureEvents_Callback";
-
- @DomName('HTMLDocument.releaseEvents')
- @DocsEditable()
- // http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-flow-capture
- @deprecated // deprecated
- void releaseEvents() native "HTMLDocument_releaseEvents_Callback";
-
@DomName('Document.body')
BodyElement get body => _body;
@@ -14721,16 +14475,6 @@ class ImageElement extends HtmlElement implements CanvasImageSource {
@DocsEditable()
void set alt(String value) native "HTMLImageElement_alt_Setter";
- @DomName('HTMLImageElement.border')
- @DocsEditable()
- @deprecated // deprecated
- String get border native "HTMLImageElement_border_Getter";
-
- @DomName('HTMLImageElement.border')
- @DocsEditable()
- @deprecated // deprecated
- void set border(String value) native "HTMLImageElement_border_Setter";
-
@DomName('HTMLImageElement.complete')
@DocsEditable()
bool get complete native "HTMLImageElement_complete_Getter";
@@ -14759,16 +14503,6 @@ class ImageElement extends HtmlElement implements CanvasImageSource {
@DocsEditable()
void set isMap(bool value) native "HTMLImageElement_isMap_Setter";
- @DomName('HTMLImageElement.lowsrc')
- @DocsEditable()
- @deprecated // deprecated
- String get lowsrc native "HTMLImageElement_lowsrc_Getter";
-
- @DomName('HTMLImageElement.lowsrc')
- @DocsEditable()
- @deprecated // deprecated
- void set lowsrc(String value) native "HTMLImageElement_lowsrc_Setter";
-
@DomName('HTMLImageElement.naturalHeight')
@DocsEditable()
int get naturalHeight native "HTMLImageElement_naturalHeight_Getter";
@@ -14801,16 +14535,6 @@ class ImageElement extends HtmlElement implements CanvasImageSource {
@DocsEditable()
void set width(int value) native "HTMLImageElement_width_Setter";
- @DomName('HTMLImageElement.x')
- @DocsEditable()
- @deprecated // deprecated
- int get x native "HTMLImageElement_x_Getter";
-
- @DomName('HTMLImageElement.y')
- @DocsEditable()
- @deprecated // deprecated
- int get y native "HTMLImageElement_y_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
@@ -15168,18 +14892,6 @@ class InputElement extends HtmlElement implements
@DocsEditable()
void set type(String value) native "HTMLInputElement_type_Setter";
- @DomName('HTMLInputElement.useMap')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLInputElement-partial
- @deprecated // deprecated
- String get useMap native "HTMLInputElement_useMap_Getter";
-
- @DomName('HTMLInputElement.useMap')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLInputElement-partial
- @deprecated // deprecated
- void set useMap(String value) native "HTMLInputElement_useMap_Setter";
-
@DomName('HTMLInputElement.validationMessage')
@DocsEditable()
String get validationMessage native "HTMLInputElement_validationMessage_Getter";
@@ -16174,18 +15886,6 @@ class LIElement extends HtmlElement {
*/
LIElement.created() : super.created();
- @DomName('HTMLLIElement.type')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLLIElement-partial
- @deprecated // deprecated
- String get type native "HTMLLIElement_type_Getter";
-
- @DomName('HTMLLIElement.type')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLLIElement-partial
- @deprecated // deprecated
- void set type(String value) native "HTMLLIElement_type_Setter";
-
@DomName('HTMLLIElement.value')
@DocsEditable()
int get value native "HTMLLIElement_value_Getter";
@@ -16616,7 +16316,7 @@ class MediaController extends EventTarget {
@DomName('MediaController.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "MediaController_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "MediaController_addEventListener_Callback";
@DomName('MediaController.dispatchEvent')
@DocsEditable()
@@ -16624,7 +16324,7 @@ class MediaController extends EventTarget {
@DomName('MediaController.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "MediaController_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "MediaController_removeEventListener_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -17448,7 +17148,7 @@ class MediaKeySession extends EventTarget {
@DomName('MediaKeySession.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "MediaKeySession_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "MediaKeySession_addEventListener_Callback";
@DomName('MediaKeySession.dispatchEvent')
@DocsEditable()
@@ -17456,7 +17156,7 @@ class MediaKeySession extends EventTarget {
@DomName('MediaKeySession.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "MediaKeySession_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "MediaKeySession_removeEventListener_Callback";
@DomName('MediaKeySession.onwebkitkeyadded')
@DocsEditable()
@@ -17655,7 +17355,7 @@ class MediaSource extends EventTarget {
@DomName('MediaSource.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "MediaSource_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "MediaSource_addEventListener_Callback";
@DomName('MediaSource.dispatchEvent')
@DocsEditable()
@@ -17663,7 +17363,7 @@ class MediaSource extends EventTarget {
@DomName('MediaSource.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "MediaSource_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "MediaSource_removeEventListener_Callback";
}
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
@@ -17754,7 +17454,7 @@ class MediaStream extends EventTarget {
@DomName('MediaStream.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "MediaStream_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "MediaStream_addEventListener_Callback";
@DomName('MediaStream.dispatchEvent')
@DocsEditable()
@@ -17762,7 +17462,7 @@ class MediaStream extends EventTarget {
@DomName('MediaStream.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "MediaStream_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "MediaStream_removeEventListener_Callback";
@DomName('MediaStream.onaddtrack')
@DocsEditable()
@@ -17876,7 +17576,7 @@ class MediaStreamTrack extends EventTarget {
@DomName('MediaStreamTrack.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "MediaStreamTrack_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "MediaStreamTrack_addEventListener_Callback";
@DomName('MediaStreamTrack.dispatchEvent')
@DocsEditable()
@@ -17884,7 +17584,7 @@ class MediaStreamTrack extends EventTarget {
@DomName('MediaStreamTrack.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "MediaStreamTrack_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "MediaStreamTrack_removeEventListener_Callback";
@DomName('MediaStreamTrack.onended')
@DocsEditable()
@@ -18100,7 +17800,7 @@ class MessagePort extends EventTarget {
@DomName('MessagePort.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "MessagePort_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "MessagePort_addEventListener_Callback";
@DomName('MessagePort.dispatchEvent')
@DocsEditable()
@@ -18108,7 +17808,7 @@ class MessagePort extends EventTarget {
@DomName('MessagePort.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "MessagePort_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "MessagePort_removeEventListener_Callback";
@DomName('MessagePort.onmessage')
@DocsEditable()
@@ -18315,7 +18015,7 @@ class MidiAccess extends EventTarget {
@DomName('MIDIAccess.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "MIDIAccess_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "MIDIAccess_addEventListener_Callback";
@DomName('MIDIAccess.dispatchEvent')
@DocsEditable()
@@ -18323,7 +18023,7 @@ class MidiAccess extends EventTarget {
@DomName('MIDIAccess.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "MIDIAccess_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "MIDIAccess_removeEventListener_Callback";
@DomName('MIDIAccess.onconnect')
@DocsEditable()
@@ -18492,7 +18192,7 @@ class MidiPort extends EventTarget {
@DomName('MIDIPort.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "MIDIPort_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "MIDIPort_addEventListener_Callback";
@DomName('MIDIPort.dispatchEvent')
@DocsEditable()
@@ -18500,7 +18200,7 @@ class MidiPort extends EventTarget {
@DomName('MIDIPort.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "MIDIPort_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "MIDIPort_removeEventListener_Callback";
@DomName('MIDIPort.ondisconnect')
@DocsEditable()
@@ -19055,7 +18755,7 @@ class NamedFlow extends EventTarget {
@DomName('WebKitNamedFlow.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "WebKitNamedFlow_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "WebKitNamedFlow_addEventListener_Callback";
@DomName('WebKitNamedFlow.dispatchEvent')
@DocsEditable()
@@ -19063,7 +18763,7 @@ class NamedFlow extends EventTarget {
@DomName('WebKitNamedFlow.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "WebKitNamedFlow_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "WebKitNamedFlow_removeEventListener_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -19197,11 +18897,6 @@ class Navigator extends NativeFieldWrapperClass2 implements NavigatorOnLine, Nav
@Experimental() // nonstandard
MimeTypeArray get mimeTypes native "Navigator_mimeTypes_Getter";
- @DomName('Navigator.plugins')
- @DocsEditable()
- @deprecated // nonstandard
- PluginArray get plugins native "Navigator_plugins_Getter";
-
@DomName('Navigator.product')
@DocsEditable()
@Unstable()
@@ -19244,11 +18939,6 @@ class Navigator extends NativeFieldWrapperClass2 implements NavigatorOnLine, Nav
@Experimental()
void getStorageUpdates() native "Navigator_getStorageUpdates_Callback";
- @DomName('Navigator.javaEnabled')
- @DocsEditable()
- @deprecated // nonstandard
- bool javaEnabled() native "Navigator_javaEnabled_Callback";
-
@DomName('Navigator.registerProtocolHandler')
@DocsEditable()
@Unstable()
@@ -19772,7 +19462,6 @@ class Node extends EventTarget {
@DomName('Node.childNodes')
@DocsEditable()
- @deprecated
List<Node> get childNodes native "Node_childNodes_Getter";
@DomName('Node.firstChild')
@@ -19785,14 +19474,10 @@ class Node extends EventTarget {
@DomName('Node.localName')
@DocsEditable()
- // http://dom.spec.whatwg.org/#dom-node-localname
- @deprecated // deprecated
String get _localName native "Node_localName_Getter";
@DomName('Node.namespaceURI')
@DocsEditable()
- // http://dom.spec.whatwg.org/#dom-node-namespaceuri
- @deprecated // deprecated
String get _namespaceUri native "Node_namespaceURI_Getter";
@DomName('Node.nextSibling')
@@ -19874,7 +19559,7 @@ class Node extends EventTarget {
@DomName('Node.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "Node_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "Node_addEventListener_Callback";
@DomName('Node.dispatchEvent')
@DocsEditable()
@@ -19882,7 +19567,7 @@ class Node extends EventTarget {
@DomName('Node.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "Node_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "Node_removeEventListener_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -19915,16 +19600,6 @@ class NodeFilter extends NativeFieldWrapperClass2 {
@DocsEditable()
static const int SHOW_ALL = 0xFFFFFFFF;
- @DomName('NodeFilter.SHOW_ATTRIBUTE')
- @DocsEditable()
- @deprecated // deprecated
- static const int SHOW_ATTRIBUTE = 0x00000002;
-
- @DomName('NodeFilter.SHOW_CDATA_SECTION')
- @DocsEditable()
- @deprecated // deprecated
- static const int SHOW_CDATA_SECTION = 0x00000008;
-
@DomName('NodeFilter.SHOW_COMMENT')
@DocsEditable()
static const int SHOW_COMMENT = 0x00000080;
@@ -19945,21 +19620,6 @@ class NodeFilter extends NativeFieldWrapperClass2 {
@DocsEditable()
static const int SHOW_ELEMENT = 0x00000001;
- @DomName('NodeFilter.SHOW_ENTITY')
- @DocsEditable()
- @deprecated // deprecated
- static const int SHOW_ENTITY = 0x00000020;
-
- @DomName('NodeFilter.SHOW_ENTITY_REFERENCE')
- @DocsEditable()
- @deprecated // deprecated
- static const int SHOW_ENTITY_REFERENCE = 0x00000010;
-
- @DomName('NodeFilter.SHOW_NOTATION')
- @DocsEditable()
- @deprecated // deprecated
- static const int SHOW_NOTATION = 0x00000800;
-
@DomName('NodeFilter.SHOW_PROCESSING_INSTRUCTION')
@DocsEditable()
static const int SHOW_PROCESSING_INSTRUCTION = 0x00000040;
@@ -20219,7 +19879,7 @@ class Notification extends EventTarget {
@DomName('Notification.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "Notification_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "Notification_addEventListener_Callback";
@DomName('Notification.dispatchEvent')
@DocsEditable()
@@ -20227,7 +19887,7 @@ class Notification extends EventTarget {
@DomName('Notification.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "Notification_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "Notification_removeEventListener_Callback";
@DomName('Notification.onclick')
@DocsEditable()
@@ -20381,18 +20041,6 @@ class ObjectElement extends HtmlElement {
/// Checks if this type is supported on the current platform.
static bool get supported => true;
- @DomName('HTMLObjectElement.code')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLObjectElement-partial
- @deprecated // deprecated
- String get code native "HTMLObjectElement_code_Getter";
-
- @DomName('HTMLObjectElement.code')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLObjectElement-partial
- @deprecated // deprecated
- void set code(String value) native "HTMLObjectElement_code_Setter";
-
@DomName('HTMLObjectElement.data')
@DocsEditable()
String get data native "HTMLObjectElement_data_Getter";
@@ -21016,7 +20664,7 @@ class Performance extends EventTarget {
@DomName('Performance.addEventListener')
@DocsEditable()
@Experimental() // untriaged
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "Performance_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "Performance_addEventListener_Callback";
@DomName('Performance.dispatchEvent')
@DocsEditable()
@@ -21026,7 +20674,7 @@ class Performance extends EventTarget {
@DomName('Performance.removeEventListener')
@DocsEditable()
@Experimental() // untriaged
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "Performance_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "Performance_removeEventListener_Callback";
@DomName('Performance.onwebkitresourcetimingbufferfull')
@DocsEditable()
@@ -21527,16 +21175,6 @@ class PreElement extends HtmlElement {
*/
PreElement.created() : super.created();
- @DomName('HTMLPreElement.wrap')
- @DocsEditable()
- @deprecated // deprecated
- bool get wrap native "HTMLPreElement_wrap_Getter";
-
- @DomName('HTMLPreElement.wrap')
- @DocsEditable()
- @deprecated // deprecated
- void set wrap(bool value) native "HTMLPreElement_wrap_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
@@ -21873,11 +21511,6 @@ class Range extends NativeFieldWrapperClass2 {
@DocsEditable()
void collapse(bool toStart) native "Range_collapse_Callback";
- @DomName('Range.compareNode')
- @DocsEditable()
- @deprecated // deprecated
- int compareNode(Node refNode) native "Range_compareNode_Callback";
-
@DomName('Range.comparePoint')
@DocsEditable()
int comparePoint(Node refNode, int offset) native "Range_comparePoint_Callback";
@@ -21915,11 +21548,6 @@ class Range extends NativeFieldWrapperClass2 {
@DocsEditable()
void insertNode(Node newNode) native "Range_insertNode_Callback";
- @DomName('Range.intersectsNode')
- @DocsEditable()
- @deprecated // deprecated
- bool intersectsNode(Node refNode) native "Range_intersectsNode_Callback";
-
@DomName('Range.isPointInRange')
@DocsEditable()
bool isPointInRange(Node refNode, int offset) native "Range_isPointInRange_Callback";
@@ -22183,7 +21811,7 @@ class RtcDataChannel extends EventTarget {
@DomName('RTCDataChannel.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "RTCDataChannel_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "RTCDataChannel_addEventListener_Callback";
@DomName('RTCDataChannel.dispatchEvent')
@DocsEditable()
@@ -22191,7 +21819,7 @@ class RtcDataChannel extends EventTarget {
@DomName('RTCDataChannel.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "RTCDataChannel_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "RTCDataChannel_removeEventListener_Callback";
@DomName('RTCDataChannel.onclose')
@DocsEditable()
@@ -22290,7 +21918,7 @@ class RtcDtmfSender extends EventTarget {
@DomName('RTCDTMFSender.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "RTCDTMFSender_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "RTCDTMFSender_addEventListener_Callback";
@DomName('RTCDTMFSender.dispatchEvent')
@DocsEditable()
@@ -22298,7 +21926,7 @@ class RtcDtmfSender extends EventTarget {
@DomName('RTCDTMFSender.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "RTCDTMFSender_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "RTCDTMFSender_removeEventListener_Callback";
@DomName('RTCDTMFSender.ontonechange')
@DocsEditable()
@@ -22559,7 +22187,7 @@ class RtcPeerConnection extends EventTarget {
@DomName('RTCPeerConnection.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "RTCPeerConnection_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "RTCPeerConnection_addEventListener_Callback";
@DomName('RTCPeerConnection.dispatchEvent')
@DocsEditable()
@@ -22567,7 +22195,7 @@ class RtcPeerConnection extends EventTarget {
@DomName('RTCPeerConnection.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "RTCPeerConnection_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "RTCPeerConnection_removeEventListener_Callback";
@DomName('RTCPeerConnection.onaddstream')
@DocsEditable()
@@ -22823,30 +22451,6 @@ class ScriptElement extends HtmlElement {
@DocsEditable()
void set defer(bool value) native "HTMLScriptElement_defer_Setter";
- @DomName('HTMLScriptElement.event')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLScriptElement-partial
- @deprecated // deprecated
- String get event native "HTMLScriptElement_event_Getter";
-
- @DomName('HTMLScriptElement.event')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLScriptElement-partial
- @deprecated // deprecated
- void set event(String value) native "HTMLScriptElement_event_Setter";
-
- @DomName('HTMLScriptElement.htmlFor')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLScriptElement-partial
- @deprecated // deprecated
- String get htmlFor native "HTMLScriptElement_htmlFor_Getter";
-
- @DomName('HTMLScriptElement.htmlFor')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLScriptElement-partial
- @deprecated // deprecated
- void set htmlFor(String value) native "HTMLScriptElement_htmlFor_Setter";
-
@DomName('HTMLScriptElement.nonce')
@DocsEditable()
// https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html#interaction-with-the-script-src-directive
@@ -23513,7 +23117,7 @@ class SourceBuffer extends EventTarget {
@DomName('SourceBuffer.addEventListener')
@DocsEditable()
@Experimental() // untriaged
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "SourceBuffer_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "SourceBuffer_addEventListener_Callback";
@DomName('SourceBuffer.dispatchEvent')
@DocsEditable()
@@ -23523,7 +23127,7 @@ class SourceBuffer extends EventTarget {
@DomName('SourceBuffer.removeEventListener')
@DocsEditable()
@Experimental() // untriaged
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "SourceBuffer_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "SourceBuffer_removeEventListener_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -23596,7 +23200,7 @@ class SourceBufferList extends EventTarget with ListMixin<SourceBuffer>, Immutab
@DomName('SourceBufferList.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "SourceBufferList_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "SourceBufferList_addEventListener_Callback";
@DomName('SourceBufferList.dispatchEvent')
@DocsEditable()
@@ -23604,7 +23208,7 @@ class SourceBufferList extends EventTarget with ListMixin<SourceBuffer>, Immutab
@DomName('SourceBufferList.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "SourceBufferList_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "SourceBufferList_removeEventListener_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -24029,7 +23633,7 @@ class SpeechRecognition extends EventTarget {
@DomName('SpeechRecognition.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "SpeechRecognition_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "SpeechRecognition_addEventListener_Callback";
@DomName('SpeechRecognition.dispatchEvent')
@DocsEditable()
@@ -24037,7 +23641,7 @@ class SpeechRecognition extends EventTarget {
@DomName('SpeechRecognition.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "SpeechRecognition_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "SpeechRecognition_removeEventListener_Callback";
@DomName('SpeechRecognition.onaudioend')
@DocsEditable()
@@ -24375,7 +23979,7 @@ class SpeechSynthesisUtterance extends EventTarget {
@DomName('SpeechSynthesisUtterance.addEventListener')
@DocsEditable()
@Experimental() // untriaged
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "SpeechSynthesisUtterance_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "SpeechSynthesisUtterance_addEventListener_Callback";
@DomName('SpeechSynthesisUtterance.dispatchEvent')
@DocsEditable()
@@ -24385,7 +23989,7 @@ class SpeechSynthesisUtterance extends EventTarget {
@DomName('SpeechSynthesisUtterance.removeEventListener')
@DocsEditable()
@Experimental() // untriaged
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "SpeechSynthesisUtterance_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "SpeechSynthesisUtterance_removeEventListener_Callback";
@DomName('SpeechSynthesisUtterance.onboundary')
@DocsEditable()
@@ -25066,18 +24670,6 @@ class TableElement extends HtmlElement {
*/
TableElement.created() : super.created();
- @DomName('HTMLTableElement.border')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLTableElement-partial
- @deprecated // deprecated
- String get border native "HTMLTableElement_border_Getter";
-
- @DomName('HTMLTableElement.border')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLTableElement-partial
- @deprecated // deprecated
- void set border(String value) native "HTMLTableElement_border_Setter";
-
@DomName('HTMLTableElement.caption')
@DocsEditable()
TableCaptionElement get caption native "HTMLTableElement_caption_Getter";
@@ -25593,12 +25185,6 @@ class Text extends CharacterData {
@Experimental() // untriaged
List<Node> getDestinationInsertionPoints() native "Text_getDestinationInsertionPoints_Callback";
- @DomName('Text.replaceWholeText')
- @DocsEditable()
- // http://dom.spec.whatwg.org/#dom-text-replacewholetext
- @deprecated // deprecated
- Text replaceWholeText(String content) native "Text_replaceWholeText_Callback";
-
@DomName('Text.splitText')
@DocsEditable()
Text splitText(int offset) native "Text_splitText_Callback";
@@ -25946,7 +25532,7 @@ class TextTrack extends EventTarget {
@DomName('TextTrack.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "TextTrack_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "TextTrack_addEventListener_Callback";
@DomName('TextTrack.dispatchEvent')
@DocsEditable()
@@ -25954,7 +25540,7 @@ class TextTrack extends EventTarget {
@DomName('TextTrack.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "TextTrack_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "TextTrack_removeEventListener_Callback";
@DomName('TextTrack.oncuechange')
@DocsEditable()
@@ -26106,7 +25692,7 @@ class TextTrackCue extends EventTarget {
@DomName('TextTrackCue.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "TextTrackCue_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "TextTrackCue_addEventListener_Callback";
@DomName('TextTrackCue.dispatchEvent')
@DocsEditable()
@@ -26114,7 +25700,7 @@ class TextTrackCue extends EventTarget {
@DomName('TextTrackCue.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "TextTrackCue_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "TextTrackCue_removeEventListener_Callback";
@DomName('TextTrackCue.onenter')
@DocsEditable()
@@ -26272,7 +25858,7 @@ class TextTrackList extends EventTarget with ListMixin<TextTrack>, ImmutableList
@DomName('TextTrackList.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "TextTrackList_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "TextTrackList_addEventListener_Callback";
@DomName('TextTrackList.dispatchEvent')
@DocsEditable()
@@ -26280,7 +25866,7 @@ class TextTrackList extends EventTarget with ListMixin<TextTrack>, ImmutableList
@DomName('TextTrackList.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "TextTrackList_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "TextTrackList_removeEventListener_Callback";
@DomName('TextTrackList.onaddtrack')
@DocsEditable()
@@ -26744,12 +26330,6 @@ class TreeWalker extends NativeFieldWrapperClass2 {
@DocsEditable()
void set currentNode(Node value) native "TreeWalker_currentNode_Setter";
- @DomName('TreeWalker.expandEntityReferences')
- @DocsEditable()
- // http://dom.spec.whatwg.org/#dom-traversal
- @deprecated // deprecated
- bool get expandEntityReferences native "TreeWalker_expandEntityReferences_Getter";
-
@DomName('TreeWalker.filter')
@DocsEditable()
NodeFilter get filter native "TreeWalker_filter_Getter";
@@ -26955,13 +26535,13 @@ class Url extends NativeFieldWrapperClass2 {
if ((blob_OR_source_OR_stream is Blob || blob_OR_source_OR_stream == null)) {
return _createObjectURL_1(blob_OR_source_OR_stream);
}
- if ((blob_OR_source_OR_stream is MediaSource || blob_OR_source_OR_stream == null)) {
+ if ((blob_OR_source_OR_stream is MediaStream || blob_OR_source_OR_stream == null)) {
return _createObjectURL_2(blob_OR_source_OR_stream);
}
- if ((blob_OR_source_OR_stream is _WebKitMediaSource || blob_OR_source_OR_stream == null)) {
+ if ((blob_OR_source_OR_stream is MediaSource || blob_OR_source_OR_stream == null)) {
return _createObjectURL_3(blob_OR_source_OR_stream);
}
- if ((blob_OR_source_OR_stream is MediaStream || blob_OR_source_OR_stream == null)) {
+ if ((blob_OR_source_OR_stream is _WebKitMediaSource || blob_OR_source_OR_stream == null)) {
return _createObjectURL_4(blob_OR_source_OR_stream);
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -27097,15 +26677,6 @@ class VideoElement extends MediaElement implements CanvasImageSource {
@Experimental()
int get decodedFrameCount native "HTMLVideoElement_webkitDecodedFrameCount_Getter";
- @DomName('HTMLVideoElement.webkitDisplayingFullscreen')
- @DocsEditable()
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- @Experimental()
- // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html
- @deprecated // deprecated
- bool get displayingFullscreen native "HTMLVideoElement_webkitDisplayingFullscreen_Getter";
-
@DomName('HTMLVideoElement.webkitDroppedFrameCount')
@DocsEditable()
@SupportedBrowser(SupportedBrowser.CHROME)
@@ -27113,15 +26684,6 @@ class VideoElement extends MediaElement implements CanvasImageSource {
@Experimental()
int get droppedFrameCount native "HTMLVideoElement_webkitDroppedFrameCount_Getter";
- @DomName('HTMLVideoElement.webkitSupportsFullscreen')
- @DocsEditable()
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- @Experimental()
- // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html
- @deprecated // deprecated
- bool get supportsFullscreen native "HTMLVideoElement_webkitSupportsFullscreen_Getter";
-
@DomName('HTMLVideoElement.width')
@DocsEditable()
int get width native "HTMLVideoElement_width_Getter";
@@ -27130,15 +26692,6 @@ class VideoElement extends MediaElement implements CanvasImageSource {
@DocsEditable()
void set width(int value) native "HTMLVideoElement_width_Setter";
- @DomName('HTMLVideoElement.webkitEnterFullScreen')
- @DocsEditable()
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- @Experimental()
- // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html
- @deprecated // deprecated
- void enterFullScreen() native "HTMLVideoElement_webkitEnterFullScreen_Callback";
-
@DomName('HTMLVideoElement.webkitEnterFullscreen')
@DocsEditable()
@SupportedBrowser(SupportedBrowser.CHROME)
@@ -27147,15 +26700,6 @@ class VideoElement extends MediaElement implements CanvasImageSource {
// https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html
void enterFullscreen() native "HTMLVideoElement_webkitEnterFullscreen_Callback";
- @DomName('HTMLVideoElement.webkitExitFullScreen')
- @DocsEditable()
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- @Experimental()
- // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-document-exitfullscreen
- @deprecated // deprecated
- void exitFullScreen() native "HTMLVideoElement_webkitExitFullScreen_Callback";
-
@DomName('HTMLVideoElement.webkitExitFullscreen')
@DocsEditable()
@SupportedBrowser(SupportedBrowser.CHROME)
@@ -27287,11 +26831,6 @@ class WebSocket extends EventTarget {
@DocsEditable()
static const int OPEN = 1;
- @DomName('WebSocket.URL')
- @DocsEditable()
- @deprecated // deprecated
- String get Url native "WebSocket_URL_Getter";
-
@DomName('WebSocket.binaryType')
@DocsEditable()
String get binaryType native "WebSocket_binaryType_Getter";
@@ -27368,7 +26907,7 @@ class WebSocket extends EventTarget {
@DomName('WebSocket.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "WebSocket_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "WebSocket_addEventListener_Callback";
@DomName('WebSocket.dispatchEvent')
@DocsEditable()
@@ -27376,7 +26915,7 @@ class WebSocket extends EventTarget {
@DomName('WebSocket.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "WebSocket_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "WebSocket_removeEventListener_Callback";
@DomName('WebSocket.onclose')
@DocsEditable()
@@ -27778,11 +27317,6 @@ class Window extends EventTarget implements WindowBase, _WindowTimers, WindowBas
@DocsEditable()
Document get document native "Window_document_Getter";
- @DomName('Window.event')
- @DocsEditable()
- @deprecated // deprecated
- Event get event native "Window_event_Getter";
-
@DomName('Window.history')
@DocsEditable()
History get history native "Window_history_Getter";
@@ -27867,12 +27401,6 @@ class Window extends EventTarget implements WindowBase, _WindowTimers, WindowBas
@SupportedBrowser(SupportedBrowser.IE)
Performance get performance native "Window_performance_Getter";
- @DomName('Window.personalbar')
- @DocsEditable()
- // https://developer.mozilla.org/en-US/docs/DOM/window.personalbar
- @deprecated // deprecated
- BarProp get personalbar native "Window_personalbar_Getter";
-
@DomName('Window.screen')
@DocsEditable()
Screen get screen native "Window_screen_Getter";
@@ -27945,24 +27473,6 @@ class Window extends EventTarget implements WindowBase, _WindowTimers, WindowBas
@DocsEditable()
WindowBase get top native "Window_top_Getter";
- @DomName('Window.webkitNotifications')
- @DocsEditable()
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- @Experimental()
- // https://plus.sandbox.google.com/u/0/+GoogleChromeDevelopers/posts/8vWo8hq4pDm?e=Showroom
- @deprecated // deprecated
- NotificationCenter get notifications native "Window_webkitNotifications_Getter";
-
- @DomName('Window.webkitStorageInfo')
- @DocsEditable()
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- @Experimental()
- // http://www.w3.org/TR/file-system-api/
- @deprecated // deprecated
- StorageInfo get storageInfo native "Window_webkitStorageInfo_Getter";
-
@DomName('Window.window')
@DocsEditable()
WindowBase get window native "Window_window_Getter";
@@ -27989,12 +27499,6 @@ class Window extends EventTarget implements WindowBase, _WindowTimers, WindowBas
@DocsEditable()
void cancelAnimationFrame(int id) native "Window_cancelAnimationFrame_Callback";
- @DomName('Window.captureEvents')
- @DocsEditable()
- // http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-flow-capture
- @deprecated // deprecated
- void captureEvents() native "Window_captureEvents_Callback";
-
@DomName('Window.close')
@DocsEditable()
void close() native "Window_close_Callback";
@@ -28098,12 +27602,6 @@ class Window extends EventTarget implements WindowBase, _WindowTimers, WindowBas
@DocsEditable()
void print() native "Window_print_Callback";
- @DomName('Window.releaseEvents')
- @DocsEditable()
- // http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-flow-capture
- @deprecated // deprecated
- void releaseEvents() native "Window_releaseEvents_Callback";
-
@DomName('Window.requestAnimationFrame')
@DocsEditable()
int _requestAnimationFrame(RequestAnimationFrameCallback callback) native "Window_requestAnimationFrame_Callback";
@@ -28188,7 +27686,7 @@ class Window extends EventTarget implements WindowBase, _WindowTimers, WindowBas
@DomName('Window.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "Window_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "Window_addEventListener_Callback";
@DomName('Window.dispatchEvent')
@DocsEditable()
@@ -28196,7 +27694,7 @@ class Window extends EventTarget implements WindowBase, _WindowTimers, WindowBas
@DomName('Window.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "Window_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "Window_removeEventListener_Callback";
@DomName('Window.atob')
@DocsEditable()
@@ -28602,7 +28100,7 @@ class Worker extends EventTarget implements AbstractWorker {
@DomName('Worker.addEventListener')
@DocsEditable()
@Experimental() // untriaged
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "Worker_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "Worker_addEventListener_Callback";
@DomName('Worker.dispatchEvent')
@DocsEditable()
@@ -28612,7 +28110,7 @@ class Worker extends EventTarget implements AbstractWorker {
@DomName('Worker.removeEventListener')
@DocsEditable()
@Experimental() // untriaged
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "Worker_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "Worker_removeEventListener_Callback";
@DomName('Worker.onerror')
@DocsEditable()
@@ -28791,7 +28289,7 @@ class WorkerGlobalScope extends EventTarget implements _WindowTimers, WindowBase
@DomName('WorkerGlobalScope.addEventListener')
@DocsEditable()
@Experimental() // untriaged
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "WorkerGlobalScope_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "WorkerGlobalScope_addEventListener_Callback";
@DomName('WorkerGlobalScope.dispatchEvent')
@DocsEditable()
@@ -28801,7 +28299,7 @@ class WorkerGlobalScope extends EventTarget implements _WindowTimers, WindowBase
@DomName('WorkerGlobalScope.removeEventListener')
@DocsEditable()
@Experimental() // untriaged
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "WorkerGlobalScope_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "WorkerGlobalScope_removeEventListener_Callback";
@DomName('WorkerGlobalScope.atob')
@DocsEditable()
@@ -29080,7 +28578,7 @@ class XmlHttpRequestEventTarget extends EventTarget {
@DomName('XMLHttpRequestEventTarget.addEventListener')
@DocsEditable()
@Experimental() // untriaged
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "XMLHttpRequestEventTarget_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "XMLHttpRequestEventTarget_addEventListener_Callback";
@DomName('XMLHttpRequestEventTarget.dispatchEvent')
@DocsEditable()
@@ -29090,7 +28588,7 @@ class XmlHttpRequestEventTarget extends EventTarget {
@DomName('XMLHttpRequestEventTarget.removeEventListener')
@DocsEditable()
@Experimental() // untriaged
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "XMLHttpRequestEventTarget_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "XMLHttpRequestEventTarget_removeEventListener_Callback";
@DomName('XMLHttpRequestEventTarget.onabort')
@DocsEditable()
@@ -29258,16 +28756,6 @@ class _Attr extends Node {
@Experimental() // untriaged
String get _namespaceUri native "Attr_namespaceURI_Getter";
- @DomName('Attr.ownerElement')
- @DocsEditable()
- @deprecated // deprecated
- Element get ownerElement native "Attr_ownerElement_Getter";
-
- @DomName('Attr.specified')
- @DocsEditable()
- @deprecated // deprecated
- bool get specified native "Attr_specified_Getter";
-
@DomName('Attr.value')
@DocsEditable()
String get value native "Attr_value_Getter";
@@ -31889,13 +31377,13 @@ class _EventStreamSubscription<T extends Event> extends StreamSubscription<T> {
void _tryResume() {
if (_onData != null && !isPaused) {
- _target.$dom_addEventListener(_eventType, _onData, _useCapture);
+ _target._addEventListener(_eventType, _onData, _useCapture);
}
}
void _unlisten() {
if (_onData != null) {
- _target.$dom_removeEventListener(_eventType, _onData, _useCapture);
+ _target._removeEventListener(_eventType, _onData, _useCapture);
}
}
@@ -35336,6 +34824,8 @@ class _Utils {
static bool isMap(obj) => obj is Map;
+ static List toListIfIterable(obj) => obj is Iterable ? obj.toList() : null;
+
static Map createMap() => {};
static makeUnimplementedError(String fileName, int lineNo) {
@@ -35642,10 +35132,6 @@ class _Utils {
static bool isNoSuchMethodError(obj) => obj is NoSuchMethodError;
- // TODO(jacobr): we need a failsafe way to determine that a Node is really a
- // DOM node rather than just a class that extends Node.
- static bool isNode(obj) => obj is Node;
-
static bool _isBuiltinType(ClassMirror cls) {
// TODO(vsm): Find a less hackish way to do this.
LibraryMirror lib = cls.owner;
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | sdk/lib/indexed_db/dartium/indexed_db_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698