Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/BitmapImageMetrics.h |
| diff --git a/third_party/WebKit/Source/platform/graphics/BitmapImageMetrics.h b/third_party/WebKit/Source/platform/graphics/BitmapImageMetrics.h |
| index 7382fe69718764f09dd5ad325d9ce4a150e2e7f9..18471d73dd4ca725800cd321365720bfede89908 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/BitmapImageMetrics.h |
| +++ b/third_party/WebKit/Source/platform/graphics/BitmapImageMetrics.h |
| @@ -5,6 +5,7 @@ |
| #ifndef BitmapImageMetrics_h |
| #define BitmapImageMetrics_h |
| +#include "SkColorSpace.h" |
|
f(malita)
2016/07/25 16:13:54
third_party/skia/include/core/SkColorSpace.h
msarett
2016/07/25 16:50:51
Done.
|
| #include "platform/PlatformExport.h" |
| #include "platform/graphics/ImageOrientation.h" |
| #include "wtf/Allocator.h" |
| @@ -27,8 +28,21 @@ public: |
| DecodedImageTypeEnumEnd = ImageBMP + 1 |
| }; |
| + enum Gamma { |
| + // Values synced with 'Gamma' in src/tools/metrics/histograms/histograms.xml |
| + GammaLinear = 0, |
| + GammaSRGB = 1, |
| + Gamma2Dot2 = 2, |
| + GammaNonStandard = 3, |
| + GammaEmpty = 4, |
| + GammaNull = 5, |
| + GammaFail = 6, |
| + GammaEnd = GammaFail + 1, |
| + }; |
| + |
| static void countDecodedImageType(const String& type); |
| static void countImageOrientation(const ImageOrientationEnum); |
| + static void countGamma(SkColorSpace*); |
| }; |
| } // namespace blink |