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

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

Issue 131543013: Update scroll parent correctly for squashing layers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/compositing/CompositedLayerMapping.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "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
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
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
OLDNEW
« no previous file with comments | « Source/core/rendering/compositing/CompositedLayerMapping.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698