[Qt] DeviceOrientationClientMockQt should be removed in favor of DeviceOrientationCli...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Dec 2011 09:57:26 +0000 (09:57 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Dec 2011 09:57:26 +0000 (09:57 +0000)
commitac0396f3385f6f099aa0140d84d5acb1a6db0d3b
treef20a7275f4aee2eeff5e2188aa979f25da5ba2be
parent28700c84a5636a50d10005672eb423aebeb0dbe8
[Qt] DeviceOrientationClientMockQt should be removed in favor of DeviceOrientationClientMock
https://bugs.webkit.org/show_bug.cgi?id=74417

Patch by Alexander Færøy <alexander.faeroy@nokia.com> on 2011-12-14
Reviewed by Simon Hausmann.

Based on original patch by Kenneth Christiansen.

.:

* Source/api.pri:

Source/WebCore:

Already covered by current tests.

* dom/DeviceOrientationController.h:
(WebCore::DeviceOrientationController::client):

Source/WebKit/qt:

Already covered by current tests.

* Api/qwebpage.cpp:
(QWebPagePrivate::QWebPagePrivate):
* WebCoreSupport/DeviceMotionProviderQt.cpp:
(WebCore::DeviceMotionProviderQt::DeviceMotionProviderQt):
(WebCore::DeviceMotionProviderQt::filter):
* WebCoreSupport/DeviceMotionProviderQt.h:
* WebCoreSupport/DeviceOrientationClientMockQt.cpp: Removed.
* WebCoreSupport/DeviceOrientationClientMockQt.h: Removed.
* WebCoreSupport/DeviceOrientationClientQt.cpp:
(WebCore::DeviceOrientationClientQt::DeviceOrientationClientQt):
(WebCore::DeviceOrientationClientQt::~DeviceOrientationClientQt):
(WebCore::DeviceOrientationClientQt::lastOrientation):
* WebCoreSupport/DeviceOrientationClientQt.h:
* WebCoreSupport/DeviceOrientationProviderQt.cpp:
(WebCore::DeviceOrientationProviderQt::DeviceOrientationProviderQt):
(WebCore::DeviceOrientationProviderQt::setController):
(WebCore::DeviceOrientationProviderQt::start):
(WebCore::DeviceOrientationProviderQt::stop):
(WebCore::DeviceOrientationProviderQt::filter):
* WebCoreSupport/DeviceOrientationProviderQt.h:
(WebCore::DeviceOrientationProviderQt::isActive):
(WebCore::DeviceOrientationProviderQt::lastOrientation):
(WebCore::DeviceOrientationProviderQt::hasAlpha):
* WebCoreSupport/DumpRenderTreeSupportQt.cpp:
(toDeviceOrientationClientMock):
(DumpRenderTreeSupportQt::setMockDeviceOrientation):
* WebCoreSupport/DumpRenderTreeSupportQt.h:

Tools:

Already covered by current tests.

* DumpRenderTree/qt/DumpRenderTreeQt.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::~DumpRenderTree):
* DumpRenderTree/qt/LayoutTestControllerQt.cpp:
(LayoutTestController::setMockDeviceOrientation):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102755 268f45cc-cd09-0410-ab3c-d52691b4dbfc
19 files changed:
ChangeLog
Source/WebCore/ChangeLog
Source/WebCore/dom/DeviceOrientationController.h
Source/WebKit/qt/Api/qwebpage.cpp
Source/WebKit/qt/ChangeLog
Source/WebKit/qt/WebCoreSupport/DeviceMotionProviderQt.cpp
Source/WebKit/qt/WebCoreSupport/DeviceMotionProviderQt.h
Source/WebKit/qt/WebCoreSupport/DeviceOrientationClientMockQt.cpp [deleted file]
Source/WebKit/qt/WebCoreSupport/DeviceOrientationClientMockQt.h [deleted file]
Source/WebKit/qt/WebCoreSupport/DeviceOrientationClientQt.cpp
Source/WebKit/qt/WebCoreSupport/DeviceOrientationClientQt.h
Source/WebKit/qt/WebCoreSupport/DeviceOrientationProviderQt.cpp
Source/WebKit/qt/WebCoreSupport/DeviceOrientationProviderQt.h
Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp
Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.h
Source/api.pri
Tools/ChangeLog
Tools/DumpRenderTree/qt/DumpRenderTreeQt.cpp
Tools/DumpRenderTree/qt/LayoutTestControllerQt.cpp