Commit d28ee327 authored by Scott Violet's avatar Scott Violet Committed by Commit Bot

aura: makes WindowPortMus use HitTestDataProviderDrawQuad

This works better for hit testing with mash.

BUG=879791
TEST=none

Change-Id: Ie87e72933f80a77955f301da2195934109d7f569
Reviewed-on: https://chromium-review.googlesource.com/1250123Reviewed-by: default avatarSadrul Chowdhury <sadrul@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#594968}
parent c07e8ae5
......@@ -6,12 +6,12 @@
#include "base/auto_reset.h"
#include "cc/mojo_embedder/async_layer_tree_frame_sink.h"
#include "components/viz/client/hit_test_data_provider_draw_quad.h"
#include "components/viz/client/local_surface_id_provider.h"
#include "components/viz/host/host_frame_sink_manager.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/client/transient_window_client.h"
#include "ui/aura/env.h"
#include "ui/aura/hit_test_data_provider_aura.h"
#include "ui/aura/mus/client_surface_embedder.h"
#include "ui/aura/mus/property_converter.h"
#include "ui/aura/mus/window_tree_client.h"
......@@ -126,7 +126,7 @@ WindowPortMus::RequestLayerTreeFrameSink(
params.pipes.compositor_frame_sink_info = std::move(sink_info);
params.pipes.client_request = std::move(client_request);
params.hit_test_data_provider =
std::make_unique<HitTestDataProviderAura>(window_);
std::make_unique<viz::HitTestDataProviderDrawQuad>(window_);
params.local_surface_id_provider =
std::make_unique<viz::DefaultLocalSurfaceIdProvider>();
params.enable_surface_synchronization = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment