| 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 25 matching lines...) Expand all Loading... |
| 36 "Has an acceleratable transition property (active or inactive)" }, | 36 "Has an acceleratable transition property (active or inactive)" }, |
| 37 { CompositingReasonOverflowScrollingTouch, | 37 { CompositingReasonOverflowScrollingTouch, |
| 38 "overflowScrollingTouch", | 38 "overflowScrollingTouch", |
| 39 "Is a scrollable overflow element" }, | 39 "Is a scrollable overflow element" }, |
| 40 { CompositingReasonOverflowScrollingParent, | 40 { CompositingReasonOverflowScrollingParent, |
| 41 "overflowScrollingParent", | 41 "overflowScrollingParent", |
| 42 "Scroll parent is not an ancestor" }, | 42 "Scroll parent is not an ancestor" }, |
| 43 { CompositingReasonOutOfFlowClipping, | 43 { CompositingReasonOutOfFlowClipping, |
| 44 "outOfFlowClipping", | 44 "outOfFlowClipping", |
| 45 "Has clipping ancestor" }, | 45 "Has clipping ancestor" }, |
| 46 { CompositingReasonVideoOverlay, | |
| 47 "videoOverlay", | |
| 48 "Is overlay controls for video" }, | |
| 49 { CompositingReasonWillChangeCompositingHint, | 46 { CompositingReasonWillChangeCompositingHint, |
| 50 "willChange", | 47 "willChange", |
| 51 "Has a will-change compositing hint" }, | 48 "Has a will-change compositing hint" }, |
| 52 { CompositingReasonAssumedOverlap, | 49 { CompositingReasonAssumedOverlap, |
| 53 "assumedOverlap", | 50 "assumedOverlap", |
| 54 "Might overlap other composited content" }, | 51 "Might overlap other composited content" }, |
| 55 { CompositingReasonOverlap, | 52 { CompositingReasonOverlap, |
| 56 "overlap", | 53 "overlap", |
| 57 "Overlaps other composited content" }, | 54 "Overlaps other composited content" }, |
| 58 { CompositingReasonNegativeZIndexChildren, | 55 { CompositingReasonNegativeZIndexChildren, |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 "layerForScrollingBlockSelection", | 161 "layerForScrollingBlockSelection", |
| 165 "Secondary layer, to house block selection gaps for composited scrolling
with no scrolling contents" }, | 162 "Secondary layer, to house block selection gaps for composited scrolling
with no scrolling contents" }, |
| 166 { CompositingReasonInlineTransform, | 163 { CompositingReasonInlineTransform, |
| 167 "inlineTransform", | 164 "inlineTransform", |
| 168 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, | 165 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, |
| 169 }; | 166 }; |
| 170 | 167 |
| 171 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa
p); | 168 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa
p); |
| 172 | 169 |
| 173 } // namespace blink | 170 } // namespace blink |
| OLD | NEW |