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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 CSSPropertyGridColumnStart, | 77 CSSPropertyGridColumnStart, |
78 CSSPropertyGridColumnEnd, | 78 CSSPropertyGridColumnEnd, |
79 CSSPropertyGridRowStart, | 79 CSSPropertyGridRowStart, |
80 CSSPropertyGridRowEnd, | 80 CSSPropertyGridRowEnd, |
81 CSSPropertyGridColumn, | 81 CSSPropertyGridColumn, |
82 CSSPropertyGridRow, | 82 CSSPropertyGridRow, |
83 CSSPropertyGridArea, | 83 CSSPropertyGridArea, |
84 CSSPropertyGridAutoFlow, | 84 CSSPropertyGridAutoFlow, |
85 CSSPropertyGridTemplateAreas, | 85 CSSPropertyGridTemplateAreas, |
86 CSSPropertyGridTemplate, | 86 CSSPropertyGridTemplate, |
| 87 CSSPropertyGrid, |
87 CSSPropertyJustifySelf | 88 CSSPropertyJustifySelf |
88 }; | 89 }; |
89 setCSSPropertiesEnabled(cssGridLayoutProperties, WTF_ARRAY_LENGTH(cssGridLay
outProperties), RuntimeEnabledFeatures::cssGridLayoutEnabled()); | 90 setCSSPropertiesEnabled(cssGridLayoutProperties, WTF_ARRAY_LENGTH(cssGridLay
outProperties), RuntimeEnabledFeatures::cssGridLayoutEnabled()); |
90 CSSPropertyID cssObjectFitPositionProperties[] = { | 91 CSSPropertyID cssObjectFitPositionProperties[] = { |
91 CSSPropertyObjectFit, | 92 CSSPropertyObjectFit, |
92 CSSPropertyObjectPosition | 93 CSSPropertyObjectPosition |
93 }; | 94 }; |
94 setCSSPropertiesEnabled(cssObjectFitPositionProperties, WTF_ARRAY_LENGTH(css
ObjectFitPositionProperties), RuntimeEnabledFeatures::objectFitPositionEnabled()
); | 95 setCSSPropertiesEnabled(cssObjectFitPositionProperties, WTF_ARRAY_LENGTH(css
ObjectFitPositionProperties), RuntimeEnabledFeatures::objectFitPositionEnabled()
); |
95 | 96 |
96 CSSPropertyID animationProperties[] = { | 97 CSSPropertyID animationProperties[] = { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 void RuntimeCSSEnabled::filterEnabledCSSPropertiesIntoVector(const CSSPropertyID
* properties, size_t propertyCount, Vector<CSSPropertyID>& outVector) | 167 void RuntimeCSSEnabled::filterEnabledCSSPropertiesIntoVector(const CSSPropertyID
* properties, size_t propertyCount, Vector<CSSPropertyID>& outVector) |
167 { | 168 { |
168 for (unsigned i = 0; i < propertyCount; i++) { | 169 for (unsigned i = 0; i < propertyCount; i++) { |
169 CSSPropertyID property = properties[i]; | 170 CSSPropertyID property = properties[i]; |
170 if (RuntimeCSSEnabled::isCSSPropertyEnabled(property)) | 171 if (RuntimeCSSEnabled::isCSSPropertyEnabled(property)) |
171 outVector.append(property); | 172 outVector.append(property); |
172 } | 173 } |
173 } | 174 } |
174 | 175 |
175 } // namespace WebCore | 176 } // namespace WebCore |
OLD | NEW |