Skip to content
  • steveblock@google.com's avatar
    2010-07-29 Steve Block <steveblock@google.com> · 47068b30
    steveblock@google.com authored
            Reviewed by Jeremy Orlow.
    
            Add LayoutTestController methods to test DeviceOrientation
            https://bugs.webkit.org/show_bug.cgi?id=39589
    
            * fast/dom/DeviceOrientation/basic-operation-expected.txt: Added.
            * fast/dom/DeviceOrientation/basic-operation.html: Added.
            * fast/dom/DeviceOrientation/script-tests/basic-operation.js: Added.
            * platform/gtk/Skipped:
    2010-07-29  Steve Block  <steveblock@google.com>
    
            Reviewed by Jeremy Orlow.
    
            Add LayoutTestController methods to test DeviceOrientation
            https://bugs.webkit.org/show_bug.cgi?id=39589
    
            This patch does not hook up the new LayoutTestController method to WebKit
            for any platform. This will be done in later patches.
            https://bugs.webkit.org/show_bug.cgi?id=43181 tracks this for Mac.
    
            Test: fast/dom/DeviceOrientation/basic-operation.html
    
            * WebCore/WebCore.exp.in:
            * WebCore.xcodeproj/project.pbxproj:
            * dom/DeviceOrientationClient.h:
            (WebCore::DeviceOrientationClient::~DeviceOrientationClient):
            * dom/DeviceOrientationController.cpp:
            (WebCore::DeviceOrientationController::DeviceOrientationController):
            * dom/DeviceOrientationEvent.cpp:
            * platform/mock/DeviceOrientationClientMock.cpp: Added.
            (WebCore::DeviceOrientationClientMock::DeviceOrientationClientMock):
            (WebCore::DeviceOrientationClientMock::setController):
            (WebCore::DeviceOrientationClientMock::startUpdating):
            (WebCore::DeviceOrientationClientMock::stopUpdating):
            (WebCore::DeviceOrientationClientMock::setOrientation):
            (WebCore::DeviceOrientationClientMock::timerFired):
            * platform/mock/DeviceOrientationClientMock.h: Added.
            (WebCore::DeviceOrientationClientMock::lastOrientation):
    2010-07-29  Steve Block  <steveblock@google.com>
    
            Reviewed by Jeremy Orlow.
    
            Add LayoutTestController methods to test DeviceOrientation
            https://bugs.webkit.org/show_bug.cgi?id=39589
    
            * DumpRenderTree/LayoutTestController.cpp:
            (setMockDeviceOrientationCallback):
            (LayoutTestController::staticFunctions):
            * DumpRenderTree/LayoutTestController.h:
            * DumpRenderTree/chromium/LayoutTestController.cpp:
            * DumpRenderTree/chromium/LayoutTestController.h:
            * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
            (LayoutTestController::setMockDeviceOrientation):
            * DumpRenderTree/mac/LayoutTestControllerMac.mm:
            (LayoutTestController::setMockDeviceOrientation):
            * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
            (LayoutTestController::setMockDeviceOrientation):
            * DumpRenderTree/qt/LayoutTestControllerQt.h:
            * DumpRenderTree/win/LayoutTestControllerWin.cpp:
            (LayoutTestController::setMockDeviceOrientation):
            * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
            (LayoutTestController::setMockDeviceOrientation):
            * Scripts/build-webkit:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    47068b30