OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ash/test/display_manager_test_api.h" | 5 #include "ash/test/display_manager_test_api.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "ash/display/display_info.h" | 9 #include "ash/display/display_info.h" |
10 #include "ash/display/display_manager.h" | 10 #include "ash/display/display_manager.h" |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 display_manager_->set_change_display_upon_host_resize(false); | 142 display_manager_->set_change_display_upon_host_resize(false); |
143 } | 143 } |
144 | 144 |
145 void DisplayManagerTestApi::SetAvailableColorProfiles( | 145 void DisplayManagerTestApi::SetAvailableColorProfiles( |
146 int64 display_id, | 146 int64 display_id, |
147 const std::vector<ui::ColorCalibrationProfile>& profiles) { | 147 const std::vector<ui::ColorCalibrationProfile>& profiles) { |
148 display_manager_->display_info_[display_id].set_available_color_profiles( | 148 display_manager_->display_info_[display_id].set_available_color_profiles( |
149 profiles); | 149 profiles); |
150 } | 150 } |
151 | 151 |
152 void DisplayManagerTestApi::SetDefaultMultiDisplayMode( | |
153 DisplayManager::MultiDisplayMode mode) { | |
154 display_manager_->default_multi_display_mode_ = mode; | |
155 } | |
156 | |
157 } // namespace test | 152 } // namespace test |
158 } // namespace ash | 153 } // namespace ash |
OLD | NEW |