Chromium Code Reviews| 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..21d153cf2b5433be82890067f35ce3d1ce3a82da 100644 |
| --- a/cc/scheduler/scheduler_state_machine.h |
| +++ b/cc/scheduler/scheduler_state_machine.h |
| @@ -122,7 +122,7 @@ class CC_EXPORT SchedulerStateMachine { |
| void AsValueInto(base::trace_event::TracedValue* dict) const; |
| Action NextAction() const; |
| - void UpdateState(Action action); |
| + void WillAction(Action action); |
|
sunnyps
2015/08/01 00:59:14
nit: WillPerformAction?
|
| // Indicates whether the impl thread needs a BeginImplFrame callback in order |
| // to make progress. |
| @@ -284,14 +284,14 @@ 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(); |
| + 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(); |
| const SchedulerSettings settings_; |