| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 #endif | 130 #endif |
| 131 | 131 |
| 132 #if ENABLE(SHARED_WORKERS) | 132 #if ENABLE(SHARED_WORKERS) |
| 133 static bool sharedWorkerEnabled(); | 133 static bool sharedWorkerEnabled(); |
| 134 #endif | 134 #endif |
| 135 | 135 |
| 136 #if ENABLE(WEB_SOCKETS) | 136 #if ENABLE(WEB_SOCKETS) |
| 137 static bool webSocketEnabled(); | 137 static bool webSocketEnabled(); |
| 138 #endif | 138 #endif |
| 139 | 139 |
| 140 #if ENABLE(SQL_DATABASE) | |
| 141 static bool openDatabaseEnabled(); | 140 static bool openDatabaseEnabled(); |
| 142 static bool openDatabaseSyncEnabled(); | 141 static bool openDatabaseSyncEnabled(); |
| 143 #endif | |
| 144 | 142 |
| 145 #if ENABLE(WEB_AUDIO) | 143 #if ENABLE(WEB_AUDIO) |
| 146 static void setWebkitAudioContextEnabled(bool isEnabled) { isWebAudioEnabled
= isEnabled; } | 144 static void setWebkitAudioContextEnabled(bool isEnabled) { isWebAudioEnabled
= isEnabled; } |
| 147 static bool webkitAudioContextEnabled() { return isWebAudioEnabled; } | 145 static bool webkitAudioContextEnabled() { return isWebAudioEnabled; } |
| 148 static bool webkitOfflineAudioContextEnabled() { return isWebAudioEnabled; } | 146 static bool webkitOfflineAudioContextEnabled() { return isWebAudioEnabled; } |
| 149 #endif | 147 #endif |
| 150 | 148 |
| 151 #if ENABLE(TOUCH_EVENTS) | 149 #if ENABLE(TOUCH_EVENTS) |
| 152 static bool touchEnabled() { return isTouchEnabled; } | 150 static bool touchEnabled() { return isTouchEnabled; } |
| 153 static void setTouchEnabled(bool isEnabled) { isTouchEnabled = isEnabled; } | 151 static void setTouchEnabled(bool isEnabled) { isTouchEnabled = isEnabled; } |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 | 393 |
| 396 #if ENABLE(FONT_LOAD_EVENTS) | 394 #if ENABLE(FONT_LOAD_EVENTS) |
| 397 static bool isFontLoadEventsEnabled; | 395 static bool isFontLoadEventsEnabled; |
| 398 #endif | 396 #endif |
| 399 | 397 |
| 400 }; | 398 }; |
| 401 | 399 |
| 402 } // namespace WebCore | 400 } // namespace WebCore |
| 403 | 401 |
| 404 #endif // RuntimeEnabledFeatures_h | 402 #endif // RuntimeEnabledFeatures_h |
| OLD | NEW |