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

Unified Diff: chromeos/dbus/power_manager_client.h

Issue 26800005: chromeos: Remove ScreensaverController. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: delete "screensaver" extension permission Created 7 years, 2 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 | « chromeos/dbus/fake_power_manager_client.cc ('k') | chromeos/dbus/power_manager_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/power_manager_client.h
diff --git a/chromeos/dbus/power_manager_client.h b/chromeos/dbus/power_manager_client.h
index e728f10459fe6bc3f00020f27db3c79eba54dccd..a24312b1a4486b00899a93f107a5b23b80972156 100644
--- a/chromeos/dbus/power_manager_client.h
+++ b/chromeos/dbus/power_manager_client.h
@@ -22,8 +22,6 @@ class PowerSupplyProperties;
namespace chromeos {
-typedef base::Callback<void(void)> IdleNotificationCallback;
-
// Callback used for getting the current screen brightness. The param is in the
// range [0.0, 100.0].
typedef base::Callback<void(double)> GetScreenBrightnessPercentCallback;
@@ -59,9 +57,6 @@ class CHROMEOS_EXPORT PowerManagerClient : public DBusClient {
virtual void PowerChanged(
const power_manager::PowerSupplyProperties& proto) {}
- // Called when we go idle for threshold time.
- virtual void IdleNotify(int64 threshold_secs) {}
-
// Called when the system is about to suspend. Suspend is deferred until
// all observers' implementations of this method have finished running.
//
@@ -127,15 +122,6 @@ class CHROMEOS_EXPORT PowerManagerClient : public DBusClient {
// Requests shutdown of the system.
virtual void RequestShutdown() = 0;
- // Idle management functions:
-
- // Requests notification for Idle at a certain threshold.
- // NOTE: This notification is one shot, once the machine has been idle for
- // threshold time, a notification will be sent and then that request will be
- // removed from the notification queue. If you wish notifications the next
- // time the machine goes idle for that much time, request again.
- virtual void RequestIdleNotification(int64 threshold_secs) = 0;
-
// Notifies the power manager that the user is active (i.e. generating input
// events).
virtual void NotifyUserActivity(power_manager::UserActivityType type) = 0;
« no previous file with comments | « chromeos/dbus/fake_power_manager_client.cc ('k') | chromeos/dbus/power_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698