| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 128 |
| 129 static bool openDatabaseEnabled(); | 129 static bool openDatabaseEnabled(); |
| 130 static bool openDatabaseSyncEnabled(); | 130 static bool openDatabaseSyncEnabled(); |
| 131 | 131 |
| 132 #if ENABLE(WEB_AUDIO) | 132 #if ENABLE(WEB_AUDIO) |
| 133 static void setWebkitAudioContextEnabled(bool isEnabled) { isWebAudioEnabled
= isEnabled; } | 133 static void setWebkitAudioContextEnabled(bool isEnabled) { isWebAudioEnabled
= isEnabled; } |
| 134 static bool webkitAudioContextEnabled() { return isWebAudioEnabled; } | 134 static bool webkitAudioContextEnabled() { return isWebAudioEnabled; } |
| 135 static bool webkitOfflineAudioContextEnabled() { return isWebAudioEnabled; } | 135 static bool webkitOfflineAudioContextEnabled() { return isWebAudioEnabled; } |
| 136 #endif | 136 #endif |
| 137 | 137 |
| 138 #if ENABLE(TOUCH_EVENTS) | |
| 139 static bool touchEnabled() { return isTouchEnabled; } | 138 static bool touchEnabled() { return isTouchEnabled; } |
| 140 static void setTouchEnabled(bool isEnabled) { isTouchEnabled = isEnabled; } | 139 static void setTouchEnabled(bool isEnabled) { isTouchEnabled = isEnabled; } |
| 141 #endif | |
| 142 | 140 |
| 143 static void setDeviceMotionEnabled(bool isEnabled) { isDeviceMotionEnabled =
isEnabled; } | 141 static void setDeviceMotionEnabled(bool isEnabled) { isDeviceMotionEnabled =
isEnabled; } |
| 144 static bool deviceMotionEnabled() { return isDeviceMotionEnabled; } | 142 static bool deviceMotionEnabled() { return isDeviceMotionEnabled; } |
| 145 static bool deviceMotionEventEnabled() { return isDeviceMotionEnabled; } | 143 static bool deviceMotionEventEnabled() { return isDeviceMotionEnabled; } |
| 146 static bool ondevicemotionEnabled() { return isDeviceMotionEnabled; } | 144 static bool ondevicemotionEnabled() { return isDeviceMotionEnabled; } |
| 147 | 145 |
| 148 static void setDeviceOrientationEnabled(bool isEnabled) { isDeviceOrientatio
nEnabled = isEnabled; } | 146 static void setDeviceOrientationEnabled(bool isEnabled) { isDeviceOrientatio
nEnabled = isEnabled; } |
| 149 static bool deviceOrientationEnabled() { return isDeviceOrientationEnabled;
} | 147 static bool deviceOrientationEnabled() { return isDeviceOrientationEnabled;
} |
| 150 static bool deviceOrientationEventEnabled() { return isDeviceOrientationEnab
led; } | 148 static bool deviceOrientationEventEnabled() { return isDeviceOrientationEnab
led; } |
| 151 static bool ondeviceorientationEnabled() { return isDeviceOrientationEnabled
; } | 149 static bool ondeviceorientationEnabled() { return isDeviceOrientationEnabled
; } |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 #if USE(WEBP) | 334 #if USE(WEBP) |
| 337 static bool isWebPInAcceptHeaderEnabled; | 335 static bool isWebPInAcceptHeaderEnabled; |
| 338 #endif | 336 #endif |
| 339 | 337 |
| 340 static bool isDirectoryUploadEnabled; | 338 static bool isDirectoryUploadEnabled; |
| 341 }; | 339 }; |
| 342 | 340 |
| 343 } // namespace WebCore | 341 } // namespace WebCore |
| 344 | 342 |
| 345 #endif // RuntimeEnabledFeatures_h | 343 #endif // RuntimeEnabledFeatures_h |
| OLD | NEW |