blob: 4fb4c9ff70eb1bbae3ab88ffb9ba9bf760408255 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// 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) && !defined(OS_IOS))
void ReadColorProfile(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
|