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

Unified Diff: chromeos/dbus/power_manager_client.h

Issue 12992004: chromeos: Remove dead power manager code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 years, 9 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/mock_power_manager_client.h ('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 7721c5b2b2ddc72aab13965f119c4f1212037ccc..5e23e98e90d5d21428ee7fa16733520ae76feb13 100644
--- a/chromeos/dbus/power_manager_client.h
+++ b/chromeos/dbus/power_manager_client.h
@@ -52,14 +52,6 @@ class CHROMEOS_EXPORT PowerManagerClient {
// |user_initiated| is true if the action is initiated by the user.
virtual void BrightnessChanged(int level, bool user_initiated) {}
- // Called when a screen is turned on or off to request that Chrome enable or
- // disable the corresponding CRTC for the output.
- // |power_on| The new state of the power setting.
- // |all_displays| True if this applies to all displays or false if it is
- // the internal display only.
- // TODO(derat): Remove this.
- virtual void ScreenPowerSet(bool power_on, bool all_displays) {}
-
// Called when power supply polling takes place. |status| is a data
// structure that contains the current state of the power supply.
virtual void PowerChanged(const PowerSupplyStatus& status) {}
@@ -152,8 +144,7 @@ class CHROMEOS_EXPORT PowerManagerClient {
// Notifies the power manager that the user is active (i.e. generating input
// events).
- virtual void NotifyUserActivity(
- const base::TimeTicks& last_activity_time) = 0;
+ virtual void NotifyUserActivity() = 0;
// Notifies the power manager that a video is currently playing. It also
// includes whether or not the containing window for the video is fullscreen.
« no previous file with comments | « chromeos/dbus/mock_power_manager_client.h ('k') | chromeos/dbus/power_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698