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

Unified Diff: chromeos/dbus/power_policy_controller.h

Issue 15734010: chromeos: Add delay between screen off and lock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add comment describing ms delay in sec Created 7 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 | chromeos/dbus/power_policy_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/power_policy_controller.h
diff --git a/chromeos/dbus/power_policy_controller.h b/chromeos/dbus/power_policy_controller.h
index 6aa3f716ec119a7b3cf1e5c3e88704acb1737703..ce5ed05512003f52e4dfcab7161e7e89532b3d91 100644
--- a/chromeos/dbus/power_policy_controller.h
+++ b/chromeos/dbus/power_policy_controller.h
@@ -61,6 +61,12 @@ class CHROMEOS_EXPORT PowerPolicyController
static std::string GetPolicyDebugString(
const power_manager::PowerManagementPolicy& policy);
+ // Delay in milliseconds between the screen being turned off and the
+ // screen being locked. Used if the |enable_screen_lock| pref is set but
+ // |*_screen_lock_delay_ms| are unset or set to higher values than what
+ // this constant would imply.
+ const static int kScreenLockAfterOffDelayMs;
+
PowerPolicyController(DBusThreadManager* manager, PowerManagerClient* client);
virtual ~PowerPolicyController();
« no previous file with comments | « no previous file | chromeos/dbus/power_policy_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698