| Index: cc/animation/animation.h
|
| diff --git a/cc/animation/animation.h b/cc/animation/animation.h
|
| index 645b71f613562ec5b5aa80213409a3f75ceb312f..1c3cf757b3cf128410428c6a425d70e5b57f7fe3 100644
|
| --- a/cc/animation/animation.h
|
| +++ b/cc/animation/animation.h
|
| @@ -27,7 +27,10 @@ class CC_EXPORT Animation {
|
| // the STARTING state, and then into the RUNNING state. RUNNING animations may
|
| // toggle between RUNNING and PAUSED, and may be stopped by moving into either
|
| // the ABORTED or FINISHED states. A FINISHED animation was allowed to run to
|
| - // completion, but an ABORTED animation was not.
|
| + // completion, but an ABORTED animation was not. An animation in the state
|
| + // ABORTED_BUT_NEEDS_COMPLETION is an animation that was aborted for
|
| + // some reason, but needs to be finished. Currently this is for impl-only
|
| + // scroll offset animations that need to be completed on the main thread.
|
| enum RunState {
|
| WAITING_FOR_TARGET_AVAILABILITY = 0,
|
| WAITING_FOR_DELETION,
|
| @@ -36,6 +39,7 @@ class CC_EXPORT Animation {
|
| PAUSED,
|
| FINISHED,
|
| ABORTED,
|
| + ABORTED_BUT_NEEDS_COMPLETION,
|
| // This sentinel must be last.
|
| LAST_RUN_STATE = ABORTED
|
| };
|
|
|