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

Side by Side Diff: Source/core/platform/animation/CSSAnimationData.h

Issue 61033003: Remove unused matchPlayState argument from CSSAnimationData::animationsMatch() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/platform/animation/CSSAnimationData.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 bool operator!=(const CSSAnimationData& o) const { return !(*this == o); } 141 bool operator!=(const CSSAnimationData& o) const { return !(*this == o); }
142 142
143 bool fillsBackwards() const { return m_fillModeSet && (m_fillMode == Animati onFillModeBackwards || m_fillMode == AnimationFillModeBoth); } 143 bool fillsBackwards() const { return m_fillModeSet && (m_fillMode == Animati onFillModeBackwards || m_fillMode == AnimationFillModeBoth); }
144 bool fillsForwards() const { return m_fillModeSet && (m_fillMode == Animatio nFillModeForwards || m_fillMode == AnimationFillModeBoth); } 144 bool fillsForwards() const { return m_fillModeSet && (m_fillMode == Animatio nFillModeForwards || m_fillMode == AnimationFillModeBoth); }
145 145
146 private: 146 private:
147 CSSAnimationData(); 147 CSSAnimationData();
148 explicit CSSAnimationData(const CSSAnimationData&); 148 explicit CSSAnimationData(const CSSAnimationData&);
149 149
150 // return true if all members of this class match (excluding m_next) 150 // return true if all members of this class match (excluding m_next)
151 bool animationsMatch(const CSSAnimationData*, bool matchPlayStates = true) c onst; 151 bool animationsMatch(const CSSAnimationData*) const;
152 152
153 AtomicString m_name; 153 AtomicString m_name;
154 CSSPropertyID m_property; 154 CSSPropertyID m_property;
155 AnimationMode m_mode; 155 AnimationMode m_mode;
156 double m_iterationCount; 156 double m_iterationCount;
157 double m_delay; 157 double m_delay;
158 double m_duration; 158 double m_duration;
159 RefPtr<TimingFunction> m_timingFunction; 159 RefPtr<TimingFunction> m_timingFunction;
160 unsigned m_direction : 2; // AnimationDirection 160 unsigned m_direction : 2; // AnimationDirection
161 unsigned m_fillMode : 2; 161 unsigned m_fillMode : 2;
(...skipping 20 matching lines...) Expand all
182 static double initialAnimationIterationCount() { return 1.0; } 182 static double initialAnimationIterationCount() { return 1.0; }
183 static const String& initialAnimationName(); 183 static const String& initialAnimationName();
184 static EAnimPlayState initialAnimationPlayState() { return AnimPlayStatePlay ing; } 184 static EAnimPlayState initialAnimationPlayState() { return AnimPlayStatePlay ing; }
185 static CSSPropertyID initialAnimationProperty() { return CSSPropertyInvalid; } 185 static CSSPropertyID initialAnimationProperty() { return CSSPropertyInvalid; }
186 static const PassRefPtr<TimingFunction> initialAnimationTimingFunction() { r eturn CubicBezierTimingFunction::preset(CubicBezierTimingFunction::Ease); } 186 static const PassRefPtr<TimingFunction> initialAnimationTimingFunction() { r eturn CubicBezierTimingFunction::preset(CubicBezierTimingFunction::Ease); }
187 }; 187 };
188 188
189 } // namespace WebCore 189 } // namespace WebCore
190 190
191 #endif // CSSAnimationData_h 191 #endif // CSSAnimationData_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/platform/animation/CSSAnimationData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698