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

Unified Diff: Source/core/svg/SVGPathElement.idl

Issue 474013004: Experimental SVG 1.1 DOM runtime flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: UseCounter + make it possible to disable svgdom from commandline Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGNumberList.idl ('k') | Source/core/svg/SVGPathSeg.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathElement.idl
diff --git a/Source/core/svg/SVGPathElement.idl b/Source/core/svg/SVGPathElement.idl
index df7ac8c97f0df17673d5d2a1d30d3a054e6878f9..f9e8cd8b11e2498b61a3b5623bf88a809bc3600c 100644
--- a/Source/core/svg/SVGPathElement.idl
+++ b/Source/core/svg/SVGPathElement.idl
@@ -27,53 +27,53 @@
[
TypeChecking=Interface,
] interface SVGPathElement : SVGGeometryElement {
- readonly attribute SVGAnimatedNumber pathLength;
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedNumber pathLength;
float getTotalLength();
SVGPoint getPointAtLength(float distance);
unsigned long getPathSegAtLength(float distance);
- SVGPathSegClosePath createSVGPathSegClosePath();
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGPathSegClosePath createSVGPathSegClosePath();
fs 2014/09/17 13:04:31 Should these - createSVGPathSeg* - be measured as
Erik Dahlström (inactive) 2014/09/19 09:12:36 Done.
- SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(float x, float y);
- SVGPathSegMovetoRel createSVGPathSegMovetoRel(float x, float y);
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(float x, float y);
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGPathSegMovetoRel createSVGPathSegMovetoRel(float x, float y);
- SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(float x, float y);
- SVGPathSegLinetoRel createSVGPathSegLinetoRel(float x, float y);
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(float x, float y);
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGPathSegLinetoRel createSVGPathSegLinetoRel(float x, float y);
- SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(
float x, float y, float x1, float y1, float x2, float y2);
- SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(
float x, float y, float x1, float y1, float x2, float y2);
- SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(
float x, float y, float x1, float y1);
- SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(
float x, float y, float x1, float y1);
- SVGPathSegArcAbs createSVGPathSegArcAbs(
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGPathSegArcAbs createSVGPathSegArcAbs(
float x, float y, float r1, float r2,
float angle, boolean largeArcFlag, boolean sweepFlag);
- SVGPathSegArcRel createSVGPathSegArcRel(
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGPathSegArcRel createSVGPathSegArcRel(
float x, float y, float r1, float r2,
float angle, boolean largeArcFlag, boolean sweepFlag);
- SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(float x);
- SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(float x);
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(float x);
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(float x);
- SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(float y);
- SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(float y);
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(float y);
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(float y);
- SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(
float x, float y, float x2, float y2);
- SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(
float x, float y, float x2, float y2);
- SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y);
- SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel(float x, float y);
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y);
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel(float x, float y);
- readonly attribute SVGPathSegList pathSegList;
- readonly attribute SVGPathSegList normalizedPathSegList;
- readonly attribute SVGPathSegList animatedPathSegList;
- readonly attribute SVGPathSegList animatedNormalizedPathSegList;
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGPathSegList pathSegList;
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGPathSegList normalizedPathSegList;
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGPathSegList animatedPathSegList;
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGPathSegList animatedNormalizedPathSegList;
};
« no previous file with comments | « Source/core/svg/SVGNumberList.idl ('k') | Source/core/svg/SVGPathSeg.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698