OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 IntersectionGeometry_h | 5 #ifndef IntersectionGeometry_h |
6 #define IntersectionGeometry_h | 6 #define IntersectionGeometry_h |
7 | 7 |
8 #include "platform/Length.h" | 8 #include "platform/Length.h" |
9 #include "platform/geometry/LayoutRect.h" | 9 #include "platform/geometry/LayoutRect.h" |
10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
11 #include "wtf/Vector.h" | 11 #include "platform/wtf/Vector.h" |
12 | 12 |
13 namespace blink { | 13 namespace blink { |
14 | 14 |
15 class Element; | 15 class Element; |
16 class LayoutObject; | 16 class LayoutObject; |
17 | 17 |
18 // Computes the intersection between an ancestor (root) element and a | 18 // Computes the intersection between an ancestor (root) element and a |
19 // descendant (target) element, with overflow and CSS clipping applied, but not | 19 // descendant (target) element, with overflow and CSS clipping applied, but not |
20 // paint occlusion. | 20 // paint occlusion. |
21 // | 21 // |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 LayoutRect root_rect_; | 79 LayoutRect root_rect_; |
80 unsigned does_intersect_ : 1; | 80 unsigned does_intersect_ : 1; |
81 const unsigned should_report_root_bounds_ : 1; | 81 const unsigned should_report_root_bounds_ : 1; |
82 const unsigned root_is_implicit_ : 1; | 82 const unsigned root_is_implicit_ : 1; |
83 const unsigned can_compute_geometry_ : 1; | 83 const unsigned can_compute_geometry_ : 1; |
84 }; | 84 }; |
85 | 85 |
86 } // namespace blink | 86 } // namespace blink |
87 | 87 |
88 #endif // IntersectionGeometry_h | 88 #endif // IntersectionGeometry_h |
OLD | NEW |