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

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

Issue 12857006: Removing CssValue APIs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 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 - unless you are editing documentation as per: 9 // DO NOT EDIT - unless you are editing documentation as per:
10 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation 10 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 @DomName('SVGClipPathElement.transform') 731 @DomName('SVGClipPathElement.transform')
732 @DocsEditable 732 @DocsEditable
733 final AnimatedTransformList transform; 733 final AnimatedTransformList transform;
734 } 734 }
735 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 735 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
736 // for details. All rights reserved. Use of this source code is governed by a 736 // for details. All rights reserved. Use of this source code is governed by a
737 // BSD-style license that can be found in the LICENSE file. 737 // BSD-style license that can be found in the LICENSE file.
738 738
739 739
740 @DocsEditable 740 @DocsEditable
741 @DomName('SVGColor')
742 class Color extends CssValue native "*SVGColor" {
743
744 static const int SVG_COLORTYPE_CURRENTCOLOR = 3;
745
746 static const int SVG_COLORTYPE_RGBCOLOR = 1;
747
748 static const int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2;
749
750 static const int SVG_COLORTYPE_UNKNOWN = 0;
751
752 @DomName('SVGColor.colorType')
753 @DocsEditable
754 final int colorType;
755
756 @DomName('SVGColor.rgbColor')
757 @DocsEditable
758 final CssRgbColor rgbColor;
759
760 @DomName('SVGColor.setColor')
761 @DocsEditable
762 void setColor(int colorType, String rgbColor, String iccColor) native;
763
764 @JSName('setRGBColor')
765 @DomName('SVGColor.setRGBColor')
766 @DocsEditable
767 void setRgbColor(String rgbColor) native;
768
769 @JSName('setRGBColorICCColor')
770 @DomName('SVGColor.setRGBColorICCColor')
771 @DocsEditable
772 void setRgbColorIccColor(String rgbColor, String iccColor) native;
773 }
774 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
775 // for details. All rights reserved. Use of this source code is governed by a
776 // BSD-style license that can be found in the LICENSE file.
777
778
779 @DocsEditable
780 @DomName('SVGDefsElement') 741 @DomName('SVGDefsElement')
781 class DefsElement extends StyledElement implements Transformable, Tests, Externa lResourcesRequired, LangSpace native "*SVGDefsElement" { 742 class DefsElement extends StyledElement implements Transformable, Tests, Externa lResourcesRequired, LangSpace native "*SVGDefsElement" {
782 743
783 @DomName('SVGDefsElement.SVGDefsElement') 744 @DomName('SVGDefsElement.SVGDefsElement')
784 @DocsEditable 745 @DocsEditable
785 factory DefsElement() => _SvgElementFactoryProvider.createSvgElement_tag("defs "); 746 factory DefsElement() => _SvgElementFactoryProvider.createSvgElement_tag("defs ");
786 747
787 // From SVGExternalResourcesRequired 748 // From SVGExternalResourcesRequired
788 749
789 @DomName('SVGDefsElement.externalResourcesRequired') 750 @DomName('SVGDefsElement.externalResourcesRequired')
(...skipping 2586 matching lines...) Expand 10 before | Expand all | Expand 10 after
3376 @DocsEditable 3337 @DocsEditable
3377 final AnimatedTransformList transform; 3338 final AnimatedTransformList transform;
3378 } 3339 }
3379 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3340 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3380 // for details. All rights reserved. Use of this source code is governed by a 3341 // for details. All rights reserved. Use of this source code is governed by a
3381 // BSD-style license that can be found in the LICENSE file. 3342 // BSD-style license that can be found in the LICENSE file.
3382 3343
3383 3344
3384 @DocsEditable 3345 @DocsEditable
3385 @DomName('SVGLinearGradientElement') 3346 @DomName('SVGLinearGradientElement')
3386 class LinearGradientElement extends _GradientElement native "*SVGLinearGradientE lement" { 3347 class LinearGradientElement extends _SVGGradientElement native "*SVGLinearGradie ntElement" {
3387 3348
3388 @DomName('SVGLinearGradientElement.SVGLinearGradientElement') 3349 @DomName('SVGLinearGradientElement.SVGLinearGradientElement')
3389 @DocsEditable 3350 @DocsEditable
3390 factory LinearGradientElement() => _SvgElementFactoryProvider.createSvgElement _tag("linearGradient"); 3351 factory LinearGradientElement() => _SvgElementFactoryProvider.createSvgElement _tag("linearGradient");
3391 3352
3392 @DomName('SVGLinearGradientElement.x1') 3353 @DomName('SVGLinearGradientElement.x1')
3393 @DocsEditable 3354 @DocsEditable
3394 final AnimatedLength x1; 3355 final AnimatedLength x1;
3395 3356
3396 @DomName('SVGLinearGradientElement.x2') 3357 @DomName('SVGLinearGradientElement.x2')
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
3923 @DomName('SVGNumberList.replaceItem') 3884 @DomName('SVGNumberList.replaceItem')
3924 @DocsEditable 3885 @DocsEditable
3925 Number replaceItem(Number item, int index) native; 3886 Number replaceItem(Number item, int index) native;
3926 } 3887 }
3927 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3888 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3928 // for details. All rights reserved. Use of this source code is governed by a 3889 // for details. All rights reserved. Use of this source code is governed by a
3929 // BSD-style license that can be found in the LICENSE file. 3890 // BSD-style license that can be found in the LICENSE file.
3930 3891
3931 3892
3932 @DocsEditable 3893 @DocsEditable
3933 @DomName('SVGPaint')
3934 class Paint extends Color native "*SVGPaint" {
3935
3936 static const int SVG_PAINTTYPE_CURRENTCOLOR = 102;
3937
3938 static const int SVG_PAINTTYPE_NONE = 101;
3939
3940 static const int SVG_PAINTTYPE_RGBCOLOR = 1;
3941
3942 static const int SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2;
3943
3944 static const int SVG_PAINTTYPE_UNKNOWN = 0;
3945
3946 static const int SVG_PAINTTYPE_URI = 107;
3947
3948 static const int SVG_PAINTTYPE_URI_CURRENTCOLOR = 104;
3949
3950 static const int SVG_PAINTTYPE_URI_NONE = 103;
3951
3952 static const int SVG_PAINTTYPE_URI_RGBCOLOR = 105;
3953
3954 static const int SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106;
3955
3956 @DomName('SVGPaint.paintType')
3957 @DocsEditable
3958 final int paintType;
3959
3960 @DomName('SVGPaint.uri')
3961 @DocsEditable
3962 final String uri;
3963
3964 @DomName('SVGPaint.setPaint')
3965 @DocsEditable
3966 void setPaint(int paintType, String uri, String rgbColor, String iccColor) nat ive;
3967
3968 @DomName('SVGPaint.setUri')
3969 @DocsEditable
3970 void setUri(String uri) native;
3971 }
3972 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3973 // for details. All rights reserved. Use of this source code is governed by a
3974 // BSD-style license that can be found in the LICENSE file.
3975
3976
3977 @DocsEditable
3978 @DomName('SVGPathElement') 3894 @DomName('SVGPathElement')
3979 class PathElement extends StyledElement implements Transformable, Tests, Externa lResourcesRequired, LangSpace native "*SVGPathElement" { 3895 class PathElement extends StyledElement implements Transformable, Tests, Externa lResourcesRequired, LangSpace native "*SVGPathElement" {
3980 3896
3981 @DomName('SVGPathElement.SVGPathElement') 3897 @DomName('SVGPathElement.SVGPathElement')
3982 @DocsEditable 3898 @DocsEditable
3983 factory PathElement() => _SvgElementFactoryProvider.createSvgElement_tag("path "); 3899 factory PathElement() => _SvgElementFactoryProvider.createSvgElement_tag("path ");
3984 3900
3985 @DomName('SVGPathElement.animatedNormalizedPathSegList') 3901 @DomName('SVGPathElement.animatedNormalizedPathSegList')
3986 @DocsEditable 3902 @DocsEditable
3987 final PathSegList animatedNormalizedPathSegList; 3903 final PathSegList animatedNormalizedPathSegList;
(...skipping 1267 matching lines...) Expand 10 before | Expand all | Expand 10 after
5255 @DocsEditable 5171 @DocsEditable
5256 int meetOrSlice; 5172 int meetOrSlice;
5257 } 5173 }
5258 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5174 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5259 // for details. All rights reserved. Use of this source code is governed by a 5175 // for details. All rights reserved. Use of this source code is governed by a
5260 // BSD-style license that can be found in the LICENSE file. 5176 // BSD-style license that can be found in the LICENSE file.
5261 5177
5262 5178
5263 @DocsEditable 5179 @DocsEditable
5264 @DomName('SVGRadialGradientElement') 5180 @DomName('SVGRadialGradientElement')
5265 class RadialGradientElement extends _GradientElement native "*SVGRadialGradientE lement" { 5181 class RadialGradientElement extends _SVGGradientElement native "*SVGRadialGradie ntElement" {
5266 5182
5267 @DomName('SVGRadialGradientElement.SVGRadialGradientElement') 5183 @DomName('SVGRadialGradientElement.SVGRadialGradientElement')
5268 @DocsEditable 5184 @DocsEditable
5269 factory RadialGradientElement() => _SvgElementFactoryProvider.createSvgElement _tag("radialGradient"); 5185 factory RadialGradientElement() => _SvgElementFactoryProvider.createSvgElement _tag("radialGradient");
5270 5186
5271 @DomName('SVGRadialGradientElement.cx') 5187 @DomName('SVGRadialGradientElement.cx')
5272 @DocsEditable 5188 @DocsEditable
5273 final AnimatedLength cx; 5189 final AnimatedLength cx;
5274 5190
5275 @DomName('SVGRadialGradientElement.cy') 5191 @DomName('SVGRadialGradientElement.cy')
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
5800 5716
5801 @DocsEditable 5717 @DocsEditable
5802 @DomName('SVGStyledElement') 5718 @DomName('SVGStyledElement')
5803 class StyledElement extends SvgElement native "*SVGStyledElement" { 5719 class StyledElement extends SvgElement native "*SVGStyledElement" {
5804 5720
5805 // Shadowing definition. 5721 // Shadowing definition.
5806 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th is); 5722 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th is);
5807 5723
5808 // Use implementation from Element. 5724 // Use implementation from Element.
5809 // final CssStyleDeclaration style; 5725 // final CssStyleDeclaration style;
5810
5811 @DomName('SVGStyledElement.getPresentationAttribute')
5812 @DocsEditable
5813 CssValue getPresentationAttribute(String name) native;
5814 } 5726 }
5815 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5727 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5816 // for details. All rights reserved. Use of this source code is governed by a 5728 // for details. All rights reserved. Use of this source code is governed by a
5817 // BSD-style license that can be found in the LICENSE file. 5729 // BSD-style license that can be found in the LICENSE file.
5818 5730
5819 5731
5820 @DocsEditable 5732 @DocsEditable
5821 @DomName('SVGDocument') 5733 @DomName('SVGDocument')
5822 class SvgDocument extends Document native "*SVGDocument" { 5734 class SvgDocument extends Document native "*SVGDocument" {
5823 5735
(...skipping 1625 matching lines...) Expand 10 before | Expand all | Expand 10 after
7449 @DomName('SVGElementInstanceList.item') 7361 @DomName('SVGElementInstanceList.item')
7450 @DocsEditable 7362 @DocsEditable
7451 ElementInstance item(int index) native; 7363 ElementInstance item(int index) native;
7452 } 7364 }
7453 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 7365 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7454 // for details. All rights reserved. Use of this source code is governed by a 7366 // for details. All rights reserved. Use of this source code is governed by a
7455 // BSD-style license that can be found in the LICENSE file. 7367 // BSD-style license that can be found in the LICENSE file.
7456 7368
7457 7369
7458 @DocsEditable 7370 @DocsEditable
7459 @DomName('SVGGradientElement')
7460 class _GradientElement extends StyledElement implements UriReference, ExternalRe sourcesRequired native "*SVGGradientElement" {
7461
7462 static const int SVG_SPREADMETHOD_PAD = 1;
7463
7464 static const int SVG_SPREADMETHOD_REFLECT = 2;
7465
7466 static const int SVG_SPREADMETHOD_REPEAT = 3;
7467
7468 static const int SVG_SPREADMETHOD_UNKNOWN = 0;
7469
7470 @DomName('SVGGradientElement.gradientTransform')
7471 @DocsEditable
7472 final AnimatedTransformList gradientTransform;
7473
7474 @DomName('SVGGradientElement.gradientUnits')
7475 @DocsEditable
7476 final AnimatedEnumeration gradientUnits;
7477
7478 @DomName('SVGGradientElement.spreadMethod')
7479 @DocsEditable
7480 final AnimatedEnumeration spreadMethod;
7481
7482 // From SVGExternalResourcesRequired
7483
7484 @DomName('SVGGradientElement.externalResourcesRequired')
7485 @DocsEditable
7486 final AnimatedBoolean externalResourcesRequired;
7487
7488 // From SVGURIReference
7489
7490 @DomName('SVGGradientElement.href')
7491 @DocsEditable
7492 final AnimatedString href;
7493 }
7494 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7495 // for details. All rights reserved. Use of this source code is governed by a
7496 // BSD-style license that can be found in the LICENSE file.
7497
7498
7499 @DocsEditable
7500 @DomName('SVGAltGlyphDefElement') 7371 @DomName('SVGAltGlyphDefElement')
7501 abstract class _SVGAltGlyphDefElement extends SvgElement native "*SVGAltGlyphDef Element" { 7372 abstract class _SVGAltGlyphDefElement extends SvgElement native "*SVGAltGlyphDef Element" {
7502 } 7373 }
7503 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 7374 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7504 // for details. All rights reserved. Use of this source code is governed by a 7375 // for details. All rights reserved. Use of this source code is governed by a
7505 // BSD-style license that can be found in the LICENSE file. 7376 // BSD-style license that can be found in the LICENSE file.
7506 7377
7507 7378
7508 @DocsEditable 7379 @DocsEditable
7509 @DomName('SVGAltGlyphItemElement') 7380 @DomName('SVGAltGlyphItemElement')
7510 abstract class _SVGAltGlyphItemElement extends SvgElement native "*SVGAltGlyphIt emElement" { 7381 abstract class _SVGAltGlyphItemElement extends SvgElement native "*SVGAltGlyphIt emElement" {
7511 } 7382 }
7512 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 7383 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7513 // for details. All rights reserved. Use of this source code is governed by a 7384 // for details. All rights reserved. Use of this source code is governed by a
7514 // BSD-style license that can be found in the LICENSE file. 7385 // BSD-style license that can be found in the LICENSE file.
7515 7386
7516 7387
7517 @DocsEditable 7388 @DocsEditable
7518 @DomName('SVGAnimateColorElement') 7389 @DomName('SVGAnimateColorElement')
7519 abstract class _SVGAnimateColorElement extends AnimationElement native "*SVGAnim ateColorElement" { 7390 abstract class _SVGAnimateColorElement extends AnimationElement native "*SVGAnim ateColorElement" {
7520 } 7391 }
7392 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
7393 // for details. All rights reserved. Use of this source code is governed by a
7394 // BSD-style license that can be found in the LICENSE file.
7395
7396
7397 // Hack because the baseclass is private in dart:html, and we want to omit this
7398 // type entirely but can't.
7399 @DocsEditable
7400 @DomName('SVGColor')
7401 class _SVGColor native "*SVGColor" {
7402 }
7521 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 7403 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7522 // for details. All rights reserved. Use of this source code is governed by a 7404 // for details. All rights reserved. Use of this source code is governed by a
7523 // BSD-style license that can be found in the LICENSE file. 7405 // BSD-style license that can be found in the LICENSE file.
7524 7406
7525 7407
7526 @DocsEditable 7408 @DocsEditable
7527 @DomName('SVGComponentTransferFunctionElement') 7409 @DomName('SVGComponentTransferFunctionElement')
7528 abstract class _SVGComponentTransferFunctionElement extends SvgElement native "* SVGComponentTransferFunctionElement" { 7410 abstract class _SVGComponentTransferFunctionElement extends SvgElement native "* SVGComponentTransferFunctionElement" {
7529 } 7411 }
7530 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 7412 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
7637 abstract class _SVGGlyphRefElement extends StyledElement implements UriReference native "*SVGGlyphRefElement" { 7519 abstract class _SVGGlyphRefElement extends StyledElement implements UriReference native "*SVGGlyphRefElement" {
7638 7520
7639 // From SVGURIReference 7521 // From SVGURIReference
7640 } 7522 }
7641 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 7523 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7642 // for details. All rights reserved. Use of this source code is governed by a 7524 // for details. All rights reserved. Use of this source code is governed by a
7643 // BSD-style license that can be found in the LICENSE file. 7525 // BSD-style license that can be found in the LICENSE file.
7644 7526
7645 7527
7646 @DocsEditable 7528 @DocsEditable
7529 @DomName('SVGGradientElement')
7530 abstract class _SVGGradientElement extends StyledElement implements UriReference , ExternalResourcesRequired native "*SVGGradientElement" {
7531
7532 // From SVGExternalResourcesRequired
7533
7534 // From SVGURIReference
7535 }
7536 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7537 // for details. All rights reserved. Use of this source code is governed by a
7538 // BSD-style license that can be found in the LICENSE file.
7539
7540
7541 @DocsEditable
7647 @DomName('SVGHKernElement') 7542 @DomName('SVGHKernElement')
7648 abstract class _SVGHKernElement extends SvgElement native "*SVGHKernElement" { 7543 abstract class _SVGHKernElement extends SvgElement native "*SVGHKernElement" {
7649 7544
7650 @DomName('SVGHKernElement.SVGHKernElement') 7545 @DomName('SVGHKernElement.SVGHKernElement')
7651 @DocsEditable 7546 @DocsEditable
7652 factory _SVGHKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "hkern"); 7547 factory _SVGHKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "hkern");
7653 } 7548 }
7654 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 7549 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7655 // for details. All rights reserved. Use of this source code is governed by a 7550 // for details. All rights reserved. Use of this source code is governed by a
7656 // BSD-style license that can be found in the LICENSE file. 7551 // BSD-style license that can be found in the LICENSE file.
(...skipping 19 matching lines...) Expand all
7676 @DocsEditable 7571 @DocsEditable
7677 @DomName('SVGMissingGlyphElement') 7572 @DomName('SVGMissingGlyphElement')
7678 abstract class _SVGMissingGlyphElement extends StyledElement native "*SVGMissing GlyphElement" { 7573 abstract class _SVGMissingGlyphElement extends StyledElement native "*SVGMissing GlyphElement" {
7679 } 7574 }
7680 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 7575 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7681 // for details. All rights reserved. Use of this source code is governed by a 7576 // for details. All rights reserved. Use of this source code is governed by a
7682 // BSD-style license that can be found in the LICENSE file. 7577 // BSD-style license that can be found in the LICENSE file.
7683 7578
7684 7579
7685 @DocsEditable 7580 @DocsEditable
7581 @DomName('SVGPaint')
7582 class _SVGPaint extends _SVGColor native "*SVGPaint" {
7583
7584 static const int SVG_PAINTTYPE_CURRENTCOLOR = 102;
7585
7586 static const int SVG_PAINTTYPE_NONE = 101;
7587
7588 static const int SVG_PAINTTYPE_RGBCOLOR = 1;
7589
7590 static const int SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2;
7591
7592 static const int SVG_PAINTTYPE_UNKNOWN = 0;
7593
7594 static const int SVG_PAINTTYPE_URI = 107;
7595
7596 static const int SVG_PAINTTYPE_URI_CURRENTCOLOR = 104;
7597
7598 static const int SVG_PAINTTYPE_URI_NONE = 103;
7599
7600 static const int SVG_PAINTTYPE_URI_RGBCOLOR = 105;
7601
7602 static const int SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106;
7603
7604 @DomName('SVGPaint.paintType')
7605 @DocsEditable
7606 final int paintType;
7607
7608 @DomName('SVGPaint.uri')
7609 @DocsEditable
7610 final String uri;
7611
7612 @DomName('SVGPaint.setPaint')
7613 @DocsEditable
7614 void setPaint(int paintType, String uri, String rgbColor, String iccColor) nat ive;
7615
7616 @DomName('SVGPaint.setUri')
7617 @DocsEditable
7618 void setUri(String uri) native;
7619 }
7620 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7621 // for details. All rights reserved. Use of this source code is governed by a
7622 // BSD-style license that can be found in the LICENSE file.
7623
7624
7625 @DocsEditable
7686 @DomName('SVGTRefElement') 7626 @DomName('SVGTRefElement')
7687 abstract class _SVGTRefElement extends TextPositioningElement implements UriRefe rence native "*SVGTRefElement" { 7627 abstract class _SVGTRefElement extends TextPositioningElement implements UriRefe rence native "*SVGTRefElement" {
7688 7628
7689 @DomName('SVGTRefElement.SVGTRefElement') 7629 @DomName('SVGTRefElement.SVGTRefElement')
7690 @DocsEditable 7630 @DocsEditable
7691 factory _SVGTRefElement() => _SvgElementFactoryProvider.createSvgElement_tag(" tref"); 7631 factory _SVGTRefElement() => _SvgElementFactoryProvider.createSvgElement_tag(" tref");
7692 7632
7693 // From SVGURIReference 7633 // From SVGURIReference
7694 } 7634 }
7695 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 7635 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7696 // for details. All rights reserved. Use of this source code is governed by a 7636 // for details. All rights reserved. Use of this source code is governed by a
7697 // BSD-style license that can be found in the LICENSE file. 7637 // BSD-style license that can be found in the LICENSE file.
7698 7638
7699 7639
7700 @DocsEditable 7640 @DocsEditable
7701 @DomName('SVGVKernElement') 7641 @DomName('SVGVKernElement')
7702 abstract class _SVGVKernElement extends SvgElement native "*SVGVKernElement" { 7642 abstract class _SVGVKernElement extends SvgElement native "*SVGVKernElement" {
7703 7643
7704 @DomName('SVGVKernElement.SVGVKernElement') 7644 @DomName('SVGVKernElement.SVGVKernElement')
7705 @DocsEditable 7645 @DocsEditable
7706 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern"); 7646 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern");
7707 } 7647 }
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