| 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 #if ENABLE(CUSTOM_ELEMENTS) | 227 #if ENABLE(CUSTOM_ELEMENTS) |
| 228 static bool customDOMElementsEnabled() { return isCustomDOMElementsEnabled;
} | 228 static bool customDOMElementsEnabled() { return isCustomDOMElementsEnabled;
} |
| 229 static void setCustomDOMElements(bool isEnabled) { isCustomDOMElementsEnable
d = isEnabled; } | 229 static void setCustomDOMElements(bool isEnabled) { isCustomDOMElementsEnable
d = isEnabled; } |
| 230 #endif | 230 #endif |
| 231 | 231 |
| 232 #if ENABLE(STYLE_SCOPED) | 232 #if ENABLE(STYLE_SCOPED) |
| 233 static bool styleScopedEnabled() { return isStyleScopedEnabled; } | 233 static bool styleScopedEnabled() { return isStyleScopedEnabled; } |
| 234 static void setStyleScopedEnabled(bool isEnabled) { isStyleScopedEnabled = i
sEnabled; } | 234 static void setStyleScopedEnabled(bool isEnabled) { isStyleScopedEnabled = i
sEnabled; } |
| 235 #endif | 235 #endif |
| 236 | 236 |
| 237 #if ENABLE(INPUT_TYPE_DATE) | |
| 238 static bool inputTypeDateEnabled() { return isInputTypeDateEnabled; } | |
| 239 static void setInputTypeDateEnabled(bool isEnabled) { isInputTypeDateEnabled
= isEnabled; } | |
| 240 #endif | |
| 241 | |
| 242 #if ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE) | 237 #if ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE) |
| 243 static bool inputTypeDateTimeEnabled() { return isInputTypeDateTimeEnabled;
} | 238 static bool inputTypeDateTimeEnabled() { return isInputTypeDateTimeEnabled;
} |
| 244 static void setInputTypeDateTimeEnabled(bool isEnabled) { isInputTypeDateTim
eEnabled = isEnabled; } | 239 static void setInputTypeDateTimeEnabled(bool isEnabled) { isInputTypeDateTim
eEnabled = isEnabled; } |
| 245 #endif | 240 #endif |
| 246 | 241 |
| 247 #if ENABLE(INPUT_TYPE_DATETIMELOCAL) | 242 #if ENABLE(INPUT_TYPE_DATETIMELOCAL) |
| 248 static bool inputTypeDateTimeLocalEnabled() { return isInputTypeDateTimeLoca
lEnabled; } | 243 static bool inputTypeDateTimeLocalEnabled() { return isInputTypeDateTimeLoca
lEnabled; } |
| 249 static void setInputTypeDateTimeLocalEnabled(bool isEnabled) { isInputTypeDa
teTimeLocalEnabled = isEnabled; } | 244 static void setInputTypeDateTimeLocalEnabled(bool isEnabled) { isInputTypeDa
teTimeLocalEnabled = isEnabled; } |
| 250 #endif | 245 #endif |
| 251 | 246 |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 #endif | 339 #endif |
| 345 | 340 |
| 346 #if ENABLE(CUSTOM_ELEMENTS) | 341 #if ENABLE(CUSTOM_ELEMENTS) |
| 347 static bool isCustomDOMElementsEnabled; | 342 static bool isCustomDOMElementsEnabled; |
| 348 #endif | 343 #endif |
| 349 | 344 |
| 350 #if ENABLE(STYLE_SCOPED) | 345 #if ENABLE(STYLE_SCOPED) |
| 351 static bool isStyleScopedEnabled; | 346 static bool isStyleScopedEnabled; |
| 352 #endif | 347 #endif |
| 353 | 348 |
| 354 #if ENABLE(INPUT_TYPE_DATE) | |
| 355 static bool isInputTypeDateEnabled; | |
| 356 #endif | |
| 357 | |
| 358 #if ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE) | 349 #if ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE) |
| 359 static bool isInputTypeDateTimeEnabled; | 350 static bool isInputTypeDateTimeEnabled; |
| 360 #endif | 351 #endif |
| 361 | 352 |
| 362 #if ENABLE(INPUT_TYPE_DATETIMELOCAL) | 353 #if ENABLE(INPUT_TYPE_DATETIMELOCAL) |
| 363 static bool isInputTypeDateTimeLocalEnabled; | 354 static bool isInputTypeDateTimeLocalEnabled; |
| 364 #endif | 355 #endif |
| 365 | 356 |
| 366 #if ENABLE(INPUT_TYPE_MONTH) | 357 #if ENABLE(INPUT_TYPE_MONTH) |
| 367 static bool isInputTypeMonthEnabled; | 358 static bool isInputTypeMonthEnabled; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 389 | 380 |
| 390 #if ENABLE(FONT_LOAD_EVENTS) | 381 #if ENABLE(FONT_LOAD_EVENTS) |
| 391 static bool isFontLoadEventsEnabled; | 382 static bool isFontLoadEventsEnabled; |
| 392 #endif | 383 #endif |
| 393 | 384 |
| 394 }; | 385 }; |
| 395 | 386 |
| 396 } // namespace WebCore | 387 } // namespace WebCore |
| 397 | 388 |
| 398 #endif // RuntimeEnabledFeatures_h | 389 #endif // RuntimeEnabledFeatures_h |
| OLD | NEW |