| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2013 Google Inc. All rights reserved. | 2  * Copyright (C) 2013 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 61     static bool canvasPathEnabled() { return isCanvasPathEnabled; } | 61     static bool canvasPathEnabled() { return isCanvasPathEnabled; } | 
| 62 | 62 | 
| 63 #if ENABLE(CSS_EXCLUSIONS) | 63 #if ENABLE(CSS_EXCLUSIONS) | 
| 64     static void setCSSExclusionsEnabled(bool isEnabled) { isCSSExclusionsEnabled
      = isEnabled; } | 64     static void setCSSExclusionsEnabled(bool isEnabled) { isCSSExclusionsEnabled
      = isEnabled; } | 
| 65     static bool cssExclusionsEnabled() { return isCSSExclusionsEnabled; } | 65     static bool cssExclusionsEnabled() { return isCSSExclusionsEnabled; } | 
| 66 #else | 66 #else | 
| 67     static void setCSSExclusionsEnabled(bool) { } | 67     static void setCSSExclusionsEnabled(bool) { } | 
| 68     static bool cssExclusionsEnabled() { return false; } | 68     static bool cssExclusionsEnabled() { return false; } | 
| 69 #endif | 69 #endif | 
| 70 | 70 | 
| 71 #if ENABLE(CSS_REGIONS) |  | 
| 72     static void setCSSRegionsEnabled(bool isEnabled) { isCSSRegionsEnabled = isE
     nabled; } | 71     static void setCSSRegionsEnabled(bool isEnabled) { isCSSRegionsEnabled = isE
     nabled; } | 
| 73     static bool cssRegionsEnabled() { return isCSSRegionsEnabled; } | 72     static bool cssRegionsEnabled() { return isCSSRegionsEnabled; } | 
| 74 #else |  | 
| 75     static void setCSSRegionsEnabled(bool) { } |  | 
| 76     static bool cssRegionsEnabled() { return false; } |  | 
| 77 #endif |  | 
| 78 | 73 | 
| 79 #if ENABLE(CSS_COMPOSITING) | 74 #if ENABLE(CSS_COMPOSITING) | 
| 80     static void setCSSCompositingEnabled(bool isEnabled) { isCSSCompositingEnabl
     ed = isEnabled; } | 75     static void setCSSCompositingEnabled(bool isEnabled) { isCSSCompositingEnabl
     ed = isEnabled; } | 
| 81     static bool cssCompositingEnabled() { return isCSSCompositingEnabled; } | 76     static bool cssCompositingEnabled() { return isCSSCompositingEnabled; } | 
| 82 #else | 77 #else | 
| 83     static void setCSSCompositingEnabled(bool) { } | 78     static void setCSSCompositingEnabled(bool) { } | 
| 84     static bool cssCompositingEnabled() { return false; } | 79     static bool cssCompositingEnabled() { return false; } | 
| 85 #endif | 80 #endif | 
| 86 | 81 | 
| 87     static void setFontLoadEventsEnabled(bool isEnabled) { isFontLoadEventsEnabl
     ed = isEnabled; } | 82     static void setFontLoadEventsEnabled(bool isEnabled) { isFontLoadEventsEnabl
     ed = isEnabled; } | 
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 231     static bool isLocalStorageEnabled; | 226     static bool isLocalStorageEnabled; | 
| 232     static bool isSessionStorageEnabled; | 227     static bool isSessionStorageEnabled; | 
| 233     static bool isWebkitNotificationsEnabled; | 228     static bool isWebkitNotificationsEnabled; | 
| 234     static bool isApplicationCacheEnabled; | 229     static bool isApplicationCacheEnabled; | 
| 235     static bool isGeolocationEnabled; | 230     static bool isGeolocationEnabled; | 
| 236     static bool isIndexedDBEnabled; | 231     static bool isIndexedDBEnabled; | 
| 237     static bool isCanvasPathEnabled; | 232     static bool isCanvasPathEnabled; | 
| 238 #if ENABLE(CSS_EXCLUSIONS) | 233 #if ENABLE(CSS_EXCLUSIONS) | 
| 239     static bool isCSSExclusionsEnabled; | 234     static bool isCSSExclusionsEnabled; | 
| 240 #endif | 235 #endif | 
| 241 #if ENABLE(CSS_REGIONS) |  | 
| 242     static bool isCSSRegionsEnabled; | 236     static bool isCSSRegionsEnabled; | 
| 243 #endif |  | 
| 244 #if ENABLE(CSS_COMPOSITING) | 237 #if ENABLE(CSS_COMPOSITING) | 
| 245     static bool isCSSCompositingEnabled; | 238     static bool isCSSCompositingEnabled; | 
| 246 #endif | 239 #endif | 
| 247     static bool isFontLoadEventsEnabled; | 240     static bool isFontLoadEventsEnabled; | 
| 248     static bool isFullscreenEnabled; | 241     static bool isFullscreenEnabled; | 
| 249     static bool isDatabaseEnabled; | 242     static bool isDatabaseEnabled; | 
| 250 #if ENABLE(WEB_AUDIO) | 243 #if ENABLE(WEB_AUDIO) | 
| 251     static bool isAudioContextEnabled; | 244     static bool isAudioContextEnabled; | 
| 252 #endif | 245 #endif | 
| 253     static bool isWebMIDIEnabled; | 246     static bool isWebMIDIEnabled; | 
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 289     static bool isRequestAutocompleteEnabled; | 282     static bool isRequestAutocompleteEnabled; | 
| 290     static bool isWebPInAcceptHeaderEnabled; | 283     static bool isWebPInAcceptHeaderEnabled; | 
| 291     static bool isDirectoryUploadEnabled; | 284     static bool isDirectoryUploadEnabled; | 
| 292     static bool isExperimentalWebSocketEnabled; | 285     static bool isExperimentalWebSocketEnabled; | 
| 293     static bool isIMEAPIEnabled; | 286     static bool isIMEAPIEnabled; | 
| 294 }; | 287 }; | 
| 295 | 288 | 
| 296 } // namespace WebCore | 289 } // namespace WebCore | 
| 297 | 290 | 
| 298 #endif // RuntimeEnabledFeatures_h | 291 #endif // RuntimeEnabledFeatures_h | 
| OLD | NEW | 
|---|