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

Side by Side Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 11473013: Adding deprecated flag to deprecated members. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 library html; 1 library html;
2 2
3 import 'dart:collection'; 3 import 'dart:collection';
4 import 'dart:html_common'; 4 import 'dart:html_common';
5 import 'dart:indexed_db'; 5 import 'dart:indexed_db';
6 import 'dart:isolate'; 6 import 'dart:isolate';
7 import 'dart:json'; 7 import 'dart:json';
8 import 'dart:svg' as svg; 8 import 'dart:svg' as svg;
9 import 'dart:web_audio' as web_audio; 9 import 'dart:web_audio' as web_audio;
10 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
(...skipping 7156 matching lines...) Expand 10 before | Expand all | Expand 10 after
7167 Map<String, String> attributes = this.attributes; 7167 Map<String, String> attributes = this.attributes;
7168 attributes.clear(); 7168 attributes.clear();
7169 for (String key in value.keys) { 7169 for (String key in value.keys) {
7170 attributes[key] = value[key]; 7170 attributes[key] = value[key];
7171 } 7171 }
7172 } 7172 }
7173 7173
7174 /** 7174 /**
7175 * Deprecated, use innerHtml instead. 7175 * Deprecated, use innerHtml instead.
7176 */ 7176 */
7177 @deprecated
blois 2012/12/07 00:06:15 Note- not using @Deprecated('message') because dar
7177 String get innerHTML => this.innerHtml; 7178 String get innerHTML => this.innerHtml;
7179 @deprecated
7178 void set innerHTML(String value) { 7180 void set innerHTML(String value) {
7179 this.innerHtml = value; 7181 this.innerHtml = value;
7180 } 7182 }
7181 7183
7184 @deprecated
7182 void set elements(Collection<Element> value) { 7185 void set elements(Collection<Element> value) {
7183 this.children = value; 7186 this.children = value;
7184 } 7187 }
7185 7188
7186 /** 7189 /**
7187 * Deprecated, use [children] instead. 7190 * Deprecated, use [children] instead.
7188 */ 7191 */
7192 @deprecated
7189 List<Element> get elements => this.children; 7193 List<Element> get elements => this.children;
7190 7194
7191 /** 7195 /**
7192 * @domName childElementCount, firstElementChild, lastElementChild, 7196 * @domName childElementCount, firstElementChild, lastElementChild,
7193 * children, Node.nodes.add 7197 * children, Node.nodes.add
7194 */ 7198 */
7195 List<Element> get children => new _ChildrenElementList._wrap(this); 7199 List<Element> get children => new _ChildrenElementList._wrap(this);
7196 7200
7197 void set children(List<Element> value) { 7201 void set children(List<Element> value) {
7198 // Copy list first since we don't want liveness during iteration. 7202 // Copy list first since we don't want liveness during iteration.
(...skipping 17235 matching lines...) Expand 10 before | Expand all | Expand 10 after
24434 T next() { 24438 T next() {
24435 if (!hasNext) { 24439 if (!hasNext) {
24436 throw new StateError("No more elements"); 24440 throw new StateError("No more elements");
24437 } 24441 }
24438 return _array[_pos++]; 24442 return _array[_pos++];
24439 } 24443 }
24440 24444
24441 final List<T> _array; 24445 final List<T> _array;
24442 int _pos; 24446 int _pos;
24443 } 24447 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | sdk/lib/html/html_common/html_common.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698