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

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

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 | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index ec9e4c41606952cc9122272346187a92d483c126..7b6573a45ec07761b950485783b875b57827b98e 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -234,28 +234,10 @@ class AnchorElement extends HtmlElement native "HTMLAnchorElement" {
@DocsEditable()
String hreflang;
- @DomName('HTMLAnchorElement.name')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLAnchorElement-partial
- @deprecated // deprecated
- String name;
-
- @DomName('HTMLAnchorElement.origin')
- @DocsEditable()
- // WebKit only
- @deprecated // nonstandard
- final String origin;
-
@DomName('HTMLAnchorElement.pathname')
@DocsEditable()
String pathname;
- @DomName('HTMLAnchorElement.ping')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-a-element
- @deprecated // deprecated
- String ping;
-
@DomName('HTMLAnchorElement.port')
@DocsEditable()
String port;
@@ -489,12 +471,6 @@ class AreaElement extends HtmlElement native "HTMLAreaElement" {
@DocsEditable()
final String pathname;
- @DomName('HTMLAreaElement.ping')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLAreaElement-partial
- @deprecated // deprecated
- String ping;
-
@DomName('HTMLAreaElement.port')
@DocsEditable()
final String port;
@@ -2763,12 +2739,6 @@ class CssRule extends Interceptor native "CSSRule" {
@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
@@ -7171,11 +7141,6 @@ class Document extends Node native "Document"
@DocsEditable()
HtmlElement _body;
- @DomName('Document.charset')
- @DocsEditable()
- @deprecated // nonstandard
- String charset;
-
@DomName('Document.cookie')
@DocsEditable()
String cookie;
@@ -7291,16 +7256,6 @@ class Document extends Node native "Document"
// https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PageVisibility/Overview.html#document
final bool _webkitHidden;
- @JSName('webkitIsFullScreen')
- @DomName('Document.webkitIsFullScreen')
- @DocsEditable()
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- @Experimental()
- // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html
- @deprecated // deprecated
- final bool _webkitIsFullScreen;
-
@JSName('webkitPointerLockElement')
@DomName('Document.webkitPointerLockElement')
@DocsEditable()
@@ -7330,13 +7285,6 @@ class Document extends Node native "Document"
@Experimental()
Range _caretRangeFromPoint(int x, int y) native;
- @JSName('createCDATASection')
- @DomName('Document.createCDATASection')
- @DocsEditable()
- // http://dom.spec.whatwg.org/#dom-document-createcdatasection
- @deprecated // deprecated
- CDataSection createCDataSection(String data) native;
-
@DomName('Document.createDocumentFragment')
@DocsEditable()
DocumentFragment createDocumentFragment() native;
@@ -7486,16 +7434,6 @@ class Document extends Node native "Document"
@Creates('NodeList')
List<Node> _querySelectorAll(String selectors) native;
- @JSName('webkitCancelFullScreen')
- @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;
-
@JSName('webkitExitFullscreen')
@DomName('Document.webkitExitFullscreen')
@DocsEditable()
@@ -10364,12 +10302,6 @@ abstract class Element extends Node implements ParentNode, ChildNode native "Ele
@DocsEditable()
void click() native;
- @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;
-
@JSName('attributes')
@DomName('Element.attributes')
@DocsEditable()
@@ -10473,12 +10405,12 @@ abstract class Element extends Node implements ParentNode, ChildNode native "Ele
@DomName('Element.getAttribute')
@DocsEditable()
- @deprecated
+ @Experimental() // untriaged
String getAttribute(String name) native;
@DomName('Element.getAttributeNS')
@DocsEditable()
- @deprecated
+ @Experimental() // untriaged
String getAttributeNS(String namespaceURI, String localName) native;
@DomName('Element.getBoundingClientRect')
@@ -10581,12 +10513,10 @@ abstract class Element extends Node implements ParentNode, ChildNode native "Ele
@DomName('Element.setAttribute')
@DocsEditable()
- @deprecated
void setAttribute(String name, String value) native;
@DomName('Element.setAttributeNS')
@DocsEditable()
- @deprecated
void setAttributeNS(String namespaceURI, String qualifiedName, String value) native;
@JSName('webkitGetRegionFlowRanges')
@@ -10600,16 +10530,6 @@ abstract class Element extends Node implements ParentNode, ChildNode native "Ele
@Returns('JSExtendableArray')
List<Range> getRegionFlowRanges() native;
- @JSName('webkitRequestFullScreen')
- @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;
-
@JSName('webkitRequestFullscreen')
@DomName('Element.webkitRequestFullscreen')
@DocsEditable()
@@ -10954,12 +10874,6 @@ class EmbedElement extends HtmlElement native "HTMLEmbedElement" {
/// Checks if this type is supported on the current platform.
static bool get supported => Element.isTagSupported('embed');
- @DomName('HTMLEmbedElement.align')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLEmbedElement-partial
- @deprecated // deprecated
- String align;
-
@DomName('HTMLEmbedElement.height')
@DocsEditable()
String height;
@@ -11241,12 +11155,6 @@ class Event extends Interceptor native "Event" {
@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;
@@ -11255,112 +11163,10 @@ class Event extends Interceptor native "Event" {
@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()
final bool bubbles;
- @DomName('Event.cancelBubble')
- @DocsEditable()
- // http://www.w3.org/TR/DOM-Level-3-Events/#events-event-type-stopPropagation
- @deprecated // deprecated
- bool cancelBubble;
-
@DomName('Event.cancelable')
@DocsEditable()
final bool cancelable;
@@ -11584,8 +11390,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')
@@ -11605,8 +11410,7 @@ class EventTarget extends Interceptor native "EventTarget" {
@JSName('addEventListener')
@DomName('EventTarget.addEventListener')
@DocsEditable()
- @deprecated
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native;
@DomName('EventTarget.dispatchEvent')
@DocsEditable()
@@ -11615,8 +11419,7 @@ class EventTarget extends Interceptor native "EventTarget" {
@JSName('removeEventListener')
@DomName('EventTarget.removeEventListener')
@DocsEditable()
- @deprecated
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -11973,12 +11776,6 @@ class FileReader extends EventTarget native "FileReader" {
@DocsEditable()
void readAsArrayBuffer(Blob blob) native;
- @DomName('FileReader.readAsBinaryString')
- @DocsEditable()
- // http://blog.whatwg.org/weekly-stream-autocomplete
- @deprecated // deprecated
- void readAsBinaryString(Blob blob) native;
-
@JSName('readAsDataURL')
@DomName('FileReader.readAsDataURL')
@DocsEditable()
@@ -13003,18 +12800,6 @@ class HtmlDocument extends Document native "HTMLDocument" {
@DocsEditable()
final Element activeElement;
- @DomName('HTMLDocument.captureEvents')
- @DocsEditable()
- // http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-flow-capture
- @deprecated // deprecated
- void captureEvents() native;
-
- @DomName('HTMLDocument.releaseEvents')
- @DocsEditable()
- // http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-flow-capture
- @deprecated // deprecated
- void releaseEvents() native;
-
@DomName('Document.body')
BodyElement body;
@@ -14043,11 +13828,6 @@ class ImageElement extends HtmlElement implements CanvasImageSource native "HTML
@DocsEditable()
String alt;
- @DomName('HTMLImageElement.border')
- @DocsEditable()
- @deprecated // deprecated
- String border;
-
@DomName('HTMLImageElement.complete')
@DocsEditable()
final bool complete;
@@ -14064,11 +13844,6 @@ class ImageElement extends HtmlElement implements CanvasImageSource native "HTML
@DocsEditable()
bool isMap;
- @DomName('HTMLImageElement.lowsrc')
- @DocsEditable()
- @deprecated // deprecated
- String lowsrc;
-
@DomName('HTMLImageElement.naturalHeight')
@DocsEditable()
final int naturalHeight;
@@ -14089,16 +13864,6 @@ class ImageElement extends HtmlElement implements CanvasImageSource native "HTML
@DocsEditable()
int width;
- @DomName('HTMLImageElement.x')
- @DocsEditable()
- @deprecated // deprecated
- final int x;
-
- @DomName('HTMLImageElement.y')
- @DocsEditable()
- @deprecated // deprecated
- final int y;
-
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -14317,12 +14082,6 @@ class InputElement extends HtmlElement implements
@DocsEditable()
String type;
- @DomName('HTMLInputElement.useMap')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLInputElement-partial
- @deprecated // deprecated
- String useMap;
-
@DomName('HTMLInputElement.validationMessage')
@DocsEditable()
final String validationMessage;
@@ -15266,12 +15025,6 @@ class LIElement extends HtmlElement native "HTMLLIElement" {
*/
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 type;
-
@DomName('HTMLLIElement.value')
@DocsEditable()
int value;
@@ -17909,11 +17662,6 @@ class Navigator extends Interceptor implements NavigatorOnLine, NavigatorID nati
@Experimental() // nonstandard
final MimeTypeArray mimeTypes;
- @DomName('Navigator.plugins')
- @DocsEditable()
- @deprecated // nonstandard
- final PluginArray plugins;
-
@DomName('Navigator.product')
@DocsEditable()
@Unstable()
@@ -17958,11 +17706,6 @@ class Navigator extends Interceptor implements NavigatorOnLine, NavigatorID nati
@Experimental()
void getStorageUpdates() native;
- @DomName('Navigator.javaEnabled')
- @DocsEditable()
- @deprecated // nonstandard
- bool javaEnabled() native;
-
@DomName('Navigator.registerProtocolHandler')
@DocsEditable()
@Unstable()
@@ -18480,7 +18223,6 @@ class Node extends EventTarget native "Node" {
@DomName('Node.childNodes')
@DocsEditable()
- @deprecated
@Returns('NodeList')
@Creates('NodeList')
final List<Node> childNodes;
@@ -18496,15 +18238,11 @@ class Node extends EventTarget native "Node" {
@JSName('localName')
@DomName('Node.localName')
@DocsEditable()
- // http://dom.spec.whatwg.org/#dom-node-localname
- @deprecated // deprecated
final String _localName;
@JSName('namespaceURI')
@DomName('Node.namespaceURI')
@DocsEditable()
- // http://dom.spec.whatwg.org/#dom-node-namespaceuri
- @deprecated // deprecated
final String _namespaceUri;
@JSName('nextSibling')
@@ -18617,16 +18355,6 @@ class NodeFilter extends Interceptor native "NodeFilter" {
@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;
@@ -18647,21 +18375,6 @@ class NodeFilter extends Interceptor native "NodeFilter" {
@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;
@@ -19039,12 +18752,6 @@ class ObjectElement extends HtmlElement native "HTMLObjectElement" {
/// Checks if this type is supported on the current platform.
static bool get supported => Element.isTagSupported('object');
- @DomName('HTMLObjectElement.code')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLObjectElement-partial
- @deprecated // deprecated
- String code;
-
@DomName('HTMLObjectElement.data')
@DocsEditable()
String data;
@@ -20036,11 +19743,6 @@ class PreElement extends HtmlElement native "HTMLPreElement" {
* This can only be called by subclasses from their created constructor.
*/
PreElement.created() : super.created();
-
- @DomName('HTMLPreElement.wrap')
- @DocsEditable()
- @deprecated // deprecated
- 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
@@ -20349,11 +20051,6 @@ class Range extends Interceptor native "Range" {
@DocsEditable()
void collapse(bool toStart) native;
- @DomName('Range.compareNode')
- @DocsEditable()
- @deprecated // deprecated
- int compareNode(Node refNode) native;
-
@DomName('Range.comparePoint')
@DocsEditable()
int comparePoint(Node refNode, int offset) native;
@@ -20393,11 +20090,6 @@ class Range extends Interceptor native "Range" {
@DocsEditable()
void insertNode(Node newNode) native;
- @DomName('Range.intersectsNode')
- @DocsEditable()
- @deprecated // deprecated
- bool intersectsNode(Node refNode) native;
-
@DomName('Range.isPointInRange')
@DocsEditable()
bool isPointInRange(Node refNode, int offset) native;
@@ -21289,18 +20981,6 @@ class ScriptElement extends HtmlElement native "HTMLScriptElement" {
@DocsEditable()
bool defer;
- @DomName('HTMLScriptElement.event')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLScriptElement-partial
- @deprecated // deprecated
- String event;
-
- @DomName('HTMLScriptElement.htmlFor')
- @DocsEditable()
- // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#HTMLScriptElement-partial
- @deprecated // deprecated
- String htmlFor;
-
@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
@@ -23199,12 +22879,6 @@ class TableElement extends HtmlElement native "HTMLTableElement" {
*/
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 border;
-
@DomName('HTMLTableElement.caption')
@DocsEditable()
TableCaptionElement caption;
@@ -23744,12 +23418,6 @@ class Text extends CharacterData native "Text" {
@Creates('NodeList')
List<Node> getDestinationInsertionPoints() native;
- @DomName('Text.replaceWholeText')
- @DocsEditable()
- // http://dom.spec.whatwg.org/#dom-text-replacewholetext
- @deprecated // deprecated
- Text replaceWholeText(String content) native;
-
@DomName('Text.splitText')
@DocsEditable()
Text splitText(int offset) native;
@@ -24675,12 +24343,6 @@ class TreeWalker extends Interceptor native "TreeWalker" {
@DocsEditable()
Node currentNode;
- @DomName('TreeWalker.expandEntityReferences')
- @DocsEditable()
- // http://dom.spec.whatwg.org/#dom-traversal
- @deprecated // deprecated
- final bool expandEntityReferences;
-
@DomName('TreeWalker.filter')
@DocsEditable()
final NodeFilter filter;
@@ -25000,16 +24662,6 @@ class VideoElement extends MediaElement implements CanvasImageSource native "HTM
@Experimental()
final int decodedFrameCount;
- @JSName('webkitDisplayingFullscreen')
- @DomName('HTMLVideoElement.webkitDisplayingFullscreen')
- @DocsEditable()
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- @Experimental()
- // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html
- @deprecated // deprecated
- final bool displayingFullscreen;
-
@JSName('webkitDroppedFrameCount')
@DomName('HTMLVideoElement.webkitDroppedFrameCount')
@DocsEditable()
@@ -25018,30 +24670,10 @@ class VideoElement extends MediaElement implements CanvasImageSource native "HTM
@Experimental()
final int droppedFrameCount;
- @JSName('webkitSupportsFullscreen')
- @DomName('HTMLVideoElement.webkitSupportsFullscreen')
- @DocsEditable()
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- @Experimental()
- // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html
- @deprecated // deprecated
- final bool supportsFullscreen;
-
@DomName('HTMLVideoElement.width')
@DocsEditable()
int width;
- @JSName('webkitEnterFullScreen')
- @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;
-
@JSName('webkitEnterFullscreen')
@DomName('HTMLVideoElement.webkitEnterFullscreen')
@DocsEditable()
@@ -25051,16 +24683,6 @@ class VideoElement extends MediaElement implements CanvasImageSource native "HTM
// https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html
void enterFullscreen() native;
- @JSName('webkitExitFullScreen')
- @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;
-
@JSName('webkitExitFullscreen')
@DomName('HTMLVideoElement.webkitExitFullscreen')
@DocsEditable()
@@ -25185,12 +24807,6 @@ class WebSocket extends EventTarget native "WebSocket" {
@DocsEditable()
static const int OPEN = 1;
- @JSName('URL')
- @DomName('WebSocket.URL')
- @DocsEditable()
- @deprecated // deprecated
- final String Url;
-
@DomName('WebSocket.binaryType')
@DocsEditable()
String binaryType;
@@ -25921,11 +25537,6 @@ class Window extends EventTarget implements WindowBase, _WindowTimers, WindowBas
@Experimental() // non-standard
final double devicePixelRatio;
- @DomName('Window.event')
- @DocsEditable()
- @deprecated // deprecated
- final Event event;
-
@DomName('Window.history')
@DocsEditable()
final History history;
@@ -26006,12 +25617,6 @@ class Window extends EventTarget implements WindowBase, _WindowTimers, WindowBas
@SupportedBrowser(SupportedBrowser.IE)
final Performance performance;
- @DomName('Window.personalbar')
- @DocsEditable()
- // https://developer.mozilla.org/en-US/docs/DOM/window.personalbar
- @deprecated // deprecated
- final BarProp personalbar;
-
@DomName('Window.screen')
@DocsEditable()
final Screen screen;
@@ -26084,26 +25689,6 @@ class Window extends EventTarget implements WindowBase, _WindowTimers, WindowBas
@Returns('Window|=Object')
final dynamic _get_top;
- @JSName('webkitNotifications')
- @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
- final NotificationCenter notifications;
-
- @JSName('webkitStorageInfo')
- @DomName('Window.webkitStorageInfo')
- @DocsEditable()
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- @Experimental()
- // http://www.w3.org/TR/file-system-api/
- @deprecated // deprecated
- final StorageInfo storageInfo;
-
@DomName('Window.window')
@DocsEditable()
WindowBase get window => _convertNativeToDart_Window(this._get_window);
@@ -26144,12 +25729,6 @@ class Window extends EventTarget implements WindowBase, _WindowTimers, WindowBas
@DocsEditable()
void alert(String message) native;
- @DomName('Window.captureEvents')
- @DocsEditable()
- // http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-flow-capture
- @deprecated // deprecated
- void captureEvents() native;
-
@DomName('Window.close')
@DocsEditable()
void close() native;
@@ -26234,12 +25813,6 @@ class Window extends EventTarget implements WindowBase, _WindowTimers, WindowBas
@DocsEditable()
void print() native;
- @DomName('Window.releaseEvents')
- @DocsEditable()
- // http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-flow-capture
- @deprecated // deprecated
- void releaseEvents() native;
-
@DomName('Window.resizeBy')
@DocsEditable()
void resizeBy(num x, num y) native;
@@ -27328,16 +26901,6 @@ class _Attr extends Node native "Attr" {
// Use implementation from Node.
// final String _namespaceUri;
- @DomName('Attr.ownerElement')
- @DocsEditable()
- @deprecated // deprecated
- final Element ownerElement;
-
- @DomName('Attr.specified')
- @DocsEditable()
- @deprecated // deprecated
- final bool specified;
-
@DomName('Attr.value')
@DocsEditable()
String value;
@@ -29807,13 +29370,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);
}
}
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698