1// Copyright 2018 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5module viz.mojom;
6
7import "services/viz/public/mojom/compositing/frame_sink_id.mojom";
8import "ui/gfx/geometry/mojom/geometry.mojom";
9import "ui/gfx/mojom/transform.mojom";
10
11// Corresponds to viz::AggregatedHitTestRegion.
12struct AggregatedHitTestRegion {
13  FrameSinkId frame_sink_id;
14
15  uint32 flags;
16
17  uint32 async_hit_test_reasons;
18
19  gfx.mojom.Rect rect;
20
21  uint32 child_count;
22
23  gfx.mojom.Transform transform;
24};
25