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_NATIVE_DISPLAY_DELEGATE_HOST_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRM_HOST_NATIVE_DISPLAY_DELEGATE_HOST_H_ |
6 #define UI_OZONE_PLATFORM_DRM_HOST_NATIVE_DISPLAY_DELEGATE_HOST_H_ | 6 #define UI_OZONE_PLATFORM_DRM_HOST_NATIVE_DISPLAY_DELEGATE_HOST_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <queue> | 9 #include <queue> |
10 | 10 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 void CreateFrameBuffer(const gfx::Size& size) override; | 56 void CreateFrameBuffer(const gfx::Size& size) override; |
57 void GetHDCPState(const DisplaySnapshot& output, | 57 void GetHDCPState(const DisplaySnapshot& output, |
58 const GetHDCPStateCallback& callback) override; | 58 const GetHDCPStateCallback& callback) override; |
59 void SetHDCPState(const DisplaySnapshot& output, | 59 void SetHDCPState(const DisplaySnapshot& output, |
60 HDCPState state, | 60 HDCPState state, |
61 const SetHDCPStateCallback& callback) override; | 61 const SetHDCPStateCallback& callback) override; |
62 std::vector<ColorCalibrationProfile> GetAvailableColorCalibrationProfiles( | 62 std::vector<ColorCalibrationProfile> GetAvailableColorCalibrationProfiles( |
63 const DisplaySnapshot& output) override; | 63 const DisplaySnapshot& output) override; |
64 bool SetColorCalibrationProfile(const DisplaySnapshot& output, | 64 bool SetColorCalibrationProfile(const DisplaySnapshot& output, |
65 ColorCalibrationProfile new_profile) override; | 65 ColorCalibrationProfile new_profile) override; |
66 bool SetGammaRamp(const ui::DisplaySnapshot& output, | |
67 const std::vector<GammaRampRGBEntry>& lut) override; | |
68 void AddObserver(NativeDisplayObserver* observer) override; | 66 void AddObserver(NativeDisplayObserver* observer) override; |
69 void RemoveObserver(NativeDisplayObserver* observer) override; | 67 void RemoveObserver(NativeDisplayObserver* observer) override; |
70 | 68 |
71 // DeviceEventObserver overrides: | 69 // DeviceEventObserver overrides: |
72 void OnDeviceEvent(const DeviceEvent& event) override; | 70 void OnDeviceEvent(const DeviceEvent& event) override; |
73 | 71 |
74 // GpuPlatformSupportHost: | 72 // GpuPlatformSupportHost: |
75 void OnChannelEstablished( | 73 void OnChannelEstablished( |
76 int host_id, | 74 int host_id, |
77 scoped_refptr<base::SingleThreadTaskRunner> send_runner, | 75 scoped_refptr<base::SingleThreadTaskRunner> send_runner, |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 drm_devices_; | 146 drm_devices_; |
149 | 147 |
150 base::WeakPtrFactory<DrmNativeDisplayDelegate> weak_ptr_factory_; | 148 base::WeakPtrFactory<DrmNativeDisplayDelegate> weak_ptr_factory_; |
151 | 149 |
152 DISALLOW_COPY_AND_ASSIGN(DrmNativeDisplayDelegate); | 150 DISALLOW_COPY_AND_ASSIGN(DrmNativeDisplayDelegate); |
153 }; | 151 }; |
154 | 152 |
155 } // namespace ui | 153 } // namespace ui |
156 | 154 |
157 #endif // UI_OZONE_PLATFORM_DRM_HOST_NATIVE_DISPLAY_DELEGATE_HOST_H_ | 155 #endif // UI_OZONE_PLATFORM_DRM_HOST_NATIVE_DISPLAY_DELEGATE_HOST_H_ |
OLD | NEW |