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

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

Issue 2194273002: Fix border radius on composited children. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update the comment on why we say an empty div can paint Created 4 years 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 "the composited layer tree"}, 120 "the composited layer tree"},
121 {CompositingReasonLayerForForeground, "layerForForeground", 121 {CompositingReasonLayerForForeground, "layerForForeground",
122 "Secondary layer, to contain any normal flow and positive z-index " 122 "Secondary layer, to contain any normal flow and positive z-index "
123 "contents on top of a negative z-index layer"}, 123 "contents on top of a negative z-index layer"},
124 {CompositingReasonLayerForBackground, "layerForBackground", 124 {CompositingReasonLayerForBackground, "layerForBackground",
125 "Secondary layer, to contain acceleratable background content"}, 125 "Secondary layer, to contain acceleratable background content"},
126 {CompositingReasonLayerForMask, "layerForMask", 126 {CompositingReasonLayerForMask, "layerForMask",
127 "Secondary layer, to contain the mask contents"}, 127 "Secondary layer, to contain the mask contents"},
128 {CompositingReasonLayerForClippingMask, "layerForClippingMask", 128 {CompositingReasonLayerForClippingMask, "layerForClippingMask",
129 "Secondary layer, for clipping mask"}, 129 "Secondary layer, for clipping mask"},
130 {CompositingReasonLayerForAncestorClippingMask,
131 "layerForAncestorClippingMask",
132 "Secondary layer, applies a clipping mask due to a sibling in the "
133 "composited layer tree"},
130 {CompositingReasonLayerForScrollingBlockSelection, 134 {CompositingReasonLayerForScrollingBlockSelection,
131 "layerForScrollingBlockSelection", 135 "layerForScrollingBlockSelection",
132 "Secondary layer, to house block selection gaps for composited scrolling " 136 "Secondary layer, to house block selection gaps for composited scrolling "
133 "with no scrolling contents"}, 137 "with no scrolling contents"},
134 {CompositingReasonLayerForDecoration, "layerForDecoration", 138 {CompositingReasonLayerForDecoration, "layerForDecoration",
135 "Layer painted on top of other layers as decoration"}, 139 "Layer painted on top of other layers as decoration"},
136 {CompositingReasonInlineTransform, "inlineTransform", 140 {CompositingReasonInlineTransform, "inlineTransform",
137 "Has an inline transform, which causes subsequent layers to assume " 141 "Has an inline transform, which causes subsequent layers to assume "
138 "overlap"}, 142 "overlap"},
139 }; 143 };
140 144
141 const size_t kNumberOfCompositingReasons = 145 const size_t kNumberOfCompositingReasons =
142 WTF_ARRAY_LENGTH(kCompositingReasonStringMap); 146 WTF_ARRAY_LENGTH(kCompositingReasonStringMap);
143 147
144 } // namespace blink 148 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698