OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_ | 5 #ifndef UI_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_ |
6 #define UI_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_ | 6 #define UI_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/scoped_vector.h" | 9 #include "base/memory/scoped_vector.h" |
10 #include "ui/display/types/native_display_delegate.h" | 10 #include "ui/display/types/native_display_delegate.h" |
(...skipping 28 matching lines...) Expand all Loading... |
39 void SetHDCPState(const ui::DisplaySnapshot& output, | 39 void SetHDCPState(const ui::DisplaySnapshot& output, |
40 ui::HDCPState state, | 40 ui::HDCPState state, |
41 const SetHDCPStateCallback& callback) override; | 41 const SetHDCPStateCallback& callback) override; |
42 std::vector<ui::ColorCalibrationProfile> GetAvailableColorCalibrationProfiles( | 42 std::vector<ui::ColorCalibrationProfile> GetAvailableColorCalibrationProfiles( |
43 const ui::DisplaySnapshot& output) override; | 43 const ui::DisplaySnapshot& output) override; |
44 bool SetColorCalibrationProfile( | 44 bool SetColorCalibrationProfile( |
45 const ui::DisplaySnapshot& output, | 45 const ui::DisplaySnapshot& output, |
46 ui::ColorCalibrationProfile new_profile) override; | 46 ui::ColorCalibrationProfile new_profile) override; |
47 bool SetGammaRamp(const ui::DisplaySnapshot& output, | 47 bool SetGammaRamp(const ui::DisplaySnapshot& output, |
48 const std::vector<GammaRampRGBEntry>& lut) override; | 48 const std::vector<GammaRampRGBEntry>& lut) override; |
49 | 49 bool SetColorCorrection(const ui::DisplaySnapshot& output, |
| 50 const std::vector<GammaRampRGBEntry>& degamma_lut, |
| 51 const std::vector<GammaRampRGBEntry>& gamma_lut, |
| 52 const float correction_matrix[9]) override; |
50 void AddObserver(NativeDisplayObserver* observer) override; | 53 void AddObserver(NativeDisplayObserver* observer) override; |
51 void RemoveObserver(NativeDisplayObserver* observer) override; | 54 void RemoveObserver(NativeDisplayObserver* observer) override; |
52 | 55 |
53 private: | 56 private: |
54 ScopedVector<DisplaySnapshot> displays_; | 57 ScopedVector<DisplaySnapshot> displays_; |
55 | 58 |
56 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateOzone); | 59 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateOzone); |
57 }; | 60 }; |
58 | 61 |
59 } // namespace ui | 62 } // namespace ui |
60 | 63 |
61 #endif // UI_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_ | 64 #endif // UI_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_ |
OLD | NEW |