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

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

Issue 1931833003: Moving TestRunnerForSpecificView into a separate compilation unit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 4 years, 7 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_proxy.cc ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_view_test_client.h" 5 #include "components/test_runner/web_view_test_client.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/i18n/rtl.h" 9 #include "base/i18n/rtl.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "components/test_runner/event_sender.h" 13 #include "components/test_runner/event_sender.h"
14 #include "components/test_runner/mock_web_speech_recognizer.h" 14 #include "components/test_runner/mock_web_speech_recognizer.h"
15 #include "components/test_runner/test_common.h" 15 #include "components/test_runner/test_common.h"
16 #include "components/test_runner/test_runner.h" 16 #include "components/test_runner/test_runner.h"
17 #include "components/test_runner/test_runner_for_specific_view.h"
17 #include "components/test_runner/web_task.h" 18 #include "components/test_runner/web_task.h"
18 #include "components/test_runner/web_test_delegate.h" 19 #include "components/test_runner/web_test_delegate.h"
19 #include "components/test_runner/web_test_proxy.h" 20 #include "components/test_runner/web_test_proxy.h"
20 #include "third_party/WebKit/public/platform/WebURLRequest.h" 21 #include "third_party/WebKit/public/platform/WebURLRequest.h"
21 #include "third_party/WebKit/public/web/WebFrame.h" 22 #include "third_party/WebKit/public/web/WebFrame.h"
22 #include "third_party/WebKit/public/web/WebLocalFrame.h" 23 #include "third_party/WebKit/public/web/WebLocalFrame.h"
23 #include "third_party/WebKit/public/web/WebPagePopup.h" 24 #include "third_party/WebKit/public/web/WebPagePopup.h"
24 #include "third_party/WebKit/public/web/WebPrintParams.h" 25 #include "third_party/WebKit/public/web/WebPrintParams.h"
25 #include "third_party/WebKit/public/web/WebView.h" 26 #include "third_party/WebKit/public/web/WebView.h"
26 #include "third_party/WebKit/public/web/WebWidget.h" 27 #include "third_party/WebKit/public/web/WebWidget.h"
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 209
209 blink::WebString WebViewTestClient::acceptLanguages() { 210 blink::WebString WebViewTestClient::acceptLanguages() {
210 return blink::WebString::fromUTF8(test_runner_->GetAcceptLanguages()); 211 return blink::WebString::fromUTF8(test_runner_->GetAcceptLanguages());
211 } 212 }
212 213
213 WebTestDelegate* WebViewTestClient::delegate() { 214 WebTestDelegate* WebViewTestClient::delegate() {
214 return web_test_proxy_base_->delegate(); 215 return web_test_proxy_base_->delegate();
215 } 216 }
216 217
217 } // namespace test_runner 218 } // namespace test_runner
OLDNEW
« no previous file with comments | « components/test_runner/web_test_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698