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/output_configurator.h" | 5 #include "ui/display/chromeos/output_configurator.h" |
6 | 6 |
7 #include <cmath> | 7 #include <cmath> |
8 #include <cstdarg> | 8 #include <cstdarg> |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 *state = hdcp_state_; | 247 *state = hdcp_state_; |
248 return true; | 248 return true; |
249 } | 249 } |
250 | 250 |
251 virtual bool SetHDCPState(const DisplaySnapshot& output, | 251 virtual bool SetHDCPState(const DisplaySnapshot& output, |
252 HDCPState state) OVERRIDE { | 252 HDCPState state) OVERRIDE { |
253 log_->AppendAction(GetSetHDCPStateAction(output, state)); | 253 log_->AppendAction(GetSetHDCPStateAction(output, state)); |
254 return true; | 254 return true; |
255 } | 255 } |
256 | 256 |
| 257 virtual void GetAvailableColorCalibrationProfiles( |
| 258 const DisplaySnapshot& output, |
| 259 std::vector<ui::ColorCalibrationProfile>* profiles) OVERRIDE { |
| 260 } |
| 261 |
257 virtual bool SetColorCalibrationProfile( | 262 virtual bool SetColorCalibrationProfile( |
258 const DisplaySnapshot& output, | 263 const DisplaySnapshot& output, |
259 ui::ColorCalibrationProfile new_profile) OVERRIDE { | 264 ui::ColorCalibrationProfile new_profile) OVERRIDE { |
260 return false; | 265 return false; |
261 } | 266 } |
262 | 267 |
263 virtual void AddObserver(NativeDisplayObserver* observer) OVERRIDE {} | 268 virtual void AddObserver(NativeDisplayObserver* observer) OVERRIDE {} |
264 | 269 |
265 virtual void RemoveObserver(NativeDisplayObserver* observer) OVERRIDE {} | 270 virtual void RemoveObserver(NativeDisplayObserver* observer) OVERRIDE {} |
266 | 271 |
(...skipping 1073 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1340 gfx::Point(0, | 1345 gfx::Point(0, |
1341 modes[0]->size().height() + | 1346 modes[0]->size().height() + |
1342 OutputConfigurator::kVerticalGap)) | 1347 OutputConfigurator::kVerticalGap)) |
1343 .c_str(), | 1348 .c_str(), |
1344 kUngrab, | 1349 kUngrab, |
1345 NULL), | 1350 NULL), |
1346 log_->GetActionsAndClear()); | 1351 log_->GetActionsAndClear()); |
1347 } | 1352 } |
1348 | 1353 |
1349 } // namespace ui | 1354 } // namespace ui |
OLD | NEW |