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

Side by Side Diff: third_party/WebKit/Source/core/animation/Animation.h

Issue 2629593004: Disambiguate LifecycleObserver::contextDestroyed (Closed)
Patch Set: temp Created 3 years, 11 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 /* 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 } 109 }
110 bool limited() const { return limited(currentTimeInternal()); } 110 bool limited() const { return limited(currentTimeInternal()); }
111 bool finishedInternal() const { return m_finished; } 111 bool finishedInternal() const { return m_finished; }
112 112
113 DEFINE_ATTRIBUTE_EVENT_LISTENER(finish); 113 DEFINE_ATTRIBUTE_EVENT_LISTENER(finish);
114 DEFINE_ATTRIBUTE_EVENT_LISTENER(cancel); 114 DEFINE_ATTRIBUTE_EVENT_LISTENER(cancel);
115 115
116 const AtomicString& interfaceName() const override; 116 const AtomicString& interfaceName() const override;
117 ExecutionContext* getExecutionContext() const override; 117 ExecutionContext* getExecutionContext() const override;
118 bool hasPendingActivity() const final; 118 bool hasPendingActivity() const final;
119 void contextDestroyed() override; 119 void contextDestroyed(ExecutionContext*) override;
120 120
121 double playbackRate() const; 121 double playbackRate() const;
122 void setPlaybackRate(double); 122 void setPlaybackRate(double);
123 const AnimationTimeline* timeline() const { return m_timeline; } 123 const AnimationTimeline* timeline() const { return m_timeline; }
124 AnimationTimeline* timeline() { return m_timeline; } 124 AnimationTimeline* timeline() { return m_timeline; }
125 125
126 double calculateStartTime(double currentTime) const; 126 double calculateStartTime(double currentTime) const;
127 bool hasStartTime() const { return !isNull(m_startTime); } 127 bool hasStartTime() const { return !isNull(m_startTime); }
128 double startTime(bool& isNull) const; 128 double startTime(bool& isNull) const;
129 double startTime() const; 129 double startTime() const;
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 338
339 bool m_currentTimePending; 339 bool m_currentTimePending;
340 bool m_stateIsBeingUpdated; 340 bool m_stateIsBeingUpdated;
341 341
342 bool m_effectSuppressed; 342 bool m_effectSuppressed;
343 }; 343 };
344 344
345 } // namespace blink 345 } // namespace blink
346 346
347 #endif // Animation_h 347 #endif // Animation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698