Exclude TrayIMETest.PerformActionOnDetailedView under valgrind, where it crashes.
[chromium-blink-merge.git] / ui / gfx / color_profile.cc
blobc135e30d6c175abbf7bcbd88e274c1bfc2409182
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ui/gfx/color_profile.h"
7 namespace gfx {
9 #if defined(OS_WIN) || defined(OS_MACOSX)
10 void ReadColorProfile(std::vector<char>* profile);
11 #else
12 void ReadColorProfile(std::vector<char>* profile) { }
13 GFX_EXPORT bool GetDisplayColorProfile(const gfx::Rect& bounds,
14 std::vector<char>* profile) {
15 // TODO(port): consider screen color profile support.
16 return false;
18 #endif
20 ColorProfile::ColorProfile() {
21 // TODO: support multiple monitors.
22 ReadColorProfile(&profile_);
25 ColorProfile::~ColorProfile() {
28 } // namespace gfx