| 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 #include "base/file_util.h" | 5 #include "base/file_util.h" |
| 6 #include "base/path_service.h" | 6 #include "base/path_service.h" |
| 7 #include "base/scoped_temp_dir.h" | 7 #include "base/scoped_temp_dir.h" |
| 8 #include "base/stats_counters.h" | 8 #include "base/stats_counters.h" |
| 9 #include "base/string_util.h" | 9 #include "base/string_util.h" |
| 10 #include "net/base/cookie_monster.h" | 10 #include "net/base/cookie_monster.h" |
| 11 #include "net/http/http_cache.h" | 11 #include "net/http/http_cache.h" |
| 12 #include "net/socket/ssl_test_util.h" | 12 #include "net/socket/ssl_test_util.h" |
| 13 #include "media/base/media.h" | 13 #include "media/base/media.h" |
| 14 #include "third_party/WebKit/WebKit/chromium/public/WebData.h" | 14 #include "third_party/WebKit/WebKit/chromium/public/WebData.h" |
| 15 #include "third_party/WebKit/WebKit/chromium/public/WebDatabase.h" | 15 #include "third_party/WebKit/WebKit/chromium/public/WebDatabase.h" |
| 16 #include "third_party/WebKit/WebKit/chromium/public/WebRuntimeFeatures.h" | 16 #include "third_party/WebKit/WebKit/chromium/public/WebRuntimeFeatures.h" |
| 17 #include "third_party/WebKit/WebKit/chromium/public/WebKit.h" | 17 #include "third_party/WebKit/WebKit/chromium/public/WebKit.h" |
| 18 #include "third_party/WebKit/WebKit/chromium/public/WebScriptController.h" | 18 #include "third_party/WebKit/WebKit/chromium/public/WebScriptController.h" |
| 19 #include "third_party/WebKit/WebKit/chromium/public/WebSecurityPolicy.h" | 19 #include "third_party/WebKit/WebKit/chromium/public/WebSecurityPolicy.h" |
| 20 #include "third_party/WebKit/WebKit/chromium/public/WebStorageArea.h" | 20 #include "third_party/WebKit/WebKit/chromium/public/WebStorageArea.h" |
| 21 #include "third_party/WebKit/WebKit/chromium/public/WebStorageEventDispatcher.h" | 21 #include "third_party/WebKit/WebKit/chromium/public/WebStorageEventDispatcher.h" |
| 22 #include "third_party/WebKit/WebKit/chromium/public/WebStorageNamespace.h" | 22 #include "third_party/WebKit/WebKit/chromium/public/WebStorageNamespace.h" |
| 23 #include "third_party/WebKit/WebKit/chromium/public/WebString.h" | 23 #include "third_party/WebKit/WebKit/chromium/public/WebString.h" |
| 24 #include "third_party/WebKit/WebKit/chromium/public/WebThemeEngine.h" |
| 24 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h" | 25 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h" |
| 25 #include "webkit/appcache/web_application_cache_host_impl.h" | 26 #include "webkit/appcache/web_application_cache_host_impl.h" |
| 26 #include "webkit/database/vfs_backend.h" | 27 #include "webkit/database/vfs_backend.h" |
| 27 #include "webkit/extensions/v8/gc_extension.h" | 28 #include "webkit/extensions/v8/gc_extension.h" |
| 28 #include "webkit/extensions/v8/gears_extension.h" | 29 #include "webkit/extensions/v8/gears_extension.h" |
| 29 #include "webkit/extensions/v8/interval_extension.h" | 30 #include "webkit/extensions/v8/interval_extension.h" |
| 30 #include "webkit/glue/simple_webmimeregistry_impl.h" | 31 #include "webkit/glue/simple_webmimeregistry_impl.h" |
| 31 #include "webkit/glue/webclipboard_impl.h" | 32 #include "webkit/glue/webclipboard_impl.h" |
| 32 #include "webkit/glue/webkit_glue.h" | 33 #include "webkit/glue/webkit_glue.h" |
| 33 #include "webkit/glue/webkitclient_impl.h" | 34 #include "webkit/glue/webkitclient_impl.h" |
| 34 #include "webkit/support/test_webkit_client.h" | 35 #include "webkit/support/test_webkit_client.h" |
| 35 #include "webkit/tools/test_shell/mock_webclipboard_impl.h" | 36 #include "webkit/tools/test_shell/mock_webclipboard_impl.h" |
| 36 #include "webkit/tools/test_shell/simple_appcache_system.h" | 37 #include "webkit/tools/test_shell/simple_appcache_system.h" |
| 37 #include "webkit/tools/test_shell/simple_database_system.h" | 38 #include "webkit/tools/test_shell/simple_database_system.h" |
| 38 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" | 39 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" |
| 39 #include "webkit/tools/test_shell/simple_webcookiejar_impl.h" | 40 #include "webkit/tools/test_shell/simple_webcookiejar_impl.h" |
| 40 #include "webkit/tools/test_shell/test_shell_request_context.h" | 41 #include "webkit/tools/test_shell/test_shell_request_context.h" |
| 41 #include "v8/include/v8.h" | 42 #include "v8/include/v8.h" |
| 42 | 43 |
| 43 #if defined(OS_WIN) | 44 #if defined(OS_WIN) |
| 44 #include "third_party/WebKit/WebKit/chromium/public/win/WebThemeEngine.h" | |
| 45 #include "webkit/tools/test_shell/test_shell_webthemeengine.h" | 45 #include "webkit/tools/test_shell/test_shell_webthemeengine.h" |
| 46 #endif | 46 #endif |
| 47 #if defined(OS_MACOSX) | 47 #if defined(OS_MACOSX) |
| 48 #include "base/mac_util.h" | 48 #include "base/mac_util.h" |
| 49 #endif | 49 #endif |
| 50 | 50 |
| 51 using WebKit::WebScriptController; | 51 using WebKit::WebScriptController; |
| 52 | 52 |
| 53 TestWebKitClient::TestWebKitClient() { | 53 TestWebKitClient::TestWebKitClient() { |
| 54 v8::V8::SetCounterFunction(StatsTable::FindLocation); | 54 v8::V8::SetCounterFunction(StatsTable::FindLocation); |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 } | 232 } |
| 233 | 233 |
| 234 WebKit::WebThemeEngine* TestWebKitClient::themeEngine() { | 234 WebKit::WebThemeEngine* TestWebKitClient::themeEngine() { |
| 235 return active_theme_engine_; | 235 return active_theme_engine_; |
| 236 } | 236 } |
| 237 #endif | 237 #endif |
| 238 | 238 |
| 239 WebKit::WebSharedWorkerRepository* TestWebKitClient::sharedWorkerRepository() { | 239 WebKit::WebSharedWorkerRepository* TestWebKitClient::sharedWorkerRepository() { |
| 240 return NULL; | 240 return NULL; |
| 241 } | 241 } |
| OLD | NEW |