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

Unified Diff: components/test_runner/web_test_proxy.cc

Issue 1935593004: Extract WebWidgetTestClient out of WebTestProxyBase and WebViewTestClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@test-runner-for-specific-view-separate
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/test_runner/web_test_proxy.h ('k') | components/test_runner/web_view_test_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/web_test_proxy.cc
diff --git a/components/test_runner/web_test_proxy.cc b/components/test_runner/web_test_proxy.cc
index 6e816d10c9fa3acaa9c3915511a366aa624b613a..8e4ad2046c503a1c514cf0f1b798c08c72cef7e5 100644
--- a/components/test_runner/web_test_proxy.cc
+++ b/components/test_runner/web_test_proxy.cc
@@ -56,15 +56,4 @@ void WebTestProxyBase::BindTo(blink::WebLocalFrame* frame) {
view_test_runner_->Install(frame);
}
-void WebTestProxyBase::GetScreenOrientationForTesting(
- blink::WebScreenInfo& screen_info) {
- MockScreenOrientationClient* mock_client =
- test_interfaces_->GetTestRunner()->getMockScreenOrientationClient();
- if (mock_client->IsDisabled())
- return;
- // Override screen orientation information with mock data.
- screen_info.orientationType = mock_client->CurrentOrientationType();
- screen_info.orientationAngle = mock_client->CurrentOrientationAngle();
-}
-
} // namespace test_runner
« no previous file with comments | « components/test_runner/web_test_proxy.h ('k') | components/test_runner/web_view_test_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698