// 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_AGGREGATED_HIT_TEST_REGION_H_ #define COMPONENTS_VIZ_COMMON_HIT_TEST_AGGREGATED_HIT_TEST_REGION_H_ #include <stdint.h> #include "components/viz/common/hit_test/hit_test_region_list.h" #include "components/viz/common/surfaces/frame_sink_id.h" #include "ui/gfx/geometry/rect.h" #include "ui/gfx/geometry/transform.h" namespace viz { // A AggregatedHitTestRegion element with child_count of kEndOfList indicates // the last element and end of the list. constexpr int32_t kEndOfList = …; // An array of AggregatedHitTestRegion elements is used to define the // aggregated hit-test data for the Display. // // It is designed to be in shared memory so that the viz service can // write the hit_test data, and the viz host can read without // process hops. struct AggregatedHitTestRegion { … }; } // namespace viz #endif // COMPONENTS_VIZ_COMMON_HIT_TEST_AGGREGATED_HIT_TEST_REGION_H_