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

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

Issue 1118373006: Revert of 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: 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;
100 void AddObserver(NativeDisplayObserver* observer) override; 98 void AddObserver(NativeDisplayObserver* observer) override;
101 void RemoveObserver(NativeDisplayObserver* observer) override; 99 void RemoveObserver(NativeDisplayObserver* observer) override;
102 100
103 private: 101 private:
104 class HelperDelegateX11; 102 class HelperDelegateX11;
105 103
106 // Parses all the modes made available by |screen_|. 104 // Parses all the modes made available by |screen_|.
107 void InitModes(); 105 void InitModes();
108 106
109 // Helper method for GetOutputs() that returns an OutputSnapshot struct based 107 // Helper method for GetOutputs() that returns an OutputSnapshot struct based
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 164
167 // A background color used during boot time + multi displays. 165 // A background color used during boot time + multi displays.
168 uint32_t background_color_argb_; 166 uint32_t background_color_argb_;
169 167
170 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateX11); 168 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateX11);
171 }; 169 };
172 170
173 } // namespace ui 171 } // namespace ui
174 172
175 #endif // UI_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_ 173 #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