Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(785)

Side by Side Diff: components/test_runner/web_test_interfaces.cc

Issue 1857043002: Remove unused functions under components/test_runner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/test_runner/web_test_interfaces.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 return new MockWebAudioDevice(sample_rate); 88 return new MockWebAudioDevice(sample_rate);
89 } 89 }
90 90
91 scoped_ptr<blink::WebAppBannerClient> 91 scoped_ptr<blink::WebAppBannerClient>
92 WebTestInterfaces::CreateAppBannerClient() { 92 WebTestInterfaces::CreateAppBannerClient() {
93 scoped_ptr<AppBannerClient> client(new AppBannerClient); 93 scoped_ptr<AppBannerClient> client(new AppBannerClient);
94 interfaces_->SetAppBannerClient(client.get()); 94 interfaces_->SetAppBannerClient(client.get());
95 return std::move(client); 95 return std::move(client);
96 } 96 }
97 97
98 AppBannerClient* WebTestInterfaces::GetAppBannerClient() {
99 return interfaces_->GetAppBannerClient();
100 }
101
102 scoped_ptr<WebFrameTestClient> WebTestInterfaces::CreateWebFrameTestClient() { 98 scoped_ptr<WebFrameTestClient> WebTestInterfaces::CreateWebFrameTestClient() {
103 return make_scoped_ptr(new WebFrameTestClient( 99 return make_scoped_ptr(new WebFrameTestClient(
104 interfaces_->GetTestRunner(), 100 interfaces_->GetTestRunner(),
105 interfaces_->GetDelegate(), 101 interfaces_->GetDelegate(),
106 interfaces_->GetAccessibilityController(), 102 interfaces_->GetAccessibilityController(),
107 interfaces_->GetEventSender())); 103 interfaces_->GetEventSender()));
108 } 104 }
109 105
110 scoped_ptr<WebViewTestClient> WebTestInterfaces::CreateWebViewTestClient( 106 scoped_ptr<WebViewTestClient> WebTestInterfaces::CreateWebViewTestClient(
111 WebTestProxyBase* web_test_proxy_base) { 107 WebTestProxyBase* web_test_proxy_base) {
112 return make_scoped_ptr(new WebViewTestClient( 108 return make_scoped_ptr(new WebViewTestClient(
113 interfaces_->GetTestRunner(), interfaces_->GetDelegate(), 109 interfaces_->GetTestRunner(), interfaces_->GetDelegate(),
114 interfaces_->GetEventSender(), web_test_proxy_base)); 110 interfaces_->GetEventSender(), web_test_proxy_base));
115 } 111 }
116 112
117 } // namespace test_runner 113 } // namespace test_runner
OLDNEW
« no previous file with comments | « components/test_runner/web_test_interfaces.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698