| Index: ui/gfx/color_space.h
|
| diff --git a/ui/gfx/color_space.h b/ui/gfx/color_space.h
|
| index 686e7520eca3223eb8e6fb9cf8e207ba0580ae94..0129e7e1cb4282c8ac765a927293bf19455c0afd 100644
|
| --- a/ui/gfx/color_space.h
|
| +++ b/ui/gfx/color_space.h
|
| @@ -11,6 +11,10 @@
|
| #include "build/build_config.h"
|
| #include "ui/gfx/gfx_export.h"
|
|
|
| +#if defined(OS_MACOSX)
|
| +#include <CoreGraphics/CGColorSpace.h>
|
| +#endif
|
| +
|
| namespace gfx {
|
|
|
| class GFX_EXPORT ColorSpace {
|
| @@ -27,6 +31,9 @@ class GFX_EXPORT ColorSpace {
|
| // which monitor it will be displayed.
|
| static ColorSpace FromBestMonitor();
|
| static ColorSpace FromICCProfile(const std::vector<char>& icc_profile);
|
| +#if defined(OS_MACOSX)
|
| + static ColorSpace FromCGColorSpace(CGColorSpaceRef cg_color_space);
|
| +#endif
|
|
|
| const std::vector<char>& GetICCProfile() const { return icc_profile_; }
|
|
|
|
|