Chromium Code Reviews| Index: components/viz/hit_test/common/display_hit_test_data.h |
| diff --git a/components/viz/hit_test/common/display_hit_test_data.h b/components/viz/hit_test/common/display_hit_test_data.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..79e478599eb33393df4a30db4c68766cebed9f9a |
| --- /dev/null |
| +++ b/components/viz/hit_test/common/display_hit_test_data.h |
| @@ -0,0 +1,27 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef COMPONENTS_VIZ_HIT_TEST_COMMON_DISPLAY_HIT_TEST_DATA_H_ |
| +#define COMPONENTS_VIZ_HIT_TEST_COMMON_DISPLAY_HIT_TEST_DATA_H_ |
| + |
| +#include "cc/surfaces/frame_sink_id.h" |
| +#include "ui/gfx/geometry/rect.h" |
| +#include "ui/gfx/transform.h" |
| + |
| +namespace viz { |
| +namespace hit_test { |
| + |
| +// TODO(riajiang): Integrate with https://codereview.chromium.org/2908783002/. |
|
rjkroege
2017/06/12 17:17:24
you need to rebase
riajiang
2017/06/13 18:42:29
Do you mean with the new client/host dir? Should H
|
| +struct DisplayHitTestData { |
| + cc::FrameSinkId id; |
| + gfx::Rect bounds; |
| + gfx::Transform transform; |
| + int flags; |
| + uint32_t child_count; |
| +}; |
| + |
| +} // namespace hit_test |
| +} // namespace viz |
| + |
| +#endif // COMPONENTS_VIZ_HIT_TEST_COMMON_DISPLAY_HIT_TEST_DATA_H_ |