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 | 4 |
5 #ifndef COMPONENTS_VIZ_SERVICE_FRAME_SINKS_GPU_ROOT_COMPOSITOR_FRAME_SINK_H_ | 5 #ifndef COMPONENTS_VIZ_SERVICE_FRAME_SINKS_GPU_ROOT_COMPOSITOR_FRAME_SINK_H_ |
6 #define COMPONENTS_VIZ_SERVICE_FRAME_SINKS_GPU_ROOT_COMPOSITOR_FRAME_SINK_H_ | 6 #define COMPONENTS_VIZ_SERVICE_FRAME_SINKS_GPU_ROOT_COMPOSITOR_FRAME_SINK_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "cc/ipc/compositor_frame_sink.mojom.h" | 10 #include "cc/ipc/compositor_frame_sink.mojom.h" |
11 #include "cc/ipc/frame_sink_manager.mojom.h" | 11 #include "cc/ipc/frame_sink_manager.mojom.h" |
12 #include "components/viz/common/surfaces/local_surface_id.h" | 12 #include "components/viz/common/surfaces/local_surface_id.h" |
13 #include "components/viz/common/surfaces/surface_id.h" | 13 #include "components/viz/common/surfaces/surface_id.h" |
| 14 #include "components/viz/common/switches.h" |
14 #include "components/viz/service/display/display_client.h" | 15 #include "components/viz/service/display/display_client.h" |
15 #include "components/viz/service/frame_sinks/compositor_frame_sink_support_clien
t.h" | 16 #include "components/viz/service/frame_sinks/compositor_frame_sink_support_clien
t.h" |
16 #include "components/viz/service/frame_sinks/gpu_compositor_frame_sink_delegate.
h" | 17 #include "components/viz/service/frame_sinks/gpu_compositor_frame_sink_delegate.
h" |
| 18 #include "components/viz/service/hit_test/hit_test_aggregator.h" |
17 #include "mojo/public/cpp/bindings/associated_binding.h" | 19 #include "mojo/public/cpp/bindings/associated_binding.h" |
18 #include "mojo/public/cpp/bindings/binding.h" | 20 #include "mojo/public/cpp/bindings/binding.h" |
19 | 21 |
20 namespace cc { | 22 namespace cc { |
21 class BeginFrameSource; | 23 class BeginFrameSource; |
22 } | 24 } |
23 | 25 |
24 namespace viz { | 26 namespace viz { |
25 class FrameSinkManager; | 27 class FrameSinkManager; |
26 class CompositorFrameSinkSupport; | 28 class CompositorFrameSinkSupport; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 std::unique_ptr<cc::BeginFrameSource> display_begin_frame_source_; | 96 std::unique_ptr<cc::BeginFrameSource> display_begin_frame_source_; |
95 std::unique_ptr<Display> display_; | 97 std::unique_ptr<Display> display_; |
96 | 98 |
97 cc::mojom::CompositorFrameSinkClientPtr client_; | 99 cc::mojom::CompositorFrameSinkClientPtr client_; |
98 mojo::AssociatedBinding<cc::mojom::CompositorFrameSink> | 100 mojo::AssociatedBinding<cc::mojom::CompositorFrameSink> |
99 compositor_frame_sink_binding_; | 101 compositor_frame_sink_binding_; |
100 mojo::Binding<cc::mojom::CompositorFrameSinkPrivate> | 102 mojo::Binding<cc::mojom::CompositorFrameSinkPrivate> |
101 compositor_frame_sink_private_binding_; | 103 compositor_frame_sink_private_binding_; |
102 mojo::AssociatedBinding<cc::mojom::DisplayPrivate> display_private_binding_; | 104 mojo::AssociatedBinding<cc::mojom::DisplayPrivate> display_private_binding_; |
103 | 105 |
| 106 std::unique_ptr<HitTestAggregator> hit_test_aggregator_; |
| 107 |
104 DISALLOW_COPY_AND_ASSIGN(GpuRootCompositorFrameSink); | 108 DISALLOW_COPY_AND_ASSIGN(GpuRootCompositorFrameSink); |
105 }; | 109 }; |
106 | 110 |
107 } // namespace viz | 111 } // namespace viz |
108 | 112 |
109 #endif // COMPONENTS_VIZ_SERVICE_FRAME_SINKS_GPU_ROOT_COMPOSITOR_FRAME_SINK_H_ | 113 #endif // COMPONENTS_VIZ_SERVICE_FRAME_SINKS_GPU_ROOT_COMPOSITOR_FRAME_SINK_H_ |
OLD | NEW |