-
mjs@apple.com authored
Reviewed by Dan Bernstein. Implement animation-related methods for WebKitTestRunner https://bugs.webkit.org/show_bug.cgi?id=42053 * WebCore.exp.in: Export Document::getElementById for WebKit2's benefit. 2010-07-11 Maciej Stachowiak <mjs@apple.com> Reviewed by Dan Bernstein. Implement animation-related methods for WebKitTestRunner https://bugs.webkit.org/show_bug.cgi?id=42053 Implemented numberOfActiveAnimatiosn and pauseAnimationAtTimeOnElementWithId. Many animation tests were hanging otherwise. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp: (WTR::LayoutTestController::numberOfActiveAnimations): (WTR::LayoutTestController::pauseAnimationAtTimeOnElementWithId): (WTR::numberOfActiveAnimationsCallback): (WTR::pauseAnimationAtTimeOnElementWithIdCallback): (WTR::LayoutTestController::staticFunctions): * WebKitTestRunner/InjectedBundle/LayoutTestController.h: 2010-07-11 Maciej Stachowiak <mjs@apple.com> Reviewed by Dan Bernstein. Implement animation-related methods for WebKitTestRunner https://bugs.webkit.org/show_bug.cgi?id=42053 Implemented some helpers for WebKitTestRunner; * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp: (WKBundleFrameGetNumberOfActiveAnimations): (WKBundleFramePauseAnimationOnElementWithId): * WebProcess/InjectedBundle/API/c/WKBundleFrame.h: * WebProcess/WebPage/WebFrame.cpp: (WebKit::WebFrame::numberOfActiveAnimations): (WebKit::WebFrame::pauseAnimationOnElementWithId): * WebProcess/WebPage/WebFrame.h: * mac/WebKit2.exp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63063 268f45cc-cd09-0410-ab3c-d52691b4dbfc
5c2308c3