| OLD | NEW | 
|   1 /* |   1 /* | 
|   2  * Copyright (C) 2013 Google Inc. All rights reserved. |   2  * Copyright (C) 2013 Google Inc. All rights reserved. | 
|   3  * |   3  * | 
|   4  * Redistribution and use in source and binary forms, with or without |   4  * Redistribution and use in source and binary forms, with or without | 
|   5  * modification, are permitted provided that the following conditions are |   5  * modification, are permitted provided that the following conditions are | 
|   6  * met: |   6  * met: | 
|   7  * |   7  * | 
|   8  *     * Redistributions of source code must retain the above copyright |   8  *     * Redistributions of source code must retain the above copyright | 
|   9  * notice, this list of conditions and the following disclaimer. |   9  * notice, this list of conditions and the following disclaimer. | 
|  10  *     * Redistributions in binary form must reproduce the above |  10  *     * Redistributions in binary form must reproduce the above | 
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  53     static bool isCompositableProperty(CSSPropertyID); |  53     static bool isCompositableProperty(CSSPropertyID); | 
|  54     static const CSSPropertyID compositableProperties[7]; |  54     static const CSSPropertyID compositableProperties[7]; | 
|  55  |  55  | 
|  56     virtual bool isCandidateForAnimationOnCompositor(const Timing&, const Elemen
    t&, const Animation*, const EffectModel&, double animationPlaybackRate); |  56     virtual bool isCandidateForAnimationOnCompositor(const Timing&, const Elemen
    t&, const Animation*, const EffectModel&, double animationPlaybackRate); | 
|  57     virtual void cancelIncompatibleAnimationsOnCompositor(const Element&, const 
    Animation&, const EffectModel&); |  57     virtual void cancelIncompatibleAnimationsOnCompositor(const Element&, const 
    Animation&, const EffectModel&); | 
|  58     virtual bool canStartAnimationOnCompositor(const Element&); |  58     virtual bool canStartAnimationOnCompositor(const Element&); | 
|  59     // FIXME: This should return void. We should know ahead of time whether thes
    e animations can be started. |  59     // FIXME: This should return void. We should know ahead of time whether thes
    e animations can be started. | 
|  60     virtual bool startAnimationOnCompositor(const Element&, int group, double st
    artTime, double timeOffset, const Timing&, const Animation&, const EffectModel&,
     Vector<int>& startedAnimationIds, double animationPlaybackRate); |  60     virtual bool startAnimationOnCompositor(const Element&, int group, double st
    artTime, double timeOffset, const Timing&, const Animation&, const EffectModel&,
     Vector<int>& startedAnimationIds, double animationPlaybackRate); | 
|  61     virtual void cancelAnimationOnCompositor(const Element&, const Animation&, i
    nt id); |  61     virtual void cancelAnimationOnCompositor(const Element&, const Animation&, i
    nt id); | 
|  62     virtual void pauseAnimationForTestingOnCompositor(const Element&, const Anim
    ation&, int id, double pauseTime); |  62     virtual void pauseAnimationForTestingOnCompositor(const Element&, const Anim
    ation&, int id, double pauseTime); | 
|  63  |  | 
|  64     virtual bool canAttachCompositedLayers(const Element&, const Animation&); |  | 
|  65     virtual void attachCompositedLayers(const Element&, const Animation&); |  | 
|  66  |  | 
|  67     virtual bool getAnimatedBoundingBox(FloatBox&, const EffectModel&, double mi
    nValue, double maxValue) const; |  63     virtual bool getAnimatedBoundingBox(FloatBox&, const EffectModel&, double mi
    nValue, double maxValue) const; | 
|  68  |  64  | 
|  69 protected: |  65 protected: | 
|  70     CompositorAnimations(); |  66     CompositorAnimations(); | 
|  71  |  67  | 
|  72 private: |  68 private: | 
|  73     static CompositorAnimations* instance(CompositorAnimations* newInstance); |  69     static CompositorAnimations* instance(CompositorAnimations* newInstance); | 
|  74 }; |  70 }; | 
|  75  |  71  | 
|  76 } // namespace blink |  72 } // namespace blink | 
|  77  |  73  | 
|  78 #endif |  74 #endif | 
| OLD | NEW |