| 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" |
| 11 #if defined(OS_WIN) | 11 #if defined(OS_WIN) |
| 12 #include "webkit/glue/webthemeengine_impl_win.h" | 12 #include "webkit/glue/webthemeengine_impl_win.h" |
| 13 #endif | 13 #endif |
| 14 | 14 |
| 15 class MessageLoop; | 15 class MessageLoop; |
| 16 | 16 |
| 17 namespace webkit_glue { | 17 namespace webkit_glue { |
| 18 | 18 |
| 19 class WebKitClientImpl : public WebKit::WebKitClient { | 19 class WebKitClientImpl : public WebKit::WebKitClient { |
| 20 public: | 20 public: |
| 21 WebKitClientImpl(); | 21 WebKitClientImpl(); |
| 22 virtual ~WebKitClientImpl() {} | 22 virtual ~WebKitClientImpl(); |
| 23 | 23 |
| 24 // WebKitClient methods (partial implementation): | 24 // WebKitClient methods (partial implementation): |
| 25 virtual WebKit::WebThemeEngine* themeEngine(); | 25 virtual WebKit::WebThemeEngine* themeEngine(); |
| 26 | 26 |
| 27 virtual base::PlatformFile databaseOpenFile( | 27 virtual base::PlatformFile databaseOpenFile( |
| 28 const WebKit::WebString& vfs_file_name, int desired_flags); | 28 const WebKit::WebString& vfs_file_name, int desired_flags); |
| 29 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, | 29 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, |
| 30 bool sync_dir); | 30 bool sync_dir); |
| 31 virtual long databaseGetFileAttributes( | 31 virtual long databaseGetFileAttributes( |
| 32 const WebKit::WebString& vfs_file_name); | 32 const WebKit::WebString& vfs_file_name); |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 int shared_timer_suspended_; // counter | 71 int shared_timer_suspended_; // counter |
| 72 | 72 |
| 73 #if defined(OS_WIN) | 73 #if defined(OS_WIN) |
| 74 WebThemeEngineImpl theme_engine_; | 74 WebThemeEngineImpl theme_engine_; |
| 75 #endif | 75 #endif |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 } // namespace webkit_glue | 78 } // namespace webkit_glue |
| 79 | 79 |
| 80 #endif // WEBKIT_CLIENT_IMPL_H_ | 80 #endif // WEBKIT_CLIENT_IMPL_H_ |
| OLD | NEW |