OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 COMPONENTS_MUS_SURFACES_COMPOSITOR_FRAME_SINK_FACTORY_IMPL_H_ | 5 #ifndef COMPONENTS_MUS_GPU_DISPLAY_COMPOSITOR_COMPOSITOR_FRAME_SINK_FACTORY_IMPL
_H_ |
6 #define COMPONENTS_MUS_SURFACES_COMPOSITOR_FRAME_SINK_FACTORY_IMPL_H_ | 6 #define COMPONENTS_MUS_GPU_DISPLAY_COMPOSITOR_COMPOSITOR_FRAME_SINK_FACTORY_IMPL
_H_ |
7 | 7 |
8 #include "cc/surfaces/surface_id_allocator.h" | 8 #include "cc/surfaces/surface_id_allocator.h" |
| 9 #include "components/mus/gpu/display_compositor/compositor_frame_sink_delegate.h
" |
9 #include "components/mus/public/interfaces/gpu/display_compositor.mojom.h" | 10 #include "components/mus/public/interfaces/gpu/display_compositor.mojom.h" |
10 #include "components/mus/surfaces/compositor_frame_sink_delegate.h" | |
11 #include "components/mus/surfaces/surfaces_state.h" | 11 #include "components/mus/surfaces/surfaces_state.h" |
12 #include "mojo/public/cpp/bindings/strong_binding.h" | 12 #include "mojo/public/cpp/bindings/strong_binding.h" |
13 | 13 |
14 namespace mus { | 14 namespace mus { |
15 namespace gpu { | 15 namespace gpu { |
16 | 16 |
17 class CompositorFrameSinkImpl; | 17 class CompositorFrameSinkImpl; |
18 | 18 |
19 class CompositorFrameSinkFactoryImpl : public mojom::CompositorFrameSinkFactory, | 19 class CompositorFrameSinkFactoryImpl : public mojom::CompositorFrameSinkFactory, |
20 public CompositorFrameSinkDelegate { | 20 public CompositorFrameSinkDelegate { |
(...skipping 24 matching lines...) Expand all Loading... |
45 std::map<uint32_t, std::unique_ptr<CompositorFrameSinkImpl>>; | 45 std::map<uint32_t, std::unique_ptr<CompositorFrameSinkImpl>>; |
46 CompositorFrameSinkMap sinks_; | 46 CompositorFrameSinkMap sinks_; |
47 mojo::StrongBinding<mojom::CompositorFrameSinkFactory> binding_; | 47 mojo::StrongBinding<mojom::CompositorFrameSinkFactory> binding_; |
48 | 48 |
49 DISALLOW_COPY_AND_ASSIGN(CompositorFrameSinkFactoryImpl); | 49 DISALLOW_COPY_AND_ASSIGN(CompositorFrameSinkFactoryImpl); |
50 }; | 50 }; |
51 | 51 |
52 } // namespace gpu | 52 } // namespace gpu |
53 } // namespace mus | 53 } // namespace mus |
54 | 54 |
55 #endif // COMPONENTS_MUS_SURFACES_COMPOSITOR_FRAME_SINK_FACTORY_IMPL_H_ | 55 #endif // COMPONENTS_MUS_GPU_DISPLAY_COMPOSITOR_COMPOSITOR_FRAME_SINK_FACTORY_I
MPL_H_ |
OLD | NEW |