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

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

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 #ifndef CompositingReasons_h 5 #ifndef CompositingReasons_h
6 #define CompositingReasons_h 6 #define CompositingReasons_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "wtf/Allocator.h" 9 #include "wtf/Allocator.h"
10 #include "wtf/MathExtras.h" 10 #include "wtf/MathExtras.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 } 193 }
194 194
195 struct CompositingReasonStringMap { 195 struct CompositingReasonStringMap {
196 STACK_ALLOCATED(); 196 STACK_ALLOCATED();
197 CompositingReasons reason; 197 CompositingReasons reason;
198 const char* shortName; 198 const char* shortName;
199 const char* description; 199 const char* description;
200 }; 200 };
201 201
202 PLATFORM_EXPORT extern const CompositingReasonStringMap kCompositingReasonString Map[]; 202 PLATFORM_EXPORT extern const CompositingReasonStringMap kCompositingReasonString Map[];
203 PLATFORM_EXPORT extern size_t kNumberOfCompositingReasons; 203 PLATFORM_EXPORT extern const size_t kNumberOfCompositingReasons;
204 204
205 } // namespace blink 205 } // namespace blink
206 206
207 #endif // CompositingReasons_h 207 #endif // CompositingReasons_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698