| OLD | NEW |
| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 const DisplaySnapshot& output) { | 125 const DisplaySnapshot& output) { |
| 126 return std::vector<ui::ColorCalibrationProfile>(); | 126 return std::vector<ui::ColorCalibrationProfile>(); |
| 127 } | 127 } |
| 128 | 128 |
| 129 bool TestNativeDisplayDelegate::SetColorCalibrationProfile( | 129 bool TestNativeDisplayDelegate::SetColorCalibrationProfile( |
| 130 const DisplaySnapshot& output, | 130 const DisplaySnapshot& output, |
| 131 ui::ColorCalibrationProfile new_profile) { | 131 ui::ColorCalibrationProfile new_profile) { |
| 132 return false; | 132 return false; |
| 133 } | 133 } |
| 134 | 134 |
| 135 bool TestNativeDisplayDelegate::SetGammaRamp( |
| 136 const ui::DisplaySnapshot& output, |
| 137 const std::vector<GammaRampRGBEntry>& lut) { |
| 138 log_->AppendAction(SetGammaRampAction(output, lut)); |
| 139 return true; |
| 140 } |
| 141 |
| 135 void TestNativeDisplayDelegate::AddObserver(NativeDisplayObserver* observer) { | 142 void TestNativeDisplayDelegate::AddObserver(NativeDisplayObserver* observer) { |
| 136 } | 143 } |
| 137 | 144 |
| 138 void TestNativeDisplayDelegate::RemoveObserver( | 145 void TestNativeDisplayDelegate::RemoveObserver( |
| 139 NativeDisplayObserver* observer) { | 146 NativeDisplayObserver* observer) { |
| 140 } | 147 } |
| 141 | 148 |
| 142 } // namespace test | 149 } // namespace test |
| 143 } // namespace ui | 150 } // namespace ui |
| OLD | NEW |