diff options
author | robert.bradford <robert.bradford@intel.com> | 2015-05-14 11:58:27 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-14 18:58:41 +0000 |
commit | 772b4792fd8c99925431f4639aaf92fcd6a9ce10 (patch) | |
tree | e44d4c1c4cd495e9cc66c19629e0f3062b06a501 /chromeos/chromeos_paths.h | |
parent | 750b6051e37a70291e93522ca111c0e29157e190 (diff) | |
download | chromium_src-772b4792fd8c99925431f4639aaf92fcd6a9ce10.zip chromium_src-772b4792fd8c99925431f4639aaf92fcd6a9ce10.tar.gz chromium_src-772b4792fd8c99925431f4639aaf92fcd6a9ce10.tar.bz2 |
Load ICC file for display color correction based on display product identifier
This change adds a new member to ui::DisplaySnapshot, 'product_id',
which is populated from the EDID in DrmDisplaySnapshot when it is
created.
DisplaySnapshot::product_id() is then turned into a hexadecimal string
and used to try and load an ICC file from a common path.
BUG=471749
TEST=On a link_freon system blue-vcgt-test-color-profile.icc was copied into
/usr/share/color/icc/30e400000000.icc and the system rebooted and the display
was observed tinted blue.
Review URL: https://codereview.chromium.org/1129863003
Cr-Commit-Position: refs/heads/master@{#329888}
Diffstat (limited to 'chromeos/chromeos_paths.h')
-rw-r--r-- | chromeos/chromeos_paths.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chromeos/chromeos_paths.h b/chromeos/chromeos_paths.h index bcaceed..2e500d9 100644 --- a/chromeos/chromeos_paths.h +++ b/chromeos/chromeos_paths.h @@ -44,6 +44,8 @@ enum { // device-local accounts. // Currently this is used for // policy for extensions. + DIR_DEVICE_COLOR_CALIBRATION_PROFILES, // Directory where system color + // calibration files can be found. PATH_END }; |