| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 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 "cc/test/fake_compositor_frame_sink_support_client.h" | 5 #include "cc/test/fake_compositor_frame_sink_support_client.h" |
| 6 | 6 |
| 7 #include "cc/surfaces/surface_manager.h" | 7 #include "cc/surfaces/surface_manager.h" |
| 8 | 8 |
| 9 namespace cc { | 9 namespace cc { |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 returned_resources_ = resources; | 26 returned_resources_ = resources; |
| 27 } | 27 } |
| 28 | 28 |
| 29 void FakeCompositorFrameSinkSupportClient::WillDrawSurface( | 29 void FakeCompositorFrameSinkSupportClient::WillDrawSurface( |
| 30 const LocalSurfaceId& local_surface_id, | 30 const LocalSurfaceId& local_surface_id, |
| 31 const gfx::Rect& damage_rect) { | 31 const gfx::Rect& damage_rect) { |
| 32 last_local_surface_id_ = local_surface_id; | 32 last_local_surface_id_ = local_surface_id; |
| 33 last_damage_rect_ = damage_rect; | 33 last_damage_rect_ = damage_rect; |
| 34 } | 34 } |
| 35 | 35 |
| 36 void FakeCompositorFrameSinkSupportClient::DidRejectCompositorFrame() { |
| 37 NOTREACHED(); |
| 38 } |
| 39 |
| 36 }; // namespace cc | 40 }; // namespace cc |
| OLD | NEW |