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

Unified Diff: ash/wm/power_button_controller.cc

Issue 2864503002: [merge to m58] cros: Update touchscreen status with backlights forced off state during start (Closed)
Patch Set: Created 3 years, 7 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') | no next file » | 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 104d612dd7877cead0d573f7c6cd46fcc22d069e..3eee089db1ee80da2e2f6514da794b3092d2d02a 100644
--- a/ash/wm/power_button_controller.cc
+++ b/ash/wm/power_button_controller.cc
@@ -197,4 +197,9 @@ void PowerButtonController::PowerButtonEventReceived(
OnPowerButtonEvent(down, timestamp);
}
+void PowerButtonController::ResetTabletPowerButtonControllerForTest() {
+ tablet_controller_.reset(
+ new TabletPowerButtonController(lock_state_controller_));
+}
+
} // namespace ash
« no previous file with comments | « ash/wm/power_button_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698