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 WebCore { | 10 namespace blink { |
11 | 11 |
12 const CompositingReasonStringMap kCompositingReasonStringMap[] = { | 12 const CompositingReasonStringMap kCompositingReasonStringMap[] = { |
13 { CompositingReasonNone, | 13 { CompositingReasonNone, |
14 "Unknown", | 14 "Unknown", |
15 "No reason given" }, | 15 "No reason given" }, |
16 { CompositingReason3DTransform, | 16 { CompositingReason3DTransform, |
17 "transform3D", | 17 "transform3D", |
18 "Has a 3d transform" }, | 18 "Has a 3d transform" }, |
19 { CompositingReasonVideo, | 19 { CompositingReasonVideo, |
20 "video", | 20 "video", |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 { CompositingReasonLayerForScrollingBlockSelection, | 184 { CompositingReasonLayerForScrollingBlockSelection, |
185 "layerForScrollingBlockSelection", | 185 "layerForScrollingBlockSelection", |
186 "Secondary layer, to house block selection gaps for composited scrolling
with no scrolling contents" }, | 186 "Secondary layer, to house block selection gaps for composited scrolling
with no scrolling contents" }, |
187 { CompositingReasonInlineTransform, | 187 { CompositingReasonInlineTransform, |
188 "inlineTransform", | 188 "inlineTransform", |
189 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, | 189 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, |
190 }; | 190 }; |
191 | 191 |
192 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa
p); | 192 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa
p); |
193 | 193 |
194 } // namespace WebCore | 194 } // namespace blink |
OLD | NEW |