-
cmarrin@apple.com authored
Reviewed by Simon Fraser. Move resumeAnimations/suspendAnimations from Frame to AnimationController. https://bugs.webkit.org/show_bug.cgi?id=49073 * src/WebAnimationControllerImpl.cpp: (WebKit::WebAnimationControllerImpl::suspendAnimations): (WebKit::WebAnimationControllerImpl::resumeAnimations): 2010-11-05 Chris Marrin <cmarrin@apple.com> Reviewed by Simon Fraser. Move resumeAnimations/suspendAnimations from Frame to AnimationController. https://bugs.webkit.org/show_bug.cgi?id=49073 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: (DumpRenderTreeSupportQt::suspendAnimations): (DumpRenderTreeSupportQt::resumeAnimations): 2010-11-05 Chris Marrin <cmarrin@apple.com> Reviewed by Simon Fraser. Move resumeAnimations/suspendAnimations from Frame to AnimationController. https://bugs.webkit.org/show_bug.cgi?id=49073 * webkit/webkitwebframe.cpp: (webkit_web_frame_suspend_animations): (webkit_web_frame_resume_animations): 2010-11-05 Chris Marrin <cmarrin@apple.com> Reviewed by Simon Fraser. Move resumeAnimations/suspendAnimations from Frame to AnimationController. https://bugs.webkit.org/show_bug.cgi?id=49073 * WebFrame.cpp: (WebFrame::suspendAnimations): (WebFrame::resumeAnimations): 2010-11-05 Chris Marrin <cmarrin@apple.com> Reviewed by Simon Fraser. Move resumeAnimations/suspendAnimations from Frame to AnimationController. https://bugs.webkit.org/show_bug.cgi?id=49073 * WebView/WebFrame.mm: (-[WebFrame _suspendAnimations]): (-[WebFrame _resumeAnimations]): 2010-11-05 Chris Marrin <cmarrin@apple.com> Reviewed by Simon Fraser. Move resumeAnimations/suspendAnimations from Frame to AnimationController. https://bugs.webkit.org/show_bug.cgi?id=49073 Changed the name of suspendAnimations/resumeAnimations to suspendAnimationsInDocument/resumeAnimationsInDocument. These are no longer exported, but have the same functionality as before. I then added new suspendAnimations/resumeAnimations function which take no params and suspend/resume on the frame owning the animation controller and all its child frames. These are the functions that are now exported. I then changed all the platform specific WebKit code to use these functions. * WebCore.exp.in: * page/Frame.cpp: * page/Frame.h: * page/animation/AnimationController.cpp: (WebCore::AnimationControllerPrivate::suspendAnimations): (WebCore::AnimationControllerPrivate::resumeAnimations): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71451 268f45cc-cd09-0410-ab3c-d52691b4dbfc
e6a27001