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 "cc/ipc/frame_sink_manager.mojom.h" | 8 #include "cc/ipc/frame_sink_manager.mojom.h" |
9 #include "cc/ipc/mojo_compositor_frame_sink.mojom.h" | 9 #include "cc/ipc/mojo_compositor_frame_sink.mojom.h" |
10 #include "cc/surfaces/compositor_frame_sink_support_client.h" | 10 #include "cc/surfaces/compositor_frame_sink_support_client.h" |
11 #include "cc/surfaces/display_client.h" | 11 #include "cc/surfaces/display_client.h" |
12 #include "cc/surfaces/local_surface_id.h" | 12 #include "cc/surfaces/local_surface_id.h" |
13 #include "cc/surfaces/surface_id.h" | 13 #include "cc/surfaces/surface_id.h" |
| 14 #include "components/viz/hit_test/hit_test_aggregator.h" |
14 #include "components/viz/service/frame_sinks/gpu_compositor_frame_sink_delegate.
h" | 15 #include "components/viz/service/frame_sinks/gpu_compositor_frame_sink_delegate.
h" |
15 #include "mojo/public/cpp/bindings/associated_binding.h" | 16 #include "mojo/public/cpp/bindings/associated_binding.h" |
16 #include "mojo/public/cpp/bindings/binding.h" | 17 #include "mojo/public/cpp/bindings/binding.h" |
17 | 18 |
18 namespace cc { | 19 namespace cc { |
19 class BeginFrameSource; | 20 class BeginFrameSource; |
20 class CompositorFrameSinkSupport; | 21 class CompositorFrameSinkSupport; |
21 class Display; | 22 class Display; |
22 class SurfaceManager; | 23 class SurfaceManager; |
23 } | 24 } |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 bool client_connection_lost_ = false; | 95 bool client_connection_lost_ = false; |
95 bool private_connection_lost_ = false; | 96 bool private_connection_lost_ = false; |
96 | 97 |
97 cc::mojom::MojoCompositorFrameSinkClientPtr client_; | 98 cc::mojom::MojoCompositorFrameSinkClientPtr client_; |
98 mojo::AssociatedBinding<cc::mojom::MojoCompositorFrameSink> | 99 mojo::AssociatedBinding<cc::mojom::MojoCompositorFrameSink> |
99 compositor_frame_sink_binding_; | 100 compositor_frame_sink_binding_; |
100 mojo::Binding<cc::mojom::MojoCompositorFrameSinkPrivate> | 101 mojo::Binding<cc::mojom::MojoCompositorFrameSinkPrivate> |
101 compositor_frame_sink_private_binding_; | 102 compositor_frame_sink_private_binding_; |
102 mojo::AssociatedBinding<cc::mojom::DisplayPrivate> display_private_binding_; | 103 mojo::AssociatedBinding<cc::mojom::DisplayPrivate> display_private_binding_; |
103 | 104 |
| 105 std::unique_ptr<hit_test::HitTestAggregator> hit_test_aggregator_; |
| 106 |
104 DISALLOW_COPY_AND_ASSIGN(GpuRootCompositorFrameSink); | 107 DISALLOW_COPY_AND_ASSIGN(GpuRootCompositorFrameSink); |
105 }; | 108 }; |
106 | 109 |
107 } // namespace viz | 110 } // namespace viz |
108 | 111 |
109 #endif // COMPONENTS_VIZ_SERVICE_FRAME_SINKS_GPU_ROOT_COMPOSITOR_FRAME_SINK_H_ | 112 #endif // COMPONENTS_VIZ_SERVICE_FRAME_SINKS_GPU_ROOT_COMPOSITOR_FRAME_SINK_H_ |
OLD | NEW |