Chromium Code Reviews| Index: chromecast/public/avsettings.h |
| diff --git a/chromecast/public/avsettings.h b/chromecast/public/avsettings.h |
| index 311bf341dc9467cce1a310322048826867b00e56..84d455fb7ef4347991b2fd83bb075dbd786e6055 100644 |
| --- a/chromecast/public/avsettings.h |
| +++ b/chromecast/public/avsettings.h |
| @@ -165,9 +165,10 @@ class AvSettings { |
| // Returns current active state. |
| virtual ActiveState GetActiveState() = 0; |
| - // Turns the screen on and sets the active input to the cast receiver. |
| + // Turns the screen on. Sets the active input to the cast receiver iff |
| + // also_switch_inputs == true. |
| // If successful, it must return true and fire ACTIVE_STATE_CHANGED. |
| - virtual bool TurnActive() = 0; |
| + virtual bool TurnActive(bool also_switch_inputs) = 0; |
|
gfhuang
2017/05/03 01:11:03
"switch_to_cast" is better name.
|
| // Turns the screen off (or stand-by). If the device is connecting to HDMI |
| // sinks, broadcasts a CEC standby message on the HDMI control bus to put all |