| Index: ui/gfx/color_profile.h
|
| diff --git a/ui/gfx/color_profile.h b/ui/gfx/color_profile.h
|
| index 37a5634ac91c7532051ccfeefd0491084322e94f..8f3f1f62f61d484509b1d8934203e9db109ab050 100644
|
| --- a/ui/gfx/color_profile.h
|
| +++ b/ui/gfx/color_profile.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "ui/gfx/geometry/rect.h"
|
| #include "ui/gfx/gfx_export.h"
|
| +#include "ui/gfx/native_widget_types.h"
|
|
|
| namespace gfx {
|
|
|
| @@ -42,6 +43,14 @@ inline bool InvalidColorProfileLength(size_t length) {
|
| // standard sRGB color profile should be assumed.
|
| GFX_EXPORT bool GetDisplayColorProfile(const gfx::Rect& bounds,
|
| std::vector<char>* profile);
|
| +#if defined(OS_MACOSX)
|
| +// Return the color profile of the native window. If the window is null, or has
|
| +// empty bounds, return false meaning there is no color profile associated with
|
| +// the window. Otherwise return true after storing the window color profile in
|
| +// |profile|, which will be empty if the sRGB color profile should be assumed.
|
| +GFX_EXPORT bool GetDisplayColorProfile(gfx::NativeWindow window,
|
| + std::vector<char>* profile);
|
| +#endif
|
| } // namespace gfx
|
|
|
| #endif // UI_GFX_COLOR_PROFILE_H_
|
|
|