summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/power_manager_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromeos/dbus/power_manager_client.h')
-rw-r--r--chromeos/dbus/power_manager_client.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromeos/dbus/power_manager_client.h b/chromeos/dbus/power_manager_client.h
index d172c93..cced783 100644
--- a/chromeos/dbus/power_manager_client.h
+++ b/chromeos/dbus/power_manager_client.h
@@ -172,6 +172,11 @@ class CHROMEOS_EXPORT PowerManagerClient {
// NOTE: Like the previous request, this will also get triggered exactly once.
virtual void RequestActiveNotification() = 0;
+ // Notifies the power manager that the user is active (i.e. generating input
+ // events).
+ virtual void NotifyUserActivity(
+ const base::TimeTicks& last_activity_time) = 0;
+
// Notifies the power manager that a video is currently playing.
virtual void NotifyVideoActivity(
const base::TimeTicks& last_activity_time) = 0;