| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "webkit/support/test_webkit_client.h" | 5 #include "webkit/support/test_webkit_client.h" |
| 6 | 6 |
| 7 #include "app/gfx/gl/gl_bindings_skia.h" | |
| 8 #include "base/file_util.h" | 7 #include "base/file_util.h" |
| 9 #include "base/memory/scoped_temp_dir.h" | 8 #include "base/memory/scoped_temp_dir.h" |
| 10 #include "base/path_service.h" | 9 #include "base/path_service.h" |
| 11 #include "base/metrics/stats_counters.h" | 10 #include "base/metrics/stats_counters.h" |
| 12 #include "base/string_util.h" | 11 #include "base/string_util.h" |
| 13 #include "base/utf_string_conversions.h" | 12 #include "base/utf_string_conversions.h" |
| 14 #include "net/base/cookie_monster.h" | 13 #include "net/base/cookie_monster.h" |
| 15 #include "net/http/http_cache.h" | 14 #include "net/http/http_cache.h" |
| 16 #include "net/test/test_server.h" | 15 #include "net/test/test_server.h" |
| 17 #include "media/base/media.h" | 16 #include "media/base/media.h" |
| 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" |
| 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebData.h" | 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebData.h" |
| 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabase.h" | 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabase.h" |
| 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystem.h" | 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystem.h" |
| 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" | 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" |
| 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h" | 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h" |
| 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyPath.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyPath.h" |
| 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h" | 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h" |
| 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" | 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" |
| 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptController.h
" | 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptController.h
" |
| 28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityPolicy.h" | 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityPolicy.h" |
| 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa
lue.h" | 28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa
lue.h" |
| 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageArea.h" | 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageArea.h" |
| 31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageEventDispat
cher.h" | 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageEventDispat
cher.h" |
| 32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageNamespace.h
" | 31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageNamespace.h
" |
| 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" |
| 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" | 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" |
| 34 #include "ui/gfx/gl/gl_bindings_skia.h" |
| 35 #include "webkit/appcache/web_application_cache_host_impl.h" | 35 #include "webkit/appcache/web_application_cache_host_impl.h" |
| 36 #include "webkit/database/vfs_backend.h" | 36 #include "webkit/database/vfs_backend.h" |
| 37 #include "webkit/extensions/v8/gc_extension.h" | 37 #include "webkit/extensions/v8/gc_extension.h" |
| 38 #include "webkit/glue/simple_webmimeregistry_impl.h" | 38 #include "webkit/glue/simple_webmimeregistry_impl.h" |
| 39 #include "webkit/glue/webclipboard_impl.h" | 39 #include "webkit/glue/webclipboard_impl.h" |
| 40 #include "webkit/glue/webkit_glue.h" | 40 #include "webkit/glue/webkit_glue.h" |
| 41 #include "webkit/glue/webkitclient_impl.h" | 41 #include "webkit/glue/webkitclient_impl.h" |
| 42 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" | 42 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" |
| 43 #include "webkit/support/simple_database_system.h" | 43 #include "webkit/support/simple_database_system.h" |
| 44 #include "webkit/support/weburl_loader_mock_factory.h" | 44 #include "webkit/support/weburl_loader_mock_factory.h" |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 #endif | 348 #endif |
| 349 | 349 |
| 350 WebKit::WebSharedWorkerRepository* TestWebKitClient::sharedWorkerRepository() { | 350 WebKit::WebSharedWorkerRepository* TestWebKitClient::sharedWorkerRepository() { |
| 351 return NULL; | 351 return NULL; |
| 352 } | 352 } |
| 353 | 353 |
| 354 WebKit::WebGraphicsContext3D* TestWebKitClient::createGraphicsContext3D() { | 354 WebKit::WebGraphicsContext3D* TestWebKitClient::createGraphicsContext3D() { |
| 355 gfx::BindSkiaToHostGL(); | 355 gfx::BindSkiaToHostGL(); |
| 356 return new webkit::gpu::WebGraphicsContext3DInProcessImpl(); | 356 return new webkit::gpu::WebGraphicsContext3DInProcessImpl(); |
| 357 } | 357 } |
| OLD | NEW |