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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/CompositingReasons.cpp

Issue 2251303003: Implement position: sticky updates on compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with master and add comments to WebLayerStickyPositionConstraint members. Created 4 years, 2 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 #include "platform/graphics/CompositingReasons.h" 5 #include "platform/graphics/CompositingReasons.h"
6 6
7 #include "wtf/StdLibExtras.h" 7 #include "wtf/StdLibExtras.h"
8 8
9 namespace blink { 9 namespace blink {
10 10
(...skipping 18 matching lines...) Expand all
29 "Is an accelerated iFrame" }, 29 "Is an accelerated iFrame" },
30 { CompositingReasonBackfaceVisibilityHidden, 30 { CompositingReasonBackfaceVisibilityHidden,
31 "backfaceVisibilityHidden", 31 "backfaceVisibilityHidden",
32 "Has backface-visibility: hidden" }, 32 "Has backface-visibility: hidden" },
33 { CompositingReasonActiveAnimation, 33 { CompositingReasonActiveAnimation,
34 "activeAnimation", 34 "activeAnimation",
35 "Has an active accelerated animation or transition" }, 35 "Has an active accelerated animation or transition" },
36 { CompositingReasonTransitionProperty, 36 { CompositingReasonTransitionProperty,
37 "transitionProperty", 37 "transitionProperty",
38 "Has an acceleratable transition property (active or inactive)" }, 38 "Has an acceleratable transition property (active or inactive)" },
39 { CompositingReasonPositionFixed, 39 { CompositingReasonScrollDependentPosition,
40 "positionFixed", 40 "scrollDependentPosition",
41 "Is fixed position" }, 41 "Is fixed or sticky position" },
42 { CompositingReasonOverflowScrollingTouch, 42 { CompositingReasonOverflowScrollingTouch,
43 "overflowScrollingTouch", 43 "overflowScrollingTouch",
44 "Is a scrollable overflow element" }, 44 "Is a scrollable overflow element" },
45 { CompositingReasonOverflowScrollingParent, 45 { CompositingReasonOverflowScrollingParent,
46 "overflowScrollingParent", 46 "overflowScrollingParent",
47 "Scroll parent is not an ancestor" }, 47 "Scroll parent is not an ancestor" },
48 { CompositingReasonOutOfFlowClipping, 48 { CompositingReasonOutOfFlowClipping,
49 "outOfFlowClipping", 49 "outOfFlowClipping",
50 "Has clipping ancestor" }, 50 "Has clipping ancestor" },
51 { CompositingReasonVideoOverlay, 51 { CompositingReasonVideoOverlay,
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 "layerForScrollingBlockSelection", 160 "layerForScrollingBlockSelection",
161 "Secondary layer, to house block selection gaps for composited scrolling with no scrolling contents" }, 161 "Secondary layer, to house block selection gaps for composited scrolling with no scrolling contents" },
162 { CompositingReasonInlineTransform, 162 { CompositingReasonInlineTransform,
163 "inlineTransform", 163 "inlineTransform",
164 "Has an inline transform, which causes subsequent layers to assume overl ap" }, 164 "Has an inline transform, which causes subsequent layers to assume overl ap" },
165 }; 165 };
166 166
167 const size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonSt ringMap); 167 const size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonSt ringMap);
168 168
169 } // namespace blink 169 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698