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_PLATFORM_DRM_HOST_DRM_NATIVE_DISPLAY_DELEGATE_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRM_HOST_DRM_NATIVE_DISPLAY_DELEGATE_H_ |
6 #define UI_OZONE_PLATFORM_DRM_HOST_DRM_NATIVE_DISPLAY_DELEGATE_H_ | 6 #define UI_OZONE_PLATFORM_DRM_HOST_DRM_NATIVE_DISPLAY_DELEGATE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 bool SetColorCalibrationProfile( | 50 bool SetColorCalibrationProfile( |
51 const ui::DisplaySnapshot& output, | 51 const ui::DisplaySnapshot& output, |
52 ui::ColorCalibrationProfile new_profile) override; | 52 ui::ColorCalibrationProfile new_profile) override; |
53 bool SetColorCorrection(const ui::DisplaySnapshot& output, | 53 bool SetColorCorrection(const ui::DisplaySnapshot& output, |
54 const std::vector<GammaRampRGBEntry>& degamma_lut, | 54 const std::vector<GammaRampRGBEntry>& degamma_lut, |
55 const std::vector<GammaRampRGBEntry>& gamma_lut, | 55 const std::vector<GammaRampRGBEntry>& gamma_lut, |
56 const std::vector<float>& correction_matrix) override; | 56 const std::vector<float>& correction_matrix) override; |
57 | 57 |
58 void AddObserver(NativeDisplayObserver* observer) override; | 58 void AddObserver(NativeDisplayObserver* observer) override; |
59 void RemoveObserver(NativeDisplayObserver* observer) override; | 59 void RemoveObserver(NativeDisplayObserver* observer) override; |
| 60 display::FakeDisplayController* GetFakeDisplayController() override; |
60 | 61 |
61 private: | 62 private: |
62 DrmDisplayHostManager* display_manager_; // Not owned. | 63 DrmDisplayHostManager* display_manager_; // Not owned. |
63 | 64 |
64 base::ObserverList<NativeDisplayObserver> observers_; | 65 base::ObserverList<NativeDisplayObserver> observers_; |
65 | 66 |
66 DISALLOW_COPY_AND_ASSIGN(DrmNativeDisplayDelegate); | 67 DISALLOW_COPY_AND_ASSIGN(DrmNativeDisplayDelegate); |
67 }; | 68 }; |
68 | 69 |
69 } // namespace ui | 70 } // namespace ui |
70 | 71 |
71 #endif // UI_OZONE_PLATFORM_DRM_HOST_DRM_NATIVE_DISPLAY_DELEGATE_H_ | 72 #endif // UI_OZONE_PLATFORM_DRM_HOST_DRM_NATIVE_DISPLAY_DELEGATE_H_ |
OLD | NEW |