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

Side by Side Diff: ash/test/display_manager_test_api.cc

Issue 1119953002: Enable display rotation, magnifier in unified desktop mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 (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
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
OLDNEW
« ash/host/ash_remote_window_tree_host_win.cc ('K') | « ash/test/display_manager_test_api.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698