OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "content/test/test_blink_web_unit_test_support.h" | 5 #include "content/test/test_blink_web_unit_test_support.h" |
6 | 6 |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "base/files/file_util.h" | 8 #include "base/files/file_util.h" |
9 #include "base/files/scoped_temp_dir.h" | 9 #include "base/files/scoped_temp_dir.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "base/thread_task_runner_handle.h" | 14 #include "base/thread_task_runner_handle.h" |
15 #include "base/threading/platform_thread.h" | 15 #include "base/threading/platform_thread.h" |
16 #include "build/build_config.h" | 16 #include "build/build_config.h" |
17 #include "cc/blink/web_layer_impl.h" | 17 #include "cc/blink/web_layer_impl.h" |
18 #include "cc/layers/layer_settings.h" | |
19 #include "cc/trees/layer_tree_settings.h" | 18 #include "cc/trees/layer_tree_settings.h" |
20 #include "components/scheduler/renderer/renderer_scheduler_impl.h" | 19 #include "components/scheduler/renderer/renderer_scheduler_impl.h" |
21 #include "components/scheduler/renderer/webthread_impl_for_renderer_scheduler.h" | 20 #include "components/scheduler/renderer/webthread_impl_for_renderer_scheduler.h" |
22 #include "components/scheduler/test/lazy_scheduler_message_loop_delegate_for_tes
ts.h" | 21 #include "components/scheduler/test/lazy_scheduler_message_loop_delegate_for_tes
ts.h" |
23 #include "content/test/mock_webclipboard_impl.h" | 22 #include "content/test/mock_webclipboard_impl.h" |
24 #include "content/test/web_gesture_curve_mock.h" | 23 #include "content/test/web_gesture_curve_mock.h" |
25 #include "content/test/web_layer_tree_view_impl_for_testing.h" | 24 #include "content/test/web_layer_tree_view_impl_for_testing.h" |
26 #include "content/test/weburl_loader_mock_factory.h" | 25 #include "content/test/weburl_loader_mock_factory.h" |
27 #include "media/base/media.h" | 26 #include "media/base/media.h" |
28 #include "net/cookies/cookie_monster.h" | 27 #include "net/cookies/cookie_monster.h" |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 return BlinkPlatformImpl::currentThread(); | 344 return BlinkPlatformImpl::currentThread(); |
346 } | 345 } |
347 | 346 |
348 void TestBlinkWebUnitTestSupport::getPluginList( | 347 void TestBlinkWebUnitTestSupport::getPluginList( |
349 bool refresh, blink::WebPluginListBuilder* builder) { | 348 bool refresh, blink::WebPluginListBuilder* builder) { |
350 builder->addPlugin("pdf", "pdf", "pdf-files"); | 349 builder->addPlugin("pdf", "pdf", "pdf-files"); |
351 builder->addMediaTypeToLastPlugin("application/pdf", "pdf"); | 350 builder->addMediaTypeToLastPlugin("application/pdf", "pdf"); |
352 } | 351 } |
353 | 352 |
354 } // namespace content | 353 } // namespace content |
OLD | NEW |