OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CC_SURFACES_SURFACE_HITTEST_H_ | 5 #ifndef CC_SURFACES_SURFACE_HITTEST_H_ |
6 #define CC_SURFACES_SURFACE_HITTEST_H_ | 6 #define CC_SURFACES_SURFACE_HITTEST_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "cc/surfaces/surface_id.h" | 10 #include "cc/surfaces/surface_id.h" |
11 #include "cc/surfaces/surfaces_export.h" | 11 #include "cc/surfaces/surfaces_export.h" |
12 | 12 |
13 namespace gfx { | 13 namespace gfx { |
14 class Point; | 14 class Point; |
15 class Transform; | 15 class Transform; |
16 } | 16 } |
17 | 17 |
18 namespace cc { | 18 namespace cc { |
19 | 19 |
20 class DrawQuad; | 20 class DrawQuad; |
21 class QuadList; | |
22 class RenderPass; | 21 class RenderPass; |
23 class RenderPassId; | 22 class RenderPassId; |
24 class SurfaceHittestDelegate; | 23 class SurfaceHittestDelegate; |
25 class SurfaceManager; | 24 class SurfaceManager; |
26 | 25 |
27 // Performs a hittest in surface quads. | 26 // Performs a hittest in surface quads. |
28 class CC_SURFACES_EXPORT SurfaceHittest { | 27 class CC_SURFACES_EXPORT SurfaceHittest { |
29 public: | 28 public: |
30 SurfaceHittest(SurfaceHittestDelegate* delegate, SurfaceManager* manager); | 29 SurfaceHittest(SurfaceHittestDelegate* delegate, SurfaceManager* manager); |
31 ~SurfaceHittest(); | 30 ~SurfaceHittest(); |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 const gfx::Point& point_in_render_pass_space, | 75 const gfx::Point& point_in_render_pass_space, |
77 gfx::Transform* target_to_quad_transform, | 76 gfx::Transform* target_to_quad_transform, |
78 gfx::Point* point_in_quad_space); | 77 gfx::Point* point_in_quad_space); |
79 | 78 |
80 SurfaceHittestDelegate* const delegate_; | 79 SurfaceHittestDelegate* const delegate_; |
81 SurfaceManager* const manager_; | 80 SurfaceManager* const manager_; |
82 }; | 81 }; |
83 } // namespace cc | 82 } // namespace cc |
84 | 83 |
85 #endif // CC_SURFACES_SURFACE_HITTEST_H_ | 84 #endif // CC_SURFACES_SURFACE_HITTEST_H_ |
OLD | NEW |