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

Side by Side Diff: sky/engine/platform/graphics/CompositingReasons.cpp

Issue 721473002: Removed ScrollingCoordinator and a bunch of composited scrolling' (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: cr comments Created 6 years, 1 month 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 "config.h" 5 #include "config.h"
6 #include "platform/graphics/CompositingReasons.h" 6 #include "platform/graphics/CompositingReasons.h"
7 7
8 #include "wtf/StdLibExtras.h" 8 #include "wtf/StdLibExtras.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 "Is the root layer" }, 111 "Is the root layer" },
112 { CompositingReasonLayerForAncestorClip, 112 { CompositingReasonLayerForAncestorClip,
113 "layerForAncestorClip", 113 "layerForAncestorClip",
114 "Secondary layer, applies a clip due to a sibling in the compositing tre e" }, 114 "Secondary layer, applies a clip due to a sibling in the compositing tre e" },
115 { CompositingReasonLayerForDescendantClip, 115 { CompositingReasonLayerForDescendantClip,
116 "layerForDescendantClip", 116 "layerForDescendantClip",
117 "Secondary layer, to clip descendants of the owning layer" }, 117 "Secondary layer, to clip descendants of the owning layer" },
118 { CompositingReasonLayerForPerspective, 118 { CompositingReasonLayerForPerspective,
119 "layerForPerspective", 119 "layerForPerspective",
120 "Secondary layer, to house the perspective transform for all descendants " }, 120 "Secondary layer, to house the perspective transform for all descendants " },
121 { CompositingReasonLayerForHorizontalScrollbar,
122 "layerForHorizontalScrollbar",
123 "Secondary layer, the horizontal scrollbar layer" },
124 { CompositingReasonLayerForVerticalScrollbar,
125 "layerForVerticalScrollbar",
126 "Secondary layer, the vertical scrollbar layer" },
127 { CompositingReasonLayerForOverflowControlsHost, 121 { CompositingReasonLayerForOverflowControlsHost,
128 "layerForOverflowControlsHost", 122 "layerForOverflowControlsHost",
129 "Secondary layer, the overflow controls host layer" }, 123 "Secondary layer, the overflow controls host layer" },
130 { CompositingReasonLayerForScrollingContents,
131 "layerForScrollingContents",
132 "Secondary layer, to house contents that can be scrolled" },
133 { CompositingReasonLayerForScrollingContainer,
134 "layerForScrollingContainer",
135 "Secondary layer, used to position the scolling contents while scrolling " },
136 { CompositingReasonLayerForSquashingContents, 124 { CompositingReasonLayerForSquashingContents,
137 "layerForSquashingContents", 125 "layerForSquashingContents",
138 "Secondary layer, home for a group of squashable content" }, 126 "Secondary layer, home for a group of squashable content" },
139 { CompositingReasonLayerForSquashingContainer, 127 { CompositingReasonLayerForSquashingContainer,
140 "layerForSquashingContainer", 128 "layerForSquashingContainer",
141 "Secondary layer, no-op layer to place the squashing layer correctly in the composited layer tree" }, 129 "Secondary layer, no-op layer to place the squashing layer correctly in the composited layer tree" },
142 { CompositingReasonLayerForForeground, 130 { CompositingReasonLayerForForeground,
143 "layerForForeground", 131 "layerForForeground",
144 "Secondary layer, to contain any normal flow and positive z-index conten ts on top of a negative z-index layer" }, 132 "Secondary layer, to contain any normal flow and positive z-index conten ts on top of a negative z-index layer" },
145 { CompositingReasonLayerForBackground, 133 { CompositingReasonLayerForBackground,
146 "layerForBackground", 134 "layerForBackground",
147 "Secondary layer, to contain acceleratable background content" }, 135 "Secondary layer, to contain acceleratable background content" },
148 { CompositingReasonLayerForMask, 136 { CompositingReasonLayerForMask,
149 "layerForMask", 137 "layerForMask",
150 "Secondary layer, to contain the mask contents" }, 138 "Secondary layer, to contain the mask contents" },
151 { CompositingReasonLayerForClippingMask, 139 { CompositingReasonLayerForClippingMask,
152 "layerForClippingMask", 140 "layerForClippingMask",
153 "Secondary layer, for clipping mask" }, 141 "Secondary layer, for clipping mask" },
154 { CompositingReasonLayerForScrollingBlockSelection,
155 "layerForScrollingBlockSelection",
156 "Secondary layer, to house block selection gaps for composited scrolling with no scrolling contents" },
157 { CompositingReasonInlineTransform, 142 { CompositingReasonInlineTransform,
158 "inlineTransform", 143 "inlineTransform",
159 "Has an inline transform, which causes subsequent layers to assume overl ap" }, 144 "Has an inline transform, which causes subsequent layers to assume overl ap" },
160 }; 145 };
161 146
162 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa p); 147 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa p);
163 148
164 } // namespace blink 149 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/platform/graphics/CompositingReasons.h ('k') | sky/engine/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698