| 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 #if ENABLE(STYLE_SCOPED) | 226 #if ENABLE(STYLE_SCOPED) |
| 227 static bool styleScopedEnabled() { return isStyleScopedEnabled; } | 227 static bool styleScopedEnabled() { return isStyleScopedEnabled; } |
| 228 static void setStyleScopedEnabled(bool isEnabled) { isStyleScopedEnabled = i
sEnabled; } | 228 static void setStyleScopedEnabled(bool isEnabled) { isStyleScopedEnabled = i
sEnabled; } |
| 229 #endif | 229 #endif |
| 230 | 230 |
| 231 #if ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE) | 231 #if ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE) |
| 232 static bool inputTypeDateTimeEnabled() { return isInputTypeDateTimeEnabled;
} | 232 static bool inputTypeDateTimeEnabled() { return isInputTypeDateTimeEnabled;
} |
| 233 static void setInputTypeDateTimeEnabled(bool isEnabled) { isInputTypeDateTim
eEnabled = isEnabled; } | 233 static void setInputTypeDateTimeEnabled(bool isEnabled) { isInputTypeDateTim
eEnabled = isEnabled; } |
| 234 #endif | 234 #endif |
| 235 | 235 |
| 236 #if ENABLE(INPUT_TYPE_WEEK) | |
| 237 static bool inputTypeWeekEnabled() { return isInputTypeWeekEnabled; } | 236 static bool inputTypeWeekEnabled() { return isInputTypeWeekEnabled; } |
| 238 static void setInputTypeWeekEnabled(bool isEnabled) { isInputTypeWeekEnabled
= isEnabled; } | 237 static void setInputTypeWeekEnabled(bool isEnabled) { isInputTypeWeekEnabled
= isEnabled; } |
| 239 #endif | |
| 240 | 238 |
| 241 #if ENABLE(DIALOG_ELEMENT) | 239 #if ENABLE(DIALOG_ELEMENT) |
| 242 static bool dialogElementEnabled() { return isDialogElementEnabled; } | 240 static bool dialogElementEnabled() { return isDialogElementEnabled; } |
| 243 static void setDialogElementEnabled(bool isEnabled) { isDialogElementEnabled
= isEnabled; } | 241 static void setDialogElementEnabled(bool isEnabled) { isDialogElementEnabled
= isEnabled; } |
| 244 #endif | 242 #endif |
| 245 | 243 |
| 246 static bool experimentalContentSecurityPolicyFeaturesEnabled() { return areE
xperimentalContentSecurityPolicyFeaturesEnabled; } | 244 static bool experimentalContentSecurityPolicyFeaturesEnabled() { return areE
xperimentalContentSecurityPolicyFeaturesEnabled; } |
| 247 static void setExperimentalContentSecurityPolicyFeaturesEnabled(bool isEnabl
ed) { areExperimentalContentSecurityPolicyFeaturesEnabled = isEnabled; } | 245 static void setExperimentalContentSecurityPolicyFeaturesEnabled(bool isEnabl
ed) { areExperimentalContentSecurityPolicyFeaturesEnabled = isEnabled; } |
| 248 | 246 |
| 249 static bool seamlessIFramesEnabled() { return areSeamlessIFramesEnabled; } | 247 static bool seamlessIFramesEnabled() { return areSeamlessIFramesEnabled; } |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 #endif | 318 #endif |
| 321 | 319 |
| 322 #if ENABLE(STYLE_SCOPED) | 320 #if ENABLE(STYLE_SCOPED) |
| 323 static bool isStyleScopedEnabled; | 321 static bool isStyleScopedEnabled; |
| 324 #endif | 322 #endif |
| 325 | 323 |
| 326 #if ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE) | 324 #if ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE) |
| 327 static bool isInputTypeDateTimeEnabled; | 325 static bool isInputTypeDateTimeEnabled; |
| 328 #endif | 326 #endif |
| 329 | 327 |
| 330 #if ENABLE(INPUT_TYPE_WEEK) | |
| 331 static bool isInputTypeWeekEnabled; | 328 static bool isInputTypeWeekEnabled; |
| 332 #endif | |
| 333 | 329 |
| 334 #if ENABLE(DIALOG_ELEMENT) | 330 #if ENABLE(DIALOG_ELEMENT) |
| 335 static bool isDialogElementEnabled; | 331 static bool isDialogElementEnabled; |
| 336 #endif | 332 #endif |
| 337 | 333 |
| 338 #if ENABLE(REQUEST_AUTOCOMPLETE) | 334 #if ENABLE(REQUEST_AUTOCOMPLETE) |
| 339 static bool isRequestAutocompleteEnabled; | 335 static bool isRequestAutocompleteEnabled; |
| 340 #endif | 336 #endif |
| 341 | 337 |
| 342 static bool areExperimentalContentSecurityPolicyFeaturesEnabled; | 338 static bool areExperimentalContentSecurityPolicyFeaturesEnabled; |
| 343 | 339 |
| 344 static bool areSeamlessIFramesEnabled; | 340 static bool areSeamlessIFramesEnabled; |
| 345 | 341 |
| 346 #if ENABLE(FONT_LOAD_EVENTS) | 342 #if ENABLE(FONT_LOAD_EVENTS) |
| 347 static bool isFontLoadEventsEnabled; | 343 static bool isFontLoadEventsEnabled; |
| 348 #endif | 344 #endif |
| 349 | 345 |
| 350 }; | 346 }; |
| 351 | 347 |
| 352 } // namespace WebCore | 348 } // namespace WebCore |
| 353 | 349 |
| 354 #endif // RuntimeEnabledFeatures_h | 350 #endif // RuntimeEnabledFeatures_h |
| OLD | NEW |