summaryrefslogtreecommitdiffstats
path: root/chromium/ui/gfx/color_profile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/gfx/color_profile.cc')
-rw-r--r--chromium/ui/gfx/color_profile.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/chromium/ui/gfx/color_profile.cc b/chromium/ui/gfx/color_profile.cc
index fcd9a52ea0c..bb7c3d546c2 100644
--- a/chromium/ui/gfx/color_profile.cc
+++ b/chromium/ui/gfx/color_profile.cc
@@ -8,8 +8,15 @@ namespace gfx {
#if defined(OS_WIN) || defined(OS_MACOSX)
void ReadColorProfile(std::vector<char>* profile);
+GFX_EXPORT bool GetDisplayColorProfile(const gfx::Rect& bounds,
+ std::vector<char>* profile);
#else
void ReadColorProfile(std::vector<char>* profile) { }
+GFX_EXPORT bool GetDisplayColorProfile(const gfx::Rect& bounds,
+ std::vector<char>* profile) {
+ // TODO(port): consider screen color profile support.
+ return false;
+}
#endif
ColorProfile::ColorProfile() {