| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 | 9 |
| 10 namespace WebCore { | 10 namespace WebCore { |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 const uint64_t CompositingReasonLayerForForeground = UINT64_
C(1) << 29; | 53 const uint64_t CompositingReasonLayerForForeground = UINT64_
C(1) << 29; |
| 54 const uint64_t CompositingReasonLayerForBackground = UINT64_
C(1) << 30; | 54 const uint64_t CompositingReasonLayerForBackground = UINT64_
C(1) << 30; |
| 55 const uint64_t CompositingReasonLayerForMask = UINT64_
C(1) << 31; | 55 const uint64_t CompositingReasonLayerForMask = UINT64_
C(1) << 31; |
| 56 | 56 |
| 57 // FIXME: the following compositing reasons need to be re-organized to fit with
categories | 57 // FIXME: the following compositing reasons need to be re-organized to fit with
categories |
| 58 // used in all the other reasons above. | 58 // used in all the other reasons above. |
| 59 const uint64_t CompositingReasonOverflowScrollingParent = UINT64_
C(1) << 32; | 59 const uint64_t CompositingReasonOverflowScrollingParent = UINT64_
C(1) << 32; |
| 60 const uint64_t CompositingReasonOutOfFlowClipping = UINT64_
C(1) << 33; | 60 const uint64_t CompositingReasonOutOfFlowClipping = UINT64_
C(1) << 33; |
| 61 | 61 |
| 62 const uint64_t CompositingReasonLayerForVideoOverlay = UINT64_
C(1) << 34; | 62 const uint64_t CompositingReasonLayerForVideoOverlay = UINT64_
C(1) << 34; |
| 63 const uint64_t CompositingReasonIsolateCompositedDescendants = UINT64_
C(1) << 35; |
| 63 | 64 |
| 64 // Note: if you add more reasons here, you will need to update WebCompositingRea
sons as well. | 65 // Note: if you add more reasons here, you will need to update WebCompositingRea
sons as well. |
| 65 typedef uint64_t CompositingReasons; | 66 typedef uint64_t CompositingReasons; |
| 66 | 67 |
| 67 | 68 |
| 68 } // namespace WebCore | 69 } // namespace WebCore |
| 69 | 70 |
| 70 #endif // CompositingReasons_h | 71 #endif // CompositingReasons_h |
| OLD | NEW |