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_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_ | 5 #ifndef UI_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_ |
6 #define UI_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_ | 6 #define UI_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 virtual void AddMode(const DisplaySnapshot& output, | 76 virtual void AddMode(const DisplaySnapshot& output, |
77 const DisplayMode* mode) OVERRIDE; | 77 const DisplayMode* mode) OVERRIDE; |
78 virtual bool Configure(const DisplaySnapshot& output, | 78 virtual bool Configure(const DisplaySnapshot& output, |
79 const DisplayMode* mode, | 79 const DisplayMode* mode, |
80 const gfx::Point& origin) OVERRIDE; | 80 const gfx::Point& origin) OVERRIDE; |
81 virtual void CreateFrameBuffer(const gfx::Size& size) OVERRIDE; | 81 virtual void CreateFrameBuffer(const gfx::Size& size) OVERRIDE; |
82 virtual bool GetHDCPState(const DisplaySnapshot& output, | 82 virtual bool GetHDCPState(const DisplaySnapshot& output, |
83 HDCPState* state) OVERRIDE; | 83 HDCPState* state) OVERRIDE; |
84 virtual bool SetHDCPState(const DisplaySnapshot& output, | 84 virtual bool SetHDCPState(const DisplaySnapshot& output, |
85 HDCPState state) OVERRIDE; | 85 HDCPState state) OVERRIDE; |
| 86 virtual void GetAvailableColorCalibrationProfiles( |
| 87 const DisplaySnapshot& output, |
| 88 std::vector<ColorCalibrationProfile>* profiles) OVERRIDE; |
86 virtual bool SetColorCalibrationProfile( | 89 virtual bool SetColorCalibrationProfile( |
87 const DisplaySnapshot& output, | 90 const DisplaySnapshot& output, |
88 ColorCalibrationProfile new_profile) OVERRIDE; | 91 ColorCalibrationProfile new_profile) OVERRIDE; |
89 virtual void AddObserver(NativeDisplayObserver* observer) OVERRIDE; | 92 virtual void AddObserver(NativeDisplayObserver* observer) OVERRIDE; |
90 virtual void RemoveObserver(NativeDisplayObserver* observer) OVERRIDE; | 93 virtual void RemoveObserver(NativeDisplayObserver* observer) OVERRIDE; |
91 | 94 |
92 private: | 95 private: |
93 class HelperDelegateX11; | 96 class HelperDelegateX11; |
94 class MessagePumpObserverX11; | 97 class MessagePumpObserverX11; |
95 | 98 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 | 146 |
144 // List of observers waiting for display configuration change events. | 147 // List of observers waiting for display configuration change events. |
145 ObserverList<NativeDisplayObserver> observers_; | 148 ObserverList<NativeDisplayObserver> observers_; |
146 | 149 |
147 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateX11); | 150 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateX11); |
148 }; | 151 }; |
149 | 152 |
150 } // namespace ui | 153 } // namespace ui |
151 | 154 |
152 #endif // UI_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_ | 155 #endif // UI_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_ |
OLD | NEW |