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

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

Issue 49693005: Fix spelling: "supress" -> "suppress" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 1 month 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
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_STATE_MACHINE_H_ 5 #ifndef CC_SCHEDULER_SCHEDULER_STATE_MACHINE_H_
6 #define CC_SCHEDULER_SCHEDULER_STATE_MACHINE_H_ 6 #define CC_SCHEDULER_SCHEDULER_STATE_MACHINE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 // layers on behalf of the main thread. Upon acquisition, 203 // layers on behalf of the main thread. Upon acquisition,
204 // ACTION_DRAW_AND_SWAP_IF_POSSIBLE will not draw until the main thread 204 // ACTION_DRAW_AND_SWAP_IF_POSSIBLE will not draw until the main thread
205 // releases the 205 // releases the
206 // textures to the impl thread by committing the layers. 206 // textures to the impl thread by committing the layers.
207 void SetMainThreadNeedsLayerTextures(); 207 void SetMainThreadNeedsLayerTextures();
208 208
209 // Set that we can create the first OutputSurface and start the scheduler. 209 // Set that we can create the first OutputSurface and start the scheduler.
210 void SetCanStart() { can_start_ = true; } 210 void SetCanStart() { can_start_ = true; }
211 211
212 // Indicates whether drawing would, at this time, make sense. 212 // Indicates whether drawing would, at this time, make sense.
213 // CanDraw can be used to supress flashes or checkerboarding 213 // CanDraw can be used to suppress flashes or checkerboarding
214 // when such behavior would be undesirable. 214 // when such behavior would be undesirable.
215 void SetCanDraw(bool can); 215 void SetCanDraw(bool can);
216 216
217 // Indicates that the pending tree is ready for activation. 217 // Indicates that the pending tree is ready for activation.
218 void NotifyReadyToActivate(); 218 void NotifyReadyToActivate();
219 219
220 bool has_pending_tree() const { return has_pending_tree_; } 220 bool has_pending_tree() const { return has_pending_tree_; }
221 221
222 void DidLoseOutputSurface(); 222 void DidLoseOutputSurface();
223 void DidCreateAndInitializeOutputSurface(); 223 void DidCreateAndInitializeOutputSurface();
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 bool did_create_and_initialize_first_output_surface_; 289 bool did_create_and_initialize_first_output_surface_;
290 bool smoothness_takes_priority_; 290 bool smoothness_takes_priority_;
291 291
292 private: 292 private:
293 DISALLOW_COPY_AND_ASSIGN(SchedulerStateMachine); 293 DISALLOW_COPY_AND_ASSIGN(SchedulerStateMachine);
294 }; 294 };
295 295
296 } // namespace cc 296 } // namespace cc
297 297
298 #endif // CC_SCHEDULER_SCHEDULER_STATE_MACHINE_H_ 298 #endif // CC_SCHEDULER_SCHEDULER_STATE_MACHINE_H_
OLDNEW
« no previous file with comments | « build/extract_from_cab.py ('k') | chrome/android/java/src/org/chromium/chrome/browser/JavascriptAppModalDialog.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698