| 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 25 matching lines...) Expand all Loading... |
| 36 void GetHDCPState(const ui::DisplaySnapshot& output, | 36 void GetHDCPState(const ui::DisplaySnapshot& output, |
| 37 const GetHDCPStateCallback& callback) override; | 37 const GetHDCPStateCallback& callback) override; |
| 38 void SetHDCPState(const ui::DisplaySnapshot& output, | 38 void SetHDCPState(const ui::DisplaySnapshot& output, |
| 39 ui::HDCPState state, | 39 ui::HDCPState state, |
| 40 const SetHDCPStateCallback& callback) override; | 40 const SetHDCPStateCallback& callback) override; |
| 41 std::vector<ui::ColorCalibrationProfile> GetAvailableColorCalibrationProfiles( | 41 std::vector<ui::ColorCalibrationProfile> GetAvailableColorCalibrationProfiles( |
| 42 const ui::DisplaySnapshot& output) override; | 42 const ui::DisplaySnapshot& output) override; |
| 43 bool SetColorCalibrationProfile( | 43 bool SetColorCalibrationProfile( |
| 44 const ui::DisplaySnapshot& output, | 44 const ui::DisplaySnapshot& output, |
| 45 ui::ColorCalibrationProfile new_profile) override; | 45 ui::ColorCalibrationProfile new_profile) override; |
| 46 bool SetGammaRamp(const ui::DisplaySnapshot& output, | |
| 47 const std::vector<GammaRampRGBEntry>& lut) override; | |
| 48 | |
| 49 void AddObserver(NativeDisplayObserver* observer) override; | 46 void AddObserver(NativeDisplayObserver* observer) override; |
| 50 void RemoveObserver(NativeDisplayObserver* observer) override; | 47 void RemoveObserver(NativeDisplayObserver* observer) override; |
| 51 | 48 |
| 52 private: | 49 private: |
| 53 ScopedVector<DisplaySnapshot> displays_; | 50 ScopedVector<DisplaySnapshot> displays_; |
| 54 | 51 |
| 55 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateOzone); | 52 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateOzone); |
| 56 }; | 53 }; |
| 57 | 54 |
| 58 } // namespace ui | 55 } // namespace ui |
| 59 | 56 |
| 60 #endif // UI_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_ | 57 #endif // UI_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_ |
| OLD | NEW |