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

Side by Side Diff: third_party/WebKit/Source/core/events/AnimationPlayerEvent.cpp

Issue 2216593002: Drop document.createEvent support for things still behind a flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@createEvent
Patch Set: fix LayoutTests Created 4 years, 4 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 2014 The Chromium Authors. All rights reserved. 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 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/events/AnimationPlayerEvent.h" 5 #include "core/events/AnimationPlayerEvent.h"
6 6
7 namespace blink { 7 namespace blink {
8 8
9 AnimationPlayerEvent::AnimationPlayerEvent()
10 : m_currentTime(0.0)
11 , m_timelineTime(0.0)
12 {
13 }
14
15 AnimationPlayerEvent::AnimationPlayerEvent(const AtomicString& type, double curr entTime, double timelineTime) 9 AnimationPlayerEvent::AnimationPlayerEvent(const AtomicString& type, double curr entTime, double timelineTime)
16 : Event(type, false, false) 10 : Event(type, false, false)
17 , m_currentTime(currentTime) 11 , m_currentTime(currentTime)
18 , m_timelineTime(timelineTime) 12 , m_timelineTime(timelineTime)
19 { 13 {
20 } 14 }
21 15
22 AnimationPlayerEvent::AnimationPlayerEvent(const AtomicString& type, const Anima tionPlayerEventInit& initializer) 16 AnimationPlayerEvent::AnimationPlayerEvent(const AtomicString& type, const Anima tionPlayerEventInit& initializer)
23 : Event(type, initializer) 17 : Event(type, initializer)
24 , m_currentTime(0.0) 18 , m_currentTime(0.0)
(...skipping 30 matching lines...) Expand all
55 { 49 {
56 return EventNames::AnimationPlayerEvent; 50 return EventNames::AnimationPlayerEvent;
57 } 51 }
58 52
59 DEFINE_TRACE(AnimationPlayerEvent) 53 DEFINE_TRACE(AnimationPlayerEvent)
60 { 54 {
61 Event::trace(visitor); 55 Event::trace(visitor);
62 } 56 }
63 57
64 } // namespace blink 58 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/AnimationPlayerEvent.h ('k') | third_party/WebKit/Source/core/events/InputEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698