Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: components/viz/common/display_hit_test_data.h

Issue 2933493003: Add viz-host HitTestQuery. (Closed)
Patch Set: comments # 16 17 18 Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_DISPLAY_HIT_TEST_DATA_H_
6 #define COMPONENTS_VIZ_COMMON_DISPLAY_HIT_TEST_DATA_H_
7
8 #include <vector>
9
10 #include "cc/surfaces/frame_sink_id.h"
11 #include "ui/gfx/geometry/rect.h"
12 #include "ui/gfx/transform.h"
13
14 namespace viz {
15 namespace hit_test {
16
17 struct DisplayHitTestData {
rjkroege 2017/06/28 18:46:43 this is a placeholder class right? You will remove
18 cc::FrameSinkId id;
19 gfx::Rect bounds;
20 gfx::Transform transform;
21 uint32_t flags;
22 uint32_t child_count;
23 };
24
25 using DisplayHitTestDataList = std::vector<DisplayHitTestData>;
26
27 } // namespace hit_test
28 } // namespace viz
29
30 #endif // COMPONENTS_VIZ_COMMON_DISPLAY_HIT_TEST_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698