Add HitTestRegionList to SubmitCompositorFrame

Desktop / Chromium - Gary Klassen [chromium.org] - 5 August 2017 12:03 EDT

We need a way to send HitTestRegionList data to the HitTestAggregator with each call to SubmitCompositorFrame.

This change adds HitTestRegionList as an optional argument to SubmitCompositorFrame. The HitTestRegionList data is currently optional and empty - this will be added in future CLs.

Bug: 732399 Change-Id: I291bf67b36a3e3addf59a28fb64b58f2dc5527ce Reviewed-on: https://chromium-review.googlesource.com/585294

d9e90af Add HitTestRegionList to SubmitCompositorFrame
.../viz/client/client_layer_tree_frame_sink.cc | 2 +-
.../frame_sinks/gpu_compositor_frame_sink.cc | 4 ++-
.../frame_sinks/gpu_compositor_frame_sink.h | 6 +++--
.../frame_sinks/gpu_root_compositor_frame_sink.cc | 6 ++++-
.../frame_sinks/gpu_root_compositor_frame_sink.h | 6 +++--
.../offscreen_canvas_provider_impl_unittest.cc | 3 ++-
.../renderer_host/render_widget_host_impl.cc | 7 +++--
.../renderer_host/render_widget_host_impl.h | 6 +++--
.../renderer_host/render_widget_host_unittest.cc | 30 +++++++++++-----------
.../ui/ws/compositor_frame_sink_client_binding.cc | 7 ++---
.../ui/ws/compositor_frame_sink_client_binding.h | 6 +++--
services/ui/ws/frame_generator.cc | 2 +-
services/ui/ws/frame_generator_unittest.cc | 6 +++--
services/ui/ws/window_tree_client_unittest.cc | 4 +--
.../viz/public/interfaces/compositing/BUILD.gn | 1 +
.../compositing/compositor_frame_sink.mojom | 4 ++-
.../OffscreenCanvasFrameDispatcherImpl.cpp | 3 ++-
17 files changed, 64 insertions(+), 39 deletions(-)

Upstream: git.chromium.org


  • Share