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 #ifndef SquashingDisallowedReasons_h | 5 #ifndef SquashingDisallowedReasons_h |
6 #define SquashingDisallowedReasons_h | 6 #define SquashingDisallowedReasons_h |
7 | 7 |
8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
9 #include "wtf/Allocator.h" | 9 #include "wtf/Allocator.h" |
10 #include <stdint.h> | 10 #include <stdint.h> |
(...skipping 12 matching lines...) Expand all Loading... |
23 const uint64_t SquashingDisallowedReasonSquashingVideoIsDisallowed
= UINT64_C(1) << 7; | 23 const uint64_t SquashingDisallowedReasonSquashingVideoIsDisallowed
= UINT64_C(1) << 7; |
24 const uint64_t SquashingDisallowedReasonSquashedLayerClipsCompositingDescendants
= UINT64_C(1) << 8; | 24 const uint64_t SquashingDisallowedReasonSquashedLayerClipsCompositingDescendants
= UINT64_C(1) << 8; |
25 const uint64_t SquashingDisallowedReasonSquashingLayoutPartIsDisallowed
= UINT64_C(1) << 9; | 25 const uint64_t SquashingDisallowedReasonSquashingLayoutPartIsDisallowed
= UINT64_C(1) << 9; |
26 const uint64_t SquashingDisallowedReasonSquashingReflectionIsDisallowed
= UINT64_C(1) << 10; | 26 const uint64_t SquashingDisallowedReasonSquashingReflectionIsDisallowed
= UINT64_C(1) << 10; |
27 const uint64_t SquashingDisallowedReasonSquashingBlendingIsDisallowed
= UINT64_C(1) << 11; | 27 const uint64_t SquashingDisallowedReasonSquashingBlendingIsDisallowed
= UINT64_C(1) << 11; |
28 const uint64_t SquashingDisallowedReasonNearestFixedPositionMismatch
= UINT64_C(1) << 12; | 28 const uint64_t SquashingDisallowedReasonNearestFixedPositionMismatch
= UINT64_C(1) << 12; |
29 const uint64_t SquashingDisallowedReasonScrollChildWithCompositedDescendants
= UINT64_C(1) << 13; | 29 const uint64_t SquashingDisallowedReasonScrollChildWithCompositedDescendants
= UINT64_C(1) << 13; |
30 const uint64_t SquashingDisallowedReasonSquashingLayerIsAnimating
= UINT64_C(1) << 14; | 30 const uint64_t SquashingDisallowedReasonSquashingLayerIsAnimating
= UINT64_C(1) << 14; |
31 const uint64_t SquashingDisallowedReasonRenderingContextMismatch
= UINT64_C(1) << 15; | 31 const uint64_t SquashingDisallowedReasonRenderingContextMismatch
= UINT64_C(1) << 15; |
32 const uint64_t SquashingDisallowedReasonNonTranslationTransform
= UINT64_C(1) << 16; | 32 const uint64_t SquashingDisallowedReasonNonTranslationTransform
= UINT64_C(1) << 16; |
| 33 const uint64_t SquashingDisallowedReasonFragmentedContent
= UINT64_C(1) << 17; |
33 | 34 |
34 typedef uint64_t SquashingDisallowedReasons; | 35 typedef uint64_t SquashingDisallowedReasons; |
35 | 36 |
36 struct SquashingDisallowedReasonStringMap { | 37 struct SquashingDisallowedReasonStringMap { |
37 STACK_ALLOCATED(); | 38 STACK_ALLOCATED(); |
38 SquashingDisallowedReasons reason; | 39 SquashingDisallowedReasons reason; |
39 const char* shortName; | 40 const char* shortName; |
40 const char* description; | 41 const char* description; |
41 }; | 42 }; |
42 | 43 |
43 PLATFORM_EXPORT extern const SquashingDisallowedReasonStringMap kSquashingDisall
owedReasonStringMap[]; | 44 PLATFORM_EXPORT extern const SquashingDisallowedReasonStringMap kSquashingDisall
owedReasonStringMap[]; |
44 PLATFORM_EXPORT extern const size_t kNumberOfSquashingDisallowedReasons; | 45 PLATFORM_EXPORT extern const size_t kNumberOfSquashingDisallowedReasons; |
45 | 46 |
46 } // namespace blink | 47 } // namespace blink |
47 | 48 |
48 #endif // SquashingDisallowedReasons_h | 49 #endif // SquashingDisallowedReasons_h |
OLD | NEW |