| Index: third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.h
|
| diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.h b/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.h
|
| index 619c68c5727c605d6aebfd32c34312cb5ab4c9d2..3b90e94370d516317070154217cfd2516877da03 100644
|
| --- a/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.h
|
| +++ b/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.h
|
| @@ -24,6 +24,8 @@ class CORE_EXPORT KeyframeEffectReadOnly : public AnimationEffectReadOnly {
|
| DEFINE_WRAPPERTYPEINFO();
|
|
|
| public:
|
| + enum Priority { DefaultPriority, TransitionPriority };
|
| +
|
| static KeyframeEffectReadOnly* create(
|
| ExecutionContext*,
|
| Element*,
|
| @@ -44,14 +46,23 @@ class CORE_EXPORT KeyframeEffectReadOnly : public AnimationEffectReadOnly {
|
|
|
| ~KeyframeEffectReadOnly() override {}
|
|
|
| + Priority getPriority() const { return m_priority; }
|
| + void downgradeToNormal() { m_priority = DefaultPriority; }
|
| +
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| protected:
|
| - KeyframeEffectReadOnly(Element*, EffectModel*, const Timing&, EventDelegate*);
|
| + KeyframeEffectReadOnly(Element*,
|
| + EffectModel*,
|
| + const Timing&,
|
| + Priority,
|
| + EventDelegate*);
|
|
|
| Member<Element> m_target;
|
| Member<EffectModel> m_model;
|
| Member<SampledEffect> m_sampledEffect;
|
| +
|
| + Priority m_priority;
|
| };
|
|
|
| } // namespace blink
|
|
|