| 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 #if ENABLE(GAMEPAD) | 202 #if ENABLE(GAMEPAD) |
| 203 static void setWebkitGetGamepadsEnabled(bool isEnabled) { isGamepadEnabled =
isEnabled; } | 203 static void setWebkitGetGamepadsEnabled(bool isEnabled) { isGamepadEnabled =
isEnabled; } |
| 204 static bool webkitGetGamepadsEnabled() { return isGamepadEnabled; } | 204 static bool webkitGetGamepadsEnabled() { return isGamepadEnabled; } |
| 205 #endif | 205 #endif |
| 206 | 206 |
| 207 #if ENABLE(QUOTA) | 207 #if ENABLE(QUOTA) |
| 208 static bool quotaEnabled() { return isQuotaEnabled; } | 208 static bool quotaEnabled() { return isQuotaEnabled; } |
| 209 static void setQuotaEnabled(bool isEnabled) { isQuotaEnabled = isEnabled; } | 209 static void setQuotaEnabled(bool isEnabled) { isQuotaEnabled = isEnabled; } |
| 210 #endif | 210 #endif |
| 211 | 211 |
| 212 #if ENABLE(MEDIA_SOURCE) | |
| 213 static bool mediaSourceEnabled() { return isMediaSourceEnabled; } | 212 static bool mediaSourceEnabled() { return isMediaSourceEnabled; } |
| 214 static void setMediaSourceEnabled(bool isEnabled) { isMediaSourceEnabled = i
sEnabled; } | 213 static void setMediaSourceEnabled(bool isEnabled) { isMediaSourceEnabled = i
sEnabled; } |
| 215 #endif | |
| 216 | 214 |
| 217 #if ENABLE(ENCRYPTED_MEDIA) | 215 #if ENABLE(ENCRYPTED_MEDIA) |
| 218 static bool encryptedMediaEnabled() { return isEncryptedMediaEnabled; } | 216 static bool encryptedMediaEnabled() { return isEncryptedMediaEnabled; } |
| 219 static void setEncryptedMediaEnabled(bool isEnabled) { isEncryptedMediaEnabl
ed = isEnabled; } | 217 static void setEncryptedMediaEnabled(bool isEnabled) { isEncryptedMediaEnabl
ed = isEnabled; } |
| 220 #endif | 218 #endif |
| 221 | 219 |
| 222 #if ENABLE(VIDEO_TRACK) | 220 #if ENABLE(VIDEO_TRACK) |
| 223 static bool webkitVideoTrackEnabled() { return isVideoTrackEnabled; } | 221 static bool webkitVideoTrackEnabled() { return isVideoTrackEnabled; } |
| 224 static void setWebkitVideoTrackEnabled(bool isEnabled) { isVideoTrackEnabled
= isEnabled; } | 222 static void setWebkitVideoTrackEnabled(bool isEnabled) { isVideoTrackEnabled
= isEnabled; } |
| 225 #endif | 223 #endif |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 #if ENABLE(GAMEPAD) | 332 #if ENABLE(GAMEPAD) |
| 335 static bool isGamepadEnabled; | 333 static bool isGamepadEnabled; |
| 336 #endif | 334 #endif |
| 337 | 335 |
| 338 #if ENABLE(QUOTA) | 336 #if ENABLE(QUOTA) |
| 339 static bool isQuotaEnabled; | 337 static bool isQuotaEnabled; |
| 340 #endif | 338 #endif |
| 341 | 339 |
| 342 static bool isFullScreenAPIEnabled; | 340 static bool isFullScreenAPIEnabled; |
| 343 | 341 |
| 344 #if ENABLE(MEDIA_SOURCE) | |
| 345 static bool isMediaSourceEnabled; | 342 static bool isMediaSourceEnabled; |
| 346 #endif | |
| 347 | 343 |
| 348 #if ENABLE(ENCRYPTED_MEDIA) | 344 #if ENABLE(ENCRYPTED_MEDIA) |
| 349 static bool isEncryptedMediaEnabled; | 345 static bool isEncryptedMediaEnabled; |
| 350 #endif | 346 #endif |
| 351 | 347 |
| 352 #if ENABLE(VIDEO_TRACK) | 348 #if ENABLE(VIDEO_TRACK) |
| 353 static bool isVideoTrackEnabled; | 349 static bool isVideoTrackEnabled; |
| 354 #endif | 350 #endif |
| 355 | 351 |
| 356 #if ENABLE(SHADOW_DOM) | 352 #if ENABLE(SHADOW_DOM) |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 | 403 |
| 408 #if ENABLE(FONT_LOAD_EVENTS) | 404 #if ENABLE(FONT_LOAD_EVENTS) |
| 409 static bool isFontLoadEventsEnabled; | 405 static bool isFontLoadEventsEnabled; |
| 410 #endif | 406 #endif |
| 411 | 407 |
| 412 }; | 408 }; |
| 413 | 409 |
| 414 } // namespace WebCore | 410 } // namespace WebCore |
| 415 | 411 |
| 416 #endif // RuntimeEnabledFeatures_h | 412 #endif // RuntimeEnabledFeatures_h |
| OLD | NEW |