| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this |
| 2 // source code is governed by a BSD-style license that can be found in the | 2 // source code is governed by a BSD-style license that can be found in the |
| 3 // LICENSE file. | 3 // 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 "webkit/api/public/WebKitClient.h" | 10 #include "webkit/api/public/WebKitClient.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 virtual WebKit::WebString queryLocalizedString( | 34 virtual WebKit::WebString queryLocalizedString( |
| 35 WebKit::WebLocalizedString::Name name, int numeric_value); | 35 WebKit::WebLocalizedString::Name name, int numeric_value); |
| 36 virtual double currentTime(); | 36 virtual double currentTime(); |
| 37 virtual void setSharedTimerFiredFunction(void (*func)()); | 37 virtual void setSharedTimerFiredFunction(void (*func)()); |
| 38 virtual void setSharedTimerFireTime(double fireTime); | 38 virtual void setSharedTimerFireTime(double fireTime); |
| 39 virtual void stopSharedTimer(); | 39 virtual void stopSharedTimer(); |
| 40 virtual void callOnMainThread(void (*func)()); | 40 virtual void callOnMainThread(void (*func)()); |
| 41 virtual void suddenTerminationChanged(bool enabled) { } | 41 virtual void suddenTerminationChanged(bool enabled) { } |
| 42 | 42 |
| 43 virtual base::PlatformFile databaseOpenFile( | 43 virtual base::PlatformFile databaseOpenFile( |
| 44 const WebKit::WebString& file_name, int desired_flags); | 44 const WebKit::WebString& file_name, int desired_flags, |
| 45 virtual bool databaseDeleteFile(const WebKit::WebString& file_name); | 45 base::PlatformFile* dir_handle); |
| 46 virtual int databaseDeleteFile(const WebKit::WebString& file_name, |
| 47 bool sync_dir); |
| 46 virtual long databaseGetFileAttributes(const WebKit::WebString& file_name); | 48 virtual long databaseGetFileAttributes(const WebKit::WebString& file_name); |
| 47 virtual long long databaseGetFileSize(const WebKit::WebString& file_name); | 49 virtual long long databaseGetFileSize(const WebKit::WebString& file_name); |
| 48 | 50 |
| 49 virtual bool fileExists(const WebKit::WebString& path); | 51 virtual bool fileExists(const WebKit::WebString& path); |
| 50 virtual bool deleteFile(const WebKit::WebString& path); | 52 virtual bool deleteFile(const WebKit::WebString& path); |
| 51 virtual bool deleteEmptyDirectory(const WebKit::WebString& path); | 53 virtual bool deleteEmptyDirectory(const WebKit::WebString& path); |
| 52 virtual bool getFileSize(const WebKit::WebString& path, long long& result); | 54 virtual bool getFileSize(const WebKit::WebString& path, long long& result); |
| 53 virtual bool getFileModificationTime(const WebKit::WebString& path, | 55 virtual bool getFileModificationTime(const WebKit::WebString& path, |
| 54 time_t& result); | 56 time_t& result); |
| 55 virtual WebKit::WebString directoryName(const WebKit::WebString& path); | 57 virtual WebKit::WebString directoryName(const WebKit::WebString& path); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 71 void (*shared_timer_func_)(); | 73 void (*shared_timer_func_)(); |
| 72 | 74 |
| 73 #if defined(OS_WIN) | 75 #if defined(OS_WIN) |
| 74 WebThemeEngineImpl theme_engine_; | 76 WebThemeEngineImpl theme_engine_; |
| 75 #endif | 77 #endif |
| 76 }; | 78 }; |
| 77 | 79 |
| 78 } // namespace webkit_glue | 80 } // namespace webkit_glue |
| 79 | 81 |
| 80 #endif // WEBKIT_CLIENT_IMPL_H_ | 82 #endif // WEBKIT_CLIENT_IMPL_H_ |
| OLD | NEW |