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

Side by Side Diff: sdk/lib/svg/dartium/svg_dartium.dart

Issue 12086066: Removing dart:html APIs which were deprecated in M2. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 library svg; 1 library svg;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 import 'dart:collection'; 4 import 'dart:collection';
5 import 'dart:html'; 5 import 'dart:html';
6 import 'dart:html_common'; 6 import 'dart:html_common';
7 import 'dart:nativewrappers'; 7 import 'dart:nativewrappers';
8 // DO NOT EDIT 8 // DO NOT EDIT
9 // Auto-generated dart:svg library. 9 // Auto-generated dart:svg library.
10 10
(...skipping 7251 matching lines...) Expand 10 before | Expand all | Expand 10 after
7262 _SvgElementFactoryProvider.createSvgElement_svg(svg); 7262 _SvgElementFactoryProvider.createSvgElement_svg(svg);
7263 7263
7264 _AttributeClassSet _cssClassSet; 7264 _AttributeClassSet _cssClassSet;
7265 CssClassSet get classes { 7265 CssClassSet get classes {
7266 if (_cssClassSet == null) { 7266 if (_cssClassSet == null) {
7267 _cssClassSet = new _AttributeClassSet(this); 7267 _cssClassSet = new _AttributeClassSet(this);
7268 } 7268 }
7269 return _cssClassSet; 7269 return _cssClassSet;
7270 } 7270 }
7271 7271
7272 @deprecated
7273 List<Element> get elements => new FilteredElementList(this);
7274
7275 @deprecated
7276 void set elements(Collection<Element> value) {
7277 final elements = this.elements;
7278 elements.clear();
7279 elements.addAll(value);
7280 }
7281
7282 List<Element> get children => new FilteredElementList(this); 7272 List<Element> get children => new FilteredElementList(this);
7283 7273
7284 void set children(List<Element> value) { 7274 void set children(List<Element> value) {
7285 final children = this.children; 7275 final children = this.children;
7286 children.clear(); 7276 children.clear();
7287 children.addAll(value); 7277 children.addAll(value);
7288 } 7278 }
7289 7279
7290 String get outerHtml { 7280 String get outerHtml {
7291 final container = new Element.tag("div"); 7281 final container = new Element.tag("div");
(...skipping 1703 matching lines...) Expand 10 before | Expand all | Expand 10 after
8995 List<ElementInstance> getRange(int start, int rangeLength) => 8985 List<ElementInstance> getRange(int start, int rangeLength) =>
8996 Lists.getRange(this, start, rangeLength, <ElementInstance>[]); 8986 Lists.getRange(this, start, rangeLength, <ElementInstance>[]);
8997 8987
8998 // -- end List<ElementInstance> mixins. 8988 // -- end List<ElementInstance> mixins.
8999 8989
9000 @DomName('SVGElementInstanceList.item') 8990 @DomName('SVGElementInstanceList.item')
9001 @DocsEditable 8991 @DocsEditable
9002 ElementInstance item(int index) native "SVGElementInstanceList_item_Callback"; 8992 ElementInstance item(int index) native "SVGElementInstanceList_item_Callback";
9003 8993
9004 } 8994 }
OLDNEW
« no previous file with comments | « sdk/lib/svg/dart2js/svg_dart2js.dart ('k') | tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698