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 7d6810b3e8b1a9f9405579001c407042a855513a..68ea7561c224ff86cb720174b029651e608f4091 100644 |
| --- a/cc/scheduler/scheduler_state_machine.h |
| +++ b/cc/scheduler/scheduler_state_machine.h |
| @@ -254,9 +254,13 @@ class CC_EXPORT SchedulerStateMachine { |
| return children_need_begin_frames_; |
| } |
| + bool video_needs_begin_frames() const { return video_needs_begin_frames_; } |
|
brianderson
2015/04/16 01:42:23
Accesser below setter for consistency?
sunnyps
2015/04/16 20:56:11
Done.
|
| + void SetVideoNeedsBeginFrames(bool video_needs_begin_frames); |
| + |
| protected: |
| bool BeginFrameRequiredForAction() const; |
| bool BeginFrameRequiredForChildren() const; |
| + bool BeginFrameNeededForVideo() const; |
| bool ProactiveBeginFrameWanted() const; |
| bool ShouldTriggerBeginImplFrameDeadlineImmediately() const; |
| @@ -330,6 +334,7 @@ class CC_EXPORT SchedulerStateMachine { |
| bool continuous_painting_; |
| bool children_need_begin_frames_; |
| bool defer_commits_; |
| + bool video_needs_begin_frames_; |
| bool last_commit_had_no_updates_; |
| bool wait_for_active_tree_ready_to_draw_; |
| bool did_request_swap_in_last_frame_; |