diff options
author | mukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-21 11:37:16 +0000 |
---|---|---|
committer | mukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-21 11:37:16 +0000 |
commit | 35fad2692b6c3ae10c1a0c0831291a1a6433bca5 (patch) | |
tree | 07ab467199336700f6428b48e2bb685163b78b6f /ash/display/display_manager.h | |
parent | 3c31bb28ba2b2c237b6ec4cb1d9b61e3306174f1 (diff) | |
download | chromium_src-35fad2692b6c3ae10c1a0c0831291a1a6433bca5.zip chromium_src-35fad2692b6c3ae10c1a0c0831291a1a6433bca5.tar.gz chromium_src-35fad2692b6c3ae10c1a0c0831291a1a6433bca5.tar.bz2 |
Introduces the settings UI of color calibration.
This CL depends on crrev.com/195893005.
BUG=344728
R=oshima@chromium.org
TEST=manually
Review URL: https://codereview.chromium.org/196493003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258529 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/display/display_manager.h')
-rw-r--r-- | ash/display/display_manager.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ash/display/display_manager.h b/ash/display/display_manager.h index c17f73f..c672524 100644 --- a/ash/display/display_manager.h +++ b/ash/display/display_manager.h @@ -174,7 +174,8 @@ class ASH_EXPORT DisplayManager gfx::Display::Rotation rotation, float ui_scale, const gfx::Insets* overscan_insets, - const gfx::Size& resolution_in_pixels); + const gfx::Size& resolution_in_pixels, + ui::ColorCalibrationProfile color_profile); // Returns the display's selected mode. bool GetSelectedModeForDisplayId(int64 display_id, @@ -188,6 +189,10 @@ class ASH_EXPORT DisplayManager // the display. gfx::Insets GetOverscanInsets(int64 display_id) const; + // Sets the color calibration of the display to |profile|. + void SetColorCalibrationProfile(int64 display_id, + ui::ColorCalibrationProfile profile); + // Called when display configuration has changed. The new display // configurations is passed as a vector of Display object, which // contains each display's new infomration. @@ -304,6 +309,9 @@ private: // a display. void InsertAndUpdateDisplayInfo(const DisplayInfo& new_info); + // Called when the display info is updated through InsertAndUpdateDisplayInfo. + void OnDisplayInfoUpdated(const DisplayInfo& display_info); + // Creates a display object from the DisplayInfo for |display_id|. gfx::Display CreateDisplayFromDisplayInfoById(int64 display_id); |