| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "components/view_manager/surfaces/surfaces_scheduler.h" | 5 #include "components/view_manager/surfaces/surfaces_scheduler.h" |
| 6 | 6 |
| 7 #include "cc/surfaces/display.h" | 7 #include "cc/surfaces/display.h" |
| 8 | 8 |
| 9 namespace surfaces { | 9 namespace surfaces { |
| 10 | 10 |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 void SurfacesScheduler::ScheduledActionBeginOutputSurfaceCreation() { | 89 void SurfacesScheduler::ScheduledActionBeginOutputSurfaceCreation() { |
| 90 scheduler_->DidCreateAndInitializeOutputSurface(); | 90 scheduler_->DidCreateAndInitializeOutputSurface(); |
| 91 } | 91 } |
| 92 | 92 |
| 93 void SurfacesScheduler::ScheduledActionPrepareTiles() { | 93 void SurfacesScheduler::ScheduledActionPrepareTiles() { |
| 94 } | 94 } |
| 95 | 95 |
| 96 void SurfacesScheduler::ScheduledActionInvalidateOutputSurface() { | 96 void SurfacesScheduler::ScheduledActionInvalidateOutputSurface() { |
| 97 } | 97 } |
| 98 | 98 |
| 99 void SurfacesScheduler::DidAnticipatedDrawTimeChange(base::TimeTicks time) { | |
| 100 } | |
| 101 | |
| 102 base::TimeDelta SurfacesScheduler::DrawDurationEstimate() { | 99 base::TimeDelta SurfacesScheduler::DrawDurationEstimate() { |
| 103 return draw_estimate_; | 100 return draw_estimate_; |
| 104 } | 101 } |
| 105 | 102 |
| 106 base::TimeDelta SurfacesScheduler::BeginMainFrameToCommitDurationEstimate() { | 103 base::TimeDelta SurfacesScheduler::BeginMainFrameToCommitDurationEstimate() { |
| 107 return base::TimeDelta(); | 104 return base::TimeDelta(); |
| 108 } | 105 } |
| 109 | 106 |
| 110 base::TimeDelta SurfacesScheduler::CommitToActivateDurationEstimate() { | 107 base::TimeDelta SurfacesScheduler::CommitToActivateDurationEstimate() { |
| 111 return base::TimeDelta(); | 108 return base::TimeDelta(); |
| 112 } | 109 } |
| 113 | 110 |
| 114 void SurfacesScheduler::SendBeginFramesToChildren( | 111 void SurfacesScheduler::SendBeginFramesToChildren( |
| 115 const cc::BeginFrameArgs& args) { | 112 const cc::BeginFrameArgs& args) { |
| 116 } | 113 } |
| 117 | 114 |
| 118 void SurfacesScheduler::SendBeginMainFrameNotExpectedSoon() { | 115 void SurfacesScheduler::SendBeginMainFrameNotExpectedSoon() { |
| 119 } | 116 } |
| 120 | 117 |
| 121 } // namespace mojo | 118 } // namespace mojo |
| OLD | NEW |