// Copyright 2018 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_REGION_LIST_H_ #define COMPONENTS_VIZ_COMMON_HIT_TEST_HIT_TEST_REGION_LIST_H_ #include <vector> #include "components/viz/common/surfaces/frame_sink_id.h" #include "components/viz/common/viz_common_export.h" #include "ui/gfx/geometry/rect.h" #include "ui/gfx/geometry/transform.h" namespace viz { // New flags must be added to GetFlagNames in hit_test_query.cc in order to be // displayed in hit-test debug logging. enum HitTestRegionFlags : uint32_t { … }; // In viz hit testing surface layer, hit test regions are marked as kHitTestAsk // for various reasons. This is a class to track the reasons of why a // |HitTestRegion| cannot do synchronous targeting. enum AsyncHitTestReasons : uint32_t { … }; struct HitTestRegion { … }; struct VIZ_COMMON_EXPORT HitTestRegionList { … }; } // namespace viz #endif // COMPONENTS_VIZ_COMMON_HIT_TEST_HIT_TEST_REGION_LIST_H_