Index: cc/scheduler/scheduler.h |
diff --git a/cc/scheduler/scheduler.h b/cc/scheduler/scheduler.h |
index 2a924f1216bd874866471a20f5ee1223a08efeab..ef52ccf9f7b780a74ebe2b2119d7da451b28110b 100644 |
--- a/cc/scheduler/scheduler.h |
+++ b/cc/scheduler/scheduler.h |
@@ -48,6 +48,7 @@ class SchedulerClient { |
virtual base::TimeDelta BeginMainFrameToCommitDurationEstimate() = 0; |
virtual base::TimeDelta CommitToActivateDurationEstimate() = 0; |
virtual void DidBeginImplFrameDeadline() = 0; |
+ virtual void SendBeginFramesToChildren(const BeginFrameArgs& args) = 0; |
protected: |
virtual ~SchedulerClient() {} |
@@ -93,6 +94,9 @@ class CC_EXPORT Scheduler : public BeginFrameObserverMixIn, |
~Scheduler() override; |
+ // BeginFrameObserverMixin |
+ bool OnBeginFrameMixInDelegate(const BeginFrameArgs& args) override; |
+ |
// base::PowerObserver method. |
void OnPowerStateChange(bool on_battery_power) override; |
@@ -164,8 +168,7 @@ class CC_EXPORT Scheduler : public BeginFrameObserverMixIn, |
state_machine_.SetContinuousPainting(continuous_painting); |
} |
- // BeginFrameObserverMixin |
- bool OnBeginFrameMixInDelegate(const BeginFrameArgs& args) override; |
+ void SetChildrenNeedBeginFrames(bool children_need_begin_frames); |
protected: |
Scheduler(SchedulerClient* client, |