DescriptionEnsure display hardware is powered up during Chromoting sessions.
This CL uses SetThreadExecutionState to:
* Re-set the display suspend timeout before every capture.
* Re-set the system idle timeout before every input injection.
The latter is not generally very useful, since it really only affects hosts configured to power-down when idle, at which point the host won't be accessible anyway, but it does mean that such a host could be powered-up manually and then used via Chromoting, without it powering down mid-session.
BUG=120429
TEST=Configure a Windows system with a very short display timeout, and display power-saving, and connect to a host running on it. Upon connection the display should power on and the host should be usable.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=130321
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|