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

Unified Diff: ash/wm/power_button_controller.cc

Issue 226183004: Renamed OutputConfigurator to DisplayConfigurator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/wm/power_button_controller.h ('k') | chrome/browser/chromeos/dbus/display_power_service_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/power_button_controller.cc
diff --git a/ash/wm/power_button_controller.cc b/ash/wm/power_button_controller.cc
index a3803920e5777214726711e5e0f41c0e748f1057..f23543fbf455c03d5cb459d4ef330ed9304b8f2b 100644
--- a/ash/wm/power_button_controller.cc
+++ b/ash/wm/power_button_controller.cc
@@ -28,13 +28,13 @@ PowerButtonController::PowerButtonController(
switches::kAuraLegacyPowerButton)),
controller_(controller) {
#if defined(OS_CHROMEOS)
- Shell::GetInstance()->output_configurator()->AddObserver(this);
+ Shell::GetInstance()->display_configurator()->AddObserver(this);
#endif
}
PowerButtonController::~PowerButtonController() {
#if defined(OS_CHROMEOS)
- Shell::GetInstance()->output_configurator()->RemoveObserver(this);
+ Shell::GetInstance()->display_configurator()->RemoveObserver(this);
#endif
}
@@ -118,11 +118,11 @@ void PowerButtonController::OnLockButtonEvent(
#if defined(OS_CHROMEOS)
void PowerButtonController::OnDisplayModeChanged(
- const ui::OutputConfigurator::DisplayStateList& outputs) {
+ const ui::DisplayConfigurator::DisplayStateList& outputs) {
bool internal_display_off = false;
bool external_display_on = false;
for (size_t i = 0; i < outputs.size(); ++i) {
- const ui::OutputConfigurator::DisplayState& output = outputs[i];
+ const ui::DisplayConfigurator::DisplayState& output = outputs[i];
if (output.display->type() == ui::OUTPUT_TYPE_INTERNAL) {
if (!output.display->current_mode())
internal_display_off = true;
« no previous file with comments | « ash/wm/power_button_controller.h ('k') | chrome/browser/chromeos/dbus/display_power_service_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698