OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/platform_file.h" | 9 #include "base/platform_file.h" |
10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 virtual WebKit::WebSandboxSupport* sandboxSupport(); | 33 virtual WebKit::WebSandboxSupport* sandboxSupport(); |
34 virtual WebKit::WebCookieJar* cookieJar(); | 34 virtual WebKit::WebCookieJar* cookieJar(); |
35 virtual bool sandboxEnabled(); | 35 virtual bool sandboxEnabled(); |
36 virtual unsigned long long visitedLinkHash( | 36 virtual unsigned long long visitedLinkHash( |
37 const char* canonicalURL, size_t length); | 37 const char* canonicalURL, size_t length); |
38 virtual bool isLinkVisited(unsigned long long linkHash); | 38 virtual bool isLinkVisited(unsigned long long linkHash); |
39 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); | 39 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); |
40 virtual void prefetchHostName(const WebKit::WebString&); | 40 virtual void prefetchHostName(const WebKit::WebString&); |
41 virtual void cacheMetadata( | 41 virtual void cacheMetadata( |
42 const WebKit::WebURL&, double, const char*, size_t); | 42 const WebKit::WebURL&, double, const char*, size_t); |
| 43 virtual WebKit::WebData loadResource(const char* name); |
43 virtual WebKit::WebString defaultLocale(); | 44 virtual WebKit::WebString defaultLocale(); |
44 virtual void suddenTerminationChanged(bool enabled); | 45 virtual void suddenTerminationChanged(bool enabled); |
45 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( | 46 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( |
46 const WebKit::WebString& path, unsigned quota); | 47 const WebKit::WebString& path, unsigned quota); |
47 virtual void dispatchStorageEvent( | 48 virtual void dispatchStorageEvent( |
48 const WebKit::WebString& key, const WebKit::WebString& old_value, | 49 const WebKit::WebString& key, const WebKit::WebString& old_value, |
49 const WebKit::WebString& new_value, const WebKit::WebString& origin, | 50 const WebKit::WebString& new_value, const WebKit::WebString& origin, |
50 const WebKit::WebURL& url, bool is_local_storage); | 51 const WebKit::WebURL& url, bool is_local_storage); |
51 | 52 |
52 virtual WebKit::WebKitClient::FileHandle databaseOpenFile( | 53 virtual WebKit::WebKitClient::FileHandle databaseOpenFile( |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 scoped_ptr<WebSharedWorkerRepositoryImpl> shared_worker_repository_; | 109 scoped_ptr<WebSharedWorkerRepositoryImpl> shared_worker_repository_; |
109 | 110 |
110 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; | 111 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; |
111 | 112 |
112 scoped_ptr<WebFileSystemImpl> web_file_system_; | 113 scoped_ptr<WebFileSystemImpl> web_file_system_; |
113 | 114 |
114 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; | 115 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; |
115 }; | 116 }; |
116 | 117 |
117 #endif // CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ | 118 #endif // CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ |
OLD | NEW |