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

Side by Side Diff: ui/display/chromeos/test/test_native_display_delegate.h

Issue 1182063002: Add support for more advanced color correction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@qcms-fixed-point-gamma
Patch Set: Rebase after quirks changes Created 4 years, 8 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_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_ 5 #ifndef UI_DISPLAY_CHROMEOS_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_
6 #define UI_DISPLAY_CHROMEOS_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_ 6 #define UI_DISPLAY_CHROMEOS_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 void GetHDCPState(const DisplaySnapshot& output, 69 void GetHDCPState(const DisplaySnapshot& output,
70 const GetHDCPStateCallback& callback) override; 70 const GetHDCPStateCallback& callback) override;
71 void SetHDCPState(const DisplaySnapshot& output, 71 void SetHDCPState(const DisplaySnapshot& output,
72 HDCPState state, 72 HDCPState state,
73 const SetHDCPStateCallback& callback) override; 73 const SetHDCPStateCallback& callback) override;
74 std::vector<ui::ColorCalibrationProfile> GetAvailableColorCalibrationProfiles( 74 std::vector<ui::ColorCalibrationProfile> GetAvailableColorCalibrationProfiles(
75 const DisplaySnapshot& output) override; 75 const DisplaySnapshot& output) override;
76 bool SetColorCalibrationProfile( 76 bool SetColorCalibrationProfile(
77 const DisplaySnapshot& output, 77 const DisplaySnapshot& output,
78 ui::ColorCalibrationProfile new_profile) override; 78 ui::ColorCalibrationProfile new_profile) override;
79 bool SetGammaRamp(const ui::DisplaySnapshot& output, 79 bool SetColorCorrection(const ui::DisplaySnapshot& output,
80 const std::vector<GammaRampRGBEntry>& lut) override; 80 const std::vector<GammaRampRGBEntry>& degamma_lut,
81 const std::vector<GammaRampRGBEntry>& gamma_lut,
82 const std::vector<float>& correction_matrix) override;
81 void AddObserver(NativeDisplayObserver* observer) override; 83 void AddObserver(NativeDisplayObserver* observer) override;
82 void RemoveObserver(NativeDisplayObserver* observer) override; 84 void RemoveObserver(NativeDisplayObserver* observer) override;
83 85
84 private: 86 private:
85 bool Configure(const DisplaySnapshot& output, 87 bool Configure(const DisplaySnapshot& output,
86 const DisplayMode* mode, 88 const DisplayMode* mode,
87 const gfx::Point& origin); 89 const gfx::Point& origin);
88 90
89 // Outputs to be returned by GetDisplays(). 91 // Outputs to be returned by GetDisplays().
90 std::vector<DisplaySnapshot*> outputs_; 92 std::vector<DisplaySnapshot*> outputs_;
(...skipping 17 matching lines...) Expand all
108 110
109 ActionLogger* log_; // Not owned. 111 ActionLogger* log_; // Not owned.
110 112
111 DISALLOW_COPY_AND_ASSIGN(TestNativeDisplayDelegate); 113 DISALLOW_COPY_AND_ASSIGN(TestNativeDisplayDelegate);
112 }; 114 };
113 115
114 } // namespace test 116 } // namespace test
115 } // namespace ui 117 } // namespace ui
116 118
117 #endif // UI_DISPLAY_CHROMEOS_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_ 119 #endif // UI_DISPLAY_CHROMEOS_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/display/chromeos/test/test_display_snapshot.cc ('k') | ui/display/chromeos/test/test_native_display_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698