diff options
author | ch.dumez@samsung.com <ch.dumez@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-27 02:28:08 +0000 |
---|---|---|
committer | ch.dumez@samsung.com <ch.dumez@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-27 02:28:08 +0000 |
commit | a2ca00340b5ea7091a7e1052bbd686410f7f2bc8 (patch) | |
tree | 9bcadbe04ccbd26ccce58cbff2db78ab8389a132 /content/test/layouttest_support.cc | |
parent | 36659e01e7b446ddd2a9bc43dd1ca568929f85b2 (diff) | |
download | chromium_src-a2ca00340b5ea7091a7e1052bbd686410f7f2bc8.zip chromium_src-a2ca00340b5ea7091a7e1052bbd686410f7f2bc8.tar.gz chromium_src-a2ca00340b5ea7091a7e1052bbd686410f7f2bc8.tar.bz2 |
Move MockScreenOrientationController to content/shell/renderer/test_runner/
Move MockScreenOrientationController to content/shell/renderer/test_runner/ and
have it implement the blink::WebScreenOrientationClient API so that locking /
unlocking works from layout tests.
R=mlamouri@chromium.org, jochen@chromium.org
Review URL: https://codereview.chromium.org/339913002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280209 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/test/layouttest_support.cc')
-rw-r--r-- | content/test/layouttest_support.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc index 7e87254..bbb57ad 100644 --- a/content/test/layouttest_support.cc +++ b/content/test/layouttest_support.cc @@ -95,18 +95,6 @@ void SetMockDeviceOrientationData(const WebDeviceOrientationData& data) { SetMockDeviceOrientationDataForTesting(data); } -void SetMockScreenOrientation( - RenderView* render_view, - const blink::WebScreenOrientationType& orientation) { - RendererWebKitPlatformSupportImpl:: - SetMockScreenOrientationForTesting(render_view, orientation); -} - -void ResetMockScreenOrientation() -{ - RendererWebKitPlatformSupportImpl::ResetMockScreenOrientationForTesting(); -} - void MockBatteryStatusChanged(const WebBatteryStatus& status) { RendererWebKitPlatformSupportImpl::MockBatteryStatusChangedForTesting(status); } |