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

Side by Side Diff: sky/engine/core/events/AnimationPlayerEvent.cpp

Issue 1229273004: Remove Animations and Transitions. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 5 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
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "sky/engine/core/events/AnimationPlayerEvent.h"
6
7 namespace blink {
8
9 AnimationPlayerEventInit::AnimationPlayerEventInit()
10 : currentTime(0.0)
11 , timelineTime(0.0)
12 {
13 }
14
15 AnimationPlayerEvent::AnimationPlayerEvent()
16 : m_currentTime(0.0)
17 , m_timelineTime(0.0)
18 {
19 }
20
21 AnimationPlayerEvent::AnimationPlayerEvent(const AtomicString& type, double curr entTime, double timelineTime)
22 : Event(type, false, false)
23 , m_currentTime(currentTime)
24 , m_timelineTime(timelineTime)
25 {
26 }
27
28 AnimationPlayerEvent::AnimationPlayerEvent(const AtomicString& type, const Anima tionPlayerEventInit& initializer)
29 : Event(type, initializer)
30 , m_currentTime(initializer.currentTime)
31 , m_timelineTime(initializer.timelineTime)
32 {
33 }
34
35 AnimationPlayerEvent::~AnimationPlayerEvent()
36 {
37 }
38
39 double AnimationPlayerEvent::currentTime() const
40 {
41 return m_currentTime;
42 }
43
44 double AnimationPlayerEvent::timelineTime() const
45 {
46 return m_timelineTime;
47 }
48
49 const AtomicString& AnimationPlayerEvent::interfaceName() const
50 {
51 return EventNames::AnimationPlayerEvent;
52 }
53
54 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/events/AnimationPlayerEvent.h ('k') | sky/engine/core/events/AnimationPlayerEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698