| 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 "sky/engine/config.h" |
| 6 #include "platform/graphics/CompositingReasons.h" | 6 #include "sky/engine/platform/graphics/CompositingReasons.h" |
| 7 | 7 |
| 8 #include "wtf/StdLibExtras.h" | 8 #include "sky/engine/wtf/StdLibExtras.h" |
| 9 | 9 |
| 10 namespace blink { | 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" }, |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 "layerForClippingMask", | 134 "layerForClippingMask", |
| 135 "Secondary layer, for clipping mask" }, | 135 "Secondary layer, for clipping mask" }, |
| 136 { CompositingReasonInlineTransform, | 136 { CompositingReasonInlineTransform, |
| 137 "inlineTransform", | 137 "inlineTransform", |
| 138 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, | 138 "Has an inline transform, which causes subsequent layers to assume overl
ap" }, |
| 139 }; | 139 }; |
| 140 | 140 |
| 141 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa
p); | 141 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa
p); |
| 142 | 142 |
| 143 } // namespace blink | 143 } // namespace blink |
| OLD | NEW |