Chromium Code Reviews| Index: cc/surfaces/frame_sink_manager_client.h |
| diff --git a/cc/surfaces/frame_sink_manager_client.h b/cc/surfaces/frame_sink_manager_client.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..9af70f55bafddb728d0c3e041951e8b2d0d2404b |
| --- /dev/null |
| +++ b/cc/surfaces/frame_sink_manager_client.h |
| @@ -0,0 +1,22 @@ |
| +// 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. |
| +#ifndef CC_SURFACES_FRAME_SINK_MANAGER_CLIENT_H_ |
| +#define CC_SURFACES_FRAME_SINK_MANAGER_CLIENT_H_ |
| + |
| +#include "cc/scheduler/begin_frame_source.h" |
| +#include "cc/surfaces/surfaces_export.h" |
| + |
| +namespace cc { |
| + |
| +class CC_SURFACES_EXPORT FrameSinkManagerClient { |
| + public: |
| + virtual ~FrameSinkManagerClient() {} |
|
danakj
2017/04/19 14:52:56
=default
Alex Z.
2017/04/19 15:15:40
Done. I also changed the dtor to default in the ot
|
| + |
| + // This allows the FrameSinkManager to pass a BeginFrameSource to use. |
| + virtual void SetBeginFrameSource(BeginFrameSource* begin_frame_source) = 0; |
| +}; |
| + |
| +} // namespace cc |
| + |
| +#endif // CC_SURFACES_FRAME_SINK_MANAGER_CLIENT_H_ |