Index: components/viz/common/display_hit_test_data.h |
diff --git a/components/viz/common/display_hit_test_data.h b/components/viz/common/display_hit_test_data.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bea58e8ee66885a52cb7d503558f277a0a47ea67 |
--- /dev/null |
+++ b/components/viz/common/display_hit_test_data.h |
@@ -0,0 +1,30 @@ |
+// 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_COMMON_DISPLAY_HIT_TEST_DATA_H_ |
+#define COMPONENTS_VIZ_COMMON_DISPLAY_HIT_TEST_DATA_H_ |
+ |
+#include <vector> |
+ |
+#include "cc/surfaces/frame_sink_id.h" |
+#include "ui/gfx/geometry/rect.h" |
+#include "ui/gfx/transform.h" |
+ |
+namespace viz { |
+namespace hit_test { |
+ |
+struct DisplayHitTestData { |
rjkroege
2017/06/28 18:46:43
this is a placeholder class right? You will remove
|
+ cc::FrameSinkId id; |
+ gfx::Rect bounds; |
+ gfx::Transform transform; |
+ uint32_t flags; |
+ uint32_t child_count; |
+}; |
+ |
+using DisplayHitTestDataList = std::vector<DisplayHitTestData>; |
+ |
+} // namespace hit_test |
+} // namespace viz |
+ |
+#endif // COMPONENTS_VIZ_COMMON_DISPLAY_HIT_TEST_DATA_H_ |