-
hans@chromium.org authored
Reviewed by Jeremy Orlow. Hook up LayoutTestController.setMockDeviceOrientation() in Chromium DumpRenderTree. https://bugs.webkit.org/show_bug.cgi?id=45460 This enables DumpRenderTree to run layout tests for DeviceOrientation. Also declare the LayoutTestController destructor out-of-line. Otherwise the implicit destructor would cause compiler errors because of the OwnPtr<WebKit::WebDeviceOrientationClientMock> member. * DumpRenderTree/chromium/LayoutTestController.cpp: (LayoutTestController::~LayoutTestController): (LayoutTestController::setMockDeviceOrientation): (LayoutTestController::deviceOrientationClient): * DumpRenderTree/chromium/LayoutTestController.h: * DumpRenderTree/chromium/WebViewHost.cpp: (WebViewHost::deviceOrientationClient): * DumpRenderTree/chromium/WebViewHost.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67177 268f45cc-cd09-0410-ab3c-d52691b4dbfc
5f871096