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

Side by Side Diff: sdk/lib/svg/dart2js/svg_dart2js.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/io/process.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 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:_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 5753 matching lines...) Expand 10 before | Expand all | Expand 10 after
5764 for (String name in classname.split(' ')) { 5764 for (String name in classname.split(' ')) {
5765 String trimmed = name.trim(); 5765 String trimmed = name.trim();
5766 if (!trimmed.isEmpty) { 5766 if (!trimmed.isEmpty) {
5767 s.add(trimmed); 5767 s.add(trimmed);
5768 } 5768 }
5769 } 5769 }
5770 return s; 5770 return s;
5771 } 5771 }
5772 5772
5773 void writeClasses(Set s) { 5773 void writeClasses(Set s) {
5774 List list = new List.from(s); 5774 _element.attributes['class'] = s.join(' ');
5775 _element.attributes['class'] = Strings.join(list, ' ');
5776 } 5775 }
5777 } 5776 }
5778 5777
5779 @DomName('SVGElement') 5778 @DomName('SVGElement')
5780 class SvgElement extends Element native "*SVGElement" { 5779 class SvgElement extends Element native "*SVGElement" {
5781 factory SvgElement.tag(String tag) => 5780 factory SvgElement.tag(String tag) =>
5782 _SvgElementFactoryProvider.createSvgElement_tag(tag); 5781 _SvgElementFactoryProvider.createSvgElement_tag(tag);
5783 factory SvgElement.svg(String svg) => 5782 factory SvgElement.svg(String svg) =>
5784 _SvgElementFactoryProvider.createSvgElement_svg(svg); 5783 _SvgElementFactoryProvider.createSvgElement_svg(svg);
5785 5784
(...skipping 1941 matching lines...) Expand 10 before | Expand all | Expand 10 after
7727 7726
7728 7727
7729 @DocsEditable 7728 @DocsEditable
7730 @DomName('SVGVKernElement') 7729 @DomName('SVGVKernElement')
7731 class _SVGVKernElement extends SvgElement native "*SVGVKernElement" { 7730 class _SVGVKernElement extends SvgElement native "*SVGVKernElement" {
7732 7731
7733 @DomName('SVGVKernElement.SVGVKernElement') 7732 @DomName('SVGVKernElement.SVGVKernElement')
7734 @DocsEditable 7733 @DocsEditable
7735 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern"); 7734 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern");
7736 } 7735 }
OLDNEW
« no previous file with comments | « sdk/lib/io/process.dart ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698