| OLD | NEW |
| 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 | 201 |
| 202 void createCompositorPlayer(); | 202 void createCompositorPlayer(); |
| 203 void destroyCompositorPlayer(); | 203 void destroyCompositorPlayer(); |
| 204 void attachCompositorTimeline(); | 204 void attachCompositorTimeline(); |
| 205 void detachCompositorTimeline(); | 205 void detachCompositorTimeline(); |
| 206 void attachCompositedLayers(); | 206 void attachCompositedLayers(); |
| 207 void detachCompositedLayers(); | 207 void detachCompositedLayers(); |
| 208 // WebCompositorAnimationDelegate implementation. | 208 // WebCompositorAnimationDelegate implementation. |
| 209 void notifyAnimationStarted(double monotonicTime, int group) override; | 209 void notifyAnimationStarted(double monotonicTime, int group) override; |
| 210 void notifyAnimationFinished(double monotonicTime, int group) override { } | 210 void notifyAnimationFinished(double monotonicTime, int group) override { } |
| 211 void notifyAnimationAborted(double monotonicTime, int group) override { } |
| 211 | 212 |
| 212 double startClipInternal() const { return m_startClip; } | 213 double startClipInternal() const { return m_startClip; } |
| 213 double endClipInternal() const { return m_endClip; } | 214 double endClipInternal() const { return m_endClip; } |
| 214 void setStartClipInternal(double t) { m_startClip = t; } | 215 void setStartClipInternal(double t) { m_startClip = t; } |
| 215 void setEndClipInternal(double t) { m_endClip = t; } | 216 void setEndClipInternal(double t) { m_endClip = t; } |
| 216 bool clipped(double); | 217 bool clipped(double); |
| 217 double clipTimeToEffectChange(double) const; | 218 double clipTimeToEffectChange(double) const; |
| 218 | 219 |
| 219 AnimationPlayState m_playState; | 220 AnimationPlayState m_playState; |
| 220 double m_playbackRate; | 221 double m_playbackRate; |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 | 300 |
| 300 OwnPtr<WebCompositorAnimationPlayer> m_compositorPlayer; | 301 OwnPtr<WebCompositorAnimationPlayer> m_compositorPlayer; |
| 301 | 302 |
| 302 bool m_currentTimePending; | 303 bool m_currentTimePending; |
| 303 bool m_stateIsBeingUpdated; | 304 bool m_stateIsBeingUpdated; |
| 304 }; | 305 }; |
| 305 | 306 |
| 306 } // namespace blink | 307 } // namespace blink |
| 307 | 308 |
| 308 #endif // Animation_h | 309 #endif // Animation_h |
| OLD | NEW |