Skip to content
  • commit-queue@webkit.org's avatar
    Renamed DeviceOrientation to DeviceOrientationData · 4082f960
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=88663
    
    Patch by Amy Ousterhout <aousterh@chromium.org> on 2012-06-22
    Reviewed by Steve Block.
    
    Source/WebCore:
    
    No new tests because this is simply a name change.
    
    Renamed DeviceOrientation to DeviceOrientationData in order to be consistent with DeviceMotionData.
    Updated all files that use DeviceOrientation.
    
    * CMakeLists.txt:
    * GNUmakefile.list.am:
    * Target.pri:
    * WebCore.exp.in:
    * WebCore.gypi:
    * WebCore.vcproj/WebCore.vcproj:
    * WebCore.xcodeproj/project.pbxproj:
    * bindings/js/JSDeviceOrientationEventCustom.cpp:
    (WebCore::JSDeviceOrientationEvent::initDeviceOrientationEvent):
    * bindings/v8/custom/V8DeviceOrientationEventCustom.cpp:
    (WebCore::V8DeviceOrientationEvent::initDeviceOrientationEventCallback):
    * dom/DOMAllInOne.cpp:
    * dom/DeviceOrientationClient.h:
    (WebCore):
    (DeviceOrientationClient):
    * dom/DeviceOrientationController.cpp:
    (WebCore::DeviceOrientationController::timerFired):
    (WebCore::DeviceOrientationController::didChangeDeviceOrientation):
    * dom/DeviceOrientationController.h:
    (WebCore):
    (DeviceOrientationController):
    * dom/DeviceOrientationData.cpp: Renamed from Source/WebCore/dom/DeviceOrientation.cpp.
    (WebCore):
    (WebCore::DeviceOrientationData::create):
    (WebCore::DeviceOrientationData::DeviceOrientationData):
    (WebCore::DeviceOrientationData::alpha):
    (WebCore::DeviceOrientationData::beta):
    (WebCore::DeviceOrientationData::gamma):
    (WebCore::DeviceOrientationData::absolute):
    (WebCore::DeviceOrientationData::canProvideAlpha):
    (WebCore::DeviceOrientationData::canProvideBeta):
    (WebCore::DeviceOrientationData::canProvideGamma):
    (WebCore::DeviceOrientationData::canProvideAbsolute):
    * dom/DeviceOrientationData.h: Renamed from Source/WebCore/dom/DeviceOrientation.h.
    (WebCore):
    (DeviceOrientationData):
    * dom/DeviceOrientationEvent.cpp:
    (WebCore::DeviceOrientationEvent::DeviceOrientationEvent):
    (WebCore::DeviceOrientationEvent::initDeviceOrientationEvent):
    * dom/DeviceOrientationEvent.h:
    (WebCore):
    (WebCore::DeviceOrientationEvent::create):
    (DeviceOrientationEvent):
    (WebCore::DeviceOrientationEvent::orientation):
    * loader/EmptyClients.h:
    (WebCore::EmptyDeviceOrientationClient::lastOrientation):
    * platform/mock/DeviceOrientationClientMock.cpp:
    (WebCore::DeviceOrientationClientMock::setOrientation):
    * platform/mock/DeviceOrientationClientMock.h:
    (WebCore::DeviceOrientationClientMock::lastOrientation):
    (DeviceOrientationClientMock):
    * platform/qt/DeviceOrientationClientQt.cpp:
    (DeviceOrientationClientQt):
    * platform/qt/DeviceOrientationClientQt.h:
    (DeviceOrientationClientQt):
    * platform/qt/DeviceOrientationProviderQt.h:
    (DeviceOrientationProviderQt):
    
    Source/WebKit/blackberry:
    
    Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
    This change makes DeviceOrientationData consistent with DeviceMotionData.
    
    * WebCoreSupport/DeviceOrientationClientBlackBerry.h:
    (DeviceOrientationClientBlackBerry):
    
    Source/WebKit/chromium:
    
    Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
    This change makes DeviceOrientationData consistent with DeviceMotionData.
    
    * public/WebDeviceOrientation.h:
    (WebDeviceOrientation):
    * src/DeviceOrientationClientProxy.cpp:
    (WebKit::DeviceOrientationClientProxy::lastOrientation):
    * src/DeviceOrientationClientProxy.h:
    (DeviceOrientationClientProxy):
    * src/WebDeviceOrientation.cpp:
    (WebKit::WebDeviceOrientation::WebDeviceOrientation):
    (WebKit::WebDeviceOrientation::operator=):
    (WebKit::WebDeviceOrientation::operator PassRefPtr<WebCore::DeviceOrientationData>):
    * src/WebDeviceOrientationController.cpp:
    (WebKit::WebDeviceOrientationController::didChangeDeviceOrientation):
    
    Source/WebKit/efl:
    
    Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
    This change makes DeviceOrientationData consistent with DeviceMotionData.
    
    * WebCoreSupport/DeviceOrientationClientEfl.h:
    (DeviceOrientationClientEfl):
    
    Source/WebKit/gtk:
    
    Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
    This change makes DeviceOrientationData consistent with DeviceMotionData.
    
    * WebCoreSupport/DeviceOrientationClientGtk.h:
    (DeviceOrientationClientGtk):
    
    Source/WebKit/mac:
    
    Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
    This change makes DeviceOrientationData consistent with DeviceMotionData.
    * WebCoreSupport/WebDeviceOrientationClient.h:
    (WebDeviceOrientationClient):
    * WebCoreSupport/WebDeviceOrientationClient.mm:
    (WebDeviceOrientationClient::lastOrientation):
    * WebView/WebDeviceOrientation.mm:
    * WebView/WebDeviceOrientationInternal.h:
    
    Source/WebKit/qt:
    
    Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
    This change makes DeviceOrientationData consistent with DeviceMotionData.
    
    * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
    (DumpRenderTreeSupportQt::setMockDeviceOrientation):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121016 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    4082f960