| Index: cc/test/empty_compositor_frame_sink_support_client.cc
|
| diff --git a/cc/test/empty_compositor_frame_sink_support_client.cc b/cc/test/empty_compositor_frame_sink_support_client.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..27a428ab3484875b7d31786fdbeea49bb4b2a4c3
|
| --- /dev/null
|
| +++ b/cc/test/empty_compositor_frame_sink_support_client.cc
|
| @@ -0,0 +1,34 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "cc/test/empty_compositor_frame_sink_support_client.h"
|
| +
|
| +#include "cc/surfaces/surface_manager.h"
|
| +
|
| +namespace cc {
|
| +
|
| +EmptyCompositorFrameSinkSupportClient::EmptyCompositorFrameSinkSupportClient() {
|
| +}
|
| +
|
| +EmptyCompositorFrameSinkSupportClient::
|
| + ~EmptyCompositorFrameSinkSupportClient() {}
|
| +
|
| +void EmptyCompositorFrameSinkSupportClient::DidReceiveCompositorFrameAck() {}
|
| +
|
| +void EmptyCompositorFrameSinkSupportClient::OnBeginFrame(
|
| + const BeginFrameArgs& args) {}
|
| +
|
| +void EmptyCompositorFrameSinkSupportClient::ReclaimResources(
|
| + const ReturnedResourceArray& resources) {
|
| + returned_resources_ = resources;
|
| +}
|
| +
|
| +void EmptyCompositorFrameSinkSupportClient::WillDrawSurface(
|
| + const LocalSurfaceId& local_surface_id,
|
| + const gfx::Rect& damage_rect) {
|
| + last_local_surface_id_ = local_surface_id;
|
| + last_damage_rect_ = damage_rect;
|
| +}
|
| +
|
| +}; // namespace cc
|
|
|