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

Unified Diff: content/browser/renderer_host/render_widget_host_view_base.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: content/browser/renderer_host/render_widget_host_view_base.h
diff --git a/content/browser/renderer_host/render_widget_host_view_base.h b/content/browser/renderer_host/render_widget_host_view_base.h
index 8b1c651795b0519e4dd1b2af39b089d594647ebf..457a58d1af70f9024862fc78c2314a5486fcb7ff 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.h
+++ b/content/browser/renderer_host/render_widget_host_view_base.h
@@ -27,6 +27,7 @@
#include "content/public/common/screen_info.h"
#include "ipc/ipc_listener.h"
#include "services/viz/public/interfaces/compositing/compositor_frame_sink.mojom.h"
+#include "services/viz/public/interfaces/hit_test/input_hit_test.mojom.h"
#include "third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationType.h"
#include "third_party/WebKit/public/web/WebPopupType.h"
#include "third_party/WebKit/public/web/WebTextDirection.h"
@@ -227,8 +228,8 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
// expected not to return resources belonging to the old
// RendererCompositorFrameSink after this method finishes.
virtual void DidCreateNewRendererCompositorFrameSink(
- viz::mojom::CompositorFrameSinkClient*
- renderer_compositor_frame_sink) = 0;
+ viz::mojom::CompositorFrameSinkClient* renderer_compositor_frame_sink,
+ viz::mojom::FrameInputHitTest*) = 0;
virtual void SubmitCompositorFrame(
const viz::LocalSurfaceId& local_surface_id,

Powered by Google App Engine
This is Rietveld 408576698