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

Unified Diff: ash/system/power/tablet_power_button_controller.h

Issue 2815453007: cros: Stop forcing off display when lid events are received (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 | « no previous file | ash/system/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/power/tablet_power_button_controller.h
diff --git a/ash/system/power/tablet_power_button_controller.h b/ash/system/power/tablet_power_button_controller.h
index e3d7474523125dc5e0d0c2db85200c522201bde0..ef07c397eb9650042c4131787e8c9cc35fd14d19 100644
--- a/ash/system/power/tablet_power_button_controller.h
+++ b/ash/system/power/tablet_power_button_controller.h
@@ -62,6 +62,8 @@ class ASH_EXPORT TabletPowerButtonController
void PowerManagerRestarted() override;
void BrightnessChanged(int level, bool user_initiated) override;
void SuspendDone(const base::TimeDelta& sleep_duration) override;
+ void LidEventReceived(chromeos::PowerManagerClient::LidState state,
+ const base::TimeTicks& timestamp) override;
// Overridden from ShellObserver:
void OnMaximizeModeStarted() override;
« no previous file with comments | « no previous file | ash/system/power/tablet_power_button_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698