| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 static bool webkitIDBDatabaseErrorEnabled() { return isIndexedDBEnabled; } | 64 static bool webkitIDBDatabaseErrorEnabled() { return isIndexedDBEnabled; } |
| 65 static bool webkitIDBDatabaseExceptionEnabled() { return isIndexedDBEnabled;
} | 65 static bool webkitIDBDatabaseExceptionEnabled() { return isIndexedDBEnabled;
} |
| 66 static bool webkitIDBFactoryEnabled() { return isIndexedDBEnabled; } | 66 static bool webkitIDBFactoryEnabled() { return isIndexedDBEnabled; } |
| 67 static bool webkitIDBIndexEnabled() { return isIndexedDBEnabled; } | 67 static bool webkitIDBIndexEnabled() { return isIndexedDBEnabled; } |
| 68 static bool webkitIDBKeyRangeEnabled() { return isIndexedDBEnabled; } | 68 static bool webkitIDBKeyRangeEnabled() { return isIndexedDBEnabled; } |
| 69 static bool webkitIDBObjectStoreEnabled() { return isIndexedDBEnabled; } | 69 static bool webkitIDBObjectStoreEnabled() { return isIndexedDBEnabled; } |
| 70 static bool webkitIDBRequestEnabled() { return isIndexedDBEnabled; } | 70 static bool webkitIDBRequestEnabled() { return isIndexedDBEnabled; } |
| 71 static bool webkitIDBTransactionEnabled() { return isIndexedDBEnabled; } | 71 static bool webkitIDBTransactionEnabled() { return isIndexedDBEnabled; } |
| 72 | 72 |
| 73 #if ENABLE(FULLSCREEN_API) | 73 #if ENABLE(FULLSCREEN_API) |
| 74 // Mozilla version | |
| 75 static bool webkitFullScreenAPIEnabled() { return isFullScreenAPIEnabled; } | 74 static bool webkitFullScreenAPIEnabled() { return isFullScreenAPIEnabled; } |
| 76 static void setWebkitFullScreenAPIEnabled(bool isEnabled) { isFullScreenAPIE
nabled = isEnabled; } | 75 static void setWebkitFullScreenAPIEnabled(bool isEnabled) { isFullScreenAPIE
nabled = isEnabled; } |
| 77 static bool webkitRequestFullScreenEnabled() { return isFullScreenAPIEnabled
; } | 76 static bool webkitRequestFullScreenEnabled() { return isFullScreenAPIEnabled
; } |
| 78 static bool webkitIsFullScreenEnabled() { return isFullScreenAPIEnabled; } | 77 static bool webkitIsFullScreenEnabled() { return isFullScreenAPIEnabled; } |
| 79 static bool webkitFullScreenKeyboardInputAllowedEnabled() { return isFullScr
eenAPIEnabled; } | 78 static bool webkitFullScreenKeyboardInputAllowedEnabled() { return isFullScr
eenAPIEnabled; } |
| 80 static bool webkitCurrentFullScreenElementEnabled() { return isFullScreenAPI
Enabled; } | 79 static bool webkitCurrentFullScreenElementEnabled() { return isFullScreenAPI
Enabled; } |
| 81 static bool webkitCancelFullScreenEnabled() { return isFullScreenAPIEnabled;
} | 80 static bool webkitCancelFullScreenEnabled() { return isFullScreenAPIEnabled;
} |
| 82 | |
| 83 // W3C version | |
| 84 static bool webkitFullscreenEnabledEnabled() { return isFullScreenAPIEnabled
; } | |
| 85 static bool webkitFullscreenElementEnabled() { return isFullScreenAPIEnabled
; } | |
| 86 static bool webkitExitFullscreenEnabled() { return isFullScreenAPIEnabled; } | |
| 87 static bool webkitRequestFullscreenEnabled() { return isFullScreenAPIEnabled
; } | |
| 88 #endif | 81 #endif |
| 89 | 82 |
| 90 #if ENABLE(POINTER_LOCK) | 83 #if ENABLE(POINTER_LOCK) |
| 91 static bool webkitPointerLockEnabled() { return isPointerLockEnabled; } | 84 static bool webkitPointerLockEnabled() { return isPointerLockEnabled; } |
| 92 static void setWebkitPointerLockEnabled(bool isEnabled) { isPointerLockEnabl
ed = isEnabled; } | 85 static void setWebkitPointerLockEnabled(bool isEnabled) { isPointerLockEnabl
ed = isEnabled; } |
| 93 static bool webkitPointerEnabled() { return isPointerLockEnabled; } | 86 static bool webkitPointerEnabled() { return isPointerLockEnabled; } |
| 94 static bool webkitMovementXEnabled() { return isPointerLockEnabled; } | 87 static bool webkitMovementXEnabled() { return isPointerLockEnabled; } |
| 95 static bool webkitMovementYEnabled() { return isPointerLockEnabled; } | 88 static bool webkitMovementYEnabled() { return isPointerLockEnabled; } |
| 96 #endif | 89 #endif |
| 97 | 90 |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 #endif | 278 #endif |
| 286 | 279 |
| 287 #if ENABLE(STYLE_SCOPED) | 280 #if ENABLE(STYLE_SCOPED) |
| 288 static bool isStyleScopedEnabled; | 281 static bool isStyleScopedEnabled; |
| 289 #endif | 282 #endif |
| 290 }; | 283 }; |
| 291 | 284 |
| 292 } // namespace WebCore | 285 } // namespace WebCore |
| 293 | 286 |
| 294 #endif // RuntimeEnabledFeatures_h | 287 #endif // RuntimeEnabledFeatures_h |
| OLD | NEW |