Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(430)

Side by Side Diff: ui/display/chromeos/x11/native_display_delegate_x11.h

Issue 1028563003: Load and apply a vcgt table from an ICC file to the internal display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix ozone build Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 void CreateFrameBuffer(const gfx::Size& size) override; 88 void CreateFrameBuffer(const gfx::Size& size) override;
89 void GetHDCPState(const DisplaySnapshot& output, 89 void GetHDCPState(const DisplaySnapshot& output,
90 const GetHDCPStateCallback& callback) override; 90 const GetHDCPStateCallback& callback) override;
91 void SetHDCPState(const DisplaySnapshot& output, 91 void SetHDCPState(const DisplaySnapshot& output,
92 HDCPState state, 92 HDCPState state,
93 const SetHDCPStateCallback& callback) override; 93 const SetHDCPStateCallback& callback) override;
94 std::vector<ColorCalibrationProfile> GetAvailableColorCalibrationProfiles( 94 std::vector<ColorCalibrationProfile> GetAvailableColorCalibrationProfiles(
95 const DisplaySnapshot& output) override; 95 const DisplaySnapshot& output) override;
96 bool SetColorCalibrationProfile(const DisplaySnapshot& output, 96 bool SetColorCalibrationProfile(const DisplaySnapshot& output,
97 ColorCalibrationProfile new_profile) override; 97 ColorCalibrationProfile new_profile) override;
98 bool SetGammaRamp(const ui::DisplaySnapshot& output,
99 const std::vector<GammaRampRGBEntry>& lut) override;
98 void AddObserver(NativeDisplayObserver* observer) override; 100 void AddObserver(NativeDisplayObserver* observer) override;
99 void RemoveObserver(NativeDisplayObserver* observer) override; 101 void RemoveObserver(NativeDisplayObserver* observer) override;
100 102
101 private: 103 private:
102 class HelperDelegateX11; 104 class HelperDelegateX11;
103 105
104 // Parses all the modes made available by |screen_|. 106 // Parses all the modes made available by |screen_|.
105 void InitModes(); 107 void InitModes();
106 108
107 // Helper method for GetOutputs() that returns an OutputSnapshot struct based 109 // Helper method for GetOutputs() that returns an OutputSnapshot struct based
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 166
165 // A background color used during boot time + multi displays. 167 // A background color used during boot time + multi displays.
166 uint32_t background_color_argb_; 168 uint32_t background_color_argb_;
167 169
168 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateX11); 170 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateX11);
169 }; 171 };
170 172
171 } // namespace ui 173 } // namespace ui
172 174
173 #endif // UI_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_ 175 #endif // UI_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_
OLDNEW
« no previous file with comments | « ui/display/chromeos/test/test_native_display_delegate.cc ('k') | ui/display/chromeos/x11/native_display_delegate_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698