Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "cc/test/empty_compositor_frame_sink_support_client.h" | |
| 6 | |
| 7 #include "cc/surfaces/surface_manager.h" | |
| 8 | |
| 9 namespace cc { | |
|
Fady Samuel
2017/04/05 21:32:42
nit: new line.
Alex Z.
2017/04/06 00:04:03
Done.
| |
| 10 EmptyCompositorFrameSinkSupportClient::EmptyCompositorFrameSinkSupportClient() { | |
| 11 } | |
| 12 | |
| 13 EmptyCompositorFrameSinkSupportClient:: | |
| 14 ~EmptyCompositorFrameSinkSupportClient() {} | |
| 15 | |
| 16 void EmptyCompositorFrameSinkSupportClient::DidReceiveCompositorFrameAck() {} | |
| 17 | |
| 18 void EmptyCompositorFrameSinkSupportClient::OnBeginFrame( | |
| 19 const BeginFrameArgs& args) {} | |
| 20 | |
| 21 void EmptyCompositorFrameSinkSupportClient::ReclaimResources( | |
| 22 const ReturnedResourceArray& resources) { | |
| 23 returned_resources_ = resources; | |
| 24 } | |
| 25 | |
| 26 void EmptyCompositorFrameSinkSupportClient::WillDrawSurface( | |
| 27 const LocalSurfaceId& local_surface_id, | |
| 28 const gfx::Rect& damage_rect) { | |
| 29 last_local_surface_id_ = local_surface_id; | |
| 30 last_damage_rect_ = damage_rect; | |
| 31 } | |
|
Fady Samuel
2017/04/05 21:32:42
nit: new line.
Alex Z.
2017/04/06 00:04:03
Done.
| |
| 32 }; // namespace cc | |
| OLD | NEW |