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

Side by Side Diff: sky/engine/core/animation/AnimationTimeline.h

Issue 772673002: Fix Animations, Remove Compostior Animations. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: cleanup Created 6 years 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 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 } 78 }
79 #endif 79 #endif
80 80
81 bool hasPendingUpdates() const { return !m_playersNeedingUpdate.isEmpty(); } 81 bool hasPendingUpdates() const { return !m_playersNeedingUpdate.isEmpty(); }
82 double zeroTime() const { return 0; } 82 double zeroTime() const { return 0; }
83 double currentTime(bool& isNull); 83 double currentTime(bool& isNull);
84 double currentTime(); 84 double currentTime();
85 double currentTimeInternal(bool& isNull); 85 double currentTimeInternal(bool& isNull);
86 double currentTimeInternal(); 86 double currentTimeInternal();
87 double effectiveTime(); 87 double effectiveTime();
88 void pauseAnimationsForTesting(double);
89 88
90 void setOutdatedAnimationPlayer(AnimationPlayer*); 89 void setOutdatedAnimationPlayer(AnimationPlayer*);
91 bool hasOutdatedAnimationPlayer() const; 90 bool hasOutdatedAnimationPlayer() const;
92 91
93 Document* document() { return m_document.get(); } 92 Document* document() { return m_document.get(); }
94 #if !ENABLE(OILPAN) 93 #if !ENABLE(OILPAN)
95 void detachFromDocument(); 94 void detachFromDocument();
96 #endif 95 #endif
97 void wake(); 96 void wake();
98 97
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 RawPtr<AnimationTimeline> m_timeline; 129 RawPtr<AnimationTimeline> m_timeline;
131 Timer<AnimationTimelineTiming> m_timer; 130 Timer<AnimationTimelineTiming> m_timer;
132 }; 131 };
133 132
134 friend class AnimationAnimationTimelineTest; 133 friend class AnimationAnimationTimelineTest;
135 }; 134 };
136 135
137 } // namespace blink 136 } // namespace blink
138 137
139 #endif // SKY_ENGINE_CORE_ANIMATION_ANIMATIONTIMELINE_H_ 138 #endif // SKY_ENGINE_CORE_ANIMATION_ANIMATIONTIMELINE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698