diff options
Diffstat (limited to 'WebCore/bindings/v8/RuntimeEnabledFeatures.h')
-rw-r--r-- | WebCore/bindings/v8/RuntimeEnabledFeatures.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/WebCore/bindings/v8/RuntimeEnabledFeatures.h b/WebCore/bindings/v8/RuntimeEnabledFeatures.h index fa42024..d8078c5 100644 --- a/WebCore/bindings/v8/RuntimeEnabledFeatures.h +++ b/WebCore/bindings/v8/RuntimeEnabledFeatures.h @@ -45,6 +45,12 @@ public: static void setSessionStorageEnabled(bool isEnabled) { isSessionStorageEnabled = isEnabled; } static bool sessionStorageEnabled() { return isSessionStorageEnabled; } + static void setNotificationsEnabled(bool isEnabled) { isNotificationsEnabled = isEnabled; } + static bool notificationsEnabled() { return isNotificationsEnabled; } + + static void setApplicationCacheEnabled(bool isEnabled) { isApplicationCacheEnabled = isEnabled; } + static bool applicationCacheEnabled() { return isApplicationCacheEnabled; } + private: // Never instantiate. RuntimeEnabledFeatures() { } @@ -52,6 +58,8 @@ private: static bool isDatabaseEnabled; static bool isLocalStorageEnabled; static bool isSessionStorageEnabled; + static bool isNotificationsEnabled; + static bool isApplicationCacheEnabled; }; } // namespace WebCore |