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

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

Issue 12295014: Remove deprecated Strings class. (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/svg/dart2js/svg_dart2js.dart ('k') | sdk/lib/uri/helpers.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 dart.dom.svg; 1 library dart.dom.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 6502 matching lines...) Expand 10 before | Expand all | Expand 10 after
6513 for (String name in classname.split(' ')) { 6513 for (String name in classname.split(' ')) {
6514 String trimmed = name.trim(); 6514 String trimmed = name.trim();
6515 if (!trimmed.isEmpty) { 6515 if (!trimmed.isEmpty) {
6516 s.add(trimmed); 6516 s.add(trimmed);
6517 } 6517 }
6518 } 6518 }
6519 return s; 6519 return s;
6520 } 6520 }
6521 6521
6522 void writeClasses(Set s) { 6522 void writeClasses(Set s) {
6523 List list = new List.from(s); 6523 _element.attributes['class'] = s.join(' ');
6524 _element.attributes['class'] = Strings.join(list, ' ');
6525 } 6524 }
6526 } 6525 }
6527 6526
6528 @DomName('SVGElement') 6527 @DomName('SVGElement')
6529 class SvgElement extends Element { 6528 class SvgElement extends Element {
6530 factory SvgElement.tag(String tag) => 6529 factory SvgElement.tag(String tag) =>
6531 _SvgElementFactoryProvider.createSvgElement_tag(tag); 6530 _SvgElementFactoryProvider.createSvgElement_tag(tag);
6532 factory SvgElement.svg(String svg) => 6531 factory SvgElement.svg(String svg) =>
6533 _SvgElementFactoryProvider.createSvgElement_svg(svg); 6532 _SvgElementFactoryProvider.createSvgElement_svg(svg);
6534 6533
(...skipping 2136 matching lines...) Expand 10 before | Expand all | Expand 10 after
8671 @DocsEditable 8670 @DocsEditable
8672 @DomName('SVGVKernElement') 8671 @DomName('SVGVKernElement')
8673 class _SVGVKernElement extends SvgElement { 8672 class _SVGVKernElement extends SvgElement {
8674 _SVGVKernElement.internal() : super.internal(); 8673 _SVGVKernElement.internal() : super.internal();
8675 8674
8676 @DomName('SVGVKernElement.SVGVKernElement') 8675 @DomName('SVGVKernElement.SVGVKernElement')
8677 @DocsEditable 8676 @DocsEditable
8678 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern"); 8677 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern");
8679 8678
8680 } 8679 }
OLDNEW
« no previous file with comments | « sdk/lib/svg/dart2js/svg_dart2js.dart ('k') | sdk/lib/uri/helpers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698