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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 "Secondary layer, to contain acceleratable background content" }, | 152 "Secondary layer, to contain acceleratable background content" }, |
153 { CompositingReasonLayerForMask, | 153 { CompositingReasonLayerForMask, |
154 "layerForMask", | 154 "layerForMask", |
155 "Secondary layer, to contain the mask contents" }, | 155 "Secondary layer, to contain the mask contents" }, |
156 { CompositingReasonLayerForClippingMask, | 156 { CompositingReasonLayerForClippingMask, |
157 "layerForClippingMask", | 157 "layerForClippingMask", |
158 "Secondary layer, for clipping mask" }, | 158 "Secondary layer, for clipping mask" }, |
159 { CompositingReasonLayerForScrollingBlockSelection, | 159 { CompositingReasonLayerForScrollingBlockSelection, |
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 { CompositingReasonLayerForAncestorClippingMask, |
| 163 "layerForAncestorClippingMask", |
| 164 "Secondary layer, applies a clipping mask due to a sibling in the compos
iting tree" }, |
162 { CompositingReasonInlineTransform, | 165 { CompositingReasonInlineTransform, |
163 "inlineTransform", | 166 "inlineTransform", |
164 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, | 167 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, |
165 }; | 168 }; |
166 | 169 |
167 const size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonSt
ringMap); | 170 const size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonSt
ringMap); |
168 | 171 |
169 } // namespace blink | 172 } // namespace blink |
OLD | NEW |