| 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 #ifndef CompositingReasons_h | 5 #ifndef CompositingReasons_h |
| 6 #define CompositingReasons_h | 6 #define CompositingReasons_h |
| 7 | 7 |
| 8 #include "wtf/MathExtras.h" | 8 #include "wtf/MathExtras.h" |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 | CompositingReasonTransformWithCompositedDescendants | 110 | CompositingReasonTransformWithCompositedDescendants |
| 111 | CompositingReasonOpacityWithCompositedDescendants | 111 | CompositingReasonOpacityWithCompositedDescendants |
| 112 | CompositingReasonMaskWithCompositedDescendants | 112 | CompositingReasonMaskWithCompositedDescendants |
| 113 | CompositingReasonFilterWithCompositedDescendants | 113 | CompositingReasonFilterWithCompositedDescendants |
| 114 | CompositingReasonBlendingWithCompositedDescendants | 114 | CompositingReasonBlendingWithCompositedDescendants |
| 115 | CompositingReasonIsolateCompositedDescendants | 115 | CompositingReasonIsolateCompositedDescendants |
| 116 | CompositingReasonPreserve3DWith3DDescendants; // preserve-3d has to create
backing store to ensure that 3d-transformed elements intersect. | 116 | CompositingReasonPreserve3DWith3DDescendants; // preserve-3d has to create
backing store to ensure that 3d-transformed elements intersect. |
| 117 | 117 |
| 118 const uint64_t CompositingReasonComboSquashableReasons = | 118 const uint64_t CompositingReasonComboSquashableReasons = |
| 119 CompositingReasonOverlap | 119 CompositingReasonOverlap |
| 120 | CompositingReasonAssumedOverlap; | 120 | CompositingReasonAssumedOverlap |
| 121 | CompositingReasonOverflowScrollingParent; |
| 121 | 122 |
| 122 typedef uint64_t CompositingReasons; | 123 typedef uint64_t CompositingReasons; |
| 123 | 124 |
| 124 struct CompositingReasonStringMap { | 125 struct CompositingReasonStringMap { |
| 125 CompositingReasons reason; | 126 CompositingReasons reason; |
| 126 const char* shortName; | 127 const char* shortName; |
| 127 const char* description; | 128 const char* description; |
| 128 }; | 129 }; |
| 129 | 130 |
| 130 // FIXME: This static data shouldn't be in a header. When it's in the header | 131 // FIXME: This static data shouldn't be in a header. When it's in the header |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 "layerForMask", | 270 "layerForMask", |
| 270 "Secondary layer, to contain the mask contents" }, | 271 "Secondary layer, to contain the mask contents" }, |
| 271 { CompositingReasonLayerForClippingMask, | 272 { CompositingReasonLayerForClippingMask, |
| 272 "layerForClippingMask", | 273 "layerForClippingMask", |
| 273 "Secondary layer, for clipping mask" } | 274 "Secondary layer, for clipping mask" } |
| 274 }; | 275 }; |
| 275 | 276 |
| 276 } // namespace WebCore | 277 } // namespace WebCore |
| 277 | 278 |
| 278 #endif // CompositingReasons_h | 279 #endif // CompositingReasons_h |
| OLD | NEW |