• benjamin@webkit.org's avatar
    Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from... · 99308baf
    benjamin@webkit.org authored
    Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
    https://bugs.webkit.org/show_bug.cgi?id=108741
    
    Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-02-04
    Reviewed by Tony Chang.
    
    .: 
    
    * Source/autotools/symbols.filter:
    
    Source/WebCore: 
    
    Move suspendAnimations and resumeAnimations to group all the animation related
    code together.
    
    Add support for numberOfActiveAnimations, similarily to the feature previously defined
    in TestRunner.
    
    * testing/Internals.cpp:
    (WebCore::Internals::numberOfActiveAnimations):
    (WebCore):
    (WebCore::Internals::suspendAnimations):
    (WebCore::Internals::resumeAnimations):
    * testing/Internals.h:
    (Internals):
    * testing/Internals.idl:
    
    Source/WebKit/efl: 
    
    * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
    * WebCoreSupport/DumpRenderTreeSupportEfl.h:
    
    Source/WebKit/gtk: 
    
    * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
    * WebCoreSupport/DumpRenderTreeSupportGtk.h:
    (DumpRenderTreeSupportGtk):
    
    Source/WebKit/mac: 
    
    * WebView/WebFrame.mm:
    * WebView/WebFramePrivate.h:
    
    Source/WebKit/qt: 
    
    * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
    * WebCoreSupport/DumpRenderTreeSupportQt.h:
    
    Source/WebKit/win: 
    
    * WebKit.vcproj/WebKitExports.def.in:
    
    Source/WebKit2: 
    
    Suspending and resuming application has been useless for a one. Someone just
    "forgot" WebKit2.
    
    * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
    * WebProcess/InjectedBundle/API/c/WKBundleFramePrivate.h:
    * WebProcess/WebPage/WebFrame.cpp:
    * WebProcess/WebPage/WebFrame.h:
    (WebFrame):
    
    Tools: 
    
    Remove all support for suspendAnimation(), resumeAnimation() and numberOfActiveAnimations().
    
    * DumpRenderTree/TestRunner.cpp:
    (TestRunner::staticFunctions):
    * DumpRenderTree/TestRunner.h:
    (TestRunner):
    * DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp:
    * DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp:
    (WebTestRunner::TestRunner::TestRunner):
    * DumpRenderTree/chromium/TestRunner/src/TestRunner.h:
    (TestRunner):
    * DumpRenderTree/efl/TestRunnerEfl.cpp:
    * DumpRenderTree/gtk/TestRunnerGtk.cpp:
    * DumpRenderTree/mac/TestRunnerMac.mm:
    * DumpRenderTree/qt/TestRunnerQt.cpp:
    * DumpRenderTree/qt/TestRunnerQt.h:
    (TestRunner):
    * DumpRenderTree/win/TestRunnerWin.cpp:
    * DumpRenderTree/wx/TestRunnerWx.cpp:
    * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
    * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
    * WebKitTestRunner/InjectedBundle/TestRunner.h:
    (TestRunner):
    
    LayoutTests: 
    
    Update the tests to use WebCore Internals instead of the TestRunner.
    
    * animations/animation-controller-drt-api.html:
    * transitions/hang-with-bad-transition-list.html:
    * transitions/remove-transition-style.html:
    * transitions/repeated-firing-background-color.html:
    * transitions/zero-duration-with-non-zero-delay-end.html:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141849 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    99308baf
animation-controller-drt-api.html 2.48 KB