Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(683)

Side by Side Diff: components/viz/frame_sinks/gpu_root_compositor_frame_sink.h

Issue 2908783002: WIP Hittest Component.
Patch Set: change HitTestFlags to constants so we can mix and match and convert to struct naming convention Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_FRAME_SINKS_GPU_ROOT_COMPOSITOR_FRAME_SINK_H_ 5 #ifndef COMPONENTS_VIZ_FRAME_SINKS_GPU_ROOT_COMPOSITOR_FRAME_SINK_H_
6 #define COMPONENTS_VIZ_FRAME_SINKS_GPU_ROOT_COMPOSITOR_FRAME_SINK_H_ 6 #define COMPONENTS_VIZ_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/frame_sinks/gpu_compositor_frame_sink_delegate.h" 14 #include "components/viz/frame_sinks/gpu_compositor_frame_sink_delegate.h"
15 #include "components/viz/hit_test/hit_test_aggregator.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 }
24 25
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 bool client_connection_lost_ = false; 96 bool client_connection_lost_ = false;
96 bool private_connection_lost_ = false; 97 bool private_connection_lost_ = false;
97 98
98 cc::mojom::MojoCompositorFrameSinkClientPtr client_; 99 cc::mojom::MojoCompositorFrameSinkClientPtr client_;
99 mojo::AssociatedBinding<cc::mojom::MojoCompositorFrameSink> 100 mojo::AssociatedBinding<cc::mojom::MojoCompositorFrameSink>
100 compositor_frame_sink_binding_; 101 compositor_frame_sink_binding_;
101 mojo::Binding<cc::mojom::MojoCompositorFrameSinkPrivate> 102 mojo::Binding<cc::mojom::MojoCompositorFrameSinkPrivate>
102 compositor_frame_sink_private_binding_; 103 compositor_frame_sink_private_binding_;
103 mojo::AssociatedBinding<cc::mojom::DisplayPrivate> display_private_binding_; 104 mojo::AssociatedBinding<cc::mojom::DisplayPrivate> display_private_binding_;
104 105
106 std::unique_ptr<hit_test::HitTestAggregator> hit_test_aggregator_;
107
105 DISALLOW_COPY_AND_ASSIGN(GpuRootCompositorFrameSink); 108 DISALLOW_COPY_AND_ASSIGN(GpuRootCompositorFrameSink);
106 }; 109 };
107 110
108 } // namespace viz 111 } // namespace viz
109 112
110 #endif // COMPONENTS_VIZ_FRAME_SINKS_GPU_ROOT_COMPOSITOR_FRAME_SINK_H_ 113 #endif // COMPONENTS_VIZ_FRAME_SINKS_GPU_ROOT_COMPOSITOR_FRAME_SINK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698