summaryrefslogtreecommitdiffstats
path: root/webkit/glue/chrome_client_impl.h
diff options
context:
space:
mode:
authormichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-12 20:41:51 +0000
committermichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-12 20:41:51 +0000
commita4662a6c19bae19547199eba15d6bbf2f538e912 (patch)
treee7d7fddb58f67b67d55b3732ed7a4df38f0a22b1 /webkit/glue/chrome_client_impl.h
parent44838a83ab6f2dec072a044316142ffd819f3e49 (diff)
downloadchromium_src-a4662a6c19bae19547199eba15d6bbf2f538e912.zip
chromium_src-a4662a6c19bae19547199eba15d6bbf2f538e912.tar.gz
chromium_src-a4662a6c19bae19547199eba15d6bbf2f538e912.tar.bz2
Appcache related WebKit API additions. With this patch the compile-time flag is enabled, but the run-time flag is disabled.
1) Added a new class WebApplicationCacheHost and a factory method on WebKitClient. 2) Provide an implementation of WebCore's ApplicationCachHost class that calls out to chrome thru the new WebKit API. 3) Added new files to gyp and turned on the compile-time ENABLE(OFFLINE_WEB_APPLICATIONS) flag. 4) Turned on the compile-time flag for v8 bindings in build-generated-files.sh 4) Disabled the run-time appliation_cache_enabled settings in the test shell for now. BUG=none TEST=none Review URL: http://codereview.chromium.org/165222 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23217 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/chrome_client_impl.h')
-rw-r--r--webkit/glue/chrome_client_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/webkit/glue/chrome_client_impl.h b/webkit/glue/chrome_client_impl.h
index a6cf956..81ed8eb 100644
--- a/webkit/glue/chrome_client_impl.h
+++ b/webkit/glue/chrome_client_impl.h
@@ -6,6 +6,7 @@
#define WEBKIT_GLUE_CHROME_CLIENT_IMPL_H_
#include "base/compiler_specific.h"
+#include "base/logging.h"
MSVC_PUSH_WARNING_LEVEL(0);
#include "ChromeClientChromium.h"
@@ -125,6 +126,10 @@ class ChromeClientImpl : public WebCore::ChromeClientChromium {
virtual void exceededDatabaseQuota(WebCore::Frame*,
const WebCore::String& databaseName);
+#if ENABLE(OFFLINE_WEB_APPLICATIONS)
+ virtual void reachedMaxAppCacheSize(int64_t spaceNeeded) { NOTREACHED(); }
+#endif
+
virtual void requestGeolocationPermissionForFrame(WebCore::Frame*, WebCore::Geolocation*) { }
virtual void runOpenPanel(WebCore::Frame*,