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

Side by Side Diff: components/mus/ws/server_window_surface.cc

Issue 1304063014: cc: Plumbing for BeginFrameSource based on Surfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix webview 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/ws/server_window_surface.h" 5 #include "components/mus/ws/server_window_surface.h"
6 6
7 #include "cc/output/compositor_frame.h" 7 #include "cc/output/compositor_frame.h"
8 #include "cc/quads/shared_quad_state.h" 8 #include "cc/quads/shared_quad_state.h"
9 #include "cc/quads/surface_draw_quad.h" 9 #include "cc/quads/surface_draw_quad.h"
10 #include "components/mus/surfaces/surfaces_state.h" 10 #include "components/mus/surfaces/surfaces_state.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 } 104 }
105 105
106 void ServerWindowSurface::ReturnResources( 106 void ServerWindowSurface::ReturnResources(
107 const cc::ReturnedResourceArray& resources) { 107 const cc::ReturnedResourceArray& resources) {
108 if (!client_) 108 if (!client_)
109 return; 109 return;
110 client_->ReturnResources( 110 client_->ReturnResources(
111 mojo::Array<mojom::ReturnedResourcePtr>::From(resources)); 111 mojo::Array<mojom::ReturnedResourcePtr>::From(resources));
112 } 112 }
113 113
114 void ServerWindowSurface::SetBeginFrameSource(
115 cc::SurfaceId surface_id,
116 cc::BeginFrameSource* begin_frame_source) {
117 // TODO(tansell): Implement this.
118 NOTIMPLEMENTED();
119 }
120
114 } // namespace ws 121 } // namespace ws
115 122
116 } // namespace mus 123 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/ws/server_window_surface.h ('k') | content/browser/compositor/delegated_frame_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698