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 "components/test_runner/web_test_interfaces.h" | 5 #include "components/test_runner/web_test_interfaces.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "components/test_runner/app_banner_client.h" | 9 #include "components/test_runner/app_banner_client.h" |
10 #include "components/test_runner/event_sender.h" | 10 #include "components/test_runner/event_sender.h" |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 scoped_ptr<WebFrameTestClient> WebTestInterfaces::CreateWebFrameTestClient() { | 98 scoped_ptr<WebFrameTestClient> WebTestInterfaces::CreateWebFrameTestClient() { |
99 return make_scoped_ptr(new WebFrameTestClient( | 99 return make_scoped_ptr(new WebFrameTestClient( |
100 interfaces_->GetTestRunner(), | 100 interfaces_->GetTestRunner(), |
101 interfaces_->GetDelegate(), | 101 interfaces_->GetDelegate(), |
102 interfaces_->GetAccessibilityController(), | 102 interfaces_->GetAccessibilityController(), |
103 interfaces_->GetEventSender())); | 103 interfaces_->GetEventSender())); |
104 } | 104 } |
105 | 105 |
106 scoped_ptr<WebViewTestClient> WebTestInterfaces::CreateWebViewTestClient( | 106 scoped_ptr<WebViewTestClient> WebTestInterfaces::CreateWebViewTestClient( |
107 WebTestProxyBase* web_test_proxy_base) { | 107 WebTestProxyBase* web_test_proxy_base) { |
108 return make_scoped_ptr(new WebViewTestClient( | 108 return make_scoped_ptr(new WebViewTestClient(interfaces_->GetTestRunner(), |
109 interfaces_->GetTestRunner(), interfaces_->GetDelegate(), | 109 interfaces_->GetEventSender(), |
110 interfaces_->GetEventSender(), web_test_proxy_base)); | 110 web_test_proxy_base)); |
111 } | 111 } |
112 | 112 |
113 } // namespace test_runner | 113 } // namespace test_runner |
OLD | NEW |