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 CC_LAYERS_COMPOSITING_REASONS_H_ | 5 #ifndef CC_LAYERS_COMPOSITING_REASONS_H_ |
6 #define CC_LAYERS_COMPOSITING_REASONS_H_ | 6 #define CC_LAYERS_COMPOSITING_REASONS_H_ |
7 | 7 |
8 #include "base/port.h" | 8 #include "base/port.h" |
9 | 9 |
10 namespace cc { | 10 namespace cc { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
46 const uint64 kCompositingReasonRoot = GG_UINT64_C(1) << 25; | 46 const uint64 kCompositingReasonRoot = GG_UINT64_C(1) << 25; |
47 const uint64 kCompositingReasonLayerForClip = GG_UINT64_C(1) << 26; | 47 const uint64 kCompositingReasonLayerForClip = GG_UINT64_C(1) << 26; |
48 const uint64 kCompositingReasonLayerForScrollbar = GG_UINT64_C(1) << 27; | 48 const uint64 kCompositingReasonLayerForScrollbar = GG_UINT64_C(1) << 27; |
49 const uint64 kCompositingReasonLayerForScrollingContainer = | 49 const uint64 kCompositingReasonLayerForScrollingContainer = |
50 GG_UINT64_C(1) << 28; | 50 GG_UINT64_C(1) << 28; |
51 const uint64 kCompositingReasonLayerForForeground = GG_UINT64_C(1) << 29; | 51 const uint64 kCompositingReasonLayerForForeground = GG_UINT64_C(1) << 29; |
52 const uint64 kCompositingReasonLayerForBackground = GG_UINT64_C(1) << 30; | 52 const uint64 kCompositingReasonLayerForBackground = GG_UINT64_C(1) << 30; |
53 const uint64 kCompositingReasonLayerForMask = GG_UINT64_C(1) << 31; | 53 const uint64 kCompositingReasonLayerForMask = GG_UINT64_C(1) << 31; |
54 const uint64 kCompositingReasonOverflowScrollingParent = GG_UINT64_C(1) << 32; | 54 const uint64 kCompositingReasonOverflowScrollingParent = GG_UINT64_C(1) << 32; |
55 const uint64 kCompositingReasonOutOfFlowClipping = GG_UINT64_C(1) << 33; | 55 const uint64 kCompositingReasonOutOfFlowClipping = GG_UINT64_C(1) << 33; |
56 const uint64 kCompositingReasonIsolateCompositedDescendants = GG_UINT64_C(1) | |
danakj
2013/11/13 21:02:03
nit: this line wrapping differs from the rest of t
rosca
2013/11/14 21:56:34
Yes, it's clang-format suggesting this, but I thin
| |
57 << 35; | |
56 | 58 |
57 typedef uint64 CompositingReasons; | 59 typedef uint64 CompositingReasons; |
58 | 60 |
59 } // namespace cc | 61 } // namespace cc |
60 | 62 |
61 #endif // CC_LAYERS_COMPOSITING_REASONS_H_ | 63 #endif // CC_LAYERS_COMPOSITING_REASONS_H_ |
OLD | NEW |