| 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 { CompositingReasonBackdropFilter, |
| 59 "backdropFilter" |
| 60 "Has a backdrop filter" }, |
| 58 { CompositingReasonCompositorProxy, | 61 { CompositingReasonCompositorProxy, |
| 59 "compositorProxy", | 62 "compositorProxy", |
| 60 "Has a CompositorProxy object" }, | 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, |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 "layerForScrollingBlockSelection", | 197 "layerForScrollingBlockSelection", |
| 195 "Secondary layer, to house block selection gaps for composited scrolling
with no scrolling contents" }, | 198 "Secondary layer, to house block selection gaps for composited scrolling
with no scrolling contents" }, |
| 196 { CompositingReasonInlineTransform, | 199 { CompositingReasonInlineTransform, |
| 197 "inlineTransform", | 200 "inlineTransform", |
| 198 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, | 201 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, |
| 199 }; | 202 }; |
| 200 | 203 |
| 201 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa
p); | 204 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa
p); |
| 202 | 205 |
| 203 } // namespace blink | 206 } // namespace blink |
| OLD | NEW |