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 #ifndef CC_SURFACES_FRAMESINK_MANAGER_CLIENT_H_ | 4 #ifndef CC_SURFACES_FRAME_SINK_MANAGER_CLIENT_H_ |
5 #define CC_SURFACES_FRAMESINK_MANAGER_CLIENT_H_ | 5 #define CC_SURFACES_FRAME_SINK_MANAGER_CLIENT_H_ |
6 | 6 |
7 #include "cc/scheduler/begin_frame_source.h" | 7 #include "cc/scheduler/begin_frame_source.h" |
8 #include "cc/surfaces/surfaces_export.h" | 8 #include "cc/surfaces/surfaces_export.h" |
9 | 9 |
10 namespace cc { | 10 namespace cc { |
11 | 11 |
12 class CC_SURFACES_EXPORT FrameSinkManagerClient { | 12 class CC_SURFACES_EXPORT FrameSinkManagerClient { |
13 public: | 13 public: |
14 virtual ~FrameSinkManagerClient() = default; | 14 virtual ~FrameSinkManagerClient() = default; |
15 | 15 |
16 // This allows the FrameSinkManager to pass a BeginFrameSource to use. | 16 // This allows the FrameSinkManager to pass a BeginFrameSource to use. |
17 virtual void SetBeginFrameSource(BeginFrameSource* begin_frame_source) = 0; | 17 virtual void SetBeginFrameSource(BeginFrameSource* begin_frame_source) = 0; |
18 }; | 18 }; |
19 | 19 |
20 } // namespace cc | 20 } // namespace cc |
21 | 21 |
22 #endif // CC_SURFACES_FRAMESINK_MANAGER_CLIENT_H_ | 22 #endif // CC_SURFACES_FRAME_SINK_MANAGER_CLIENT_H_ |
OLD | NEW |