OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "config.h" | 5 #include "config.h" |
6 #include "platform/graphics/CompositingReasons.h" | 6 #include "platform/graphics/CompositingReasons.h" |
7 | 7 |
8 #include "wtf/StdLibExtras.h" | 8 #include "wtf/StdLibExtras.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 "Scroll parent is not an ancestor" }, | 48 "Scroll parent is not an ancestor" }, |
49 { CompositingReasonOutOfFlowClipping, | 49 { CompositingReasonOutOfFlowClipping, |
50 "outOfFlowClipping", | 50 "outOfFlowClipping", |
51 "Has clipping ancestor" }, | 51 "Has clipping ancestor" }, |
52 { CompositingReasonVideoOverlay, | 52 { CompositingReasonVideoOverlay, |
53 "videoOverlay", | 53 "videoOverlay", |
54 "Is overlay controls for video" }, | 54 "Is overlay controls for video" }, |
55 { CompositingReasonWillChangeCompositingHint, | 55 { CompositingReasonWillChangeCompositingHint, |
56 "willChange", | 56 "willChange", |
57 "Has a will-change compositing hint" }, | 57 "Has a will-change compositing hint" }, |
| 58 { CompositingReasonScrollBlocksOn, |
| 59 "scrollBlocksOn", |
| 60 "Has a CSS scroll-blocks-on value other than none" }, |
58 { CompositingReasonAssumedOverlap, | 61 { CompositingReasonAssumedOverlap, |
59 "assumedOverlap", | 62 "assumedOverlap", |
60 "Might overlap other composited content" }, | 63 "Might overlap other composited content" }, |
61 { CompositingReasonOverlap, | 64 { CompositingReasonOverlap, |
62 "overlap", | 65 "overlap", |
63 "Overlaps other composited content" }, | 66 "Overlaps other composited content" }, |
64 { CompositingReasonNegativeZIndexChildren, | 67 { CompositingReasonNegativeZIndexChildren, |
65 "negativeZIndexChildren", | 68 "negativeZIndexChildren", |
66 "Parent with composited negative z-index content" }, | 69 "Parent with composited negative z-index content" }, |
67 { CompositingReasonScrollsWithRespectToSquashingLayer, | 70 { CompositingReasonScrollsWithRespectToSquashingLayer, |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 "layerForScrollingBlockSelection", | 188 "layerForScrollingBlockSelection", |
186 "Secondary layer, to house block selection gaps for composited scrolling
with no scrolling contents" }, | 189 "Secondary layer, to house block selection gaps for composited scrolling
with no scrolling contents" }, |
187 { CompositingReasonInlineTransform, | 190 { CompositingReasonInlineTransform, |
188 "inlineTransform", | 191 "inlineTransform", |
189 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, | 192 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, |
190 }; | 193 }; |
191 | 194 |
192 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa
p); | 195 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa
p); |
193 | 196 |
194 } // namespace blink | 197 } // namespace blink |
OLD | NEW |