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

Side by Side Diff: sdk/lib/svg/dart2js/svg_dart2js.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
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:_js_helper' show Creates, Returns, JavaScriptIndexingBehavior, JSNa me; 7 import 'dart:_js_helper' show Creates, Returns, JavaScriptIndexingBehavior, JSNa me;
8 import 'dart:_foreign_helper' show JS; 8 import 'dart:_foreign_helper' show JS;
9 // DO NOT EDIT 9 // DO NOT EDIT
10 // Auto-generated dart:svg library. 10 // Auto-generated dart:svg library.
(...skipping 6415 matching lines...) Expand 10 before | Expand all | Expand 10 after
6426 _SvgElementFactoryProvider.createSvgElement_svg(svg); 6426 _SvgElementFactoryProvider.createSvgElement_svg(svg);
6427 6427
6428 _AttributeClassSet _cssClassSet; 6428 _AttributeClassSet _cssClassSet;
6429 CssClassSet get classes { 6429 CssClassSet get classes {
6430 if (_cssClassSet == null) { 6430 if (_cssClassSet == null) {
6431 _cssClassSet = new _AttributeClassSet(this); 6431 _cssClassSet = new _AttributeClassSet(this);
6432 } 6432 }
6433 return _cssClassSet; 6433 return _cssClassSet;
6434 } 6434 }
6435 6435
6436 @deprecated
6437 List<Element> get elements => new FilteredElementList(this);
6438
6439 @deprecated
6440 void set elements(Collection<Element> value) {
6441 final elements = this.elements;
6442 elements.clear();
6443 elements.addAll(value);
6444 }
6445
6446 List<Element> get children => new FilteredElementList(this); 6436 List<Element> get children => new FilteredElementList(this);
6447 6437
6448 void set children(List<Element> value) { 6438 void set children(List<Element> value) {
6449 final children = this.children; 6439 final children = this.children;
6450 children.clear(); 6440 children.clear();
6451 children.addAll(value); 6441 children.addAll(value);
6452 } 6442 }
6453 6443
6454 String get outerHtml { 6444 String get outerHtml {
6455 final container = new Element.tag("div"); 6445 final container = new Element.tag("div");
(...skipping 1584 matching lines...) Expand 10 before | Expand all | Expand 10 after
8040 8030
8041 List<ElementInstance> getRange(int start, int rangeLength) => 8031 List<ElementInstance> getRange(int start, int rangeLength) =>
8042 Lists.getRange(this, start, rangeLength, <ElementInstance>[]); 8032 Lists.getRange(this, start, rangeLength, <ElementInstance>[]);
8043 8033
8044 // -- end List<ElementInstance> mixins. 8034 // -- end List<ElementInstance> mixins.
8045 8035
8046 @DomName('SVGElementInstanceList.item') 8036 @DomName('SVGElementInstanceList.item')
8047 @DocsEditable 8037 @DocsEditable
8048 ElementInstance item(int index) native; 8038 ElementInstance item(int index) native;
8049 } 8039 }
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698