summaryrefslogtreecommitdiffstats
path: root/base/mac_util.h
diff options
context:
space:
mode:
authoramanda@chromium.org <amanda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-03 21:51:10 +0000
committeramanda@chromium.org <amanda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-03 21:51:10 +0000
commit265cf96b080c4196c268c0cc1a87186b0aee3b61 (patch)
tree820b7cd18d60618c2239da446c5b21678ca09280 /base/mac_util.h
parent172d0abca7044b8b5662f376a2645c22d2351c65 (diff)
downloadchromium_src-265cf96b080c4196c268c0cc1a87186b0aee3b61.zip
chromium_src-265cf96b080c4196c268c0cc1a87186b0aee3b61.tar.gz
chromium_src-265cf96b080c4196c268c0cc1a87186b0aee3b61.tar.bz2
Adjust color spaces so that Mac Chrome renders colors properly.
BUG=19951,20552 TEST=compare pages rendered in Chromium and Safari. They should appear the same. mark: review jrg/brettw: FYI Review URL: http://codereview.chromium.org/194013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25380 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/mac_util.h')
-rw-r--r--base/mac_util.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/base/mac_util.h b/base/mac_util.h
index 96d77b2..2235377 100644
--- a/base/mac_util.h
+++ b/base/mac_util.h
@@ -51,6 +51,14 @@ OSType CreatorCodeForApplication();
// Returns the ~/Library directory.
FilePath GetUserLibraryPath();
+// Returns an sRGB color space. The return value is a static value; do not
+// release it!
+CGColorSpaceRef GetSRGBColorSpace();
+
+// Returns the color space being used by the main display. The return value
+// is a static value; do not release it!
+CGColorSpaceRef GetSystemColorSpace();
+
} // namespace mac_util
#endif // BASE_MAC_UTIL_H_