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