Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(625)

Side by Side Diff: chrome/renderer/renderer_webkitclient_impl.h

Issue 545054: Introduce all the plumbing for Session Storage. This mostly consists of crea... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | chrome/renderer/renderer_webkitclient_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #ifndef CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ 5 #ifndef CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_
6 #define CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ 6 #define CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_
7 7
8 #include "base/platform_file.h" 8 #include "base/platform_file.h"
9 #include "chrome/renderer/websharedworkerrepository_impl.h" 9 #include "chrome/renderer/websharedworkerrepository_impl.h"
10 #include "webkit/glue/simple_webmimeregistry_impl.h" 10 #include "webkit/glue/simple_webmimeregistry_impl.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 WebKit::WebVector<WebKit::WebCookie>* raw_cookies); 44 WebKit::WebVector<WebKit::WebCookie>* raw_cookies);
45 virtual void deleteCookie(const WebKit::WebURL& url, 45 virtual void deleteCookie(const WebKit::WebURL& url,
46 const WebKit::WebString& cookie_name); 46 const WebKit::WebString& cookie_name);
47 virtual bool cookiesEnabled(const WebKit::WebURL& url, 47 virtual bool cookiesEnabled(const WebKit::WebURL& url,
48 const WebKit::WebURL& first_party_for_cookies); 48 const WebKit::WebURL& first_party_for_cookies);
49 virtual void prefetchHostName(const WebKit::WebString&); 49 virtual void prefetchHostName(const WebKit::WebString&);
50 virtual WebKit::WebString defaultLocale(); 50 virtual WebKit::WebString defaultLocale();
51 virtual void suddenTerminationChanged(bool enabled); 51 virtual void suddenTerminationChanged(bool enabled);
52 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( 52 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(
53 const WebKit::WebString& path, unsigned quota); 53 const WebKit::WebString& path, unsigned quota);
54 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace();
55 virtual void dispatchStorageEvent( 54 virtual void dispatchStorageEvent(
56 const WebKit::WebString& key, const WebKit::WebString& old_value, 55 const WebKit::WebString& key, const WebKit::WebString& old_value,
57 const WebKit::WebString& new_value, const WebKit::WebString& origin, 56 const WebKit::WebString& new_value, const WebKit::WebString& origin,
58 const WebKit::WebURL& url, bool is_local_storage); 57 const WebKit::WebURL& url, bool is_local_storage);
59 58
60 virtual WebKit::WebKitClient::FileHandle databaseOpenFile( 59 virtual WebKit::WebKitClient::FileHandle databaseOpenFile(
61 const WebKit::WebString& vfs_file_name, int desired_flags, 60 const WebKit::WebString& vfs_file_name, int desired_flags,
62 WebKit::WebKitClient::FileHandle* dir_handle); 61 WebKit::WebKitClient::FileHandle* dir_handle);
63 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, 62 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name,
64 bool sync_dir); 63 bool sync_dir);
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 // we tell the browser to enable fast termination. 117 // we tell the browser to enable fast termination.
119 int sudden_termination_disables_; 118 int sudden_termination_disables_;
120 119
121 // Implementation of the WebSharedWorkerRepository APIs (provides an interface 120 // Implementation of the WebSharedWorkerRepository APIs (provides an interface
122 // to WorkerService on the browser thread. 121 // to WorkerService on the browser thread.
123 WebSharedWorkerRepositoryImpl shared_worker_repository_; 122 WebSharedWorkerRepositoryImpl shared_worker_repository_;
124 123
125 }; 124 };
126 125
127 #endif // CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ 126 #endif // CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | chrome/renderer/renderer_webkitclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698