| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/test_compositor_frame_sink.h" | 5 #include "cc/test/test_compositor_frame_sink.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
| 11 #include "base/single_thread_task_runner.h" |
| 11 #include "cc/output/begin_frame_args.h" | 12 #include "cc/output/begin_frame_args.h" |
| 12 #include "cc/output/compositor_frame_sink_client.h" | 13 #include "cc/output/compositor_frame_sink_client.h" |
| 13 #include "cc/output/copy_output_request.h" | 14 #include "cc/output/copy_output_request.h" |
| 14 #include "cc/output/direct_renderer.h" | 15 #include "cc/output/direct_renderer.h" |
| 15 #include "cc/output/output_surface.h" | 16 #include "cc/output/output_surface.h" |
| 16 #include "cc/output/texture_mailbox_deleter.h" | 17 #include "cc/output/texture_mailbox_deleter.h" |
| 17 #include "cc/surfaces/compositor_frame_sink_support.h" | 18 #include "cc/surfaces/compositor_frame_sink_support.h" |
| 18 | 19 |
| 19 namespace cc { | 20 namespace cc { |
| 20 | 21 |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 support_->SetNeedsBeginFrame(needs_begin_frames); | 198 support_->SetNeedsBeginFrame(needs_begin_frames); |
| 198 } | 199 } |
| 199 | 200 |
| 200 void TestCompositorFrameSink::OnDidFinishFrame(const BeginFrameAck& ack) {} | 201 void TestCompositorFrameSink::OnDidFinishFrame(const BeginFrameAck& ack) {} |
| 201 | 202 |
| 202 void TestCompositorFrameSink::SendCompositorFrameAckToClient() { | 203 void TestCompositorFrameSink::SendCompositorFrameAckToClient() { |
| 203 client_->DidReceiveCompositorFrameAck(); | 204 client_->DidReceiveCompositorFrameAck(); |
| 204 } | 205 } |
| 205 | 206 |
| 206 } // namespace cc | 207 } // namespace cc |
| OLD | NEW |