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

Unified Diff: ash/wm/power_button_controller.cc

Issue 2855033004: cros: Update touchscreen status with backlights forced off state during start (Closed)
Patch Set: nits Created 3 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') | 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 628fc5d9438e4a46dd9ecc689a4c4d5b7f6df955..1ea1ec7a712b21df804cb97d8a4f161a86dfc366 100644
--- a/ash/wm/power_button_controller.cc
+++ b/ash/wm/power_button_controller.cc
@@ -196,4 +196,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