| 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 18 matching lines...) Expand all Loading... |
| 29 "Is an accelerated iFrame" }, | 29 "Is an accelerated iFrame" }, |
| 30 { CompositingReasonBackfaceVisibilityHidden, | 30 { CompositingReasonBackfaceVisibilityHidden, |
| 31 "backfaceVisibilityHidden", | 31 "backfaceVisibilityHidden", |
| 32 "Has backface-visibility: hidden" }, | 32 "Has backface-visibility: hidden" }, |
| 33 { CompositingReasonActiveAnimation, | 33 { CompositingReasonActiveAnimation, |
| 34 "activeAnimation", | 34 "activeAnimation", |
| 35 "Has an active accelerated animation or transition" }, | 35 "Has an active accelerated animation or transition" }, |
| 36 { CompositingReasonTransitionProperty, | 36 { CompositingReasonTransitionProperty, |
| 37 "transitionProperty", | 37 "transitionProperty", |
| 38 "Has an acceleratable transition property (active or inactive)" }, | 38 "Has an acceleratable transition property (active or inactive)" }, |
| 39 { CompositingReasonPositionFixed, | 39 { CompositingReasonScrollDependentPosition, |
| 40 "positionFixed", | 40 "scrollDependentPosition", |
| 41 "Is fixed position" }, | 41 "Is fixed or sticky position" }, |
| 42 { CompositingReasonOverflowScrollingTouch, | 42 { CompositingReasonOverflowScrollingTouch, |
| 43 "overflowScrollingTouch", | 43 "overflowScrollingTouch", |
| 44 "Is a scrollable overflow element" }, | 44 "Is a scrollable overflow element" }, |
| 45 { CompositingReasonOverflowScrollingParent, | 45 { CompositingReasonOverflowScrollingParent, |
| 46 "overflowScrollingParent", | 46 "overflowScrollingParent", |
| 47 "Scroll parent is not an ancestor" }, | 47 "Scroll parent is not an ancestor" }, |
| 48 { CompositingReasonOutOfFlowClipping, | 48 { CompositingReasonOutOfFlowClipping, |
| 49 "outOfFlowClipping", | 49 "outOfFlowClipping", |
| 50 "Has clipping ancestor" }, | 50 "Has clipping ancestor" }, |
| 51 { CompositingReasonVideoOverlay, | 51 { CompositingReasonVideoOverlay, |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 "layerForScrollingBlockSelection", | 160 "layerForScrollingBlockSelection", |
| 161 "Secondary layer, to house block selection gaps for composited scrolling
with no scrolling contents" }, | 161 "Secondary layer, to house block selection gaps for composited scrolling
with no scrolling contents" }, |
| 162 { CompositingReasonInlineTransform, | 162 { CompositingReasonInlineTransform, |
| 163 "inlineTransform", | 163 "inlineTransform", |
| 164 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, | 164 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, |
| 165 }; | 165 }; |
| 166 | 166 |
| 167 const size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonSt
ringMap); | 167 const size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonSt
ringMap); |
| 168 | 168 |
| 169 } // namespace blink | 169 } // namespace blink |
| OLD | NEW |