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

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

Issue 474013004: Experimental SVG 1.1 DOM runtime flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix rebase mistake in UseCounters.h Created 6 years, 2 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/SVGRenderingIntent.idl ('k') | Source/core/svg/SVGStopElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGSVGElement.idl
diff --git a/Source/core/svg/SVGSVGElement.idl b/Source/core/svg/SVGSVGElement.idl
index ad7db21f52e7e4dfe51f91a430f7697d6bb30da5..1b699145555492d7456f36076b3e3bad46d875fa 100644
--- a/Source/core/svg/SVGSVGElement.idl
+++ b/Source/core/svg/SVGSVGElement.idl
@@ -28,10 +28,10 @@
TypeChecking=Interface,
] interface SVGSVGElement : SVGGraphicsElement {
- readonly attribute SVGAnimatedLength x;
- readonly attribute SVGAnimatedLength y;
- readonly attribute SVGAnimatedLength width;
- readonly attribute SVGAnimatedLength height;
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedLength x;
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedLength y;
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedLength width;
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedLength height;
readonly attribute SVGRect viewport;
readonly attribute float pixelUnitToMillimeterX;
readonly attribute float pixelUnitToMillimeterY;
@@ -42,10 +42,10 @@
attribute float currentScale;
[ImplementedAs=currentTranslateFromJavascript] readonly attribute SVGPoint currentTranslate;
- unsigned long suspendRedraw(unsigned long maxWaitMilliseconds);
- void unsuspendRedraw(unsigned long suspendHandleId);
- void unsuspendRedrawAll();
- void forceRedraw();
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] unsigned long suspendRedraw(unsigned long maxWaitMilliseconds);
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] void unsuspendRedraw(unsigned long suspendHandleId);
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] void unsuspendRedrawAll();
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] void forceRedraw();
void pauseAnimations();
void unpauseAnimations();
boolean animationsPaused();
@@ -57,14 +57,14 @@
boolean checkEnclosure(SVGElement element, SVGRect rect);
void deselectAll();
- SVGNumber createSVGNumber();
- SVGLength createSVGLength();
- SVGAngle createSVGAngle();
- SVGPoint createSVGPoint();
- SVGMatrix createSVGMatrix();
- SVGRect createSVGRect();
- SVGTransform createSVGTransform();
- SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix);
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGNumber createSVGNumber();
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGLength createSVGLength();
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGAngle createSVGAngle();
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGPoint createSVGPoint();
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGMatrix createSVGMatrix();
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGRect createSVGRect();
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGTransform createSVGTransform();
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix);
Element getElementById(DOMString elementId);
};
« no previous file with comments | « Source/core/svg/SVGRenderingIntent.idl ('k') | Source/core/svg/SVGStopElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698