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

Unified Diff: ash/shell.cc

Issue 139053003: Chrome OS: avoid suspending on lid close when casting is active. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another nit. Created 6 years, 11 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 | « ash/shell.h ('k') | chrome/browser/media/media_capture_devices_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 6845d4a69e16360fd4a5a204c9b256ced875aa10..785b40c1625347ebd75ab56773e6aeee2ba994aa 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -391,6 +391,13 @@ void Shell::OnLockStateChanged(bool locked) {
#endif
}
+void Shell::OnCastingSessionStartedOrStopped(bool started) {
+#if defined(OS_CHROMEOS) && defined(USE_X11)
+ if (output_configurator_)
+ output_configurator_->OnCastingSessionStartedOrStopped(started);
+#endif
+}
+
void Shell::CreateShelf() {
RootWindowControllerList controllers = GetAllRootWindowControllers();
for (RootWindowControllerList::iterator iter = controllers.begin();
« no previous file with comments | « ash/shell.h ('k') | chrome/browser/media/media_capture_devices_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698