Changeset 92236 in webkit
- Timestamp:
- Aug 2, 2011 2:35:15 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r92234 r92236 1 2011-08-02 Mark Pilgrim <pilgrim@chromium.org> 2 3 Remove LegacyDefaultOptionalArguments flag from CSS IDL files 4 https://bugs.webkit.org/show_bug.cgi?id=65341 5 6 Reviewed by Adam Barth. 7 8 No new tests. All existing tests pass. 9 10 * css/CSSMediaRule.idl: 11 * css/CSSPrimitiveValue.idl: 12 * css/CSSRuleList.idl: 13 * css/CSSStyleDeclaration.idl: 14 * css/CSSStyleSheet.idl: 15 * css/CSSValueList.idl: 16 * css/MediaList.idl: 17 * css/MediaQueryList.idl: 18 * css/MediaQueryListListener.idl: 19 * css/StyleMedia.idl: 20 * css/StyleSheetList.idl: 21 * css/WebKitCSSKeyframesRule.idl: 22 * css/WebKitCSSMatrix.idl: 23 1 24 2011-08-02 Robert Kroeger <rjkroege@chromium.org> 2 25 -
trunk/Source/WebCore/css/CSSMediaRule.idl
r89148 r92236 22 22 23 23 // Introduced in DOM Level 2: 24 interface [ 25 LegacyDefaultOptionalArguments, 26 ] CSSMediaRule : CSSRule { 24 interface CSSMediaRule : CSSRule { 27 25 readonly attribute MediaList media; 28 26 readonly attribute CSSRuleList cssRules; 29 27 30 [OldStyleObjC] unsigned long insertRule(in DOMString rule,31 in unsigned long index)28 [OldStyleObjC] unsigned long insertRule(in [Optional=CallWithDefaultValue] DOMString rule, 29 in [Optional=CallWithDefaultValue] unsigned long index) 32 30 raises(DOMException); 33 void deleteRule(in unsigned long index)31 void deleteRule(in [Optional=CallWithDefaultValue] unsigned long index) 34 32 raises(DOMException); 35 33 }; -
trunk/Source/WebCore/css/CSSPrimitiveValue.idl
r89148 r92236 20 20 module css { 21 21 22 interface [ 23 LegacyDefaultOptionalArguments, 24 ] CSSPrimitiveValue : CSSValue { 22 interface CSSPrimitiveValue : CSSValue { 25 23 26 24 // UnitTypes … … 54 52 readonly attribute unsigned short primitiveType; 55 53 56 [OldStyleObjC] void setFloatValue(in unsigned short unitType,57 in float floatValue)54 [OldStyleObjC] void setFloatValue(in [Optional=CallWithDefaultValue] unsigned short unitType, 55 in [Optional=CallWithDefaultValue] float floatValue) 58 56 raises(DOMException); 59 float getFloatValue(in unsigned short unitType)57 float getFloatValue(in [Optional=CallWithDefaultValue] unsigned short unitType) 60 58 raises(DOMException); 61 [OldStyleObjC] void setStringValue(in unsigned short stringType,62 in DOMString stringValue)59 [OldStyleObjC] void setStringValue(in [Optional=CallWithDefaultValue] unsigned short stringType, 60 in [Optional=CallWithDefaultValue] DOMString stringValue) 63 61 raises(DOMException); 64 62 DOMString getStringValue() -
trunk/Source/WebCore/css/CSSRuleList.idl
r89148 r92236 28 28 // Introduced in DOM Level 2: 29 29 interface [ 30 LegacyDefaultOptionalArguments,31 30 CustomIsReachable, 32 31 HasIndexGetter, … … 34 33 ] CSSRuleList { 35 34 readonly attribute unsigned long length; 36 CSSRule item(in unsigned long index);35 CSSRule item(in [Optional=CallWithDefaultValue] unsigned long index); 37 36 }; 38 37 -
trunk/Source/WebCore/css/CSSStyleDeclaration.idl
r89148 r92236 23 23 // Introduced in DOM Level 2: 24 24 interface [ 25 LegacyDefaultOptionalArguments,26 25 CustomMarkFunction, 27 26 GenerateIsReachable=ImplRoot, … … 34 33 setter raises(DOMException); 35 34 36 [ConvertNullStringTo=Null] DOMString getPropertyValue(in DOMString propertyName);37 [JSCCustom] CSSValue getPropertyCSSValue(in DOMString propertyName);38 [ConvertNullStringTo=Null] DOMString removeProperty(in DOMString propertyName)35 [ConvertNullStringTo=Null] DOMString getPropertyValue(in [Optional=CallWithDefaultValue] DOMString propertyName); 36 [JSCCustom] CSSValue getPropertyCSSValue(in [Optional=CallWithDefaultValue] DOMString propertyName); 37 [ConvertNullStringTo=Null] DOMString removeProperty(in [Optional=CallWithDefaultValue] DOMString propertyName) 39 38 raises(DOMException); 40 [ConvertNullStringTo=Null] DOMString getPropertyPriority(in DOMString propertyName);41 [OldStyleObjC] void setProperty(in DOMString propertyName,42 in [ConvertNullToNullString ] DOMString value,43 in DOMString priority)39 [ConvertNullStringTo=Null] DOMString getPropertyPriority(in [Optional=CallWithDefaultValue] DOMString propertyName); 40 [OldStyleObjC] void setProperty(in [Optional=CallWithDefaultValue] DOMString propertyName, 41 in [ConvertNullToNullString,Optional=CallWithDefaultValue] DOMString value, 42 in [Optional=CallWithDefaultValue] DOMString priority) 44 43 raises(DOMException); 45 44 46 45 readonly attribute unsigned long length; 47 DOMString item(in unsigned long index);46 DOMString item(in [Optional=CallWithDefaultValue] unsigned long index); 48 47 readonly attribute CSSRule parentRule; 49 48 50 49 // Extensions 51 [ConvertNullStringTo=Null] DOMString getPropertyShorthand(in DOMString propertyName);52 boolean isPropertyImplicit(in DOMString propertyName);50 [ConvertNullStringTo=Null] DOMString getPropertyShorthand(in [Optional=CallWithDefaultValue] DOMString propertyName); 51 boolean isPropertyImplicit(in [Optional=CallWithDefaultValue] DOMString propertyName); 53 52 }; 54 53 -
trunk/Source/WebCore/css/CSSStyleSheet.idl
r89148 r92236 22 22 23 23 // Introduced in DOM Level 2: 24 interface [ 25 LegacyDefaultOptionalArguments, 26 ] CSSStyleSheet : StyleSheet { 24 interface CSSStyleSheet : StyleSheet { 27 25 readonly attribute CSSRule ownerRule; 28 26 readonly attribute CSSRuleList cssRules; 29 27 30 [OldStyleObjC] unsigned long insertRule(in DOMString rule,31 in unsigned long index)28 [OldStyleObjC] unsigned long insertRule(in [Optional=CallWithDefaultValue] DOMString rule, 29 in [Optional=CallWithDefaultValue] unsigned long index) 32 30 raises(DOMException); 33 void deleteRule(in unsigned long index)31 void deleteRule(in [Optional=CallWithDefaultValue] unsigned long index) 34 32 raises(DOMException); 35 33 … … 37 35 readonly attribute CSSRuleList rules; 38 36 39 long addRule(in DOMString selector,40 in DOMString style,37 long addRule(in [Optional=CallWithDefaultValue] DOMString selector, 38 in [Optional=CallWithDefaultValue] DOMString style, 41 39 in [Optional] unsigned long index) 42 40 raises(DOMException); 43 void removeRule(in unsigned long index)41 void removeRule(in [Optional=CallWithDefaultValue] unsigned long index) 44 42 raises(DOMException); 45 43 }; -
trunk/Source/WebCore/css/CSSValueList.idl
r89148 r92236 28 28 // Introduced in DOM Level 2: 29 29 interface [ 30 LegacyDefaultOptionalArguments,31 30 HasIndexGetter 32 31 ] CSSValueList : CSSValue { 33 32 readonly attribute unsigned long length; 34 CSSValue item(in unsigned long index);33 CSSValue item(in [Optional=CallWithDefaultValue] unsigned long index); 35 34 }; 36 35 -
trunk/Source/WebCore/css/MediaList.idl
r89148 r92236 28 28 // Introduced in DOM Level 2: 29 29 interface [ 30 LegacyDefaultOptionalArguments,31 30 GenerateIsReachable, 32 31 HasIndexGetter … … 37 36 readonly attribute unsigned long length; 38 37 39 [ConvertNullStringTo=Null] DOMString item(in unsigned long index);40 void deleteMedium(in DOMString oldMedium)38 [ConvertNullStringTo=Null] DOMString item(in [Optional=CallWithDefaultValue] unsigned long index); 39 void deleteMedium(in [Optional=CallWithDefaultValue] DOMString oldMedium) 41 40 raises(DOMException); 42 void appendMedium(in DOMString newMedium)41 void appendMedium(in [Optional=CallWithDefaultValue] DOMString newMedium) 43 42 raises(DOMException); 44 43 -
trunk/Source/WebCore/css/MediaQueryList.idl
r89148 r92236 19 19 20 20 module view { 21 interface [ 22 LegacyDefaultOptionalArguments, 23 ] MediaQueryList { 21 interface MediaQueryList { 24 22 readonly attribute DOMString media; 25 23 readonly attribute boolean matches; 26 void addListener(in MediaQueryListListener listener);27 void removeListener(in MediaQueryListListener listener);24 void addListener(in [Optional=CallWithDefaultValue] MediaQueryListListener listener); 25 void removeListener(in [Optional=CallWithDefaultValue] MediaQueryListListener listener); 28 26 }; 29 27 } -
trunk/Source/WebCore/css/MediaQueryListListener.idl
r89148 r92236 20 20 module view { 21 21 interface [ 22 LegacyDefaultOptionalArguments,23 22 NoStaticTables, 24 23 ObjCProtocol, … … 26 25 OmitConstructor 27 26 ] MediaQueryListListener { 28 void queryChanged(in MediaQueryList list);27 void queryChanged(in [Optional=CallWithDefaultValue] MediaQueryList list); 29 28 }; 30 29 } -
trunk/Source/WebCore/css/StyleMedia.idl
r89148 r92236 27 27 module view { 28 28 interface [ 29 LegacyDefaultOptionalArguments,30 29 GenerateIsReachable=ImplFrame 31 30 ] StyleMedia { 32 31 readonly attribute DOMString type; 33 boolean matchMedium(in DOMString mediaquery);32 boolean matchMedium(in [Optional=CallWithDefaultValue] DOMString mediaquery); 34 33 }; 35 34 } -
trunk/Source/WebCore/css/StyleSheetList.idl
r89148 r92236 23 23 // Introduced in DOM Level 2: 24 24 interface [ 25 LegacyDefaultOptionalArguments,26 25 GenerateIsReachable=ImplDocument, 27 26 HasIndexGetter, … … 30 29 ] StyleSheetList { 31 30 readonly attribute unsigned long length; 32 StyleSheet item(in unsigned long index);31 StyleSheet item(in [Optional=CallWithDefaultValue] unsigned long index); 33 32 }; 34 33 -
trunk/Source/WebCore/css/WebKitCSSKeyframesRule.idl
r89148 r92236 31 31 // Introduced in DOM Level ?: 32 32 interface [ 33 LegacyDefaultOptionalArguments,34 33 HasIndexGetter 35 34 ] WebKitCSSKeyframesRule : CSSRule { … … 38 37 readonly attribute CSSRuleList cssRules; 39 38 40 void insertRule(in DOMString rule);41 void deleteRule(in DOMString key);42 WebKitCSSKeyframeRule findRule(in DOMString key);39 void insertRule(in [Optional=CallWithDefaultValue] DOMString rule); 40 void deleteRule(in [Optional=CallWithDefaultValue] DOMString key); 41 WebKitCSSKeyframeRule findRule(in [Optional=CallWithDefaultValue] DOMString key); 43 42 }; 44 43 -
trunk/Source/WebCore/css/WebKitCSSMatrix.idl
r89148 r92236 28 28 // Introduced in DOM Level ?: 29 29 interface [ 30 LegacyDefaultOptionalArguments,31 30 CanBeConstructed, 32 31 CustomConstructFunction, … … 60 59 attribute double m44; 61 60 62 void setMatrixValue(in DOMString string) raises (DOMException);61 void setMatrixValue(in [Optional=CallWithDefaultValue] DOMString string) raises (DOMException); 63 62 64 63 // Multiply this matrix by secondMatrix, on the right (result = this * secondMatrix) 65 [Immutable] WebKitCSSMatrix multiply(in WebKitCSSMatrix secondMatrix);64 [Immutable] WebKitCSSMatrix multiply(in [Optional=CallWithDefaultValue] WebKitCSSMatrix secondMatrix); 66 65 67 66 // Return the inverse of this matrix. Throw an exception if the matrix is not invertible … … 70 69 // Return this matrix translated by the passed values. 71 70 // Passing a NaN will use a value of 0. This allows the 3D form to used for 2D operations 72 [Immutable] WebKitCSSMatrix translate(in double x, in double y, in double z); 71 [Immutable] WebKitCSSMatrix translate(in [Optional=CallWithDefaultValue] double x, 72 in [Optional=CallWithDefaultValue] double y, 73 in [Optional=CallWithDefaultValue] double z); 73 74 74 75 // Returns this matrix scaled by the passed values. 75 76 // Passing scaleX or scaleZ as NaN uses a value of 1, but passing scaleY of NaN 76 77 // makes it the same as scaleX. This allows the 3D form to used for 2D operations 77 [Immutable] WebKitCSSMatrix scale(in double scaleX, in double scaleY, in double scaleZ); 78 [Immutable] WebKitCSSMatrix scale(in [Optional=CallWithDefaultValue] double scaleX, 79 in [Optional=CallWithDefaultValue] double scaleY, 80 in [Optional=CallWithDefaultValue] double scaleZ); 78 81 79 82 // Returns this matrix rotated by the passed values. 80 83 // If rotY and rotZ are NaN, rotate about Z (rotX=0, rotateY=0, rotateZ=rotX). 81 84 // Otherwise use a rotation value of 0 for any passed NaN. 82 [Immutable] WebKitCSSMatrix rotate(in double rotX, in double rotY, in double rotZ); 85 [Immutable] WebKitCSSMatrix rotate(in [Optional=CallWithDefaultValue] double rotX, 86 in [Optional=CallWithDefaultValue] double rotY, 87 in [Optional=CallWithDefaultValue] double rotZ); 83 88 84 89 // Returns this matrix rotated about the passed axis by the passed angle. 85 90 // Passing a NaN will use a value of 0. If the axis is (0,0,0) use a value 86 91 // of (0,0,1). 87 [Immutable] WebKitCSSMatrix rotateAxisAngle(in double x, in double y, in double z, in double angle); 92 [Immutable] WebKitCSSMatrix rotateAxisAngle(in [Optional=CallWithDefaultValue] double x, 93 in [Optional=CallWithDefaultValue] double y, 94 in [Optional=CallWithDefaultValue] double z, 95 in [Optional=CallWithDefaultValue] double angle); 88 96 89 97 // Returns this matrix skewed along the X axis by the passed values. 90 98 // Passing a NaN will use a value of 0. 91 [Immutable] WebKitCSSMatrix skewX(in double angle);99 [Immutable] WebKitCSSMatrix skewX(in [Optional=CallWithDefaultValue] double angle); 92 100 93 101 // Returns this matrix skewed along the Y axis by the passed values. 94 102 // Passing a NaN will use a value of 0. 95 [Immutable] WebKitCSSMatrix skewY(in double angle);103 [Immutable] WebKitCSSMatrix skewY(in [Optional=CallWithDefaultValue] double angle); 96 104 97 105 [DontEnum] DOMString toString();
Note: See TracChangeset
for help on using the changeset viewer.