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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 "layerForClippingMask", | 199 "layerForClippingMask", |
200 "Secondary layer, for clipping mask" }, | 200 "Secondary layer, for clipping mask" }, |
201 { CompositingReasonLayerForScrollingBlockSelection, | 201 { CompositingReasonLayerForScrollingBlockSelection, |
202 "layerForScrollingBlockSelection", | 202 "layerForScrollingBlockSelection", |
203 "Secondary layer, to house block selection gaps for composited scrolling
with no scrolling contents" }, | 203 "Secondary layer, to house block selection gaps for composited scrolling
with no scrolling contents" }, |
204 { CompositingReasonInlineTransform, | 204 { CompositingReasonInlineTransform, |
205 "inlineTransform", | 205 "inlineTransform", |
206 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, | 206 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, |
207 }; | 207 }; |
208 | 208 |
209 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa
p); | 209 const size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonSt
ringMap); |
210 | 210 |
211 } // namespace blink | 211 } // namespace blink |
OLD | NEW |