| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 "Secondary layer, to contain the mask contents"}, | 127 "Secondary layer, to contain the mask contents"}, |
| 128 {CompositingReasonLayerForClippingMask, "layerForClippingMask", | 128 {CompositingReasonLayerForClippingMask, "layerForClippingMask", |
| 129 "Secondary layer, for clipping mask"}, | 129 "Secondary layer, for clipping mask"}, |
| 130 {CompositingReasonLayerForScrollingBlockSelection, | 130 {CompositingReasonLayerForScrollingBlockSelection, |
| 131 "layerForScrollingBlockSelection", | 131 "layerForScrollingBlockSelection", |
| 132 "Secondary layer, to house block selection gaps for composited scrolling " | 132 "Secondary layer, to house block selection gaps for composited scrolling " |
| 133 "with no scrolling contents"}, | 133 "with no scrolling contents"}, |
| 134 {CompositingReasonInlineTransform, "inlineTransform", | 134 {CompositingReasonInlineTransform, "inlineTransform", |
| 135 "Has an inline transform, which causes subsequent layers to assume " | 135 "Has an inline transform, which causes subsequent layers to assume " |
| 136 "overlap"}, | 136 "overlap"}, |
| 137 {CompositingReasonLayerForDecoration, "layerForDecoration", |
| 138 "Layer painted on top of other layers as decoration"}, |
| 137 }; | 139 }; |
| 138 | 140 |
| 139 const size_t kNumberOfCompositingReasons = | 141 const size_t kNumberOfCompositingReasons = |
| 140 WTF_ARRAY_LENGTH(kCompositingReasonStringMap); | 142 WTF_ARRAY_LENGTH(kCompositingReasonStringMap); |
| 141 | 143 |
| 142 } // namespace blink | 144 } // namespace blink |
| OLD | NEW |