OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 | 4 |
5 #ifndef UI_AURA_MUS_WINDOW_COMPOSITOR_FRAME_SINK_H_ | 5 #ifndef UI_AURA_MUS_WINDOW_COMPOSITOR_FRAME_SINK_H_ |
6 #define UI_AURA_MUS_WINDOW_COMPOSITOR_FRAME_SINK_H_ | 6 #define UI_AURA_MUS_WINDOW_COMPOSITOR_FRAME_SINK_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "cc/ipc/mojo_compositor_frame_sink.mojom.h" | 9 #include "cc/ipc/mojo_compositor_frame_sink.mojom.h" |
10 #include "cc/output/compositor_frame_sink.h" | 10 #include "cc/output/compositor_frame_sink.h" |
11 #include "cc/scheduler/begin_frame_source.h" | 11 #include "cc/scheduler/begin_frame_source.h" |
12 #include "cc/surfaces/surface_id.h" | 12 #include "cc/surfaces/surface_id.h" |
13 #include "mojo/public/cpp/bindings/binding.h" | 13 #include "mojo/public/cpp/bindings/binding.h" |
14 | 14 |
15 namespace gpu { | |
16 class GpuChannelHost; | |
17 } | |
18 | |
19 namespace aura { | 15 namespace aura { |
20 | 16 |
21 class WindowCompositorFrameSinkBinding; | 17 class WindowCompositorFrameSinkBinding; |
22 | 18 |
23 class WindowCompositorFrameSink | 19 class WindowCompositorFrameSink |
24 : public cc::CompositorFrameSink, | 20 : public cc::CompositorFrameSink, |
25 public cc::mojom::MojoCompositorFrameSinkClient, | 21 public cc::mojom::MojoCompositorFrameSinkClient, |
26 public cc::ExternalBeginFrameSourceClient { | 22 public cc::ExternalBeginFrameSourceClient { |
27 public: | 23 public: |
28 // static | 24 // static |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink_request_; | 86 cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink_request_; |
91 mojo::InterfacePtrInfo<cc::mojom::MojoCompositorFrameSinkClient> | 87 mojo::InterfacePtrInfo<cc::mojom::MojoCompositorFrameSinkClient> |
92 compositor_frame_sink_client_; | 88 compositor_frame_sink_client_; |
93 | 89 |
94 DISALLOW_COPY_AND_ASSIGN(WindowCompositorFrameSinkBinding); | 90 DISALLOW_COPY_AND_ASSIGN(WindowCompositorFrameSinkBinding); |
95 }; | 91 }; |
96 | 92 |
97 } // namespace aura | 93 } // namespace aura |
98 | 94 |
99 #endif // UI_AURA_MUS_WINDOW_COMPOSITOR_FRAME_SINK_H_ | 95 #endif // UI_AURA_MUS_WINDOW_COMPOSITOR_FRAME_SINK_H_ |
OLD | NEW |