| 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 "platform/graphics/CompositingReasons.h" | 5 #include "platform/graphics/CompositingReasons.h" |
| 6 | 6 |
| 7 #include "wtf/StdLibExtras.h" | 7 #include "wtf/StdLibExtras.h" |
| 8 | 8 |
| 9 namespace blink { | 9 namespace blink { |
| 10 | 10 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 { CompositingReasonOutOfFlowClipping, | 48 { CompositingReasonOutOfFlowClipping, |
| 49 "outOfFlowClipping", | 49 "outOfFlowClipping", |
| 50 "Has clipping ancestor" }, | 50 "Has clipping ancestor" }, |
| 51 { CompositingReasonVideoOverlay, | 51 { CompositingReasonVideoOverlay, |
| 52 "videoOverlay", | 52 "videoOverlay", |
| 53 "Is overlay controls for video" }, | 53 "Is overlay controls for video" }, |
| 54 { CompositingReasonWillChangeCompositingHint, | 54 { CompositingReasonWillChangeCompositingHint, |
| 55 "willChange", | 55 "willChange", |
| 56 "Has a will-change compositing hint" }, | 56 "Has a will-change compositing hint" }, |
| 57 { CompositingReasonBackdropFilter, | 57 { CompositingReasonBackdropFilter, |
| 58 "backdropFilter" | 58 "backdropFilter", |
| 59 "Has a backdrop filter" }, | 59 "Has a backdrop filter" }, |
| 60 { CompositingReasonCompositorProxy, | 60 { CompositingReasonCompositorProxy, |
| 61 "compositorProxy", | 61 "compositorProxy", |
| 62 "Has a CompositorProxy object" }, | 62 "Has a CompositorProxy object" }, |
| 63 { CompositingReasonAssumedOverlap, | 63 { CompositingReasonAssumedOverlap, |
| 64 "assumedOverlap", | 64 "assumedOverlap", |
| 65 "Might overlap other composited content" }, | 65 "Might overlap other composited content" }, |
| 66 { CompositingReasonOverlap, | 66 { CompositingReasonOverlap, |
| 67 "overlap", | 67 "overlap", |
| 68 "Overlaps other composited content" }, | 68 "Overlaps other composited content" }, |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 "layerForScrollingBlockSelection", | 202 "layerForScrollingBlockSelection", |
| 203 "Secondary layer, to house block selection gaps for composited scrolling
with no scrolling contents" }, | 203 "Secondary layer, to house block selection gaps for composited scrolling
with no scrolling contents" }, |
| 204 { CompositingReasonInlineTransform, | 204 { CompositingReasonInlineTransform, |
| 205 "inlineTransform", | 205 "inlineTransform", |
| 206 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, | 206 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, |
| 207 }; | 207 }; |
| 208 | 208 |
| 209 const size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonSt
ringMap); | 209 const size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonSt
ringMap); |
| 210 | 210 |
| 211 } // namespace blink | 211 } // namespace blink |
| OLD | NEW |