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

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

Issue 1636873005: blink: Fix naming and const-ness of constants and non-constants. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: constants: indents Created 4 years, 10 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 "layerForClippingMask", 199 "layerForClippingMask",
200 "Secondary layer, for clipping mask" }, 200 "Secondary layer, for clipping mask" },
201 { CompositingReasonLayerForScrollingBlockSelection, 201 { CompositingReasonLayerForScrollingBlockSelection,
202 "layerForScrollingBlockSelection", 202 "layerForScrollingBlockSelection",
203 "Secondary layer, to house block selection gaps for composited scrolling with no scrolling contents" }, 203 "Secondary layer, to house block selection gaps for composited scrolling with no scrolling contents" },
204 { CompositingReasonInlineTransform, 204 { CompositingReasonInlineTransform,
205 "inlineTransform", 205 "inlineTransform",
206 "Has an inline transform, which causes subsequent layers to assume overl ap" }, 206 "Has an inline transform, which causes subsequent layers to assume overl ap" },
207 }; 207 };
208 208
209 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa p); 209 const size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonSt ringMap);
210 210
211 } // namespace blink 211 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698