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

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: Now working on basic test cases Created 4 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 "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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 {CompositingReasonLayerForScrollingBlockSelection, 130 {CompositingReasonLayerForScrollingBlockSelection,
131 "layerForScrollingBlockSelection", 131 "layerForScrollingBlockSelection",
132 "Secondary layer, to house block selection gaps for composited scrolling " 132 "Secondary layer, to house block selection gaps for composited scrolling "
133 "with no scrolling contents"}, 133 "with no scrolling contents"},
134 {CompositingReasonLayerForAncestorClippingMask,
135 "layerForAncestorClippingMask",
136 "Secondary layer, applies a clipping mask due to a sibling in the "
137 "composited layer tree"},
134 {CompositingReasonInlineTransform, "inlineTransform", 138 {CompositingReasonInlineTransform, "inlineTransform",
135 "Has an inline transform, which causes subsequent layers to assume " 139 "Has an inline transform, which causes subsequent layers to assume "
136 "overlap"}, 140 "overlap"},
137 }; 141 };
138 142
139 const size_t kNumberOfCompositingReasons = 143 const size_t kNumberOfCompositingReasons =
140 WTF_ARRAY_LENGTH(kCompositingReasonStringMap); 144 WTF_ARRAY_LENGTH(kCompositingReasonStringMap);
141 145
142 } // namespace blink 146 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698