[BlackBerry] BlackBerry can clear cookies and cache from the Web Inspector
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Mar 2012 16:40:46 +0000 (16:40 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Mar 2012 16:40:46 +0000 (16:40 +0000)
https://bugs.webkit.org/show_bug.cgi?id=81670

Patch by Konrad Piascik <kpiascik@rim.com> on 2012-03-20
Reviewed by Rob Buis.

* WebCoreSupport/InspectorClientBlackBerry.h:
(WebCore::InspectorClientBlackBerry::canClearBrowserCache):
(WebCore::InspectorClientBlackBerry::canClearBrowserCookies):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@111404 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/blackberry/ChangeLog
Source/WebKit/blackberry/WebCoreSupport/InspectorClientBlackBerry.h

index c1bf4b7182a4d6c12bc0399f77c7340b7bd4e371..08e238639f18d25c4bc6a235538c50c6c0b0a42d 100644 (file)
@@ -1,3 +1,14 @@
+2012-03-20  Konrad Piascik  <kpiascik@rim.com>
+
+        [BlackBerry] BlackBerry can clear cookies and cache from the Web Inspector
+        https://bugs.webkit.org/show_bug.cgi?id=81670
+
+        Reviewed by Rob Buis.
+
+        * WebCoreSupport/InspectorClientBlackBerry.h:
+        (WebCore::InspectorClientBlackBerry::canClearBrowserCache):
+        (WebCore::InspectorClientBlackBerry::canClearBrowserCookies):
+
 2012-03-20  Nima Ghanavatian  <nghanavatian@rim.com>
 
         [BlackBerry] Removing doubly defined methods in BackingStore.cpp
index 9ca2391f857307a64106764ec48722167c220c38..d0cccea458f93daa2095e7f688481e84b2afd20b 100644 (file)
@@ -55,7 +55,9 @@ public:
     virtual void bringFrontendToFront();
     virtual bool sendMessageToFrontend(const String&);
     virtual void clearBrowserCache();
+    virtual bool canClearBrowserCache() { return true; }
     virtual void clearBrowserCookies();
+    virtual bool canClearBrowserCookies() { return true; }
 
 private:
     BlackBerry::WebKit::WebPagePrivate* m_webPagePrivate;