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

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

Issue 2613493002: Fix namespace for src/ui/display/. (Closed)
Patch Set: Rebase. Created 3 years, 11 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 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/manager/chromeos/update_display_configuration_task.h" 5 #include "ui/display/manager/chromeos/update_display_configuration_task.h"
6 6
7 #include "ui/display/manager/chromeos/configure_displays_task.h" 7 #include "ui/display/manager/chromeos/configure_displays_task.h"
8 #include "ui/display/manager/chromeos/display_layout_manager.h" 8 #include "ui/display/manager/chromeos/display_layout_manager.h"
9 #include "ui/display/manager/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 display {
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,
20 int power_flags, 20 int power_flags,
21 uint32_t background_color_argb, 21 uint32_t background_color_argb,
22 bool force_configure, 22 bool force_configure,
23 const ResponseCallback& callback) 23 const ResponseCallback& callback)
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 } 205 }
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 display
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698