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

Unified Diff: third_party/WebKit/Source/platform/graphics/BitmapImageMetrics.h

Issue 2652313004: Implement color-gamut media query (Closed)
Patch Set: fix windows build Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
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 32c5f7398f3d1629bb25a43296206ea61728b81a..79fe54912806cafdcdd10b9c2802123fc9cb7c0c 100644
--- a/third_party/WebKit/Source/platform/graphics/BitmapImageMetrics.h
+++ b/third_party/WebKit/Source/platform/graphics/BitmapImageMetrics.h
@@ -46,22 +46,6 @@ class PLATFORM_EXPORT BitmapImageMetrics {
GammaEnd = GammaNamed + 1,
};
- enum Gamut {
- // Values synced with 'Gamut' in src/tools/metrics/histograms/histograms.xml
- GamutUnknown = 0,
- GamutLessThanNTSC = 1,
- GamutNTSC = 2,
- GamutSRGB = 3,
- GamutAlmostP3 = 4,
- GamutP3 = 5,
- GamutAdobeRGB = 6,
- GamutWide = 7,
- GamutBT2020 = 8,
- GamutProPhoto = 9,
- GamutUltraWide = 10,
- GamutEnd
- };
-
static void countDecodedImageType(const String& type);
static void countImageOrientation(const ImageOrientationEnum);
static void countImageGammaAndGamut(SkColorSpace*);
@@ -69,7 +53,6 @@ class PLATFORM_EXPORT BitmapImageMetrics {
private:
static Gamma getColorSpaceGamma(SkColorSpace*);
- static Gamut getColorSpaceGamut(SkColorSpace*);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698