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

Unified Diff: chromecast/public/avsettings.h

Issue 2859733002: Allow TV turn on without switching inputs (Closed)
Patch Set: Fix target ref Created 3 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/public/avsettings.h
diff --git a/chromecast/public/avsettings.h b/chromecast/public/avsettings.h
index 311bf341dc9467cce1a310322048826867b00e56..d0ae685f36b1ff03930f950d10f298c3d31aa538 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
+ // switch_to_cast == true.
// If successful, it must return true and fire ACTIVE_STATE_CHANGED.
- virtual bool TurnActive() = 0;
+ virtual bool TurnActive(bool switch_to_cast) = 0;
// 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698