| Index: cc/scheduler/scheduler_state_machine.h
|
| diff --git a/cc/scheduler/scheduler_state_machine.h b/cc/scheduler/scheduler_state_machine.h
|
| index af81845be7551eec289424ec0d1b506177e5206c..0477a2f11137a98a1048e3b41226eba2e7b6a8d4 100644
|
| --- a/cc/scheduler/scheduler_state_machine.h
|
| +++ b/cc/scheduler/scheduler_state_machine.h
|
| @@ -122,7 +122,14 @@ class CC_EXPORT SchedulerStateMachine {
|
| void AsValueInto(base::trace_event::TracedValue* dict) const;
|
|
|
| Action NextAction() const;
|
| - void UpdateState(Action action);
|
| + void WillAnimate();
|
| + void WillSendBeginMainFrame();
|
| + void WillCommit(bool commit_had_no_updates);
|
| + void WillActivate();
|
| + void WillDraw(bool did_request_swap);
|
| + void WillBeginOutputSurfaceCreation();
|
| + void WillPrepareTiles();
|
| + void WillInvalidateOutputSurface();
|
|
|
| // Indicates whether the impl thread needs a BeginImplFrame callback in order
|
| // to make progress.
|
| @@ -284,15 +291,6 @@ class CC_EXPORT SchedulerStateMachine {
|
| bool ShouldPrepareTiles() const;
|
| bool ShouldInvalidateOutputSurface() const;
|
|
|
| - void UpdateStateOnAnimate();
|
| - void UpdateStateOnSendBeginMainFrame();
|
| - void UpdateStateOnCommit(bool commit_had_no_updates);
|
| - void UpdateStateOnActivation();
|
| - void UpdateStateOnDraw(bool did_request_swap);
|
| - void UpdateStateOnBeginOutputSurfaceCreation();
|
| - void UpdateStateOnPrepareTiles();
|
| - void UpdateStateOnInvalidateOutputSurface();
|
| -
|
| const SchedulerSettings settings_;
|
|
|
| OutputSurfaceState output_surface_state_;
|
|
|