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

Side by Side 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: Minor fixes 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 #include "ui/display/chromeos/test/test_native_display_delegate.h" 5 #include "ui/display/chromeos/test/test_native_display_delegate.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "ui/display/chromeos/test/action_logger.h" 9 #include "ui/display/chromeos/test/action_logger.h"
10 #include "ui/display/types/display_mode.h" 10 #include "ui/display/types/display_mode.h"
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 const DisplaySnapshot& output) { 121 const DisplaySnapshot& output) {
122 return std::vector<ui::ColorCalibrationProfile>(); 122 return std::vector<ui::ColorCalibrationProfile>();
123 } 123 }
124 124
125 bool TestNativeDisplayDelegate::SetColorCalibrationProfile( 125 bool TestNativeDisplayDelegate::SetColorCalibrationProfile(
126 const DisplaySnapshot& output, 126 const DisplaySnapshot& output,
127 ui::ColorCalibrationProfile new_profile) { 127 ui::ColorCalibrationProfile new_profile) {
128 return false; 128 return false;
129 } 129 }
130 130
131 bool TestNativeDisplayDelegate::SetGammaRamp(
132 const ui::DisplaySnapshot& output,
133 const std::vector<GammaRampRGBEntry>& lut) {
134 log_->AppendAction(SetGammaRampAction(output, lut));
135 return true;
136 }
137
131 void TestNativeDisplayDelegate::AddObserver(NativeDisplayObserver* observer) { 138 void TestNativeDisplayDelegate::AddObserver(NativeDisplayObserver* observer) {
132 } 139 }
133 140
134 void TestNativeDisplayDelegate::RemoveObserver( 141 void TestNativeDisplayDelegate::RemoveObserver(
135 NativeDisplayObserver* observer) { 142 NativeDisplayObserver* observer) {
136 } 143 }
137 144
138 } // namespace test 145 } // namespace test
139 } // namespace ui 146 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698