Chromium Code Reviews| Index: ui/gfx/color_space.h |
| diff --git a/ui/gfx/color_space.h b/ui/gfx/color_space.h |
| index ef8c6405f3ae852101b587eecd49ed0fae0e2ebb..0f7a8355933936554568bcaa6cee548ff017385d 100644 |
| --- a/ui/gfx/color_space.h |
| +++ b/ui/gfx/color_space.h |
| @@ -26,6 +26,13 @@ enum class ColorTransferFunction { UNSUPPORTED, LAST = UNSUPPORTED }; |
| class GFX_EXPORT ColorSpace { |
| public: |
| ColorSpace(); |
| + static ColorSpace CreateSRGB(); |
| + |
| + // TODO: Remove these, and replace with more generic constructors. |
|
ccameron
2016/07/21 22:07:03
This sort-of helps me with some of my hacking/plum
hubbe
2016/07/21 22:12:35
Sure.
|
| + static ColorSpace CreateJpeg(); |
| + static ColorSpace CreateREC601(); |
| + static ColorSpace CreateREC709(); |
| + |
| bool operator==(const ColorSpace& other) const; |
| private: |