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

Side by Side Diff: ui/display/manager/chromeos/update_display_configuration_task.cc

Issue 2540313002: Split //ui/display and create //ui/display/manager. (Closed)
Patch Set: Cleanup export header. Created 4 years 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 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/update_display_configuration_task.h" 5 #include "ui/display/manager/chromeos/update_display_configuration_task.h"
6 6
7 #include "ui/display/chromeos/configure_displays_task.h" 7 #include "ui/display/manager/chromeos/configure_displays_task.h"
8 #include "ui/display/chromeos/display_layout_manager.h" 8 #include "ui/display/manager/chromeos/display_layout_manager.h"
9 #include "ui/display/chromeos/display_util.h" 9 #include "ui/display/manager/chromeos/display_util.h"
10 #include "ui/display/types/display_snapshot.h" 10 #include "ui/display/types/display_snapshot.h"
11 #include "ui/display/types/native_display_delegate.h" 11 #include "ui/display/types/native_display_delegate.h"
12 12
13 namespace ui { 13 namespace ui {
14 14
15 UpdateDisplayConfigurationTask::UpdateDisplayConfigurationTask( 15 UpdateDisplayConfigurationTask::UpdateDisplayConfigurationTask(
16 NativeDisplayDelegate* delegate, 16 NativeDisplayDelegate* delegate,
17 DisplayLayoutManager* layout_manager, 17 DisplayLayoutManager* layout_manager,
18 MultipleDisplayState new_display_state, 18 MultipleDisplayState new_display_state,
19 chromeos::DisplayPowerState new_power_state, 19 chromeos::DisplayPowerState new_power_state,
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 206
207 if (num_displays >= 3) { 207 if (num_displays >= 3) {
208 // 3+ displays are always extended 208 // 3+ displays are always extended
209 return MULTIPLE_DISPLAY_STATE_MULTI_EXTENDED; 209 return MULTIPLE_DISPLAY_STATE_MULTI_EXTENDED;
210 } 210 }
211 211
212 return MULTIPLE_DISPLAY_STATE_INVALID; 212 return MULTIPLE_DISPLAY_STATE_INVALID;
213 } 213 }
214 214
215 } // namespace ui 215 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698