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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, | 58 { CompositingReasonScrollBlocksOn, |
59 "scrollBlocksOn", | 59 "scrollBlocksOn", |
60 "Has a CSS scroll-blocks-on value other than none" }, | 60 "Has a CSS scroll-blocks-on value other than none" }, |
| 61 { CompositingReasonCompositorProxy, |
| 62 "compositorProxy", |
| 63 "Has a CompositorProxy object" }, |
61 { CompositingReasonAssumedOverlap, | 64 { CompositingReasonAssumedOverlap, |
62 "assumedOverlap", | 65 "assumedOverlap", |
63 "Might overlap other composited content" }, | 66 "Might overlap other composited content" }, |
64 { CompositingReasonOverlap, | 67 { CompositingReasonOverlap, |
65 "overlap", | 68 "overlap", |
66 "Overlaps other composited content" }, | 69 "Overlaps other composited content" }, |
67 { CompositingReasonNegativeZIndexChildren, | 70 { CompositingReasonNegativeZIndexChildren, |
68 "negativeZIndexChildren", | 71 "negativeZIndexChildren", |
69 "Parent with composited negative z-index content" }, | 72 "Parent with composited negative z-index content" }, |
70 { CompositingReasonScrollsWithRespectToSquashingLayer, | 73 { CompositingReasonScrollsWithRespectToSquashingLayer, |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 "layerForScrollingBlockSelection", | 194 "layerForScrollingBlockSelection", |
192 "Secondary layer, to house block selection gaps for composited scrolling
with no scrolling contents" }, | 195 "Secondary layer, to house block selection gaps for composited scrolling
with no scrolling contents" }, |
193 { CompositingReasonInlineTransform, | 196 { CompositingReasonInlineTransform, |
194 "inlineTransform", | 197 "inlineTransform", |
195 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, | 198 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, |
196 }; | 199 }; |
197 | 200 |
198 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa
p); | 201 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa
p); |
199 | 202 |
200 } // namespace blink | 203 } // namespace blink |
OLD | NEW |