| 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 28 matching lines...) Expand all Loading... |
| 39 bool RuntimeEnabledFeatures::isLocalStorageEnabled = true; | 39 bool RuntimeEnabledFeatures::isLocalStorageEnabled = true; |
| 40 bool RuntimeEnabledFeatures::isSessionStorageEnabled = true; | 40 bool RuntimeEnabledFeatures::isSessionStorageEnabled = true; |
| 41 bool RuntimeEnabledFeatures::isWebkitNotificationsEnabled = false; | 41 bool RuntimeEnabledFeatures::isWebkitNotificationsEnabled = false; |
| 42 bool RuntimeEnabledFeatures::isApplicationCacheEnabled = true; | 42 bool RuntimeEnabledFeatures::isApplicationCacheEnabled = true; |
| 43 bool RuntimeEnabledFeatures::isGeolocationEnabled = true; | 43 bool RuntimeEnabledFeatures::isGeolocationEnabled = true; |
| 44 bool RuntimeEnabledFeatures::isIndexedDBEnabled = false; | 44 bool RuntimeEnabledFeatures::isIndexedDBEnabled = false; |
| 45 bool RuntimeEnabledFeatures::isCanvasPathEnabled = false; | 45 bool RuntimeEnabledFeatures::isCanvasPathEnabled = false; |
| 46 #if ENABLE(CSS_EXCLUSIONS) | 46 #if ENABLE(CSS_EXCLUSIONS) |
| 47 bool RuntimeEnabledFeatures::isCSSExclusionsEnabled = false; | 47 bool RuntimeEnabledFeatures::isCSSExclusionsEnabled = false; |
| 48 #endif | 48 #endif |
| 49 #if ENABLE(CSS_REGIONS) | |
| 50 bool RuntimeEnabledFeatures::isCSSRegionsEnabled = false; | 49 bool RuntimeEnabledFeatures::isCSSRegionsEnabled = false; |
| 51 #endif | |
| 52 #if ENABLE(CSS_COMPOSITING) | 50 #if ENABLE(CSS_COMPOSITING) |
| 53 bool RuntimeEnabledFeatures::isCSSCompositingEnabled = false; | 51 bool RuntimeEnabledFeatures::isCSSCompositingEnabled = false; |
| 54 #endif | 52 #endif |
| 55 bool RuntimeEnabledFeatures::isFontLoadEventsEnabled = false; | 53 bool RuntimeEnabledFeatures::isFontLoadEventsEnabled = false; |
| 56 bool RuntimeEnabledFeatures::isFullscreenEnabled = true; | 54 bool RuntimeEnabledFeatures::isFullscreenEnabled = true; |
| 57 bool RuntimeEnabledFeatures::isDatabaseEnabled = true; | 55 bool RuntimeEnabledFeatures::isDatabaseEnabled = true; |
| 58 #if ENABLE(WEB_AUDIO) | 56 #if ENABLE(WEB_AUDIO) |
| 59 bool RuntimeEnabledFeatures::isAudioContextEnabled = false; | 57 bool RuntimeEnabledFeatures::isAudioContextEnabled = false; |
| 60 #endif | 58 #endif |
| 61 bool RuntimeEnabledFeatures::isWebMIDIEnabled = false; | 59 bool RuntimeEnabledFeatures::isWebMIDIEnabled = false; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 { | 102 { |
| 105 return MediaPlayer::isAvailable(); | 103 return MediaPlayer::isAvailable(); |
| 106 } | 104 } |
| 107 | 105 |
| 108 bool RuntimeEnabledFeatures::sharedWorkerEnabled() | 106 bool RuntimeEnabledFeatures::sharedWorkerEnabled() |
| 109 { | 107 { |
| 110 return SharedWorkerRepository::isAvailable(); | 108 return SharedWorkerRepository::isAvailable(); |
| 111 } | 109 } |
| 112 | 110 |
| 113 } // namespace WebCore | 111 } // namespace WebCore |
| OLD | NEW |