Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Side by Side Diff: Source/platform/graphics/CompositingReasons.h

Issue 931003002: Move and rename RenderPart to LayoutPart. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "wtf/MathExtras.h" 9 #include "wtf/MathExtras.h"
10 #include <stdint.h> 10 #include <stdint.h>
(...skipping 26 matching lines...) Expand all
37 const uint64_t CompositingReasonNegativeZIndexChildren = UINT6 4_C(1) << 17; 37 const uint64_t CompositingReasonNegativeZIndexChildren = UINT6 4_C(1) << 17;
38 const uint64_t CompositingReasonScrollsWithRespectToSquashingLayer = UINT6 4_C(1) << 18; 38 const uint64_t CompositingReasonScrollsWithRespectToSquashingLayer = UINT6 4_C(1) << 18;
39 const uint64_t CompositingReasonSquashingSparsityExceeded = UINT6 4_C(1) << 19; 39 const uint64_t CompositingReasonSquashingSparsityExceeded = UINT6 4_C(1) << 19;
40 const uint64_t CompositingReasonSquashingClippingContainerMismatch = UINT6 4_C(1) << 20; 40 const uint64_t CompositingReasonSquashingClippingContainerMismatch = UINT6 4_C(1) << 20;
41 const uint64_t CompositingReasonSquashingOpacityAncestorMismatch = UINT6 4_C(1) << 21; 41 const uint64_t CompositingReasonSquashingOpacityAncestorMismatch = UINT6 4_C(1) << 21;
42 const uint64_t CompositingReasonSquashingTransformAncestorMismatch = UINT6 4_C(1) << 22; 42 const uint64_t CompositingReasonSquashingTransformAncestorMismatch = UINT6 4_C(1) << 22;
43 const uint64_t CompositingReasonSquashingFilterMismatch = UINT6 4_C(1) << 23; 43 const uint64_t CompositingReasonSquashingFilterMismatch = UINT6 4_C(1) << 23;
44 const uint64_t CompositingReasonSquashingWouldBreakPaintOrder = UINT6 4_C(1) << 24; 44 const uint64_t CompositingReasonSquashingWouldBreakPaintOrder = UINT6 4_C(1) << 24;
45 const uint64_t CompositingReasonSquashingVideoIsDisallowed = UINT6 4_C(1) << 25; 45 const uint64_t CompositingReasonSquashingVideoIsDisallowed = UINT6 4_C(1) << 25;
46 const uint64_t CompositingReasonSquashedLayerClipsCompositingDescendants = UINT6 4_C(1) << 26; 46 const uint64_t CompositingReasonSquashedLayerClipsCompositingDescendants = UINT6 4_C(1) << 26;
47 const uint64_t CompositingReasonSquashingRenderPartIsDisallowed = UINT6 4_C(1) << 27; 47 const uint64_t CompositingReasonSquashingLayoutPartIsDisallowed = UINT6 4_C(1) << 27;
48 const uint64_t CompositingReasonSquashingReflectionIsDisallowed = UINT6 4_C(1) << 28; 48 const uint64_t CompositingReasonSquashingReflectionIsDisallowed = UINT6 4_C(1) << 28;
49 const uint64_t CompositingReasonSquashingBlendingIsDisallowed = UINT6 4_C(1) << 29; 49 const uint64_t CompositingReasonSquashingBlendingIsDisallowed = UINT6 4_C(1) << 29;
50 50
51 // Subtree reasons that require knowing what the status of your subtree is befor e knowing the answer 51 // Subtree reasons that require knowing what the status of your subtree is befor e knowing the answer
52 const uint64_t CompositingReasonTransformWithCompositedDescendants = UINT6 4_C(1) << 30; 52 const uint64_t CompositingReasonTransformWithCompositedDescendants = UINT6 4_C(1) << 30;
53 const uint64_t CompositingReasonOpacityWithCompositedDescendants = UINT6 4_C(1) << 31; 53 const uint64_t CompositingReasonOpacityWithCompositedDescendants = UINT6 4_C(1) << 31;
54 const uint64_t CompositingReasonMaskWithCompositedDescendants = UINT6 4_C(1) << 32; 54 const uint64_t CompositingReasonMaskWithCompositedDescendants = UINT6 4_C(1) << 32;
55 const uint64_t CompositingReasonReflectionWithCompositedDescendants = UINT6 4_C(1) << 33; 55 const uint64_t CompositingReasonReflectionWithCompositedDescendants = UINT6 4_C(1) << 33;
56 const uint64_t CompositingReasonFilterWithCompositedDescendants = UINT6 4_C(1) << 34; 56 const uint64_t CompositingReasonFilterWithCompositedDescendants = UINT6 4_C(1) << 34;
57 const uint64_t CompositingReasonBlendingWithCompositedDescendants = UINT6 4_C(1) << 35; 57 const uint64_t CompositingReasonBlendingWithCompositedDescendants = UINT6 4_C(1) << 35;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 | CompositingReasonNegativeZIndexChildren 140 | CompositingReasonNegativeZIndexChildren
141 | CompositingReasonScrollsWithRespectToSquashingLayer 141 | CompositingReasonScrollsWithRespectToSquashingLayer
142 | CompositingReasonSquashingSparsityExceeded 142 | CompositingReasonSquashingSparsityExceeded
143 | CompositingReasonSquashingClippingContainerMismatch 143 | CompositingReasonSquashingClippingContainerMismatch
144 | CompositingReasonSquashingOpacityAncestorMismatch 144 | CompositingReasonSquashingOpacityAncestorMismatch
145 | CompositingReasonSquashingTransformAncestorMismatch 145 | CompositingReasonSquashingTransformAncestorMismatch
146 | CompositingReasonSquashingFilterMismatch 146 | CompositingReasonSquashingFilterMismatch
147 | CompositingReasonSquashingWouldBreakPaintOrder 147 | CompositingReasonSquashingWouldBreakPaintOrder
148 | CompositingReasonSquashingVideoIsDisallowed 148 | CompositingReasonSquashingVideoIsDisallowed
149 | CompositingReasonSquashedLayerClipsCompositingDescendants 149 | CompositingReasonSquashedLayerClipsCompositingDescendants
150 | CompositingReasonSquashingRenderPartIsDisallowed 150 | CompositingReasonSquashingLayoutPartIsDisallowed
151 | CompositingReasonSquashingReflectionIsDisallowed 151 | CompositingReasonSquashingReflectionIsDisallowed
152 | CompositingReasonSquashingBlendingIsDisallowed 152 | CompositingReasonSquashingBlendingIsDisallowed
153 | CompositingReasonTransformWithCompositedDescendants 153 | CompositingReasonTransformWithCompositedDescendants
154 | CompositingReasonOpacityWithCompositedDescendants 154 | CompositingReasonOpacityWithCompositedDescendants
155 | CompositingReasonMaskWithCompositedDescendants 155 | CompositingReasonMaskWithCompositedDescendants
156 | CompositingReasonFilterWithCompositedDescendants 156 | CompositingReasonFilterWithCompositedDescendants
157 | CompositingReasonBlendingWithCompositedDescendants 157 | CompositingReasonBlendingWithCompositedDescendants
158 | CompositingReasonIsolateCompositedDescendants 158 | CompositingReasonIsolateCompositedDescendants
159 | CompositingReasonPreserve3DWith3DDescendants; // preserve-3d has to create backing store to ensure that 3d-transformed elements intersect. 159 | CompositingReasonPreserve3DWith3DDescendants; // preserve-3d has to create backing store to ensure that 3d-transformed elements intersect.
160 160
(...skipping 21 matching lines...) Expand all
182 const char* shortName; 182 const char* shortName;
183 const char* description; 183 const char* description;
184 }; 184 };
185 185
186 PLATFORM_EXPORT extern const CompositingReasonStringMap kCompositingReasonString Map[]; 186 PLATFORM_EXPORT extern const CompositingReasonStringMap kCompositingReasonString Map[];
187 PLATFORM_EXPORT extern size_t kNumberOfCompositingReasons; 187 PLATFORM_EXPORT extern size_t kNumberOfCompositingReasons;
188 188
189 } // namespace blink 189 } // namespace blink
190 190
191 #endif // CompositingReasons_h 191 #endif // CompositingReasons_h
OLDNEW
« no previous file with comments | « Source/modules/accessibility/AXRenderObject.cpp ('k') | Source/platform/graphics/CompositingReasons.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698