| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/mus/surfaces/top_level_display_client.h" | 5 #include "components/mus/surfaces/top_level_display_client.h" |
| 6 | 6 |
| 7 #include "base/thread_task_runner_handle.h" | 7 #include "base/thread_task_runner_handle.h" |
| 8 #include "cc/output/compositor_frame.h" | 8 #include "cc/output/compositor_frame.h" |
| 9 #include "cc/scheduler/begin_frame_source.h" | 9 #include "cc/scheduler/begin_frame_source.h" |
| 10 #include "cc/surfaces/display.h" | 10 #include "cc/surfaces/display.h" |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 synthetic_frame_source_->OnUpdateVSyncParameters(timebase_time_ticks, | 106 synthetic_frame_source_->OnUpdateVSyncParameters(timebase_time_ticks, |
| 107 interval_time_delta); | 107 interval_time_delta); |
| 108 } | 108 } |
| 109 | 109 |
| 110 void TopLevelDisplayClient::ReturnResources( | 110 void TopLevelDisplayClient::ReturnResources( |
| 111 const cc::ReturnedResourceArray& resources) { | 111 const cc::ReturnedResourceArray& resources) { |
| 112 // TODO(fsamuel): Implement this. | 112 // TODO(fsamuel): Implement this. |
| 113 } | 113 } |
| 114 | 114 |
| 115 void TopLevelDisplayClient::SetBeginFrameSource( | 115 void TopLevelDisplayClient::SetBeginFrameSource( |
| 116 cc::SurfaceId surface_id, | |
| 117 cc::BeginFrameSource* begin_frame_source) { | 116 cc::BeginFrameSource* begin_frame_source) { |
| 118 // TODO(tansell): Implement this. | 117 // TODO(tansell): Implement this. |
| 119 } | 118 } |
| 120 | 119 |
| 121 } // namespace mus | 120 } // namespace mus |
| OLD | NEW |