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

Unified Diff: components/viz/host/host_frame_sink_manager.h

Issue 2951053005: Add Mojo API for Blink hit testing (Closed)
Patch Set: Address Rob's comments Created 3 years, 4 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
« no previous file with comments | « components/viz/host/DEPS ('k') | components/viz/host/host_frame_sink_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/viz/host/host_frame_sink_manager.h
diff --git a/components/viz/host/host_frame_sink_manager.h b/components/viz/host/host_frame_sink_manager.h
index e9549b9eb880349b6e5546d724d74064edc27873..10f9b4b89c6a1701b4511af69315d1478e218c16 100644
--- a/components/viz/host/host_frame_sink_manager.h
+++ b/components/viz/host/host_frame_sink_manager.h
@@ -84,6 +84,7 @@ class VIZ_HOST_EXPORT HostFrameSinkManager
// CompositorFrameSinkSupportManager:
std::unique_ptr<CompositorFrameSinkSupport> CreateCompositorFrameSinkSupport(
CompositorFrameSinkSupportClient* client,
+ mojom::TargetFrameForInputDelegate*,
const FrameSinkId& frame_sink_id,
bool is_root,
bool handles_frame_sink_id_invalidation,
@@ -120,6 +121,10 @@ class VIZ_HOST_EXPORT HostFrameSinkManager
// This will be null if using Mojo.
CompositorFrameSinkSupport* support = nullptr;
+ // Hit test interface from the renderer.
+ mojom::TargetFrameForInputDelegate* target_frame_for_input_delegate =
+ nullptr;
+
private:
DISALLOW_COPY_AND_ASSIGN(FrameSinkData);
};
« no previous file with comments | « components/viz/host/DEPS ('k') | components/viz/host/host_frame_sink_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698