| 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
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..60cb59d7c38755912eb4e50fb23804650478232e
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.h
|
| @@ -0,0 +1,44 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef KeyframeEffectReadOnly_h
|
| +#define KeyframeEffectReadOnly_h
|
| +
|
| +#include "core/CoreExport.h"
|
| +#include "core/animation/AnimationEffectReadOnly.h"
|
| +#include "core/animation/EffectModel.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class KeyframeEffectOptions;
|
| +class DictionarySequenceOrDictionary;
|
| +class Element;
|
| +class ExceptionState;
|
| +class ExecutionContext;
|
| +class SampledEffect;
|
| +
|
| +// Represents the effect of an Animation on an Element's properties.
|
| +// http://w3c.github.io/web-animations/#the-keyframeeffect-interfaces
|
| +class CORE_EXPORT KeyframeEffectReadOnly : public AnimationEffectReadOnly {
|
| + DEFINE_WRAPPERTYPEINFO();
|
| +public:
|
| + static KeyframeEffectReadOnly* create(ExecutionContext*, Element*, const DictionarySequenceOrDictionary& effectInput, double duration, ExceptionState&);
|
| + static KeyframeEffectReadOnly* create(ExecutionContext*, Element*, const DictionarySequenceOrDictionary& effectInput, const KeyframeEffectOptions& timingInput, ExceptionState&);
|
| + static KeyframeEffectReadOnly* create(ExecutionContext*, Element*, const DictionarySequenceOrDictionary& effectInput, ExceptionState&);
|
| +
|
| + ~KeyframeEffectReadOnly() override {}
|
| +
|
| + DECLARE_VIRTUAL_TRACE();
|
| +
|
| +protected:
|
| + KeyframeEffectReadOnly(Element*, EffectModel*, const Timing&, EventDelegate*);
|
| +
|
| + Member<Element> m_target;
|
| + Member<EffectModel> m_model;
|
| + Member<SampledEffect> m_sampledEffect;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // KeyframeEffectReadOnly_h
|
|
|