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

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

Issue 2664683002: ash: Drop the immediately following power button released induced forcing off request (Closed)
Patch Set: comments from ps2 Created 3 years, 11 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 b99148efaab18721db5814830f3ef9200d35a7c5..2a90377683139507dcb7065204c87c549c3f606f 100644
--- a/ash/system/chromeos/power/tablet_power_button_controller.h
+++ b/ash/system/chromeos/power/tablet_power_button_controller.h
@@ -117,6 +117,9 @@ class ASH_EXPORT TabletPowerButtonController
// updated in SuspendDone().
base::TimeTicks last_resume_time_;
+ // Saves the most recent timestamp that power button is released.
+ base::TimeTicks last_button_up_time_;
+
// True if power button released should force off display.
bool force_off_on_button_up_;
« 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