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

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

Issue 2190653004: Add more detail to Dst Color Space UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@histogram2
Patch Set: Use a switch Created 4 years, 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/graphics/BitmapImageMetrics.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 BitmapImageMetrics_h 5 #ifndef BitmapImageMetrics_h
6 #define BitmapImageMetrics_h 6 #define BitmapImageMetrics_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "platform/graphics/ImageOrientation.h" 9 #include "platform/graphics/ImageOrientation.h"
10 #include "third_party/skia/include/core/SkColorSpace.h" 10 #include "third_party/skia/include/core/SkColorSpace.h"
(...skipping 18 matching lines...) Expand all
29 }; 29 };
30 30
31 enum Gamma { 31 enum Gamma {
32 // Values synced with 'Gamma' in src/tools/metrics/histograms/histograms .xml 32 // Values synced with 'Gamma' in src/tools/metrics/histograms/histograms .xml
33 GammaLinear = 0, 33 GammaLinear = 0,
34 GammaSRGB = 1, 34 GammaSRGB = 1,
35 Gamma2Dot2 = 2, 35 Gamma2Dot2 = 2,
36 GammaNonStandard = 3, 36 GammaNonStandard = 3,
37 GammaNull = 4, 37 GammaNull = 4,
38 GammaFail = 5, 38 GammaFail = 5,
39 GammaEnd = GammaFail + 1, 39 GammaInvalid = 6,
40 GammaExponent = 7,
41 GammaTable = 8,
42 GammaParametric = 9,
43 GammaNamed = 10,
44 GammaEnd = GammaNamed + 1,
40 }; 45 };
41 46
42 static void countDecodedImageType(const String& type); 47 static void countDecodedImageType(const String& type);
43 static void countImageOrientation(const ImageOrientationEnum); 48 static void countImageOrientation(const ImageOrientationEnum);
44 static void countGamma(SkColorSpace*); 49 static void countGamma(SkColorSpace*);
45 }; 50 };
46 51
47 } // namespace blink 52 } // namespace blink
48 53
49 #endif 54 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/graphics/BitmapImageMetrics.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698