summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webkitclient_impl.h
diff options
context:
space:
mode:
authorjorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-03 06:51:15 +0000
committerjorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-03 06:51:15 +0000
commit75c91e64b82abaa843d9327f7b57cc9a0abe1696 (patch)
tree28e9093690edc475c7a7d69b21a90facef3d2641 /webkit/glue/webkitclient_impl.h
parent8922e1ff7ac33a3f88079e1e6d3ae8671602a952 (diff)
downloadchromium_src-75c91e64b82abaa843d9327f7b57cc9a0abe1696.zip
chromium_src-75c91e64b82abaa843d9327f7b57cc9a0abe1696.tar.gz
chromium_src-75c91e64b82abaa843d9327f7b57cc9a0abe1696.tar.bz2
Add quota support.
Add a 5mb quota to DOM Storage. Most of the details are in an upstream patch (https://bugs.webkit.org/show_bug.cgi?id=29991 ). BUG=16876 TEST=I added a layout test upstream and it works. Review URL: http://codereview.chromium.org/255050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27942 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkitclient_impl.h')
-rw-r--r--webkit/glue/webkitclient_impl.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/webkit/glue/webkitclient_impl.h b/webkit/glue/webkitclient_impl.h
index ba25918..d10f8d4 100644
--- a/webkit/glue/webkitclient_impl.h
+++ b/webkit/glue/webkitclient_impl.h
@@ -70,7 +70,8 @@ class WebKitClientImpl : public WebKit::WebKitClient {
// these methods will be deleted.
virtual WebKit::WebMediaPlayer* createWebMediaPlayer(
WebKit::WebMediaPlayerClient*, WebCore::Frame*);
- virtual void setCursorForPlugin(const WebKit::WebCursorInfo&, WebCore::Frame*);
+ virtual void setCursorForPlugin(
+ const WebKit::WebCursorInfo&, WebCore::Frame*);
virtual WebCore::String uiResourceProtocol();
virtual void notifyJSOutOfMemory(WebCore::Frame*);
virtual int screenDepth(WebCore::Widget*);
@@ -81,7 +82,11 @@ class WebKitClientImpl : public WebKit::WebKitClient {
virtual bool popupsAllowed(NPP);
virtual void widgetSetCursor(WebCore::Widget*, const WebCore::Cursor&);
virtual void widgetSetFocus(WebCore::Widget*);
- virtual WebCore::WorkerContextProxy* createWorkerContextProxy(WebCore::Worker* worker);
+ virtual WebCore::WorkerContextProxy* createWorkerContextProxy(
+ WebCore::Worker* worker);
+ virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(
+ const WebKit::WebString& path, unsigned quota);
+ virtual WebKit::WebStorageNamespace* createSessionStorageNamespace();
private:
void DoTimeout() {