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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(const ui::DisplaySnapshot& output, |
| 132 const std::vector<uint16_t>& r, |
| 133 const std::vector<uint16_t>& g, |
| 134 const std::vector<uint16_t>& b) { |
| 135 log_->AppendAction(SetGammaRampAction(output, r, g, b)); |
| 136 return true; |
| 137 } |
| 138 |
131 void TestNativeDisplayDelegate::AddObserver(NativeDisplayObserver* observer) { | 139 void TestNativeDisplayDelegate::AddObserver(NativeDisplayObserver* observer) { |
132 } | 140 } |
133 | 141 |
134 void TestNativeDisplayDelegate::RemoveObserver( | 142 void TestNativeDisplayDelegate::RemoveObserver( |
135 NativeDisplayObserver* observer) { | 143 NativeDisplayObserver* observer) { |
136 } | 144 } |
137 | 145 |
138 } // namespace test | 146 } // namespace test |
139 } // namespace ui | 147 } // namespace ui |
OLD | NEW |