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

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

Issue 2798823002: Rewrite references to "wtf/" to "platform/wtf/" in platform/graphics. (Closed)
Patch Set: Created 3 years, 8 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CanvasMetrics_h 5 #ifndef CanvasMetrics_h
6 #define CanvasMetrics_h 6 #define CanvasMetrics_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "wtf/Allocator.h" 9 #include "platform/wtf/Allocator.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class PLATFORM_EXPORT CanvasMetrics { 13 class PLATFORM_EXPORT CanvasMetrics {
14 STATIC_ONLY(CanvasMetrics); 14 STATIC_ONLY(CanvasMetrics);
15 15
16 public: 16 public:
17 enum CanvasContextUsage { 17 enum CanvasContextUsage {
18 CanvasCreated = 0, 18 CanvasCreated = 0,
19 GPUAccelerated2DCanvasImageBufferCreated = 1, 19 GPUAccelerated2DCanvasImageBufferCreated = 1,
20 DisplayList2DCanvasImageBufferCreated = 2, 20 DisplayList2DCanvasImageBufferCreated = 2,
21 Unaccelerated2DCanvasImageBufferCreated = 3, 21 Unaccelerated2DCanvasImageBufferCreated = 3,
22 Accelerated2DCanvasGPUContextLost = 4, 22 Accelerated2DCanvasGPUContextLost = 4,
23 Unaccelerated2DCanvasImageBufferCreationFailed = 5, 23 Unaccelerated2DCanvasImageBufferCreationFailed = 5,
24 GPUAccelerated2DCanvasImageBufferCreationFailed = 6, 24 GPUAccelerated2DCanvasImageBufferCreationFailed = 6,
25 DisplayList2DCanvasFallbackToRaster = 7, 25 DisplayList2DCanvasFallbackToRaster = 7,
26 GPUAccelerated2DCanvasDeferralDisabled = 8, 26 GPUAccelerated2DCanvasDeferralDisabled = 8,
27 GPUAccelerated2DCanvasSurfaceCreationFailed = 9, 27 GPUAccelerated2DCanvasSurfaceCreationFailed = 9,
28 NumberOfUsages 28 NumberOfUsages
29 }; 29 };
30 30
31 static void countCanvasContextUsage(const CanvasContextUsage); 31 static void countCanvasContextUsage(const CanvasContextUsage);
32 }; 32 };
33 33
34 } // namespace blink 34 } // namespace blink
35 35
36 #endif // CanvasMetrics_h 36 #endif // CanvasMetrics_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698