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

Side by Side Diff: cc/scheduler/scheduler.h

Issue 191293004: cc: Rename FinishCommit to NotifyReadyToCommit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | cc/scheduler/scheduler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_SCHEDULER_SCHEDULER_H_ 5 #ifndef CC_SCHEDULER_SCHEDULER_H_
6 #define CC_SCHEDULER_SCHEDULER_H_ 6 #define CC_SCHEDULER_SCHEDULER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 void SetNeedsRedraw(); 74 void SetNeedsRedraw();
75 75
76 void SetNeedsManageTiles(); 76 void SetNeedsManageTiles();
77 77
78 void SetMainThreadNeedsLayerTextures(); 78 void SetMainThreadNeedsLayerTextures();
79 79
80 void SetSwapUsedIncompleteTile(bool used_incomplete_tile); 80 void SetSwapUsedIncompleteTile(bool used_incomplete_tile);
81 81
82 void SetSmoothnessTakesPriority(bool smoothness_takes_priority); 82 void SetSmoothnessTakesPriority(bool smoothness_takes_priority);
83 83
84 void FinishCommit(); 84 void NotifyReadyToCommit();
85 void BeginMainFrameAborted(bool did_handle); 85 void BeginMainFrameAborted(bool did_handle);
86 86
87 void DidManageTiles(); 87 void DidManageTiles();
88 void DidLoseOutputSurface(); 88 void DidLoseOutputSurface();
89 void DidCreateAndInitializeOutputSurface(); 89 void DidCreateAndInitializeOutputSurface();
90 bool HasInitializedOutputSurface() const { 90 bool HasInitializedOutputSurface() const {
91 return state_machine_.HasInitializedOutputSurface(); 91 return state_machine_.HasInitializedOutputSurface();
92 } 92 }
93 93
94 bool CommitPending() const { return state_machine_.CommitPending(); } 94 bool CommitPending() const { return state_machine_.CommitPending(); }
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 SchedulerStateMachine::Action inside_action_; 151 SchedulerStateMachine::Action inside_action_;
152 152
153 base::WeakPtrFactory<Scheduler> weak_factory_; 153 base::WeakPtrFactory<Scheduler> weak_factory_;
154 154
155 DISALLOW_COPY_AND_ASSIGN(Scheduler); 155 DISALLOW_COPY_AND_ASSIGN(Scheduler);
156 }; 156 };
157 157
158 } // namespace cc 158 } // namespace cc
159 159
160 #endif // CC_SCHEDULER_SCHEDULER_H_ 160 #endif // CC_SCHEDULER_SCHEDULER_H_
OLDNEW
« no previous file with comments | « no previous file | cc/scheduler/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698