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

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

Issue 1304063014: cc: Plumbing for BeginFrameSource based on Surfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More use-after-free. Attempt to fix mojo. Created 5 years, 2 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 "cc/output/compositor_frame.h" 7 #include "cc/output/compositor_frame.h"
8 #include "cc/surfaces/display.h" 8 #include "cc/surfaces/display.h"
9 #include "cc/surfaces/surface.h" 9 #include "cc/surfaces/surface.h"
10 #include "components/mus/gles2/gpu_state.h" 10 #include "components/mus/gles2/gpu_state.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 surfaces_state_->scheduler()->OnVSyncParametersUpdated( 101 surfaces_state_->scheduler()->OnVSyncParametersUpdated(
102 base::TimeTicks::FromInternalValue(timebase), 102 base::TimeTicks::FromInternalValue(timebase),
103 base::TimeDelta::FromInternalValue(interval)); 103 base::TimeDelta::FromInternalValue(interval));
104 } 104 }
105 105
106 void TopLevelDisplayClient::ReturnResources( 106 void TopLevelDisplayClient::ReturnResources(
107 const cc::ReturnedResourceArray& resources) { 107 const cc::ReturnedResourceArray& resources) {
108 // TODO(fsamuel): Implement this. 108 // TODO(fsamuel): Implement this.
109 } 109 }
110 110
111 void TopLevelDisplayClient::SetBeginFrameSource(
112 cc::BeginFrameSource* begin_frame_source) {
113 // TODO(tansell): Implement this.
114 }
115
111 } // namespace mus 116 } // namespace mus
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698