Changeset 92237 in webkit
- Timestamp:
- Aug 2, 2011 2:36:52 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r92236 r92237 1 2011-08-02 Mark Pilgrim <pilgrim@chromium.org> 2 3 Remove LegacyDefaultOptionalArguments flag from SVG IDL files 4 https://bugs.webkit.org/show_bug.cgi?id=65337 5 6 Reviewed by Nikolas Zimmermann. 7 8 No new tests, all existing tests pass. 9 10 * svg/ElementTimeControl.idl: 11 * svg/SVGAnimationElement.idl: 12 * svg/SVGDocument.idl: 13 * svg/SVGElementInstance.idl: 14 * svg/SVGElementInstanceList.idl: 15 * svg/SVGException.idl: 16 * svg/SVGFEDropShadowElement.idl: 17 * svg/SVGFEGaussianBlurElement.idl: 18 * svg/SVGFEMorphologyElement.idl: 19 * svg/SVGFilterElement.idl: 20 * svg/SVGLocatable.idl: 21 * svg/SVGMarkerElement.idl: 22 * svg/SVGPathElement.idl: 23 * svg/SVGSVGElement.idl: 24 * svg/SVGStylable.idl: 25 * svg/SVGStyleElement.idl: 26 * svg/SVGTests.idl: 27 * svg/SVGTextContentElement.idl: 28 1 29 2011-08-02 Mark Pilgrim <pilgrim@chromium.org> 2 30 -
trunk/Source/WebCore/svg/ElementTimeControl.idl
r89148 r92237 28 28 29 29 interface [ 30 LegacyDefaultOptionalArguments,31 30 Conditional=SVG, 32 31 ObjCProtocol, … … 34 33 ] ElementTimeControl { 35 34 void beginElement(); 36 void beginElementAt(in float offset);35 void beginElementAt(in [Optional=CallWithDefaultValue] float offset); 37 36 void endElement(); 38 void endElementAt(in float offset);37 void endElementAt(in [Optional=CallWithDefaultValue] float offset); 39 38 }; 40 39 -
trunk/Source/WebCore/svg/SVGAnimationElement.idl
r89148 r92237 27 27 28 28 interface [ 29 LegacyDefaultOptionalArguments,30 29 Conditional=SVG_ANIMATION, 31 30 OmitConstructor -
trunk/Source/WebCore/svg/SVGDocument.idl
r89148 r92237 23 23 24 24 interface [ 25 LegacyDefaultOptionalArguments,26 25 Conditional=SVG 27 26 ] SVGDocument : Document { … … 29 28 30 29 // Overwrite the one in events::DocumentEvent 31 Event createEvent(in DOMString eventType)30 Event createEvent(in [Optional=CallWithDefaultValue] DOMString eventType) 32 31 raises(DOMException); 33 32 }; -
trunk/Source/WebCore/svg/SVGElementInstance.idl
r89781 r92237 28 28 29 29 interface [ 30 Conditional=SVG,31 30 LegacyDefaultOptionalArguments, 32 31 CustomMarkFunction, -
trunk/Source/WebCore/svg/SVGElementInstanceList.idl
r89148 r92237 26 26 module svg { 27 27 interface [ 28 LegacyDefaultOptionalArguments,29 28 Conditional=SVG 30 29 ] SVGElementInstanceList { 31 30 readonly attribute unsigned long length; 32 31 33 SVGElementInstance item(in unsigned long index);32 SVGElementInstance item(in [Optional=CallWithDefaultValue] unsigned long index); 34 33 }; 35 34 } -
trunk/Source/WebCore/svg/SVGException.idl
r89148 r92237 23 23 interface [ 24 24 Conditional=SVG, 25 LegacyDefaultOptionalArguments,26 25 DontCheckEnums 27 26 ] SVGException { -
trunk/Source/WebCore/svg/SVGFEDropShadowElement.idl
r89148 r92237 21 21 22 22 interface [ 23 LegacyDefaultOptionalArguments,24 23 Conditional=SVG&FILTERS 25 24 ] SVGFEDropShadowElement : SVGElement, … … 31 30 readonly attribute SVGAnimatedNumber stdDeviationY; 32 31 33 void setStdDeviation(in float stdDeviationX, in float stdDeviationY); 32 void setStdDeviation(in [Optional=CallWithDefaultValue] float stdDeviationX, 33 in [Optional=CallWithDefaultValue] float stdDeviationY); 34 34 }; 35 35 -
trunk/Source/WebCore/svg/SVGFEGaussianBlurElement.idl
r89148 r92237 27 27 28 28 interface [ 29 LegacyDefaultOptionalArguments,30 29 Conditional=SVG&FILTERS 31 30 ] SVGFEGaussianBlurElement : SVGElement, … … 35 34 readonly attribute SVGAnimatedNumber stdDeviationY; 36 35 37 void setStdDeviation(in float stdDeviationX, in float stdDeviationY); 36 void setStdDeviation(in [Optional=CallWithDefaultValue] float stdDeviationX, 37 in [Optional=CallWithDefaultValue] float stdDeviationY); 38 38 }; 39 39 -
trunk/Source/WebCore/svg/SVGFEMorphologyElement.idl
r89148 r92237 27 27 28 28 interface [ 29 LegacyDefaultOptionalArguments,30 29 Conditional=SVG&FILTERS, 31 30 DontCheckEnums … … 42 41 readonly attribute SVGAnimatedNumber radiusY; 43 42 44 void setRadius(in float radiusX, in float radiusY); 43 void setRadius(in [Optional=CallWithDefaultValue] float radiusX, 44 in [Optional=CallWithDefaultValue] float radiusY); 45 45 }; 46 46 -
trunk/Source/WebCore/svg/SVGFilterElement.idl
r89148 r92237 28 28 29 29 interface [ 30 LegacyDefaultOptionalArguments,31 30 Conditional=SVG&FILTERS 32 31 ] SVGFilterElement : SVGElement, … … 45 44 readonly attribute SVGAnimatedInteger filterResY; 46 45 47 void setFilterRes(in unsigned long filterResX, in unsigned long filterResY); 46 void setFilterRes(in [Optional=CallWithDefaultValue] unsigned long filterResX, 47 in [Optional=CallWithDefaultValue] unsigned long filterResY); 48 48 }; 49 49 -
trunk/Source/WebCore/svg/SVGLocatable.idl
r89148 r92237 28 28 29 29 interface [ 30 LegacyDefaultOptionalArguments,31 30 Conditional=SVG, 32 31 ObjCProtocol, … … 39 38 SVGMatrix getCTM(); 40 39 SVGMatrix getScreenCTM(); 41 SVGMatrix getTransformToElement(in SVGElement element)40 SVGMatrix getTransformToElement(in [Optional=CallWithDefaultValue] SVGElement element) 42 41 raises(SVGException); 43 42 }; -
trunk/Source/WebCore/svg/SVGMarkerElement.idl
r89148 r92237 27 27 28 28 interface [ 29 LegacyDefaultOptionalArguments,30 29 Conditional=SVG 31 30 ] SVGMarkerElement : SVGElement, … … 53 52 54 53 void setOrientToAuto(); 55 void setOrientToAngle(in SVGAngle angle);54 void setOrientToAngle(in [Optional=CallWithDefaultValue] SVGAngle angle); 56 55 }; 57 56 -
trunk/Source/WebCore/svg/SVGPathElement.idl
r89148 r92237 28 28 29 29 interface [ 30 LegacyDefaultOptionalArguments,31 30 Conditional=SVG 32 31 ] SVGPathElement : SVGElement, … … 39 38 40 39 float getTotalLength(); 41 SVGPoint getPointAtLength(in float distance);42 unsigned long getPathSegAtLength(in float distance);40 SVGPoint getPointAtLength(in [Optional=CallWithDefaultValue] float distance); 41 unsigned long getPathSegAtLength(in [Optional=CallWithDefaultValue] float distance); 43 42 44 43 SVGPathSegClosePath createSVGPathSegClosePath(); 45 44 46 SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(in float x,47 in float y);48 SVGPathSegMovetoRel createSVGPathSegMovetoRel(in float x,49 in float y);45 SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(in [Optional=CallWithDefaultValue] float x, 46 in [Optional=CallWithDefaultValue] float y); 47 SVGPathSegMovetoRel createSVGPathSegMovetoRel(in [Optional=CallWithDefaultValue] float x, 48 in [Optional=CallWithDefaultValue] float y); 50 49 51 SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(in float x,52 in float y);53 SVGPathSegLinetoRel createSVGPathSegLinetoRel(in float x,54 in float y);50 SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(in [Optional=CallWithDefaultValue] float x, 51 in [Optional=CallWithDefaultValue] float y); 52 SVGPathSegLinetoRel createSVGPathSegLinetoRel(in [Optional=CallWithDefaultValue] float x, 53 in [Optional=CallWithDefaultValue] float y); 55 54 56 SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(in float x,57 in float y,58 in float x1,59 in float y1,60 in float x2,61 in float y2);62 SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(in float x,63 in float y,64 in float x1,65 in float y1,66 in float x2,67 in float y2);55 SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(in [Optional=CallWithDefaultValue] float x, 56 in [Optional=CallWithDefaultValue] float y, 57 in [Optional=CallWithDefaultValue] float x1, 58 in [Optional=CallWithDefaultValue] float y1, 59 in [Optional=CallWithDefaultValue] float x2, 60 in [Optional=CallWithDefaultValue] float y2); 61 SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(in [Optional=CallWithDefaultValue] float x, 62 in [Optional=CallWithDefaultValue] float y, 63 in [Optional=CallWithDefaultValue] float x1, 64 in [Optional=CallWithDefaultValue] float y1, 65 in [Optional=CallWithDefaultValue] float x2, 66 in [Optional=CallWithDefaultValue] float y2); 68 67 69 SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(in float x,70 in float y,71 in float x1,72 in float y1);73 SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(in float x,74 in float y,75 in float x1,76 in float y1);68 SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(in [Optional=CallWithDefaultValue] float x, 69 in [Optional=CallWithDefaultValue] float y, 70 in [Optional=CallWithDefaultValue] float x1, 71 in [Optional=CallWithDefaultValue] float y1); 72 SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(in [Optional=CallWithDefaultValue] float x, 73 in [Optional=CallWithDefaultValue] float y, 74 in [Optional=CallWithDefaultValue] float x1, 75 in [Optional=CallWithDefaultValue] float y1); 77 76 78 SVGPathSegArcAbs createSVGPathSegArcAbs(in float x,79 in float y,80 in float r1,81 in float r2,82 in float angle,83 in boolean largeArcFlag,84 in boolean sweepFlag);85 SVGPathSegArcRel createSVGPathSegArcRel(in float x,86 in float y,87 in float r1,88 in float r2,89 in float angle,90 in boolean largeArcFlag,91 in boolean sweepFlag);77 SVGPathSegArcAbs createSVGPathSegArcAbs(in [Optional=CallWithDefaultValue] float x, 78 in [Optional=CallWithDefaultValue] float y, 79 in [Optional=CallWithDefaultValue] float r1, 80 in [Optional=CallWithDefaultValue] float r2, 81 in [Optional=CallWithDefaultValue] float angle, 82 in [Optional=CallWithDefaultValue] boolean largeArcFlag, 83 in [Optional=CallWithDefaultValue] boolean sweepFlag); 84 SVGPathSegArcRel createSVGPathSegArcRel(in [Optional=CallWithDefaultValue] float x, 85 in [Optional=CallWithDefaultValue] float y, 86 in [Optional=CallWithDefaultValue] float r1, 87 in [Optional=CallWithDefaultValue] float r2, 88 in [Optional=CallWithDefaultValue] float angle, 89 in [Optional=CallWithDefaultValue] boolean largeArcFlag, 90 in [Optional=CallWithDefaultValue] boolean sweepFlag); 92 91 93 SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(in float x);94 SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(in float x);92 SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(in [Optional=CallWithDefaultValue] float x); 93 SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(in [Optional=CallWithDefaultValue] float x); 95 94 96 SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(in float y);97 SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(in float y);95 SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(in [Optional=CallWithDefaultValue] float y); 96 SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(in [Optional=CallWithDefaultValue] float y); 98 97 99 SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(in float x,100 in float y,101 in float x2,102 in float y2);103 SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(in float x,104 in float y,105 in float x2,106 in float y2);98 SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(in [Optional=CallWithDefaultValue] float x, 99 in [Optional=CallWithDefaultValue] float y, 100 in [Optional=CallWithDefaultValue] float x2, 101 in [Optional=CallWithDefaultValue] float y2); 102 SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(in [Optional=CallWithDefaultValue] float x, 103 in [Optional=CallWithDefaultValue] float y, 104 in [Optional=CallWithDefaultValue] float x2, 105 in [Optional=CallWithDefaultValue] float y2); 107 106 108 SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs(in float x,109 in float y);110 SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel(in float x,111 in float y);107 SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs(in [Optional=CallWithDefaultValue] float x, 108 in [Optional=CallWithDefaultValue] float y); 109 SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel(in [Optional=CallWithDefaultValue] float x, 110 in [Optional=CallWithDefaultValue] float y); 112 111 113 112 readonly attribute SVGPathSegList pathSegList; -
trunk/Source/WebCore/svg/SVGSVGElement.idl
r89148 r92237 27 27 // TODO: no events::DocumentEvent available! 28 28 interface [ 29 LegacyDefaultOptionalArguments,30 29 Conditional=SVG 31 30 ] SVGSVGElement : SVGElement, … … 57 56 readonly attribute SVGPoint currentTranslate; 58 57 59 unsigned long suspendRedraw(in unsigned long maxWaitMilliseconds);60 void unsuspendRedraw(in unsigned long suspendHandleId);58 unsigned long suspendRedraw(in [Optional=CallWithDefaultValue] unsigned long maxWaitMilliseconds); 59 void unsuspendRedraw(in [Optional=CallWithDefaultValue] unsigned long suspendHandleId); 61 60 void unsuspendRedrawAll(); 62 61 void forceRedraw(); … … 65 64 boolean animationsPaused(); 66 65 float getCurrentTime(); 67 void setCurrentTime(in float seconds);68 NodeList getIntersectionList(in SVGRect rect,69 inSVGElement referenceElement);70 NodeList getEnclosureList(in SVGRect rect,71 inSVGElement referenceElement);72 boolean checkIntersection(in SVGElement element,73 in SVGRect rect);74 boolean checkEnclosure(in SVGElement element,75 in SVGRect rect);66 void setCurrentTime(in [Optional=CallWithDefaultValue] float seconds); 67 NodeList getIntersectionList(in [Optional=CallWithDefaultValue] SVGRect rect, 68 in [Optional=CallWithDefaultValue] SVGElement referenceElement); 69 NodeList getEnclosureList(in [Optional=CallWithDefaultValue] SVGRect rect, 70 in [Optional=CallWithDefaultValue] SVGElement referenceElement); 71 boolean checkIntersection(in [Optional=CallWithDefaultValue] SVGElement element, 72 in [Optional=CallWithDefaultValue] SVGRect rect); 73 boolean checkEnclosure(in [Optional=CallWithDefaultValue] SVGElement element, 74 in [Optional=CallWithDefaultValue] SVGRect rect); 76 75 void deselectAll(); 77 76 … … 83 82 SVGRect createSVGRect(); 84 83 SVGTransform createSVGTransform(); 85 SVGTransform createSVGTransformFromMatrix(in SVGMatrix matrix);86 Element getElementById(in DOMString elementId);84 SVGTransform createSVGTransformFromMatrix(in [Optional=CallWithDefaultValue] SVGMatrix matrix); 85 Element getElementById(in [Optional=CallWithDefaultValue] DOMString elementId); 87 86 }; 88 87 -
trunk/Source/WebCore/svg/SVGStylable.idl
r89148 r92237 29 29 30 30 interface [ 31 LegacyDefaultOptionalArguments,32 31 Conditional=SVG, 33 32 ObjCProtocol, … … 37 36 readonly attribute CSSStyleDeclaration style; 38 37 39 CSSValue getPresentationAttribute(in DOMString name);38 CSSValue getPresentationAttribute(in [Optional=CallWithDefaultValue] DOMString name); 40 39 }; 41 40 -
trunk/Source/WebCore/svg/SVGStyleElement.idl
r89148 r92237 28 28 29 29 interface [ 30 LegacyDefaultOptionalArguments,31 30 Conditional=SVG 32 31 ] SVGStyleElement : SVGElement, -
trunk/Source/WebCore/svg/SVGTests.idl
r89148 r92237 28 28 29 29 interface [ 30 LegacyDefaultOptionalArguments,31 30 Conditional=SVG, 32 31 ObjCProtocol, … … 37 36 readonly attribute SVGStringList systemLanguage; 38 37 39 boolean hasExtension(in DOMString extension);38 boolean hasExtension(in [Optional=CallWithDefaultValue] DOMString extension); 40 39 }; 41 40 -
trunk/Source/WebCore/svg/SVGTextContentElement.idl
r89148 r92237 27 27 28 28 interface [ 29 LegacyDefaultOptionalArguments,30 29 Conditional=SVG 31 30 ] SVGTextContentElement : SVGElement, … … 44 43 long getNumberOfChars(); 45 44 float getComputedTextLength(); 46 float getSubStringLength(in [ IsIndex] unsigned long offset,47 in [ IsIndex] unsigned long length)45 float getSubStringLength(in [Optional=CallWithDefaultValue,IsIndex] unsigned long offset, 46 in [Optional=CallWithDefaultValue,IsIndex] unsigned long length) 48 47 raises(DOMException); 49 SVGPoint getStartPositionOfChar(in [ IsIndex] unsigned long offset)48 SVGPoint getStartPositionOfChar(in [Optional=CallWithDefaultValue,IsIndex] unsigned long offset) 50 49 raises(DOMException); 51 SVGPoint getEndPositionOfChar(in [ IsIndex] unsigned long offset)50 SVGPoint getEndPositionOfChar(in [Optional=CallWithDefaultValue,IsIndex] unsigned long offset) 52 51 raises(DOMException); 53 SVGRect getExtentOfChar(in [ IsIndex] unsigned long offset)52 SVGRect getExtentOfChar(in [Optional=CallWithDefaultValue,IsIndex] unsigned long offset) 54 53 raises(DOMException); 55 float getRotationOfChar(in [ IsIndex] unsigned long offset)54 float getRotationOfChar(in [Optional=CallWithDefaultValue,IsIndex] unsigned long offset) 56 55 raises(DOMException); 57 long getCharNumAtPosition(in SVGPoint point);58 void selectSubString(in [ IsIndex] unsigned long offset,59 in [ IsIndex] unsigned long length)56 long getCharNumAtPosition(in [Optional=CallWithDefaultValue] SVGPoint point); 57 void selectSubString(in [Optional=CallWithDefaultValue,IsIndex] unsigned long offset, 58 in [Optional=CallWithDefaultValue,IsIndex] unsigned long length) 60 59 raises(DOMException); 61 60 };
Note: See TracChangeset
for help on using the changeset viewer.