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 12 matching lines...) Expand all Loading... |
23 | 23 |
24 // WebKitClient methods (partial implementation): | 24 // WebKitClient methods (partial implementation): |
25 virtual WebKit::WebThemeEngine* themeEngine(); | 25 virtual WebKit::WebThemeEngine* themeEngine(); |
26 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost( | 26 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost( |
27 WebKit::WebApplicationCacheHostClient*); | 27 WebKit::WebApplicationCacheHostClient*); |
28 virtual bool fileExists(const WebKit::WebString& path); | 28 virtual bool fileExists(const WebKit::WebString& path); |
29 virtual bool deleteFile(const WebKit::WebString& path); | 29 virtual bool deleteFile(const WebKit::WebString& path); |
30 virtual bool deleteEmptyDirectory(const WebKit::WebString& path); | 30 virtual bool deleteEmptyDirectory(const WebKit::WebString& path); |
31 virtual bool getFileSize(const WebKit::WebString& path, long long& result); | 31 virtual bool getFileSize(const WebKit::WebString& path, long long& result); |
32 virtual bool getFileModificationTime( | 32 virtual bool getFileModificationTime( |
33 const WebKit::WebString& path, time_t& result); | 33 const WebKit::WebString& path, |
| 34 double& result); |
34 virtual WebKit::WebString directoryName(const WebKit::WebString& path); | 35 virtual WebKit::WebString directoryName(const WebKit::WebString& path); |
35 virtual WebKit::WebString pathByAppendingComponent( | 36 virtual WebKit::WebString pathByAppendingComponent( |
36 const WebKit::WebString& path, const WebKit::WebString& component); | 37 const WebKit::WebString& path, const WebKit::WebString& component); |
37 virtual bool makeAllDirectories(const WebKit::WebString& path); | 38 virtual bool makeAllDirectories(const WebKit::WebString& path); |
38 virtual WebKit::WebString getAbsolutePath(const WebKit::WebString& path); | 39 virtual WebKit::WebString getAbsolutePath(const WebKit::WebString& path); |
39 virtual bool isDirectory(const WebKit::WebString& path); | 40 virtual bool isDirectory(const WebKit::WebString& path); |
40 virtual WebKit::WebURL filePathToURL(const WebKit::WebString& path); | 41 virtual WebKit::WebURL filePathToURL(const WebKit::WebString& path); |
41 virtual base::PlatformFile databaseOpenFile( | 42 virtual base::PlatformFile databaseOpenFile( |
42 const WebKit::WebString& vfs_file_name, | 43 const WebKit::WebString& vfs_file_name, |
43 int desired_flags, | 44 int desired_flags, |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 int shared_timer_suspended_; // counter | 88 int shared_timer_suspended_; // counter |
88 | 89 |
89 #if defined(OS_WIN) | 90 #if defined(OS_WIN) |
90 WebThemeEngineImpl theme_engine_; | 91 WebThemeEngineImpl theme_engine_; |
91 #endif | 92 #endif |
92 }; | 93 }; |
93 | 94 |
94 } // namespace webkit_glue | 95 } // namespace webkit_glue |
95 | 96 |
96 #endif // WEBKIT_CLIENT_IMPL_H_ | 97 #endif // WEBKIT_CLIENT_IMPL_H_ |
OLD | NEW |