| 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 16 matching lines...) Expand all Loading... |
| 27 "Is an accelerated iFrame" }, | 27 "Is an accelerated iFrame" }, |
| 28 { CompositingReasonBackfaceVisibilityHidden, | 28 { CompositingReasonBackfaceVisibilityHidden, |
| 29 "backfaceVisibilityHidden", | 29 "backfaceVisibilityHidden", |
| 30 "Has backface-visibility: hidden" }, | 30 "Has backface-visibility: hidden" }, |
| 31 { CompositingReasonActiveAnimation, | 31 { CompositingReasonActiveAnimation, |
| 32 "activeAnimation", | 32 "activeAnimation", |
| 33 "Has an active accelerated animation or transition" }, | 33 "Has an active accelerated animation or transition" }, |
| 34 { CompositingReasonTransitionProperty, | 34 { CompositingReasonTransitionProperty, |
| 35 "transitionProperty", | 35 "transitionProperty", |
| 36 "Has an acceleratable transition property (active or inactive)" }, | 36 "Has an acceleratable transition property (active or inactive)" }, |
| 37 { CompositingReasonPositionFixed, | |
| 38 "positionFixed", | |
| 39 "Is fixed position" }, | |
| 40 { CompositingReasonOverflowScrollingTouch, | 37 { CompositingReasonOverflowScrollingTouch, |
| 41 "overflowScrollingTouch", | 38 "overflowScrollingTouch", |
| 42 "Is a scrollable overflow element" }, | 39 "Is a scrollable overflow element" }, |
| 43 { CompositingReasonOverflowScrollingParent, | 40 { CompositingReasonOverflowScrollingParent, |
| 44 "overflowScrollingParent", | 41 "overflowScrollingParent", |
| 45 "Scroll parent is not an ancestor" }, | 42 "Scroll parent is not an ancestor" }, |
| 46 { CompositingReasonOutOfFlowClipping, | 43 { CompositingReasonOutOfFlowClipping, |
| 47 "outOfFlowClipping", | 44 "outOfFlowClipping", |
| 48 "Has clipping ancestor" }, | 45 "Has clipping ancestor" }, |
| 49 { CompositingReasonVideoOverlay, | 46 { CompositingReasonVideoOverlay, |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 "layerForScrollingBlockSelection", | 167 "layerForScrollingBlockSelection", |
| 171 "Secondary layer, to house block selection gaps for composited scrolling
with no scrolling contents" }, | 168 "Secondary layer, to house block selection gaps for composited scrolling
with no scrolling contents" }, |
| 172 { CompositingReasonInlineTransform, | 169 { CompositingReasonInlineTransform, |
| 173 "inlineTransform", | 170 "inlineTransform", |
| 174 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, | 171 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, |
| 175 }; | 172 }; |
| 176 | 173 |
| 177 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa
p); | 174 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa
p); |
| 178 | 175 |
| 179 } // namespace blink | 176 } // namespace blink |
| OLD | NEW |