OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 WEBKIT_CLIENT_IMPL_H_ | 5 #ifndef WEBKIT_CLIENT_IMPL_H_ |
6 #define WEBKIT_CLIENT_IMPL_H_ | 6 #define WEBKIT_CLIENT_IMPL_H_ |
7 | 7 |
8 #include "base/platform_file.h" | 8 #include "base/platform_file.h" |
9 #include "base/timer.h" | 9 #include "base/timer.h" |
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKitClient.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKitClient.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 // WebKitClient methods (partial implementation): | 29 // WebKitClient methods (partial implementation): |
30 virtual WebKit::WebThemeEngine* themeEngine(); | 30 virtual WebKit::WebThemeEngine* themeEngine(); |
31 | 31 |
32 virtual base::PlatformFile databaseOpenFile( | 32 virtual base::PlatformFile databaseOpenFile( |
33 const WebKit::WebString& vfs_file_name, int desired_flags); | 33 const WebKit::WebString& vfs_file_name, int desired_flags); |
34 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, | 34 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, |
35 bool sync_dir); | 35 bool sync_dir); |
36 virtual long databaseGetFileAttributes( | 36 virtual long databaseGetFileAttributes( |
37 const WebKit::WebString& vfs_file_name); | 37 const WebKit::WebString& vfs_file_name); |
38 virtual long long databaseGetFileSize(const WebKit::WebString& vfs_file_name); | 38 virtual long long databaseGetFileSize(const WebKit::WebString& vfs_file_name); |
| 39 virtual long long databaseGetSpaceAvailableForOrigin( |
| 40 const WebKit::WebString& origin_identifier); |
39 virtual WebKit::WebString signedPublicKeyAndChallengeString( | 41 virtual WebKit::WebString signedPublicKeyAndChallengeString( |
40 unsigned key_size_index, const WebKit::WebString& challenge, | 42 unsigned key_size_index, const WebKit::WebString& challenge, |
41 const WebKit::WebURL& url); | 43 const WebKit::WebURL& url); |
42 virtual size_t memoryUsageMB(); | 44 virtual size_t memoryUsageMB(); |
43 virtual size_t actualMemoryUsageMB(); | 45 virtual size_t actualMemoryUsageMB(); |
44 virtual WebKit::WebURLLoader* createURLLoader(); | 46 virtual WebKit::WebURLLoader* createURLLoader(); |
45 virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle(); | 47 virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle(); |
46 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); | 48 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); |
47 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); | 49 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); |
48 virtual void decrementStatsCounter(const char* name); | 50 virtual void decrementStatsCounter(const char* name); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 int shared_timer_suspended_; // counter | 93 int shared_timer_suspended_; // counter |
92 | 94 |
93 #if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_MACOSX) | 95 #if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_MACOSX) |
94 WebThemeEngineImpl theme_engine_; | 96 WebThemeEngineImpl theme_engine_; |
95 #endif | 97 #endif |
96 }; | 98 }; |
97 | 99 |
98 } // namespace webkit_glue | 100 } // namespace webkit_glue |
99 | 101 |
100 #endif // WEBKIT_CLIENT_IMPL_H_ | 102 #endif // WEBKIT_CLIENT_IMPL_H_ |
OLD | NEW |