OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "components/web_view/test_runner/test_runner_application_delegate.h" | 5 #include "components/web_view/test_runner/test_runner_application_delegate.h" |
6 | 6 |
7 #include <iostream> | 7 #include <iostream> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/files/file_util.h" | 12 #include "base/files/file_util.h" |
13 #include "base/files/scoped_temp_dir.h" | 13 #include "base/files/scoped_temp_dir.h" |
14 #include "base/location.h" | 14 #include "base/location.h" |
15 #include "base/path_service.h" | 15 #include "base/path_service.h" |
16 #include "base/thread_task_runner_handle.h" | 16 #include "base/thread_task_runner_handle.h" |
17 #include "base/threading/thread_restrictions.h" | 17 #include "base/threading/thread_restrictions.h" |
18 #include "components/view_manager/public/cpp/scoped_view_ptr.h" | 18 #include "components/mus/public/cpp/scoped_view_ptr.h" |
19 #include "components/view_manager/public/cpp/view.h" | 19 #include "components/mus/public/cpp/view.h" |
20 #include "components/view_manager/public/cpp/view_tree_connection.h" | 20 #include "components/mus/public/cpp/view_tree_connection.h" |
21 #include "components/view_manager/public/cpp/view_tree_host_factory.h" | 21 #include "components/mus/public/cpp/view_tree_host_factory.h" |
22 #include "mojo/application/public/cpp/application_connection.h" | 22 #include "mojo/application/public/cpp/application_connection.h" |
23 #include "mojo/application/public/cpp/application_impl.h" | 23 #include "mojo/application/public/cpp/application_impl.h" |
24 #include "mojo/converters/geometry/geometry_type_converters.h" | 24 #include "mojo/converters/geometry/geometry_type_converters.h" |
25 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" | 25 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" |
26 #include "ui/gfx/geometry/rect.h" | 26 #include "ui/gfx/geometry/rect.h" |
27 #include "ui/gfx/geometry/size.h" | 27 #include "ui/gfx/geometry/size.h" |
28 #include "url/gurl.h" | 28 #include "url/gurl.h" |
29 | 29 |
30 #if defined(OS_WIN) | 30 #if defined(OS_WIN) |
31 #include "base/strings/sys_string_conversions.h" | 31 #include "base/strings/sys_string_conversions.h" |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 //////////////////////////////////////////////////////////////////////////////// | 145 //////////////////////////////////////////////////////////////////////////////// |
146 // mojo::InterfaceFactory<LayoutTestRunner> implementation: | 146 // mojo::InterfaceFactory<LayoutTestRunner> implementation: |
147 | 147 |
148 void TestRunnerApplicationDelegate::Create( | 148 void TestRunnerApplicationDelegate::Create( |
149 mojo::ApplicationConnection* connection, | 149 mojo::ApplicationConnection* connection, |
150 mojo::InterfaceRequest<web_view::LayoutTestRunner> request) { | 150 mojo::InterfaceRequest<web_view::LayoutTestRunner> request) { |
151 layout_test_runner_.AddBinding(this, request.Pass()); | 151 layout_test_runner_.AddBinding(this, request.Pass()); |
152 } | 152 } |
153 | 153 |
154 } // namespace web_view | 154 } // namespace web_view |
OLD | NEW |