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

Unified Diff: ui/gfx/color_profile.cc

Issue 849523003: ui/gfx/color_profile: Add GetDisplayColorProfile for an NSWindow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « ui/gfx/color_profile.h ('k') | ui/gfx/color_profile_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/color_profile.cc
diff --git a/ui/gfx/color_profile.cc b/ui/gfx/color_profile.cc
index bb7c3d546c2584e0842e7a425c84093da8a83927..a7ead10660aa8e065b411032fbf5122ee47c7210 100644
--- a/ui/gfx/color_profile.cc
+++ b/ui/gfx/color_profile.cc
@@ -10,6 +10,10 @@ namespace gfx {
void ReadColorProfile(std::vector<char>* profile);
GFX_EXPORT bool GetDisplayColorProfile(const gfx::Rect& bounds,
std::vector<char>* profile);
+#if defined(OS_MACOSX)
+GFX_EXPORT bool GetDisplayColorProfile(gfx::NativeWindow window,
+ std::vector<char>* profile);
+#endif
#else
void ReadColorProfile(std::vector<char>* profile) { }
GFX_EXPORT bool GetDisplayColorProfile(const gfx::Rect& bounds,
« no previous file with comments | « ui/gfx/color_profile.h ('k') | ui/gfx/color_profile_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698