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

Unified Diff: chromeos/display/output_configurator.h

Issue 13006006: chromeos: Support turning displays off in extended mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reupload 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
Index: chromeos/display/output_configurator.h
diff --git a/chromeos/display/output_configurator.h b/chromeos/display/output_configurator.h
index 042933143b71fcbb7c7d674e403db7f1b70a818b..894f82a9e6b4827ec3375821760ec4d44d7629c4 100644
--- a/chromeos/display/output_configurator.h
+++ b/chromeos/display/output_configurator.h
@@ -104,8 +104,13 @@ class CHROMEOS_EXPORT OutputConfigurator : public MessageLoop::Dispatcher {
// on or off. This requires enabling or disabling the CRTC associated with
// the display(s) in question so that the low power state is engaged.
// If |force_probe| is true, the displays will be configured even if
- // |power_state| matches |power_state_|.
- bool SetDisplayPower(DisplayPowerState power_state, bool force_probe);
+ // |power_state| matches |power_state_|. If
+ // |only_if_single_internal_display| is true, the state will not be
+ // changed if multiple displays are connected or if the display is not
+ // internal.
+ bool SetDisplayPower(DisplayPowerState power_state,
+ bool force_probe,
+ bool only_if_single_internal_display);
Daniel Erat 2013/03/27 23:15:19 I would've preferred to let callers deal with the
// Force switching the display mode to |new_state|. Returns false if
// it was called in a single-head or headless mode.

Powered by Google App Engine
This is Rietveld 408576698