Chromium Code Reviews| Index: cc/surfaces/compositor_frame_sink_support_client.h |
| diff --git a/cc/surfaces/compositor_frame_sink_support_client.h b/cc/surfaces/compositor_frame_sink_support_client.h |
| index e3f6dab23e141af7ecbce53857713369cd04b3dc..1a67b7b33881bd5bce8113237c243e29de27362b 100644 |
| --- a/cc/surfaces/compositor_frame_sink_support_client.h |
| +++ b/cc/surfaces/compositor_frame_sink_support_client.h |
| @@ -6,6 +6,7 @@ |
| #define CC_SURFACES_COMPOSITOR_FRAME_SINK_SUPPORT_CLIENT_H_ |
| #include "cc/resources/returned_resource.h" |
| +#include "cc/surfaces/display_client.h" |
| namespace cc { |
| @@ -31,6 +32,12 @@ class CompositorFrameSinkSupportClient { |
| // Called when surface is being scheduled for a draw. |
| virtual void WillDrawSurface() = 0; |
| + // DisplayClient methods. |
|
danakj
2017/01/24 18:23:06
Hm this is weird too. Why is the CompositorFrameSi
|
| + virtual void DisplayOutputSurfaceLost() {} |
| + virtual void DisplayWillDrawAndSwap(bool will_draw_and_swap, |
| + const RenderPassList& render_passes) {} |
| + virtual void DisplayDidDrawAndSwap() {} |
| + |
| protected: |
| virtual ~CompositorFrameSinkSupportClient() {} |
| }; |