Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: components/mus/surfaces/top_level_display_client.cc

Issue 1673783004: Hook up BeginFrameSource to SurfaceFactoryClient via SurfaceManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Now with unittests Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698