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

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

Issue 2439113003: Fix the bug that negative outline-offset is covered up by composited (Closed)
Patch Set: Rename decorationLayer to decorationOutlineLayer 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 {CompositingReasonLayerForDecoration, "layerForDecoration",
135 "Layer painted on top of other layers as decoration"},
134 {CompositingReasonInlineTransform, "inlineTransform", 136 {CompositingReasonInlineTransform, "inlineTransform",
135 "Has an inline transform, which causes subsequent layers to assume " 137 "Has an inline transform, which causes subsequent layers to assume "
136 "overlap"}, 138 "overlap"},
137 }; 139 };
138 140
139 const size_t kNumberOfCompositingReasons = 141 const size_t kNumberOfCompositingReasons =
140 WTF_ARRAY_LENGTH(kCompositingReasonStringMap); 142 WTF_ARRAY_LENGTH(kCompositingReasonStringMap);
141 143
142 } // namespace blink 144 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698