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 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 WebKit::WebString signedPublicKeyAndChallengeString( | |
40 unsigned key_size_index, const WebKit::WebString& challenge, | |
41 const WebKit::WebURL& url); | |
42 virtual size_t memoryUsageMB(); | 39 virtual size_t memoryUsageMB(); |
43 virtual size_t actualMemoryUsageMB(); | 40 virtual size_t actualMemoryUsageMB(); |
44 virtual WebKit::WebURLLoader* createURLLoader(); | 41 virtual WebKit::WebURLLoader* createURLLoader(); |
45 virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle(); | 42 virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle(); |
46 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); | 43 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); |
47 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); | 44 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); |
48 virtual void decrementStatsCounter(const char* name); | 45 virtual void decrementStatsCounter(const char* name); |
49 virtual void incrementStatsCounter(const char* name); | 46 virtual void incrementStatsCounter(const char* name); |
50 virtual void histogramCustomCounts( | 47 virtual void histogramCustomCounts( |
51 const char* name, int sample, int min, int max, int bucket_count); | 48 const char* name, int sample, int min, int max, int bucket_count); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 int shared_timer_suspended_; // counter | 91 int shared_timer_suspended_; // counter |
95 | 92 |
96 #if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_MACOSX) | 93 #if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_MACOSX) |
97 WebThemeEngineImpl theme_engine_; | 94 WebThemeEngineImpl theme_engine_; |
98 #endif | 95 #endif |
99 }; | 96 }; |
100 | 97 |
101 } // namespace webkit_glue | 98 } // namespace webkit_glue |
102 | 99 |
103 #endif // WEBKIT_CLIENT_IMPL_H_ | 100 #endif // WEBKIT_CLIENT_IMPL_H_ |
OLD | NEW |