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 { | |
| 10 | |
| 11 EmptyCompositorFrameSinkSupportClient::EmptyCompositorFrameSinkSupportClient() { | |
|
danakj
2017/04/07 15:52:45
= default
Alex Z.
2017/04/07 20:43:58
Done.
| |
| 12 } | |
| 13 | |
| 14 EmptyCompositorFrameSinkSupportClient:: | |
| 15 ~EmptyCompositorFrameSinkSupportClient() {} | |
|
danakj
2017/04/07 15:52:45
= default
Alex Z.
2017/04/07 20:43:58
Done.
| |
| 16 | |
| 17 void EmptyCompositorFrameSinkSupportClient::DidReceiveCompositorFrameAck() {} | |
| 18 | |
| 19 void EmptyCompositorFrameSinkSupportClient::OnBeginFrame( | |
| 20 const BeginFrameArgs& args) {} | |
| 21 | |
| 22 void EmptyCompositorFrameSinkSupportClient::ReclaimResources( | |
| 23 const ReturnedResourceArray& resources) { | |
| 24 returned_resources_ = resources; | |
| 25 } | |
| 26 | |
| 27 void EmptyCompositorFrameSinkSupportClient::WillDrawSurface( | |
| 28 const LocalSurfaceId& local_surface_id, | |
| 29 const gfx::Rect& damage_rect) { | |
| 30 last_local_surface_id_ = local_surface_id; | |
| 31 last_damage_rect_ = damage_rect; | |
| 32 } | |
| 33 | |
| 34 }; // namespace cc | |
| OLD | NEW |