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

Unified Diff: ash/wm/power_button_controller.cc

Issue 2642853006: Remove the ash-enable-touch-view-testing flag (Closed)
Patch Set: Removing unnecessary test 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 side-by-side diff with in-line comments
Download patch
Index: ash/wm/power_button_controller.cc
diff --git a/ash/wm/power_button_controller.cc b/ash/wm/power_button_controller.cc
index 6b1303e46fd5649d1d9dcba4dde036cc9a6f3562..104d612dd7877cead0d573f7c6cd46fcc22d069e 100644
--- a/ash/wm/power_button_controller.cc
+++ b/ash/wm/power_button_controller.cc
@@ -39,9 +39,7 @@ PowerButtonController::PowerButtonController(LockStateController* controller)
chromeos::DBusThreadManager::Get()->GetPowerManagerClient()->AddObserver(
this);
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kAshEnableTouchView) ||
- base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kAshEnableTouchViewTesting)) {
+ switches::kAshEnableTouchView)) {
tablet_controller_.reset(
new TabletPowerButtonController(lock_state_controller_));
}

Powered by Google App Engine
This is Rietveld 408576698