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

Unified Diff: ash/wm/power_button_controller.h

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
Index: ash/wm/power_button_controller.h
diff --git a/ash/wm/power_button_controller.h b/ash/wm/power_button_controller.h
index 989dd985dbcf8b3177b1ecda60c117298d79faf5..5669271572a8cb5b7bfc8f122c3925e4599e4392 100644
--- a/ash/wm/power_button_controller.h
+++ b/ash/wm/power_button_controller.h
@@ -52,6 +52,10 @@ class ASH_EXPORT PowerButtonController
void PowerButtonEventReceived(bool down,
const base::TimeTicks& timestamp) override;
+ // Resets |tablet_controller_| to hold a new object to simulate Chrome
+ // starting.
+ void ResetTabletPowerButtonControllerForTest();
+
TabletPowerButtonController* tablet_power_button_controller_for_test() {
return tablet_controller_.get();
}
« no previous file with comments | « ash/system/chromeos/power/tablet_power_button_controller_unittest.cc ('k') | ash/wm/power_button_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698