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

Unified Diff: cc/scheduler/scheduler_state_machine.h

Issue 1253203003: cc: Remove SchedulerStateMachine::UpdateState (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WillActivation -> WillActivate Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/scheduler/scheduler.cc ('k') | cc/scheduler/scheduler_state_machine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « cc/scheduler/scheduler.cc ('k') | cc/scheduler/scheduler_state_machine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698