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 22 matching lines...) Expand all Loading... |
33 "Has backface-visibility: hidden" }, | 33 "Has backface-visibility: hidden" }, |
34 { CompositingReasonActiveAnimation, | 34 { CompositingReasonActiveAnimation, |
35 "activeAnimation", | 35 "activeAnimation", |
36 "Has an active accelerated animation or transition" }, | 36 "Has an active accelerated animation or transition" }, |
37 { CompositingReasonTransitionProperty, | 37 { CompositingReasonTransitionProperty, |
38 "transitionProperty", | 38 "transitionProperty", |
39 "Has an acceleratable transition property (active or inactive)" }, | 39 "Has an acceleratable transition property (active or inactive)" }, |
40 { CompositingReasonPositionFixed, | 40 { CompositingReasonPositionFixed, |
41 "positionFixed", | 41 "positionFixed", |
42 "Is fixed position" }, | 42 "Is fixed position" }, |
| 43 { CompositingReasonPositionSticky, |
| 44 "positionSticky", |
| 45 "Is sticky position" }, |
43 { CompositingReasonOverflowScrollingTouch, | 46 { CompositingReasonOverflowScrollingTouch, |
44 "overflowScrollingTouch", | 47 "overflowScrollingTouch", |
45 "Is a scrollable overflow element" }, | 48 "Is a scrollable overflow element" }, |
46 { CompositingReasonOverflowScrollingParent, | 49 { CompositingReasonOverflowScrollingParent, |
47 "overflowScrollingParent", | 50 "overflowScrollingParent", |
48 "Scroll parent is not an ancestor" }, | 51 "Scroll parent is not an ancestor" }, |
49 { CompositingReasonOutOfFlowClipping, | 52 { CompositingReasonOutOfFlowClipping, |
50 "outOfFlowClipping", | 53 "outOfFlowClipping", |
51 "Has clipping ancestor" }, | 54 "Has clipping ancestor" }, |
52 { CompositingReasonVideoOverlay, | 55 { CompositingReasonVideoOverlay, |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 "layerForScrollingBlockSelection", | 200 "layerForScrollingBlockSelection", |
198 "Secondary layer, to house block selection gaps for composited scrolling
with no scrolling contents" }, | 201 "Secondary layer, to house block selection gaps for composited scrolling
with no scrolling contents" }, |
199 { CompositingReasonInlineTransform, | 202 { CompositingReasonInlineTransform, |
200 "inlineTransform", | 203 "inlineTransform", |
201 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, | 204 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, |
202 }; | 205 }; |
203 | 206 |
204 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa
p); | 207 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa
p); |
205 | 208 |
206 } // namespace blink | 209 } // namespace blink |
OLD | NEW |