gfx/ui/color_profile: implement GetDisplayColorProfile on win
commitce17019a892624efdb045ac4ba96b78e0d472500
authornoel@chromium.org <noel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 12 Jun 2014 08:55:02 +0000 (12 08:55 +0000)
committernoel@chromium.org <noel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 12 Jun 2014 08:55:02 +0000 (12 08:55 +0000)
treef7e9a261d3c46406dd585586248248b1abe11daf
parent19d63df74e05b25a95c0f970ed54f762bcd75754
gfx/ui/color_profile: implement GetDisplayColorProfile on win

Add a global device color profile cache and use it to extract the
color profile associated with screen display devices.

TEST=ui_unittests.exe --gtest_filter="ColorProfileTest*"
BUG=368694

Review URL: https://codereview.chromium.org/312723003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276589 0039d316-1c4b-4281-b951-d872f2087c98
ui/gfx/color_profile_win.cc
ui/gfx/color_profile_win_unittest.cc [new file with mode: 0644]
ui/ui_unittests.gyp