Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Side by Side Diff: third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.cpp

Issue 2394993002: Move Priority enum/field to KeyframeEffectReadOnly (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/animation/KeyframeEffectReadOnly.h" 5 #include "core/animation/KeyframeEffectReadOnly.h"
6 6
7 #include "bindings/core/v8/Dictionary.h" 7 #include "bindings/core/v8/Dictionary.h"
8 #include "bindings/core/v8/ExceptionState.h" 8 #include "bindings/core/v8/ExceptionState.h"
9 #include "core/animation/EffectInput.h" 9 #include "core/animation/EffectInput.h"
10 #include "core/animation/KeyframeEffect.h" 10 #include "core/animation/KeyframeEffect.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 Element* element, 45 Element* element,
46 const DictionarySequenceOrDictionary& effectInput, 46 const DictionarySequenceOrDictionary& effectInput,
47 ExceptionState& exceptionState) { 47 ExceptionState& exceptionState) {
48 return KeyframeEffect::create(executionContext, element, effectInput, 48 return KeyframeEffect::create(executionContext, element, effectInput,
49 exceptionState); 49 exceptionState);
50 } 50 }
51 51
52 KeyframeEffectReadOnly::KeyframeEffectReadOnly(Element* target, 52 KeyframeEffectReadOnly::KeyframeEffectReadOnly(Element* target,
53 EffectModel* model, 53 EffectModel* model,
54 const Timing& timing, 54 const Timing& timing,
55 Priority priority,
55 EventDelegate* eventDelegate) 56 EventDelegate* eventDelegate)
56 : AnimationEffectReadOnly(timing, eventDelegate), 57 : AnimationEffectReadOnly(timing, eventDelegate),
57 m_target(target), 58 m_target(target),
58 m_model(model), 59 m_model(model),
59 m_sampledEffect(nullptr) {} 60 m_sampledEffect(nullptr),
61 m_priority(priority) {}
60 62
61 DEFINE_TRACE(KeyframeEffectReadOnly) { 63 DEFINE_TRACE(KeyframeEffectReadOnly) {
62 visitor->trace(m_target); 64 visitor->trace(m_target);
63 visitor->trace(m_model); 65 visitor->trace(m_model);
64 visitor->trace(m_sampledEffect); 66 visitor->trace(m_sampledEffect);
65 AnimationEffectReadOnly::trace(visitor); 67 AnimationEffectReadOnly::trace(visitor);
66 } 68 }
67 69
68 } // namespace blink 70 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698