| 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 "mojo/services/surfaces/surfaces_scheduler.h" | 5 #include "mojo/services/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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 void SurfacesScheduler::ScheduledActionActivateSyncTree() { | 78 void SurfacesScheduler::ScheduledActionActivateSyncTree() { |
| 79 } | 79 } |
| 80 | 80 |
| 81 void SurfacesScheduler::ScheduledActionBeginOutputSurfaceCreation() { | 81 void SurfacesScheduler::ScheduledActionBeginOutputSurfaceCreation() { |
| 82 scheduler_->DidCreateAndInitializeOutputSurface(); | 82 scheduler_->DidCreateAndInitializeOutputSurface(); |
| 83 } | 83 } |
| 84 | 84 |
| 85 void SurfacesScheduler::ScheduledActionPrepareTiles() { | 85 void SurfacesScheduler::ScheduledActionPrepareTiles() { |
| 86 } | 86 } |
| 87 | 87 |
| 88 void SurfacesScheduler::ScheduledActionInvalidateOutputSurface() { |
| 89 } |
| 90 |
| 88 void SurfacesScheduler::DidAnticipatedDrawTimeChange(base::TimeTicks time) { | 91 void SurfacesScheduler::DidAnticipatedDrawTimeChange(base::TimeTicks time) { |
| 89 } | 92 } |
| 90 | 93 |
| 91 base::TimeDelta SurfacesScheduler::DrawDurationEstimate() { | 94 base::TimeDelta SurfacesScheduler::DrawDurationEstimate() { |
| 92 return draw_estimate_; | 95 return draw_estimate_; |
| 93 } | 96 } |
| 94 | 97 |
| 95 base::TimeDelta SurfacesScheduler::BeginMainFrameToCommitDurationEstimate() { | 98 base::TimeDelta SurfacesScheduler::BeginMainFrameToCommitDurationEstimate() { |
| 96 return base::TimeDelta(); | 99 return base::TimeDelta(); |
| 97 } | 100 } |
| 98 | 101 |
| 99 base::TimeDelta SurfacesScheduler::CommitToActivateDurationEstimate() { | 102 base::TimeDelta SurfacesScheduler::CommitToActivateDurationEstimate() { |
| 100 return base::TimeDelta(); | 103 return base::TimeDelta(); |
| 101 } | 104 } |
| 102 | 105 |
| 103 void SurfacesScheduler::DidBeginImplFrameDeadline() { | 106 void SurfacesScheduler::DidBeginImplFrameDeadline() { |
| 104 } | 107 } |
| 105 | 108 |
| 106 void SurfacesScheduler::SendBeginFramesToChildren( | 109 void SurfacesScheduler::SendBeginFramesToChildren( |
| 107 const cc::BeginFrameArgs& args) { | 110 const cc::BeginFrameArgs& args) { |
| 108 } | 111 } |
| 109 | 112 |
| 110 void SurfacesScheduler::SendBeginMainFrameNotExpectedSoon() { | 113 void SurfacesScheduler::SendBeginMainFrameNotExpectedSoon() { |
| 111 } | 114 } |
| 112 | 115 |
| 113 } // namespace mojo | 116 } // namespace mojo |
| OLD | NEW |