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

Unified Diff: core/svg/SVGSVGElement.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 9 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 | « core/svg/SVGRectElement.idl ('k') | core/svg/SVGStopElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/svg/SVGSVGElement.idl
diff --git a/core/svg/SVGSVGElement.idl b/core/svg/SVGSVGElement.idl
index 0ad5d7ad7bf39d2803c42f5dc0c9748ce8dd973f..b05a2590a142910b67178ccd9c971eda4a3bd65e 100644
--- a/core/svg/SVGSVGElement.idl
+++ b/core/svg/SVGSVGElement.idl
@@ -22,16 +22,13 @@
// http://www.w3.org/TR/SVG2/struct.html#InterfaceSVGSVGElement
-[
- TypeChecking=Interface,
-] interface SVGSVGElement : SVGGraphicsElement {
-
- [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;
+interface SVGSVGElement : SVGGraphicsElement {
+ [MeasureAs=SVG1DOMSVGElement] readonly attribute SVGAnimatedLength x;
+ [MeasureAs=SVG1DOMSVGElement] readonly attribute SVGAnimatedLength y;
+ [MeasureAs=SVG1DOMSVGElement] readonly attribute SVGAnimatedLength width;
+ [MeasureAs=SVG1DOMSVGElement] readonly attribute SVGAnimatedLength height;
// TODO(philipj): viewport should be a DOMRectReadOnly.
- readonly attribute SVGRect viewport;
+ [Measure] readonly attribute SVGRect viewport;
// TODO(philipj): useCurrentView and currentView have been removed:
// https://github.com/w3c/svgwg/commit/4c26fd36937a65192024208d85c144a21071b057
[Measure] readonly attribute boolean useCurrentView;
@@ -40,37 +37,35 @@
// TODO(philipj): currentTranslate should be a DOMPointReadOnly.
[ImplementedAs=currentTranslateFromJavascript] readonly attribute SVGPoint currentTranslate;
- [RuntimeEnabled=SVG1DOM, DeprecateAs=SVGSVGElementSuspendRedraw] unsigned long suspendRedraw(unsigned long maxWaitMilliseconds);
- [RuntimeEnabled=SVG1DOM, DeprecateAs=SVGSVGElementUnsuspendRedraw] void unsuspendRedraw(unsigned long suspendHandleId);
- [RuntimeEnabled=SVG1DOM, DeprecateAs=SVGSVGElementUnsuspendRedrawAll] void unsuspendRedrawAll();
- [RuntimeEnabled=SVG1DOM, DeprecateAs=SVGSVGElementForceRedraw] void forceRedraw();
- void pauseAnimations();
- void unpauseAnimations();
- boolean animationsPaused();
- float getCurrentTime();
- void setCurrentTime(float seconds);
+ [MeasureAs=SVGSVGElementSuspendRedraw] unsigned long suspendRedraw(unsigned long maxWaitMilliseconds);
+ [MeasureAs=SVGSVGElementUnsuspendRedraw] void unsuspendRedraw(unsigned long suspendHandleId);
+ [MeasureAs=SVGSVGElementUnsuspendRedrawAll] void unsuspendRedrawAll();
+ [MeasureAs=SVGSVGElementForceRedraw] void forceRedraw();
+
+ [RuntimeEnabled=smil] void pauseAnimations();
+ [RuntimeEnabled=smil] void unpauseAnimations();
+ [RuntimeEnabled=smil] boolean animationsPaused();
+ [RuntimeEnabled=smil] float getCurrentTime();
+ [RuntimeEnabled=smil] void setCurrentTime(float seconds);
+
// TODO(philipj): The rect arguments should be DOMRectReadOnly.
NodeList getIntersectionList(SVGRect rect, SVGElement? referenceElement);
NodeList getEnclosureList(SVGRect rect, SVGElement? referenceElement);
boolean checkIntersection(SVGElement element, SVGRect rect);
boolean checkEnclosure(SVGElement element, SVGRect rect);
void deselectAll();
- [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGNumber createSVGNumber();
- [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGLength createSVGLength();
- [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGAngle createSVGAngle();
+ [Measure] SVGNumber createSVGNumber();
+ [Measure] SVGLength createSVGLength();
+ [Measure] SVGAngle createSVGAngle();
// TODO(philipj): SVGPoint/Matrix/Rect should be DOMPoint/Matrix/Rect.
- [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);
+ [Measure] SVGPoint createSVGPoint();
+ [Measure] SVGMatrix createSVGMatrix();
+ [Measure] SVGRect createSVGRect();
+ [Measure] SVGTransform createSVGTransform();
+ [Measure] SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix);
// TODO(philipj): The following was part of SVG 1.1:
// http://www.w3.org/TR/SVG11/struct.html#InterfaceSVGSVGElement
- [Measure] readonly attribute float pixelUnitToMillimeterX;
- [Measure] readonly attribute float pixelUnitToMillimeterY;
- [Measure] readonly attribute float screenPixelToMillimeterX;
- [Measure] readonly attribute float screenPixelToMillimeterY;
[Measure] Element getElementById(DOMString elementId);
};
« no previous file with comments | « core/svg/SVGRectElement.idl ('k') | core/svg/SVGStopElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698