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

Side by Side Diff: ui/display/chromeos/display_configurator.cc

Issue 558253003: display: Move ui/display/types/chromeos/* to ui/display/types/* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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/chromeos/display_configurator.h" 5 #include "ui/display/chromeos/display_configurator.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
12 #include "base/sys_info.h" 12 #include "base/sys_info.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "ui/display/display_switches.h" 14 #include "ui/display/display_switches.h"
15 #include "ui/display/types/chromeos/display_mode.h" 15 #include "ui/display/types/display_mode.h"
16 #include "ui/display/types/chromeos/display_snapshot.h" 16 #include "ui/display/types/display_snapshot.h"
17 #include "ui/display/types/chromeos/native_display_delegate.h" 17 #include "ui/display/types/native_display_delegate.h"
18 18
19 namespace ui { 19 namespace ui {
20 20
21 namespace { 21 namespace {
22 22
23 typedef std::vector<const DisplayMode*> DisplayModeList; 23 typedef std::vector<const DisplayMode*> DisplayModeList;
24 24
25 // The delay to perform configuration after RRNotify. See the comment for 25 // The delay to perform configuration after RRNotify. See the comment for
26 // |configure_timer_|. 26 // |configure_timer_|.
27 const int kConfigureDelayMs = 500; 27 const int kConfigureDelayMs = 500;
(...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after
949 return state_controller_->GetStateForDisplayIds(display_ids); 949 return state_controller_->GetStateForDisplayIds(display_ids);
950 } 950 }
951 } 951 }
952 default: 952 default:
953 NOTREACHED(); 953 NOTREACHED();
954 } 954 }
955 return MULTIPLE_DISPLAY_STATE_INVALID; 955 return MULTIPLE_DISPLAY_STATE_INVALID;
956 } 956 }
957 957
958 } // namespace ui 958 } // namespace ui
OLDNEW
« no previous file with comments | « ui/display/chromeos/display_configurator.h ('k') | ui/display/chromeos/display_configurator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698