Skip to content
  • vollick@chromium.org's avatar
    [chromium] Use WebAnimation and related classes in GraphicsLayerChromium and AnimTranslationUtil · ccccac18
    vollick@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=90468
    
    Reviewed by James Robinson.
    
    Source/Platform:
    
    * Platform.gypi:
    * chromium/public/WebAnimation.h:
    (WebAnimation):
    (WebKit::WebAnimation::WebAnimation):
    * chromium/public/WebAnimationDelegate.h: Renamed from Source/WebCore/platform/graphics/chromium/cc/CCLayerAnimationDelegate.h.
    (WebKit):
    (WebAnimationDelegate):
    * chromium/public/WebLayer.h:
    (WebKit):
    (WebLayer):
    
    Source/WebCore:
    
    No new tests. No new functionality.
    
    * WebCore.gypi:
    * platform/graphics/chromium/AnimationTranslationUtil.cpp:
    (WebCore::appendKeyframe):
    (WebCore::WebTransformAnimationCurve):
    (WebCore::createWebAnimation):
    * platform/graphics/chromium/AnimationTranslationUtil.h:
    (WebKit):
    (WebCore):
    * platform/graphics/chromium/GraphicsLayerChromium.cpp:
    (WebCore::GraphicsLayerChromium::willBeDestroyed):
    (WebCore::GraphicsLayerChromium::addAnimation):
    (WebCore::GraphicsLayerChromium::pauseAnimation):
    (WebCore::GraphicsLayerChromium::removeAnimation):
    (WebCore::GraphicsLayerChromium::suspendAnimations):
    (WebCore::GraphicsLayerChromium::resumeAnimations):
    (WebCore::GraphicsLayerChromium::updateLayerPreserves3D):
    * platform/graphics/chromium/GraphicsLayerChromium.h:
    (GraphicsLayerChromium):
    * platform/graphics/chromium/LayerChromium.cpp:
    * platform/graphics/chromium/LayerChromium.h:
    (WebKit):
    (WebCore):
    (WebCore::LayerChromium::setLayerAnimationDelegate):
    (LayerChromium):
    * platform/graphics/chromium/LinkHighlight.h:
    (LinkHighlight):
    
    Source/WebKit/chromium:
    
    * src/WebAnimation.cpp:
    (WebKit::WebAnimation::targetProperty):
    (WebKit):
    (WebKit::WebAnimation::initialize):
    * src/WebLayer.cpp:
    (WebKit::WebLayer::setAnimationDelegate):
    (WebKit):
    (WebKit::WebLayer::addAnimation):
    (WebKit::WebLayer::removeAnimation):
    (WebKit::WebLayer::pauseAnimation):
    (WebKit::WebLayer::suspendAnimations):
    (WebKit::WebLayer::resumeAnimations):
    (WebKit::WebLayer::transferAnimationsTo):
    * tests/CCThreadedTest.cpp:
    * tests/CCThreadedTest.h:
    (TestHooks):
    * tests/WebAnimationTest.cpp:
    (WebKit::TEST):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124239 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    ccccac18