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" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 #include "webkit/tools/test_shell/simple_appcache_system.h" | 53 #include "webkit/tools/test_shell/simple_appcache_system.h" |
54 #include "webkit/tools/test_shell/simple_file_system.h" | 54 #include "webkit/tools/test_shell/simple_file_system.h" |
55 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" | 55 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" |
56 #include "webkit/tools/test_shell/simple_socket_stream_bridge.h" | 56 #include "webkit/tools/test_shell/simple_socket_stream_bridge.h" |
57 #include "webkit/tools/test_shell/simple_webcookiejar_impl.h" | 57 #include "webkit/tools/test_shell/simple_webcookiejar_impl.h" |
58 #include "webkit/tools/test_shell/test_shell_request_context.h" | 58 #include "webkit/tools/test_shell/test_shell_request_context.h" |
59 #include "webkit/tools/test_shell/test_shell_webblobregistry_impl.h" | 59 #include "webkit/tools/test_shell/test_shell_webblobregistry_impl.h" |
60 | 60 |
61 #if defined(OS_WIN) | 61 #if defined(OS_WIN) |
62 #include "third_party/WebKit/Source/Platform/chromium/public/win/WebThemeEngine.
h" | 62 #include "third_party/WebKit/Source/Platform/chromium/public/win/WebThemeEngine.
h" |
63 #include "webkit/tools/test_shell/test_shell_webthemeengine.h" | |
64 #elif defined(OS_MACOSX) | 63 #elif defined(OS_MACOSX) |
65 #include "base/mac/mac_util.h" | 64 #include "base/mac/mac_util.h" |
66 #endif | 65 #endif |
67 | 66 |
68 using WebKit::WebScriptController; | 67 using WebKit::WebScriptController; |
69 using webkit::WebLayerTreeViewImplForTesting; | 68 using webkit::WebLayerTreeViewImplForTesting; |
70 | 69 |
71 TestWebKitPlatformSupport::TestWebKitPlatformSupport(bool unit_test_mode, | 70 TestWebKitPlatformSupport::TestWebKitPlatformSupport(bool unit_test_mode, |
72 WebKit::Platform* shadow_platform_delegate) | 71 WebKit::Platform* shadow_platform_delegate) |
73 : unit_test_mode_(unit_test_mode), | 72 : unit_test_mode_(unit_test_mode), |
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 return view.release(); | 534 return view.release(); |
536 } | 535 } |
537 | 536 |
538 WebKit::WebLayerTreeView* | 537 WebKit::WebLayerTreeView* |
539 TestWebKitPlatformSupport::createLayerTreeViewForTesting( | 538 TestWebKitPlatformSupport::createLayerTreeViewForTesting( |
540 TestViewType type) { | 539 TestViewType type) { |
541 DCHECK_EQ(TestViewTypeUnitTest, type); | 540 DCHECK_EQ(TestViewTypeUnitTest, type); |
542 return createLayerTreeViewForTesting(); | 541 return createLayerTreeViewForTesting(); |
543 } | 542 } |
544 | 543 |
OLD | NEW |