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

Unified Diff: ash/system/chromeos/power/tablet_power_button_controller_unittest.cc

Issue 2506493002: Add a switch for tablet power button behavior (Closed)
Patch Set: based on comments Created 4 years, 1 month 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/common/ash_switches.cc ('k') | ash/wm/power_button_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/power/tablet_power_button_controller_unittest.cc
diff --git a/ash/system/chromeos/power/tablet_power_button_controller_unittest.cc b/ash/system/chromeos/power/tablet_power_button_controller_unittest.cc
index dc675abb2e1bfb494c87e581a1679e14edc2ce57..1ab79a29c5bcca724dc5e238c62e22a470288140 100644
--- a/ash/system/chromeos/power/tablet_power_button_controller_unittest.cc
+++ b/ash/system/chromeos/power/tablet_power_button_controller_unittest.cc
@@ -50,6 +50,8 @@ class TabletPowerButtonControllerTest : public AshTestBase {
dbus_setter->SetPowerManagerClient(base::WrapUnique(power_manager_client_));
base::CommandLine::ForCurrentProcess()->AppendSwitch(
switches::kAshEnableTouchViewTesting);
+ base::CommandLine::ForCurrentProcess()->AppendSwitch(
+ switches::kAshEnableTabletPowerButton);
AshTestBase::SetUp();
lock_state_controller_ = Shell::GetInstance()->lock_state_controller();
« no previous file with comments | « ash/common/ash_switches.cc ('k') | ash/wm/power_button_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698