| 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; |
| 66 void AddObserver(NativeDisplayObserver* observer) override; | 68 void AddObserver(NativeDisplayObserver* observer) override; |
| 67 void RemoveObserver(NativeDisplayObserver* observer) override; | 69 void RemoveObserver(NativeDisplayObserver* observer) override; |
| 68 | 70 |
| 69 // DeviceEventObserver overrides: | 71 // DeviceEventObserver overrides: |
| 70 void OnDeviceEvent(const DeviceEvent& event) override; | 72 void OnDeviceEvent(const DeviceEvent& event) override; |
| 71 | 73 |
| 72 // GpuPlatformSupportHost: | 74 // GpuPlatformSupportHost: |
| 73 void OnChannelEstablished( | 75 void OnChannelEstablished( |
| 74 int host_id, | 76 int host_id, |
| 75 scoped_refptr<base::SingleThreadTaskRunner> send_runner, | 77 scoped_refptr<base::SingleThreadTaskRunner> send_runner, |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 drm_devices_; | 148 drm_devices_; |
| 147 | 149 |
| 148 base::WeakPtrFactory<DrmNativeDisplayDelegate> weak_ptr_factory_; | 150 base::WeakPtrFactory<DrmNativeDisplayDelegate> weak_ptr_factory_; |
| 149 | 151 |
| 150 DISALLOW_COPY_AND_ASSIGN(DrmNativeDisplayDelegate); | 152 DISALLOW_COPY_AND_ASSIGN(DrmNativeDisplayDelegate); |
| 151 }; | 153 }; |
| 152 | 154 |
| 153 } // namespace ui | 155 } // namespace ui |
| 154 | 156 |
| 155 #endif // UI_OZONE_PLATFORM_DRM_HOST_NATIVE_DISPLAY_DELEGATE_HOST_H_ | 157 #endif // UI_OZONE_PLATFORM_DRM_HOST_NATIVE_DISPLAY_DELEGATE_HOST_H_ |
| OLD | NEW |