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 "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/observer_list.h" | 9 #include "base/observer_list.h" |
10 #include "ui/display/types/native_display_delegate.h" | 10 #include "ui/display/types/native_display_delegate.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 ui::ColorCalibrationProfile new_profile) override; | 49 ui::ColorCalibrationProfile new_profile) override; |
50 bool SetGammaRamp(const ui::DisplaySnapshot& output, | 50 bool SetGammaRamp(const ui::DisplaySnapshot& output, |
51 const std::vector<GammaRampRGBEntry>& lut) override; | 51 const std::vector<GammaRampRGBEntry>& lut) override; |
52 | 52 |
53 void AddObserver(NativeDisplayObserver* observer) override; | 53 void AddObserver(NativeDisplayObserver* observer) override; |
54 void RemoveObserver(NativeDisplayObserver* observer) override; | 54 void RemoveObserver(NativeDisplayObserver* observer) override; |
55 | 55 |
56 private: | 56 private: |
57 DrmDisplayHostManager* display_manager_; // Not owned. | 57 DrmDisplayHostManager* display_manager_; // Not owned. |
58 | 58 |
59 ObserverList<NativeDisplayObserver> observers_; | 59 base::ObserverList<NativeDisplayObserver> observers_; |
60 | 60 |
61 DISALLOW_COPY_AND_ASSIGN(DrmNativeDisplayDelegate); | 61 DISALLOW_COPY_AND_ASSIGN(DrmNativeDisplayDelegate); |
62 }; | 62 }; |
63 | 63 |
64 } // namespace ui | 64 } // namespace ui |
65 | 65 |
66 #endif // UI_OZONE_PLATFORM_DRM_HOST_DRM_NATIVE_DISPLAY_DELEGATE_H_ | 66 #endif // UI_OZONE_PLATFORM_DRM_HOST_DRM_NATIVE_DISPLAY_DELEGATE_H_ |
OLD | NEW |