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

Unified Diff: content/browser/renderer_host/frame_sink_provider_impl.cc

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: content/browser/renderer_host/frame_sink_provider_impl.cc
diff --git a/content/browser/renderer_host/frame_sink_provider_impl.cc b/content/browser/renderer_host/frame_sink_provider_impl.cc
index b308029d4f4bc6130ca5da1695ecb6f58cb1db85..c6a0fe10a50bfc7ffd42fade2336ee587dda895d 100644
--- a/content/browser/renderer_host/frame_sink_provider_impl.cc
+++ b/content/browser/renderer_host/frame_sink_provider_impl.cc
@@ -27,7 +27,8 @@ void FrameSinkProviderImpl::Unbind() {
void FrameSinkProviderImpl::CreateForWidget(
int32_t widget_id,
viz::mojom::CompositorFrameSinkRequest request,
- viz::mojom::CompositorFrameSinkClientPtr client) {
+ viz::mojom::CompositorFrameSinkClientPtr client,
+ viz::mojom::FrameInputHitTestPtr hit_test) {
RenderWidgetHostImpl* render_widget_host_impl =
RenderWidgetHostImpl::FromID(process_id_, widget_id);
if (!render_widget_host_impl) {
@@ -35,8 +36,8 @@ void FrameSinkProviderImpl::CreateForWidget(
<< "in process " << process_id_;
return;
}
- render_widget_host_impl->RequestCompositorFrameSink(std::move(request),
- std::move(client));
+ render_widget_host_impl->RequestCompositorFrameSink(
+ std::move(request), std::move(client), std::move(hit_test));
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698