OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/SquashingDisallowedReasons.h" | 5 #include "platform/graphics/SquashingDisallowedReasons.h" |
6 | 6 |
7 #include "wtf/StdLibExtras.h" | 7 #include "wtf/StdLibExtras.h" |
8 | 8 |
9 namespace blink { | 9 namespace blink { |
10 | 10 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 "Squashing a scroll child with composited descendants is not supported."
}, | 53 "Squashing a scroll child with composited descendants is not supported."
}, |
54 { SquashingDisallowedReasonSquashingLayerIsAnimating, | 54 { SquashingDisallowedReasonSquashingLayerIsAnimating, |
55 "squashingLayerIsAnimating", | 55 "squashingLayerIsAnimating", |
56 "Cannot squash into a layer that is animating." }, | 56 "Cannot squash into a layer that is animating." }, |
57 { SquashingDisallowedReasonRenderingContextMismatch, | 57 { SquashingDisallowedReasonRenderingContextMismatch, |
58 "squashingLayerRenderingContextMismatch", | 58 "squashingLayerRenderingContextMismatch", |
59 "Cannot squash layers with different 3D contexts." }, | 59 "Cannot squash layers with different 3D contexts." }, |
60 { SquashingDisallowedReasonNonTranslationTransform, | 60 { SquashingDisallowedReasonNonTranslationTransform, |
61 "SquashingDisallowedReasonNonTranslationTransform", | 61 "SquashingDisallowedReasonNonTranslationTransform", |
62 "Cannot squash layers with transforms that are not identity or translati
on." }, | 62 "Cannot squash layers with transforms that are not identity or translati
on." }, |
| 63 { SquashingDisallowedReasonFragmentedContent, |
| 64 "SquashingDisallowedReasonFragmentedContent", |
| 65 "Cannot squash layers that are inside fragmentation contexts." }, |
63 }; | 66 }; |
64 | 67 |
65 const size_t kNumberOfSquashingDisallowedReasons = WTF_ARRAY_LENGTH(kSquashingDi
sallowedReasonStringMap); | 68 const size_t kNumberOfSquashingDisallowedReasons = WTF_ARRAY_LENGTH(kSquashingDi
sallowedReasonStringMap); |
66 | 69 |
67 } // namespace blink | 70 } // namespace blink |
OLD | NEW |