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

Unified Diff: third_party/WebKit/Source/core/events/AnimationPlayerEvent.h

Issue 2344473002: Rename AnimationPlayerEvent as AnimationPlaybackEvent (Closed)
Patch Set: Make timelineTime nullable Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/events/AnimationPlayerEvent.h
diff --git a/third_party/WebKit/Source/core/events/AnimationPlayerEvent.h b/third_party/WebKit/Source/core/events/AnimationPlayerEvent.h
deleted file mode 100644
index 01fa2b2973fc53c7793108bfb4362eeac7b6a7e5..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/events/AnimationPlayerEvent.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2014 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 AnimationPlayerEvent_h
-#define AnimationPlayerEvent_h
-
-#include "core/events/AnimationPlayerEventInit.h"
-#include "core/events/Event.h"
-
-namespace blink {
-
-class AnimationPlayerEvent final : public Event {
- DEFINE_WRAPPERTYPEINFO();
-public:
- static AnimationPlayerEvent* create(const AtomicString& type, double currentTime, double timelineTime)
- {
- return new AnimationPlayerEvent(type, currentTime, timelineTime);
- }
- static AnimationPlayerEvent* create(const AtomicString& type, const AnimationPlayerEventInit& initializer)
- {
- return new AnimationPlayerEvent(type, initializer);
- }
-
- ~AnimationPlayerEvent() override;
-
- double currentTime(bool& isNull) const;
- double currentTime() const;
- double timelineTime() const;
-
- const AtomicString& interfaceName() const override;
-
- DECLARE_VIRTUAL_TRACE();
-
-private:
- AnimationPlayerEvent(const AtomicString& type, double currentTime, double timelineTime);
- AnimationPlayerEvent(const AtomicString&, const AnimationPlayerEventInit&);
-
- double m_currentTime;
- double m_timelineTime;
-};
-
-} // namespace blink
-
-#endif // AnimationPlayerEvent_h

Powered by Google App Engine
This is Rietveld 408576698