Chromium Code Reviews| Index: ui/gfx/color_space.cc |
| diff --git a/ui/gfx/color_space.cc b/ui/gfx/color_space.cc |
| index 0c622be5b9d335d51e821a52fff7dd857f23ea97..b05940c09201b8bceba00300f8dc5340844e524c 100644 |
| --- a/ui/gfx/color_space.cc |
| +++ b/ui/gfx/color_space.cc |
| @@ -13,6 +13,26 @@ namespace gfx { |
| ColorSpace::ColorSpace() = default; |
| +// static |
| +ColorSpace ColorSpace::CreateSRGB() { |
| + return gfx::ColorSpace(); |
|
hubbe
2016/07/21 22:12:34
Add TODOs?
|
| +} |
| + |
| +// static |
| +ColorSpace ColorSpace::CreateJpeg() { |
| + return gfx::ColorSpace(); |
| +} |
| + |
| +// static |
| +ColorSpace ColorSpace::CreateREC601() { |
| + return gfx::ColorSpace(); |
| +} |
| + |
| +// static |
| +ColorSpace ColorSpace::CreateREC709() { |
| + return gfx::ColorSpace(); |
| +} |
| + |
| bool ColorSpace::operator==(const ColorSpace& other) const { |
| return valid_ == other.valid_ && |
| transfer_function_ == other.transfer_function_ && |