2011-02-04 Kundu Suchismita <suchi.kundu@nokia.com>
[WebKit.git] / Tools / QtTestBrowser / launcherwindow.h
index 4487f658ac110bfe47c192e0aa1366661fab2c56..c879318483ea416925714ca7a545fa72ebbeb416 100644 (file)
@@ -94,6 +94,10 @@ public:
         , showFrameRate(false)
         , resizesToContents(false)
         , viewportUpdateMode(QGraphicsView::MinimalViewportUpdate)
+        , useLocalStorage(false)
+        , useOfflineStorageDatabase(false)
+        , useOfflineWebApplicationCache(false)
+        , offlineStorageDefaultQuotaSize(0)
 #if defined(QT_CONFIGURED_WITH_OPENGL)
         , useQGLWidgetViewport(false)
 #endif
@@ -115,6 +119,10 @@ public:
 #endif
     QUrl inspectorUrl;
     quint16 remoteInspectorPort;
+    bool useLocalStorage;
+    bool useOfflineStorageDatabase;
+    bool useOfflineWebApplicationCache;
+    quint64 offlineStorageDefaultQuotaSize;
 };
 
 class LauncherWindow : public MainWindow {
@@ -165,6 +173,10 @@ protected slots:
     void toggleJavascriptCanOpenWindows(bool enable);
     void toggleAutoLoadImages(bool enable);
     void togglePlugins(bool enable);
+    void toggleLocalStorage(bool toggle);
+    void toggleOfflineStorageDatabase(bool toggle);
+    void toggleOfflineWebApplicationCache(bool toggle);
+    void setOfflineStorageDefaultQuota();
 
 #if defined(QT_CONFIGURED_WITH_OPENGL)
     void toggleQGLWidgetViewport(bool enable);