Index: ui/display/chromeos/display_configurator.h |
diff --git a/ui/display/chromeos/display_configurator.h b/ui/display/chromeos/display_configurator.h |
index c6c849b4c0fb405abbdef5e0e05d4a93fcbe16c5..7a2449f3e56de61715d54f490333e072d18fe8d6 100644 |
--- a/ui/display/chromeos/display_configurator.h |
+++ b/ui/display/chromeos/display_configurator.h |
@@ -274,10 +274,6 @@ class DISPLAY_EXPORT DisplayConfigurator : public NativeDisplayObserver { |
bool SetColorCalibrationProfile(int64_t display_id, |
ui::ColorCalibrationProfile new_profile); |
- // Sets the gamma ramp for |display_id| to the values in |lut|. |
- bool SetGammaRamp(int64_t display_id, |
- const std::vector<GammaRampRGBEntry>& lut); |
- |
// Enables/disables virtual display. |
int64_t AddVirtualDisplay(gfx::Size display_size); |
bool RemoveVirtualDisplay(int64_t display_id); |
@@ -289,6 +285,13 @@ class DISPLAY_EXPORT DisplayConfigurator : public NativeDisplayObserver { |
configure_display_ = configure_display; |
} |
+ // Sets the gamma, degamma and correction matrix for |display_id| to the |
+ // values in |degamma_lut|, |gamma_lut| and |correction_matrix|. |
+ bool SetColorCorrection(int64_t display_id, |
+ const std::vector<GammaRampRGBEntry>& degamma_lut, |
+ const std::vector<GammaRampRGBEntry>& gamma_lut, |
+ const std::vector<float>& correction_matrix); |
+ |
private: |
class DisplayLayoutManagerImpl; |