| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef SERVICES_UI_SURFACES_GPU_OFFSCREEN_COMPOSITOR_FRAME_SINK_H_ |
| 6 #define SERVICES_UI_SURFACES_GPU_OFFSCREEN_COMPOSITOR_FRAME_SINK_H_ |
| 7 |
| 8 #include "services/ui/surfaces/gpu_compositor_frame_sink.h" |
| 9 |
| 10 namespace ui { |
| 11 |
| 12 class GpuOffscreenCompositorFrameSink : public GpuCompositorFrameSink { |
| 13 public: |
| 14 GpuOffscreenCompositorFrameSink( |
| 15 DisplayCompositor* display_compositor, |
| 16 const cc::FrameSinkId& frame_sink_id, |
| 17 cc::mojom::MojoCompositorFrameSinkRequest request, |
| 18 cc::mojom::MojoCompositorFrameSinkPrivateRequest private_request, |
| 19 cc::mojom::MojoCompositorFrameSinkClientPtr client); |
| 20 |
| 21 ~GpuOffscreenCompositorFrameSink() override; |
| 22 |
| 23 private: |
| 24 mojo::Binding<cc::mojom::MojoCompositorFrameSink> binding_; |
| 25 |
| 26 DISALLOW_COPY_AND_ASSIGN(GpuOffscreenCompositorFrameSink); |
| 27 }; |
| 28 |
| 29 } // namespace ui |
| 30 |
| 31 #endif // SERVICES_UI_SURFACES_GPU_OFFSCREEN_COMPOSITOR_FRAME_SINK_H_ |
| OLD | NEW |