// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_VIZ_COMMON_HIT_TEST_HIT_TEST_QUERY_H_ #define COMPONENTS_VIZ_COMMON_HIT_TEST_HIT_TEST_QUERY_H_ #include <string> #include <vector> #include "base/functional/callback.h" #include "components/viz/common/hit_test/aggregated_hit_test_region.h" #include "components/viz/common/viz_common_export.h" #include "ui/gfx/geometry/point_f.h" namespace viz { struct Target { … }; enum class EventSource { … }; // Finds the target for a given location based on the AggregatedHitTestRegion // list aggregated by HitTestAggregator. // TODO(crbug.com/41460939): Handle 3d space cases correctly. class VIZ_COMMON_EXPORT HitTestQuery { … }; } // namespace viz #endif // COMPONENTS_VIZ_COMMON_HIT_TEST_HIT_TEST_QUERY_H_