OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 | 203 |
204 static bool shadowDOMEnabled() { return isShadowDOMEnabled; } | 204 static bool shadowDOMEnabled() { return isShadowDOMEnabled; } |
205 static void setShadowDOMEnabled(bool isEnabled) { isShadowDOMEnabled = isEna
bled; } | 205 static void setShadowDOMEnabled(bool isEnabled) { isShadowDOMEnabled = isEna
bled; } |
206 | 206 |
207 static bool experimentalShadowDOMEnabled() { return isExperimentalShadowDOME
nabled; } | 207 static bool experimentalShadowDOMEnabled() { return isExperimentalShadowDOME
nabled; } |
208 static void setExperimentalShadowDOMEnabled(bool isEnabled) { isExperimental
ShadowDOMEnabled = isEnabled; } | 208 static void setExperimentalShadowDOMEnabled(bool isEnabled) { isExperimental
ShadowDOMEnabled = isEnabled; } |
209 | 209 |
210 static bool authorShadowDOMForAnyElementEnabled() { return isAuthorShadowDOM
ForAnyElementEnabled; } | 210 static bool authorShadowDOMForAnyElementEnabled() { return isAuthorShadowDOM
ForAnyElementEnabled; } |
211 static void setAuthorShadowDOMForAnyElementEnabled(bool isEnabled) { isAutho
rShadowDOMForAnyElementEnabled = isEnabled; } | 211 static void setAuthorShadowDOMForAnyElementEnabled(bool isEnabled) { isAutho
rShadowDOMForAnyElementEnabled = isEnabled; } |
212 | 212 |
213 #if ENABLE(CUSTOM_ELEMENTS) | |
214 static bool customDOMElementsEnabled() { return isCustomDOMElementsEnabled;
} | 213 static bool customDOMElementsEnabled() { return isCustomDOMElementsEnabled;
} |
215 static void setCustomDOMElements(bool isEnabled) { isCustomDOMElementsEnable
d = isEnabled; } | 214 static void setCustomDOMElements(bool isEnabled) { isCustomDOMElementsEnable
d = isEnabled; } |
216 #endif | |
217 | 215 |
218 static bool styleScopedEnabled() { return isStyleScopedEnabled; } | 216 static bool styleScopedEnabled() { return isStyleScopedEnabled; } |
219 static void setStyleScopedEnabled(bool isEnabled) { isStyleScopedEnabled = i
sEnabled; } | 217 static void setStyleScopedEnabled(bool isEnabled) { isStyleScopedEnabled = i
sEnabled; } |
220 | 218 |
221 #if ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE) | 219 #if ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE) |
222 static bool inputTypeDateTimeEnabled() { return isInputTypeDateTimeEnabled;
} | 220 static bool inputTypeDateTimeEnabled() { return isInputTypeDateTimeEnabled;
} |
223 static void setInputTypeDateTimeEnabled(bool isEnabled) { isInputTypeDateTim
eEnabled = isEnabled; } | 221 static void setInputTypeDateTimeEnabled(bool isEnabled) { isInputTypeDateTim
eEnabled = isEnabled; } |
224 #endif | 222 #endif |
225 | 223 |
226 static bool inputTypeWeekEnabled() { return isInputTypeWeekEnabled; } | 224 static bool inputTypeWeekEnabled() { return isInputTypeWeekEnabled; } |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 #endif | 299 #endif |
302 | 300 |
303 static bool isVideoTrackEnabled; | 301 static bool isVideoTrackEnabled; |
304 | 302 |
305 static bool isShadowDOMEnabled; | 303 static bool isShadowDOMEnabled; |
306 | 304 |
307 static bool isExperimentalShadowDOMEnabled; | 305 static bool isExperimentalShadowDOMEnabled; |
308 | 306 |
309 static bool isAuthorShadowDOMForAnyElementEnabled; | 307 static bool isAuthorShadowDOMForAnyElementEnabled; |
310 | 308 |
311 #if ENABLE(CUSTOM_ELEMENTS) | |
312 static bool isCustomDOMElementsEnabled; | 309 static bool isCustomDOMElementsEnabled; |
313 #endif | |
314 | 310 |
315 static bool isStyleScopedEnabled; | 311 static bool isStyleScopedEnabled; |
316 | 312 |
317 #if ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE) | 313 #if ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE) |
318 static bool isInputTypeDateTimeEnabled; | 314 static bool isInputTypeDateTimeEnabled; |
319 #endif | 315 #endif |
320 | 316 |
321 static bool isInputTypeWeekEnabled; | 317 static bool isInputTypeWeekEnabled; |
322 | 318 |
323 #if ENABLE(DIALOG_ELEMENT) | 319 #if ENABLE(DIALOG_ELEMENT) |
(...skipping 13 matching lines...) Expand all Loading... |
337 static bool isWebPInAcceptHeaderEnabled; | 333 static bool isWebPInAcceptHeaderEnabled; |
338 | 334 |
339 static bool isDirectoryUploadEnabled; | 335 static bool isDirectoryUploadEnabled; |
340 | 336 |
341 static bool isExperimentalWebSocketEnabled; | 337 static bool isExperimentalWebSocketEnabled; |
342 }; | 338 }; |
343 | 339 |
344 } // namespace WebCore | 340 } // namespace WebCore |
345 | 341 |
346 #endif // RuntimeEnabledFeatures_h | 342 #endif // RuntimeEnabledFeatures_h |
OLD | NEW |