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

Unified Diff: ui/display/chromeos/test/test_native_display_delegate.cc

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: Use a vectore of tuples of RGB components for IPC Created 5 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 side-by-side diff with in-line comments
Download patch
Index: ui/display/chromeos/test/test_native_display_delegate.cc
diff --git a/ui/display/chromeos/test/test_native_display_delegate.cc b/ui/display/chromeos/test/test_native_display_delegate.cc
index 0da2e1190f1ab0c6853dfb7aee1e81190924073d..d20d8b154c13b3cf3a8dbaffd5e75e3db748e0ce 100644
--- a/ui/display/chromeos/test/test_native_display_delegate.cc
+++ b/ui/display/chromeos/test/test_native_display_delegate.cc
@@ -128,6 +128,14 @@ bool TestNativeDisplayDelegate::SetColorCalibrationProfile(
return false;
}
+bool TestNativeDisplayDelegate::SetGammaRamp(const ui::DisplaySnapshot& output,
+ const std::vector<uint16_t>& r,
+ const std::vector<uint16_t>& g,
+ const std::vector<uint16_t>& b) {
+ log_->AppendAction(SetGammaRampAction(output, r, g, b));
+ return true;
+}
+
void TestNativeDisplayDelegate::AddObserver(NativeDisplayObserver* observer) {
}

Powered by Google App Engine
This is Rietveld 408576698