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

Unified Diff: ash/system/chromeos/power/tablet_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
« no previous file with comments | « no previous file | ash/system/chromeos/power/tablet_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.h
diff --git a/ash/system/chromeos/power/tablet_power_button_controller.h b/ash/system/chromeos/power/tablet_power_button_controller.h
index 2a90377683139507dcb7065204c87c549c3f606f..e1dff9dc8bbf41a3ef18c48db121e975ba6725f4 100644
--- a/ash/system/chromeos/power/tablet_power_button_controller.h
+++ b/ash/system/chromeos/power/tablet_power_button_controller.h
@@ -90,6 +90,10 @@ class ASH_EXPORT TabletPowerButtonController
// Initializes |backlights_forced_off_|.
void OnGotInitialBacklightsForcedOff(bool is_forced_off);
+ // Enables or disables the touchscreen, also writing its state to a pref in
+ // local state. The touchscreen is disabled when backlights are forced off.
+ void UpdateTouchscreenStatus();
+
// Starts |shutdown_timer_| when the power button is pressed while in
// tablet mode.
void StartShutdownTimer();
« no previous file with comments | « no previous file | ash/system/chromeos/power/tablet_power_button_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698