blob: bb7c3d546c2584e0842e7a425c84093da8a83927 [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/gfx/color_profile.h"
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() {
// TODO: support multiple monitors.
ReadColorProfile(&profile_);
}
ColorProfile::~ColorProfile() {
}
} // namespace gfx