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

Unified Diff: chromeos/dbus/power_manager_client.h

Issue 10831312: Remove direct DBus calls from OutputConfigurator (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 8 years, 4 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 63551f23c3a1feb417ace82180e32cb119b0b3ae..f36572bc203ff614368228ff3e9743e31b362108 100644
--- a/chromeos/dbus/power_manager_client.h
+++ b/chromeos/dbus/power_manager_client.h
@@ -181,6 +181,11 @@ class CHROMEOS_EXPORT PowerManagerClient {
int overrides,
const PowerStateRequestIdCallback& callback) = 0;
+ // Tells powerd whether or not we are in a projecting mode. This is used to
+ // adjust idleness thresholds and derived, on this side, from the number of
+ // video outputs attached.
+ virtual void SetIsProjecting(bool is_projecting) = 0;
+
// Creates the instance.
static PowerManagerClient* Create(DBusClientImplementationType type,
dbus::Bus* bus);
« 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