| 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 21 matching lines...) Expand all Loading... |
| 32 virtual WebKit::WebString queryLocalizedString( | 32 virtual WebKit::WebString queryLocalizedString( |
| 33 WebKit::WebLocalizedString::Name name); | 33 WebKit::WebLocalizedString::Name name); |
| 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 virtual void dispatchStorageEvent(const WebKit::WebString& key, |
| 43 const WebKit::WebString& oldValue, const WebKit::WebString& newValue, |
| 44 const WebKit::WebString& origin, bool isLocalStorage); |
| 42 | 45 |
| 43 virtual base::PlatformFile databaseOpenFile( | 46 virtual base::PlatformFile databaseOpenFile( |
| 44 const WebKit::WebString& file_name, int desired_flags, | 47 const WebKit::WebString& file_name, int desired_flags, |
| 45 base::PlatformFile* dir_handle); | 48 base::PlatformFile* dir_handle); |
| 46 virtual int databaseDeleteFile(const WebKit::WebString& file_name, | 49 virtual int databaseDeleteFile(const WebKit::WebString& file_name, |
| 47 bool sync_dir); | 50 bool sync_dir); |
| 48 virtual long databaseGetFileAttributes(const WebKit::WebString& file_name); | 51 virtual long databaseGetFileAttributes(const WebKit::WebString& file_name); |
| 49 virtual long long databaseGetFileSize(const WebKit::WebString& file_name); | 52 virtual long long databaseGetFileSize(const WebKit::WebString& file_name); |
| 50 | 53 |
| 51 virtual bool fileExists(const WebKit::WebString& path); | 54 virtual bool fileExists(const WebKit::WebString& path); |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 void (*shared_timer_func_)(); | 97 void (*shared_timer_func_)(); |
| 95 | 98 |
| 96 #if defined(OS_WIN) | 99 #if defined(OS_WIN) |
| 97 WebThemeEngineImpl theme_engine_; | 100 WebThemeEngineImpl theme_engine_; |
| 98 #endif | 101 #endif |
| 99 }; | 102 }; |
| 100 | 103 |
| 101 } // namespace webkit_glue | 104 } // namespace webkit_glue |
| 102 | 105 |
| 103 #endif // WEBKIT_CLIENT_IMPL_H_ | 106 #endif // WEBKIT_CLIENT_IMPL_H_ |
| OLD | NEW |