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/WebKit/chromium/public/WebKitClient.h" | 10 #include "third_party/WebKit/WebKit/chromium/public/WebKitClient.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 base::PlatformFile* dir_handle); | 43 base::PlatformFile* dir_handle); |
44 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, | 44 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, |
45 bool sync_dir); | 45 bool sync_dir); |
46 virtual long databaseGetFileAttributes( | 46 virtual long databaseGetFileAttributes( |
47 const WebKit::WebString& vfs_file_name); | 47 const WebKit::WebString& vfs_file_name); |
48 virtual long long databaseGetFileSize(const WebKit::WebString& vfs_file_name); | 48 virtual long long databaseGetFileSize(const WebKit::WebString& vfs_file_name); |
49 virtual WebKit::WebString signedPublicKeyAndChallengeString( | 49 virtual WebKit::WebString signedPublicKeyAndChallengeString( |
50 unsigned key_size_index, const WebKit::WebString& challenge, | 50 unsigned key_size_index, const WebKit::WebString& challenge, |
51 const WebKit::WebURL& url); | 51 const WebKit::WebURL& url); |
52 virtual size_t memoryUsageMB(); | 52 virtual size_t memoryUsageMB(); |
53 virtual bool rawCookies(const WebKit::WebURL& url, | |
54 const WebKit::WebURL& first_party_for_cookies, | |
55 WebKit::WebVector<WebKit::WebCookie>*); | |
56 virtual void deleteCookie(const WebKit::WebURL& url, | |
57 const WebKit::WebString& cookie_name); | |
58 virtual WebKit::WebURLLoader* createURLLoader(); | 53 virtual WebKit::WebURLLoader* createURLLoader(); |
59 virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle(); | 54 virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle(); |
60 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); | 55 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); |
61 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); | 56 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); |
62 virtual void decrementStatsCounter(const char* name); | 57 virtual void decrementStatsCounter(const char* name); |
63 virtual void incrementStatsCounter(const char* name); | 58 virtual void incrementStatsCounter(const char* name); |
64 virtual void traceEventBegin(const char* name, void* id, const char* extra); | 59 virtual void traceEventBegin(const char* name, void* id, const char* extra); |
65 virtual void traceEventEnd(const char* name, void* id, const char* extra); | 60 virtual void traceEventEnd(const char* name, void* id, const char* extra); |
66 virtual WebKit::WebData loadResource(const char* name); | 61 virtual WebKit::WebData loadResource(const char* name); |
67 virtual WebKit::WebString queryLocalizedString( | 62 virtual WebKit::WebString queryLocalizedString( |
(...skipping 23 matching lines...) Expand all Loading... |
91 int shared_timer_suspended_; // counter | 86 int shared_timer_suspended_; // counter |
92 | 87 |
93 #if defined(OS_WIN) | 88 #if defined(OS_WIN) |
94 WebThemeEngineImpl theme_engine_; | 89 WebThemeEngineImpl theme_engine_; |
95 #endif | 90 #endif |
96 }; | 91 }; |
97 | 92 |
98 } // namespace webkit_glue | 93 } // namespace webkit_glue |
99 | 94 |
100 #endif // WEBKIT_CLIENT_IMPL_H_ | 95 #endif // WEBKIT_CLIENT_IMPL_H_ |
OLD | NEW |