| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. | 2  * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. | 
| 3  * | 3  * | 
| 4  * Redistribution and use in source and binary forms, with or without | 4  * Redistribution and use in source and binary forms, with or without | 
| 5  * modification, are permitted provided that the following conditions | 5  * modification, are permitted provided that the following conditions | 
| 6  * are met: | 6  * are met: | 
| 7  * | 7  * | 
| 8  * 1. Redistributions of source code must retain the above | 8  * 1. Redistributions of source code must retain the above | 
| 9  *    copyright notice, this list of conditions and the following | 9  *    copyright notice, this list of conditions and the following | 
| 10  *    disclaimer. | 10  *    disclaimer. | 
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 67         CSSPropertyTextDecorationColor, | 67         CSSPropertyTextDecorationColor, | 
| 68         CSSPropertyTextDecorationLine, | 68         CSSPropertyTextDecorationLine, | 
| 69         CSSPropertyTextDecorationStyle, | 69         CSSPropertyTextDecorationStyle, | 
| 70     }; | 70     }; | 
| 71     setCSSPropertiesEnabled(css3TextDecorationProperties, WTF_ARRAY_LENGTH(css3T
     extDecorationProperties), RuntimeEnabledFeatures::css3TextDecorationsEnabled()); | 71     setCSSPropertiesEnabled(css3TextDecorationProperties, WTF_ARRAY_LENGTH(css3T
     extDecorationProperties), RuntimeEnabledFeatures::css3TextDecorationsEnabled()); | 
| 72     CSSPropertyID cssGridLayoutProperties[] = { | 72     CSSPropertyID cssGridLayoutProperties[] = { | 
| 73         CSSPropertyGridAutoColumns, | 73         CSSPropertyGridAutoColumns, | 
| 74         CSSPropertyGridAutoRows, | 74         CSSPropertyGridAutoRows, | 
| 75         CSSPropertyGridColumns, | 75         CSSPropertyGridColumns, | 
| 76         CSSPropertyGridRows, | 76         CSSPropertyGridRows, | 
| 77         CSSPropertyGridStart, | 77         CSSPropertyGridColumnStart, | 
| 78         CSSPropertyGridEnd, | 78         CSSPropertyGridColumnEnd, | 
| 79         CSSPropertyGridBefore, | 79         CSSPropertyGridRowStart, | 
| 80         CSSPropertyGridAfter, | 80         CSSPropertyGridRowEnd, | 
| 81         CSSPropertyGridColumn, | 81         CSSPropertyGridColumn, | 
| 82         CSSPropertyGridRow, | 82         CSSPropertyGridRow, | 
| 83         CSSPropertyGridArea, | 83         CSSPropertyGridArea, | 
| 84         CSSPropertyGridAutoFlow | 84         CSSPropertyGridAutoFlow | 
| 85     }; | 85     }; | 
| 86     setCSSPropertiesEnabled(cssGridLayoutProperties, WTF_ARRAY_LENGTH(cssGridLay
     outProperties), RuntimeEnabledFeatures::cssGridLayoutEnabled()); | 86     setCSSPropertiesEnabled(cssGridLayoutProperties, WTF_ARRAY_LENGTH(cssGridLay
     outProperties), RuntimeEnabledFeatures::cssGridLayoutEnabled()); | 
| 87 | 87 | 
| 88     RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyBackgroundBlendMode, Run
     timeEnabledFeatures::cssCompositingEnabled()); | 88     RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyBackgroundBlendMode, Run
     timeEnabledFeatures::cssCompositingEnabled()); | 
| 89     RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyMixBlendMode, RuntimeEna
     bledFeatures::cssCompositingEnabled()); | 89     RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyMixBlendMode, RuntimeEna
     bledFeatures::cssCompositingEnabled()); | 
| 90     RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyTouchAction, RuntimeEnab
     ledFeatures::cssTouchActionEnabled()); | 90     RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyTouchAction, RuntimeEnab
     ledFeatures::cssTouchActionEnabled()); | 
| (...skipping 30 matching lines...) Expand all  Loading... | 
| 121 void RuntimeCSSEnabled::filterEnabledCSSPropertiesIntoVector(const CSSPropertyID
     * properties, size_t propertyCount, Vector<CSSPropertyID>& outVector) | 121 void RuntimeCSSEnabled::filterEnabledCSSPropertiesIntoVector(const CSSPropertyID
     * properties, size_t propertyCount, Vector<CSSPropertyID>& outVector) | 
| 122 { | 122 { | 
| 123     for (unsigned i = 0; i < propertyCount; i++) { | 123     for (unsigned i = 0; i < propertyCount; i++) { | 
| 124         CSSPropertyID property = properties[i]; | 124         CSSPropertyID property = properties[i]; | 
| 125         if (RuntimeCSSEnabled::isCSSPropertyEnabled(property)) | 125         if (RuntimeCSSEnabled::isCSSPropertyEnabled(property)) | 
| 126             outVector.append(property); | 126             outVector.append(property); | 
| 127     } | 127     } | 
| 128 } | 128 } | 
| 129 | 129 | 
| 130 } // namespace WebCore | 130 } // namespace WebCore | 
| OLD | NEW | 
|---|