| OLD | NEW |
| 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_WEBKIT_CLIENT_IMPL_H_ | 5 #ifndef CHROME_RENDERER_RENDERER_WEBKIT_CLIENT_IMPL_H_ |
| 6 #define CHROME_RENDERER_RENDERER_WEBKIT_CLIENT_IMPL_H_ | 6 #define CHROME_RENDERER_RENDERER_WEBKIT_CLIENT_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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 const WebKit::WebURL& first_party_for_cookies, | 43 const WebKit::WebURL& first_party_for_cookies, |
| 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 void prefetchHostName(const WebKit::WebString&); | 47 virtual void prefetchHostName(const WebKit::WebString&); |
| 48 virtual WebKit::WebString defaultLocale(); | 48 virtual WebKit::WebString defaultLocale(); |
| 49 virtual void suddenTerminationChanged(bool enabled); | 49 virtual void suddenTerminationChanged(bool enabled); |
| 50 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( | 50 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( |
| 51 const WebKit::WebString& path, unsigned quota); | 51 const WebKit::WebString& path, unsigned quota); |
| 52 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(); | 52 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(); |
| 53 virtual void dispatchStorageEvent( |
| 54 const WebKit::WebString& key, const WebKit::WebString& old_value, |
| 55 const WebKit::WebString& new_value, const WebKit::WebString& origin, |
| 56 bool is_local_storage); |
| 53 | 57 |
| 54 virtual WebKit::WebKitClient::FileHandle databaseOpenFile( | 58 virtual WebKit::WebKitClient::FileHandle databaseOpenFile( |
| 55 const WebKit::WebString& file_name, int desired_flags, | 59 const WebKit::WebString& file_name, int desired_flags, |
| 56 WebKit::WebKitClient::FileHandle* dir_handle); | 60 WebKit::WebKitClient::FileHandle* dir_handle); |
| 57 virtual int databaseDeleteFile(const WebKit::WebString& file_name, | 61 virtual int databaseDeleteFile(const WebKit::WebString& file_name, |
| 58 bool sync_dir); | 62 bool sync_dir); |
| 59 virtual long databaseGetFileAttributes(const WebKit::WebString& file_name); | 63 virtual long databaseGetFileAttributes(const WebKit::WebString& file_name); |
| 60 virtual long long databaseGetFileSize(const WebKit::WebString& file_name); | 64 virtual long long databaseGetFileSize(const WebKit::WebString& file_name); |
| 61 virtual WebKit::WebString signedPublicKeyAndChallengeString( | 65 virtual WebKit::WebString signedPublicKeyAndChallengeString( |
| 62 unsigned key_size_index, | 66 unsigned key_size_index, |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 // we tell the browser to enable fast termination. | 114 // we tell the browser to enable fast termination. |
| 111 int sudden_termination_disables_; | 115 int sudden_termination_disables_; |
| 112 | 116 |
| 113 // Implementation of the WebSharedWorkerRepository APIs (provides an interface | 117 // Implementation of the WebSharedWorkerRepository APIs (provides an interface |
| 114 // to WorkerService on the browser thread. | 118 // to WorkerService on the browser thread. |
| 115 WebSharedWorkerRepositoryImpl shared_worker_repository_; | 119 WebSharedWorkerRepositoryImpl shared_worker_repository_; |
| 116 | 120 |
| 117 }; | 121 }; |
| 118 | 122 |
| 119 #endif // CHROME_RENDERER_WEBKIT_CLIENT_IMPL_H_ | 123 #endif // CHROME_RENDERER_WEBKIT_CLIENT_IMPL_H_ |
| OLD | NEW |