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

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

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 side-by-side diff with in-line comments
Download patch
Index: ui/display/chromeos/test/action_logger_util.cc
diff --git a/ui/display/chromeos/test/action_logger_util.cc b/ui/display/chromeos/test/action_logger_util.cc
index bbdad78bf5eba357a2ad825ec20d2f54746e5508..c798b48c06c468d051c42353bcd1389375188796 100644
--- a/ui/display/chromeos/test/action_logger_util.cc
+++ b/ui/display/chromeos/test/action_logger_util.cc
@@ -5,12 +5,9 @@
#include "ui/display/chromeos/test/action_logger_util.h"
#include "base/format_macros.h"
-#include "base/logging.h"
#include "base/strings/stringprintf.h"
#include "ui/display/types/display_mode.h"
#include "ui/display/types/display_snapshot.h"
-#include "ui/display/types/gamma_ramp_rgb_entry.h"
-#include "ui/display/types/native_display_delegate.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/size.h"
@@ -55,18 +52,6 @@
output.display_id(), state);
}
-std::string SetGammaRampAction(const ui::DisplaySnapshot& output,
- const std::vector<GammaRampRGBEntry>& lut) {
- std::string table;
- for (size_t i = 0; i < lut.size(); ++i) {
- table += base::StringPrintf(",rgb[%" PRIuS "]=%04x%04x%04x", i, lut[i].r,
- lut[i].g, lut[i].b);
- }
-
- return base::StringPrintf("set_gamma_ramp(id=%" PRId64 "%s)",
- output.display_id(), table.c_str());
-}
-
std::string JoinActions(const char* action, ...) {
std::string actions;
« no previous file with comments | « ui/display/chromeos/test/action_logger_util.h ('k') | ui/display/chromeos/test/test_native_display_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698