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

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

Issue 2951053005: Add Mojo API for Blink hit testing (Closed)
Patch Set: Make the hit test API accesible by viz component 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
Index: components/viz/service/frame_sinks/compositor_frame_sink_support_manager.h
diff --git a/components/viz/service/frame_sinks/compositor_frame_sink_support_manager.h b/components/viz/service/frame_sinks/compositor_frame_sink_support_manager.h
index 91a4e805709b7d0328fe6b9254f3fce273a44443..2e8f552008621ae13104c32bfd21191bb4c88385 100644
--- a/components/viz/service/frame_sinks/compositor_frame_sink_support_manager.h
+++ b/components/viz/service/frame_sinks/compositor_frame_sink_support_manager.h
@@ -8,19 +8,23 @@
#include <memory>
#include "base/callback.h"
-
namespace viz {
class CompositorFrameSinkSupport;
class CompositorFrameSinkSupportClient;
class FrameSinkId;
+namespace mojom {
+class FrameInputHitTest;
+}
+
// This inteface provides a way for DirectLayerTreeFrameSink to create a
// CompositorFrameSinkSupport.
class CompositorFrameSinkSupportManager {
public:
virtual std::unique_ptr<CompositorFrameSinkSupport>
CreateCompositorFrameSinkSupport(CompositorFrameSinkSupportClient* client,
+ mojom::FrameInputHitTest*,
const FrameSinkId& frame_sink_id,
bool is_root,
bool handles_frame_sink_id_invalidation,

Powered by Google App Engine
This is Rietveld 408576698