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

Unified Diff: components/viz/service/frame_sinks/gpu_root_compositor_frame_sink.h

Issue 2937233002: Use HitTestAggregator in GpuRootCompositorFrameSink (Closed)
Patch Set: rebase Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: components/viz/service/frame_sinks/gpu_root_compositor_frame_sink.h
diff --git a/components/viz/service/frame_sinks/gpu_root_compositor_frame_sink.h b/components/viz/service/frame_sinks/gpu_root_compositor_frame_sink.h
index 2defc9d828a34bc72306f9adf468877a6b277bc2..9ac1a81ae78c57cf7b8baa5bc164fb8c9babd3a6 100644
--- a/components/viz/service/frame_sinks/gpu_root_compositor_frame_sink.h
+++ b/components/viz/service/frame_sinks/gpu_root_compositor_frame_sink.h
@@ -11,9 +11,11 @@
#include "cc/ipc/frame_sink_manager.mojom.h"
#include "components/viz/common/surfaces/local_surface_id.h"
#include "components/viz/common/surfaces/surface_id.h"
+#include "components/viz/common/switches.h"
#include "components/viz/service/display/display_client.h"
#include "components/viz/service/frame_sinks/compositor_frame_sink_support_client.h"
#include "components/viz/service/frame_sinks/gpu_compositor_frame_sink_delegate.h"
+#include "components/viz/service/hit_test/hit_test_aggregator.h"
#include "mojo/public/cpp/bindings/associated_binding.h"
#include "mojo/public/cpp/bindings/binding.h"
@@ -101,6 +103,8 @@ class GpuRootCompositorFrameSink
compositor_frame_sink_private_binding_;
mojo::AssociatedBinding<cc::mojom::DisplayPrivate> display_private_binding_;
+ std::unique_ptr<HitTestAggregator> hit_test_aggregator_;
+
DISALLOW_COPY_AND_ASSIGN(GpuRootCompositorFrameSink);
};

Powered by Google App Engine
This is Rietveld 408576698