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

Side by Side Diff: sdk/lib/svg/dart2js/svg_dart2js.dart

Issue 14941002: Aggregate CSS manipulation functions in html lib. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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/html_common/html_common_dart2js.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:_collection-dev'; 5 import 'dart:_collection-dev';
6 import 'dart:html'; 6 import 'dart:html';
7 import 'dart:html_common'; 7 import 'dart:html_common';
8 import 'dart:_js_helper' show Creates, Returns, JavaScriptIndexingBehavior, JSNa me; 8 import 'dart:_js_helper' show Creates, Returns, JavaScriptIndexingBehavior, JSNa me;
9 import 'dart:_foreign_helper' show JS; 9 import 'dart:_foreign_helper' show JS;
10 // DO NOT EDIT - unless you are editing documentation as per: 10 // DO NOT EDIT - unless you are editing documentation as per:
(...skipping 5726 matching lines...) Expand 10 before | Expand all | Expand 10 after
5737 @JSName('createEvent') 5737 @JSName('createEvent')
5738 @DomName('SVGDocument.createEvent') 5738 @DomName('SVGDocument.createEvent')
5739 @DocsEditable 5739 @DocsEditable
5740 Event $dom_createEvent(String eventType) native; 5740 Event $dom_createEvent(String eventType) native;
5741 } 5741 }
5742 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 5742 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5743 // for details. All rights reserved. Use of this source code is governed by a 5743 // for details. All rights reserved. Use of this source code is governed by a
5744 // BSD-style license that can be found in the LICENSE file. 5744 // BSD-style license that can be found in the LICENSE file.
5745 5745
5746 5746
5747 class _AttributeClassSet extends CssClassSet { 5747 class _AttributeClassSet extends CssClassSetImpl {
5748 final Element _element; 5748 final Element _element;
5749 5749
5750 _AttributeClassSet(this._element); 5750 _AttributeClassSet(this._element);
5751 5751
5752 Set<String> readClasses() { 5752 Set<String> readClasses() {
5753 var classname = _element.attributes['class']; 5753 var classname = _element.attributes['class'];
5754 5754
5755 Set<String> s = new LinkedHashSet<String>(); 5755 Set<String> s = new LinkedHashSet<String>();
5756 if (classname == null) { 5756 if (classname == null) {
5757 return s; 5757 return s;
(...skipping 1868 matching lines...) Expand 10 before | Expand all | Expand 10 after
7626 7626
7627 7627
7628 @DocsEditable 7628 @DocsEditable
7629 @DomName('SVGVKernElement') 7629 @DomName('SVGVKernElement')
7630 abstract class _SVGVKernElement extends SvgElement native "SVGVKernElement" { 7630 abstract class _SVGVKernElement extends SvgElement native "SVGVKernElement" {
7631 7631
7632 @DomName('SVGVKernElement.SVGVKernElement') 7632 @DomName('SVGVKernElement.SVGVKernElement')
7633 @DocsEditable 7633 @DocsEditable
7634 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern"); 7634 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern");
7635 } 7635 }
OLDNEW
« no previous file with comments | « sdk/lib/html/html_common/html_common_dart2js.dart ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698