| Index: ash/wm/power_button_controller.cc
|
| diff --git a/ash/wm/power_button_controller.cc b/ash/wm/power_button_controller.cc
|
| index 9ea85af9688d4384cadcfba8d1538db73de06d38..3dd54fa2ff65544efdffa071b03b83627f727cc7 100644
|
| --- a/ash/wm/power_button_controller.cc
|
| +++ b/ash/wm/power_button_controller.cc
|
| @@ -44,8 +44,9 @@ PowerButtonController::PowerButtonController(LockStateController* controller)
|
| #if defined(OS_CHROMEOS)
|
| chromeos::DBusThreadManager::Get()->GetPowerManagerClient()->AddObserver(
|
| this);
|
| - if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kAshEnableTabletPowerButton)) {
|
| + if (base::CommandLine::ForCurrentProcess()->HasSwitch(kAshEnableTouchView) ||
|
| + base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + kAshEnableTouchViewTesting)) {
|
| tablet_controller_.reset(
|
| new TabletPowerButtonController(lock_state_controller_));
|
| }
|
|
|