| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_platform_support.h" | 5 #include "webkit/support/test_webkit_platform_support.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
| 9 #include "base/files/scoped_temp_dir.h" | 9 #include "base/files/scoped_temp_dir.h" |
| 10 #include "base/metrics/stats_counters.h" | 10 #include "base/metrics/stats_counters.h" |
| 11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
| 12 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
| 13 #include "cc/output/context_provider.h" | 13 #include "cc/output/context_provider.h" |
| 14 #include "media/base/media.h" | 14 #include "media/base/media.h" |
| 15 #include "net/cookies/cookie_monster.h" | 15 #include "net/cookies/cookie_monster.h" |
| 16 #include "net/test/spawned_test_server/spawned_test_server.h" | 16 #include "net/test/spawned_test_server/spawned_test_server.h" |
| 17 #include "third_party/WebKit/public/web/WebDatabase.h" | |
| 18 #include "third_party/WebKit/public/web/WebKit.h" | |
| 19 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" | |
| 20 #include "third_party/WebKit/public/web/WebScriptController.h" | |
| 21 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" | |
| 22 #include "third_party/WebKit/public/web/WebStorageEventDispatcher.h" | |
| 23 #include "third_party/WebKit/public/platform/WebAudioDevice.h" | 17 #include "third_party/WebKit/public/platform/WebAudioDevice.h" |
| 24 #include "third_party/WebKit/public/platform/WebData.h" | 18 #include "third_party/WebKit/public/platform/WebData.h" |
| 25 #include "third_party/WebKit/public/platform/WebFileSystem.h" | 19 #include "third_party/WebKit/public/platform/WebFileSystem.h" |
| 26 #include "third_party/WebKit/public/platform/WebGamepads.h" | 20 #include "third_party/WebKit/public/platform/WebGamepads.h" |
| 27 #include "third_party/WebKit/public/platform/WebStorageArea.h" | 21 #include "third_party/WebKit/public/platform/WebStorageArea.h" |
| 28 #include "third_party/WebKit/public/platform/WebStorageNamespace.h" | 22 #include "third_party/WebKit/public/platform/WebStorageNamespace.h" |
| 29 #include "third_party/WebKit/public/platform/WebString.h" | 23 #include "third_party/WebKit/public/platform/WebString.h" |
| 30 #include "third_party/WebKit/public/platform/WebURL.h" | 24 #include "third_party/WebKit/public/platform/WebURL.h" |
| 25 #include "third_party/WebKit/public/web/WebDatabase.h" |
| 26 #include "third_party/WebKit/public/web/WebKit.h" |
| 27 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" |
| 28 #include "third_party/WebKit/public/web/WebScriptController.h" |
| 29 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" |
| 30 #include "third_party/WebKit/public/web/WebStorageEventDispatcher.h" |
| 31 #include "v8/include/v8.h" | 31 #include "v8/include/v8.h" |
| 32 #include "webkit/browser/database/vfs_backend.h" | 32 #include "webkit/browser/database/vfs_backend.h" |
| 33 #include "webkit/child/webkitplatformsupport_impl.h" |
| 33 #include "webkit/common/gpu/test_context_provider_factory.h" | 34 #include "webkit/common/gpu/test_context_provider_factory.h" |
| 34 #include "webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.
h" | 35 #include "webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.
h" |
| 35 #include "webkit/common/gpu/webgraphicscontext3d_provider_impl.h" | 36 #include "webkit/common/gpu/webgraphicscontext3d_provider_impl.h" |
| 36 #include "webkit/glue/simple_webmimeregistry_impl.h" | 37 #include "webkit/glue/simple_webmimeregistry_impl.h" |
| 37 #include "webkit/glue/webkit_glue.h" | 38 #include "webkit/glue/webkit_glue.h" |
| 38 #include "webkit/glue/webkitplatformsupport_impl.h" | |
| 39 #include "webkit/renderer/appcache/web_application_cache_host_impl.h" | 39 #include "webkit/renderer/appcache/web_application_cache_host_impl.h" |
| 40 #include "webkit/renderer/compositor_bindings/web_compositor_support_impl.h" | 40 #include "webkit/renderer/compositor_bindings/web_compositor_support_impl.h" |
| 41 #include "webkit/support/gc_extension.h" | 41 #include "webkit/support/gc_extension.h" |
| 42 #include "webkit/support/mock_webclipboard_impl.h" | 42 #include "webkit/support/mock_webclipboard_impl.h" |
| 43 #include "webkit/support/test_shell_webblobregistry_impl.h" | 43 #include "webkit/support/test_shell_webblobregistry_impl.h" |
| 44 #include "webkit/support/test_webmessageportchannel.h" | 44 #include "webkit/support/test_webmessageportchannel.h" |
| 45 #include "webkit/support/web_audio_device_mock.h" | 45 #include "webkit/support/web_audio_device_mock.h" |
| 46 #include "webkit/support/web_gesture_curve_mock.h" | 46 #include "webkit/support/web_gesture_curve_mock.h" |
| 47 #include "webkit/support/web_layer_tree_view_impl_for_testing.h" | 47 #include "webkit/support/web_layer_tree_view_impl_for_testing.h" |
| 48 #include "webkit/support/weburl_loader_mock_factory.h" | 48 #include "webkit/support/weburl_loader_mock_factory.h" |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 return view.release(); | 445 return view.release(); |
| 446 } | 446 } |
| 447 | 447 |
| 448 WebKit::WebLayerTreeView* | 448 WebKit::WebLayerTreeView* |
| 449 TestWebKitPlatformSupport::createLayerTreeViewForTesting( | 449 TestWebKitPlatformSupport::createLayerTreeViewForTesting( |
| 450 TestViewType type) { | 450 TestViewType type) { |
| 451 DCHECK_EQ(TestViewTypeUnitTest, type); | 451 DCHECK_EQ(TestViewTypeUnitTest, type); |
| 452 return createLayerTreeViewForTesting(); | 452 return createLayerTreeViewForTesting(); |
| 453 } | 453 } |
| 454 | 454 |
| OLD | NEW |