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_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ | 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ |
6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ | 6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ |
7 | 7 |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
10 #include "base/scoped_temp_dir.h" | 10 #include "base/scoped_temp_dir.h" |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 #if defined(OS_WIN) | 219 #if defined(OS_WIN) |
220 void SetThemeEngine(WebKit::WebThemeEngine* engine) { | 220 void SetThemeEngine(WebKit::WebThemeEngine* engine) { |
221 active_theme_engine_ = engine ? engine : WebKitClientImpl::themeEngine(); | 221 active_theme_engine_ = engine ? engine : WebKitClientImpl::themeEngine(); |
222 } | 222 } |
223 | 223 |
224 virtual WebKit::WebThemeEngine *themeEngine() { | 224 virtual WebKit::WebThemeEngine *themeEngine() { |
225 return active_theme_engine_; | 225 return active_theme_engine_; |
226 } | 226 } |
227 #endif | 227 #endif |
228 | 228 |
| 229 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository() { |
| 230 return NULL; |
| 231 } |
| 232 |
229 private: | 233 private: |
230 webkit_glue::SimpleWebMimeRegistryImpl mime_registry_; | 234 webkit_glue::SimpleWebMimeRegistryImpl mime_registry_; |
231 MockWebClipboardImpl mock_clipboard_; | 235 MockWebClipboardImpl mock_clipboard_; |
232 webkit_glue::WebClipboardImpl real_clipboard_; | 236 webkit_glue::WebClipboardImpl real_clipboard_; |
233 ScopedTempDir appcache_dir_; | 237 ScopedTempDir appcache_dir_; |
234 SimpleAppCacheSystem appcache_system_; | 238 SimpleAppCacheSystem appcache_system_; |
235 SimpleDatabaseSystem database_system_; | 239 SimpleDatabaseSystem database_system_; |
236 scoped_ptr<WebKit::WebStorageEventDispatcher> dom_storage_event_dispatcher_; | 240 scoped_ptr<WebKit::WebStorageEventDispatcher> dom_storage_event_dispatcher_; |
237 | 241 |
238 #if defined(OS_WIN) | 242 #if defined(OS_WIN) |
239 WebKit::WebThemeEngine* active_theme_engine_; | 243 WebKit::WebThemeEngine* active_theme_engine_; |
240 #endif | 244 #endif |
241 }; | 245 }; |
242 | 246 |
243 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ | 247 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ |
OLD | NEW |