Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 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 | |
| 5 #ifndef COMPONENTS_VIZ_COMMON_HIT_TEST_DISPLAY_HIT_TEST_DATA_H_ | |
| 6 #define COMPONENTS_VIZ_COMMON_HIT_TEST_DISPLAY_HIT_TEST_DATA_H_ | |
| 7 | |
| 8 #include "cc/surfaces/frame_sink_id.h" | |
| 9 #include "ui/gfx/geometry/rect.h" | |
| 10 #include "ui/gfx/transform.h" | |
| 11 | |
| 12 namespace viz { | |
| 13 namespace hit_test { | |
| 14 | |
| 15 // TODO(riajiang): Integrate with https://codereview.chromium.org/2908783002/. | |
| 16 struct DisplayHitTestData { | |
|
rjkroege
2017/06/15 19:58:35
I'd call this a DisplayHitTestDataRegion where the
riajiang
2017/06/16 02:56:54
Done. Changed DisplayHitTestData to be a vector of
| |
| 17 cc::FrameSinkId id; | |
| 18 gfx::Rect bounds; | |
| 19 gfx::Transform transform; | |
| 20 int flags; | |
| 21 uint32_t child_count; | |
| 22 }; | |
| 23 | |
| 24 } // namespace hit_test | |
| 25 } // namespace viz | |
| 26 | |
| 27 #endif // COMPONENTS_VIZ_COMMON_HIT_TEST_DISPLAY_HIT_TEST_DATA_H_ | |
| OLD | NEW |