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

Unified Diff: sky/engine/core/animation/css/CSSTransitionData.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/animation/css/CSSTransitionData.h ('k') | sky/engine/core/core.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/animation/css/CSSTransitionData.cpp
diff --git a/sky/engine/core/animation/css/CSSTransitionData.cpp b/sky/engine/core/animation/css/CSSTransitionData.cpp
deleted file mode 100644
index 10444350503ca2e5dffd4e7df0049b06d7482afe..0000000000000000000000000000000000000000
--- a/sky/engine/core/animation/css/CSSTransitionData.cpp
+++ /dev/null
@@ -1,36 +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.
-
-#include "sky/engine/core/animation/css/CSSTransitionData.h"
-
-#include "sky/engine/core/animation/Timing.h"
-
-namespace blink {
-
-CSSTransitionData::CSSTransitionData()
-{
- m_propertyList.append(initialProperty());
-}
-
-CSSTransitionData::CSSTransitionData(const CSSTransitionData& other)
- : CSSTimingData(other)
- , m_propertyList(other.m_propertyList)
-{
-}
-
-bool CSSTransitionData::transitionsMatchForStyleRecalc(const CSSTransitionData& other) const
-{
- return m_propertyList == other.m_propertyList;
-}
-
-Timing CSSTransitionData::convertToTiming(size_t index) const
-{
- ASSERT(index < m_propertyList.size());
- // Note that the backwards fill part is required for delay to work.
- Timing timing = CSSTimingData::convertToTiming(index);
- timing.fillMode = Timing::FillModeBoth;
- return timing;
-}
-
-} // namespace blink
« no previous file with comments | « sky/engine/core/animation/css/CSSTransitionData.h ('k') | sky/engine/core/core.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698