| 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 static void setStyleScopedEnabled(bool isEnabled) { isStyleScopedEnabled = i
sEnabled; } | 208 static void setStyleScopedEnabled(bool isEnabled) { isStyleScopedEnabled = i
sEnabled; } |
| 209 | 209 |
| 210 #if ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE) | 210 #if ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE) |
| 211 static bool inputTypeDateTimeEnabled() { return isInputTypeDateTimeEnabled;
} | 211 static bool inputTypeDateTimeEnabled() { return isInputTypeDateTimeEnabled;
} |
| 212 static void setInputTypeDateTimeEnabled(bool isEnabled) { isInputTypeDateTim
eEnabled = isEnabled; } | 212 static void setInputTypeDateTimeEnabled(bool isEnabled) { isInputTypeDateTim
eEnabled = isEnabled; } |
| 213 #endif | 213 #endif |
| 214 | 214 |
| 215 static bool inputTypeWeekEnabled() { return isInputTypeWeekEnabled; } | 215 static bool inputTypeWeekEnabled() { return isInputTypeWeekEnabled; } |
| 216 static void setInputTypeWeekEnabled(bool isEnabled) { isInputTypeWeekEnabled
= isEnabled; } | 216 static void setInputTypeWeekEnabled(bool isEnabled) { isInputTypeWeekEnabled
= isEnabled; } |
| 217 | 217 |
| 218 #if ENABLE(DIALOG_ELEMENT) | |
| 219 static bool dialogElementEnabled() { return isDialogElementEnabled; } | 218 static bool dialogElementEnabled() { return isDialogElementEnabled; } |
| 220 static void setDialogElementEnabled(bool isEnabled) { isDialogElementEnabled
= isEnabled; } | 219 static void setDialogElementEnabled(bool isEnabled) { isDialogElementEnabled
= isEnabled; } |
| 221 #endif | |
| 222 | 220 |
| 223 static bool lazyLayoutEnabled() { return isLazyLayoutEnabled; } | 221 static bool lazyLayoutEnabled() { return isLazyLayoutEnabled; } |
| 224 static void setLazyLayoutEnabled(bool isEnabled) { isLazyLayoutEnabled = isE
nabled; } | 222 static void setLazyLayoutEnabled(bool isEnabled) { isLazyLayoutEnabled = isE
nabled; } |
| 225 | 223 |
| 226 static bool experimentalContentSecurityPolicyFeaturesEnabled() { return areE
xperimentalContentSecurityPolicyFeaturesEnabled; } | 224 static bool experimentalContentSecurityPolicyFeaturesEnabled() { return areE
xperimentalContentSecurityPolicyFeaturesEnabled; } |
| 227 static void setExperimentalContentSecurityPolicyFeaturesEnabled(bool isEnabl
ed) { areExperimentalContentSecurityPolicyFeaturesEnabled = isEnabled; } | 225 static void setExperimentalContentSecurityPolicyFeaturesEnabled(bool isEnabl
ed) { areExperimentalContentSecurityPolicyFeaturesEnabled = isEnabled; } |
| 228 | 226 |
| 229 static bool seamlessIFramesEnabled() { return areSeamlessIFramesEnabled; } | 227 static bool seamlessIFramesEnabled() { return areSeamlessIFramesEnabled; } |
| 230 static void setSeamlessIFramesEnabled(bool isEnabled) { areSeamlessIFramesEn
abled = isEnabled; } | 228 static void setSeamlessIFramesEnabled(bool isEnabled) { areSeamlessIFramesEn
abled = isEnabled; } |
| 231 | 229 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 #endif | 304 #endif |
| 307 | 305 |
| 308 static bool isStyleScopedEnabled; | 306 static bool isStyleScopedEnabled; |
| 309 | 307 |
| 310 #if ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE) | 308 #if ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE) |
| 311 static bool isInputTypeDateTimeEnabled; | 309 static bool isInputTypeDateTimeEnabled; |
| 312 #endif | 310 #endif |
| 313 | 311 |
| 314 static bool isInputTypeWeekEnabled; | 312 static bool isInputTypeWeekEnabled; |
| 315 | 313 |
| 316 #if ENABLE(DIALOG_ELEMENT) | |
| 317 static bool isDialogElementEnabled; | 314 static bool isDialogElementEnabled; |
| 318 #endif | |
| 319 | 315 |
| 320 static bool isLazyLayoutEnabled; | 316 static bool isLazyLayoutEnabled; |
| 321 | 317 |
| 322 static bool isRequestAutocompleteEnabled; | 318 static bool isRequestAutocompleteEnabled; |
| 323 | 319 |
| 324 static bool areExperimentalContentSecurityPolicyFeaturesEnabled; | 320 static bool areExperimentalContentSecurityPolicyFeaturesEnabled; |
| 325 | 321 |
| 326 static bool areSeamlessIFramesEnabled; | 322 static bool areSeamlessIFramesEnabled; |
| 327 | 323 |
| 328 static bool isFontLoadEventsEnabled; | 324 static bool isFontLoadEventsEnabled; |
| 329 | 325 |
| 330 static bool isWebPInAcceptHeaderEnabled; | 326 static bool isWebPInAcceptHeaderEnabled; |
| 331 | 327 |
| 332 static bool isDirectoryUploadEnabled; | 328 static bool isDirectoryUploadEnabled; |
| 333 | 329 |
| 334 static bool isExperimentalWebSocketEnabled; | 330 static bool isExperimentalWebSocketEnabled; |
| 335 | 331 |
| 336 static bool isIMEAPIEnabled; | 332 static bool isIMEAPIEnabled; |
| 337 }; | 333 }; |
| 338 | 334 |
| 339 } // namespace WebCore | 335 } // namespace WebCore |
| 340 | 336 |
| 341 #endif // RuntimeEnabledFeatures_h | 337 #endif // RuntimeEnabledFeatures_h |
| OLD | NEW |