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 #ifndef COMPONENTS_WEB_VIEW__TEST_RUNNER_TEST_RUNNER_APPLICATION_DELEGATE_H_ | 5 #ifndef COMPONENTS_WEB_VIEW__TEST_RUNNER_TEST_RUNNER_APPLICATION_DELEGATE_H_ |
6 #define COMPONENTS_WEB_VIEW__TEST_RUNNER_TEST_RUNNER_APPLICATION_DELEGATE_H_ | 6 #define COMPONENTS_WEB_VIEW__TEST_RUNNER_TEST_RUNNER_APPLICATION_DELEGATE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "components/mus/public/cpp/window_tree_delegate.h" | 13 #include "components/mus/public/cpp/window_tree_delegate.h" |
14 #include "components/mus/public/interfaces/window_tree_host.mojom.h" | 14 #include "components/mus/public/interfaces/window_tree_host.mojom.h" |
15 #include "components/test_runner/test_info_extractor.h" | 15 #include "components/test_runner/test_info_extractor.h" |
16 #include "components/web_view/public/cpp/web_view.h" | 16 #include "components/web_view/public/cpp/web_view.h" |
17 #include "components/web_view/public/interfaces/web_view.mojom.h" | 17 #include "components/web_view/public/interfaces/web_view.mojom.h" |
18 #include "components/web_view/test_runner/public/interfaces/layout_test_runner.m
ojom.h" | 18 #include "components/web_view/test_runner/public/interfaces/layout_test_runner.m
ojom.h" |
19 #include "mojo/application/public/cpp/application_delegate.h" | |
20 #include "mojo/application/public/cpp/interface_factory.h" | |
21 #include "mojo/common/weak_binding_set.h" | 19 #include "mojo/common/weak_binding_set.h" |
| 20 #include "mojo/shell/public/cpp/application_delegate.h" |
| 21 #include "mojo/shell/public/cpp/interface_factory.h" |
22 | 22 |
23 class GURL; | 23 class GURL; |
24 | 24 |
25 namespace web_view { | 25 namespace web_view { |
26 | 26 |
27 class TestRunnerApplicationDelegate | 27 class TestRunnerApplicationDelegate |
28 : public mojo::ApplicationDelegate, | 28 : public mojo::ApplicationDelegate, |
29 public mus::WindowTreeDelegate, | 29 public mus::WindowTreeDelegate, |
30 public mojom::WebViewClient, | 30 public mojom::WebViewClient, |
31 public LayoutTestRunner, | 31 public LayoutTestRunner, |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 scoped_ptr<test_runner::TestInfoExtractor> test_extractor_; | 77 scoped_ptr<test_runner::TestInfoExtractor> test_extractor_; |
78 | 78 |
79 mojo::WeakBindingSet<LayoutTestRunner> layout_test_runner_; | 79 mojo::WeakBindingSet<LayoutTestRunner> layout_test_runner_; |
80 | 80 |
81 DISALLOW_COPY_AND_ASSIGN(TestRunnerApplicationDelegate); | 81 DISALLOW_COPY_AND_ASSIGN(TestRunnerApplicationDelegate); |
82 }; | 82 }; |
83 | 83 |
84 } // namespace web_view | 84 } // namespace web_view |
85 | 85 |
86 #endif // COMPONENTS_WEB_VIEW__TEST_RUNNER_TEST_RUNNER_APPLICATION_DELEGATE_H_ | 86 #endif // COMPONENTS_WEB_VIEW__TEST_RUNNER_TEST_RUNNER_APPLICATION_DELEGATE_H_ |
OLD | NEW |