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

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

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
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/MathExtras.h" 9 #include "wtf/MathExtras.h"
10 #include <stdint.h> 10 #include <stdint.h>
11 11
12 namespace WebCore { 12 namespace blink {
13 13
14 const uint64_t CompositingReasonNone = 0; 14 const uint64_t CompositingReasonNone = 0;
15 const uint64_t CompositingReasonAll = ~stat ic_cast<uint64_t>(0); 15 const uint64_t CompositingReasonAll = ~stat ic_cast<uint64_t>(0);
16 16
17 // Intrinsic reasons that can be known right away by the layer 17 // Intrinsic reasons that can be known right away by the layer
18 const uint64_t CompositingReason3DTransform = UINT6 4_C(1) << 0; 18 const uint64_t CompositingReason3DTransform = UINT6 4_C(1) << 0;
19 const uint64_t CompositingReasonVideo = UINT6 4_C(1) << 1; 19 const uint64_t CompositingReasonVideo = UINT6 4_C(1) << 1;
20 const uint64_t CompositingReasonCanvas = UINT6 4_C(1) << 2; 20 const uint64_t CompositingReasonCanvas = UINT6 4_C(1) << 2;
21 const uint64_t CompositingReasonPlugin = UINT6 4_C(1) << 3; 21 const uint64_t CompositingReasonPlugin = UINT6 4_C(1) << 3;
22 const uint64_t CompositingReasonIFrame = UINT6 4_C(1) << 4; 22 const uint64_t CompositingReasonIFrame = UINT6 4_C(1) << 4;
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 177
178 struct CompositingReasonStringMap { 178 struct CompositingReasonStringMap {
179 CompositingReasons reason; 179 CompositingReasons reason;
180 const char* shortName; 180 const char* shortName;
181 const char* description; 181 const char* description;
182 }; 182 };
183 183
184 PLATFORM_EXPORT extern const CompositingReasonStringMap kCompositingReasonString Map[]; 184 PLATFORM_EXPORT extern const CompositingReasonStringMap kCompositingReasonString Map[];
185 PLATFORM_EXPORT extern size_t kNumberOfCompositingReasons; 185 PLATFORM_EXPORT extern size_t kNumberOfCompositingReasons;
186 186
187 } // namespace WebCore 187 } // namespace blink
188 188
189 #endif // CompositingReasons_h 189 #endif // CompositingReasons_h
OLDNEW
« no previous file with comments | « Source/platform/graphics/ColorSpace.cpp ('k') | Source/platform/graphics/CompositingReasons.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698