| 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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 #if ENABLE(DIALOG_ELEMENT) | 282 #if ENABLE(DIALOG_ELEMENT) |
| 283 static bool dialogElementEnabled() { return isDialogElementEnabled; } | 283 static bool dialogElementEnabled() { return isDialogElementEnabled; } |
| 284 static void setDialogElementEnabled(bool isEnabled) { isDialogElementEnabled
= isEnabled; } | 284 static void setDialogElementEnabled(bool isEnabled) { isDialogElementEnabled
= isEnabled; } |
| 285 #endif | 285 #endif |
| 286 | 286 |
| 287 #if ENABLE(CSP_NEXT) | 287 #if ENABLE(CSP_NEXT) |
| 288 static bool experimentalContentSecurityPolicyFeaturesEnabled() { return areE
xperimentalContentSecurityPolicyFeaturesEnabled; } | 288 static bool experimentalContentSecurityPolicyFeaturesEnabled() { return areE
xperimentalContentSecurityPolicyFeaturesEnabled; } |
| 289 static void setExperimentalContentSecurityPolicyFeaturesEnabled(bool isEnabl
ed) { areExperimentalContentSecurityPolicyFeaturesEnabled = isEnabled; } | 289 static void setExperimentalContentSecurityPolicyFeaturesEnabled(bool isEnabl
ed) { areExperimentalContentSecurityPolicyFeaturesEnabled = isEnabled; } |
| 290 #endif | 290 #endif |
| 291 | 291 |
| 292 #if ENABLE(IFRAME_SEAMLESS) | |
| 293 static bool seamlessIFramesEnabled() { return areSeamlessIFramesEnabled; } | 292 static bool seamlessIFramesEnabled() { return areSeamlessIFramesEnabled; } |
| 294 static void setSeamlessIFramesEnabled(bool isEnabled) { areSeamlessIFramesEn
abled = isEnabled; } | 293 static void setSeamlessIFramesEnabled(bool isEnabled) { areSeamlessIFramesEn
abled = isEnabled; } |
| 295 #endif | |
| 296 | 294 |
| 297 static bool langAttributeAwareFormControlUIEnabled() { return isLangAttribut
eAwareFormControlUIEnabled; } | 295 static bool langAttributeAwareFormControlUIEnabled() { return isLangAttribut
eAwareFormControlUIEnabled; } |
| 298 // The lang attribute support is incomplete and should only be turned on for
tests. | 296 // The lang attribute support is incomplete and should only be turned on for
tests. |
| 299 static void setLangAttributeAwareFormControlUIEnabled(bool isEnabled) { isLa
ngAttributeAwareFormControlUIEnabled = isEnabled; } | 297 static void setLangAttributeAwareFormControlUIEnabled(bool isEnabled) { isLa
ngAttributeAwareFormControlUIEnabled = isEnabled; } |
| 300 | 298 |
| 301 #if ENABLE(REQUEST_AUTOCOMPLETE) | 299 #if ENABLE(REQUEST_AUTOCOMPLETE) |
| 302 static bool requestAutocompleteEnabled() { return isRequestAutocompleteEnabl
ed; } | 300 static bool requestAutocompleteEnabled() { return isRequestAutocompleteEnabl
ed; } |
| 303 static void setRequestAutocompleteEnabled(bool isEnabled) { isRequestAutocom
pleteEnabled = isEnabled; } | 301 static void setRequestAutocompleteEnabled(bool isEnabled) { isRequestAutocom
pleteEnabled = isEnabled; } |
| 304 #endif | 302 #endif |
| 305 | 303 |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 #endif | 409 #endif |
| 412 | 410 |
| 413 #if ENABLE(REQUEST_AUTOCOMPLETE) | 411 #if ENABLE(REQUEST_AUTOCOMPLETE) |
| 414 static bool isRequestAutocompleteEnabled; | 412 static bool isRequestAutocompleteEnabled; |
| 415 #endif | 413 #endif |
| 416 | 414 |
| 417 #if ENABLE(CSP_NEXT) | 415 #if ENABLE(CSP_NEXT) |
| 418 static bool areExperimentalContentSecurityPolicyFeaturesEnabled; | 416 static bool areExperimentalContentSecurityPolicyFeaturesEnabled; |
| 419 #endif | 417 #endif |
| 420 | 418 |
| 421 #if ENABLE(IFRAME_SEAMLESS) | |
| 422 static bool areSeamlessIFramesEnabled; | 419 static bool areSeamlessIFramesEnabled; |
| 423 #endif | |
| 424 | 420 |
| 425 #if ENABLE(FONT_LOAD_EVENTS) | 421 #if ENABLE(FONT_LOAD_EVENTS) |
| 426 static bool isFontLoadEventsEnabled; | 422 static bool isFontLoadEventsEnabled; |
| 427 #endif | 423 #endif |
| 428 | 424 |
| 429 }; | 425 }; |
| 430 | 426 |
| 431 } // namespace WebCore | 427 } // namespace WebCore |
| 432 | 428 |
| 433 #endif // RuntimeEnabledFeatures_h | 429 #endif // RuntimeEnabledFeatures_h |
| OLD | NEW |