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

Unified Diff: ash/shell_delegate.h

Issue 2821303004: cros: Suspend media sessions with display off trigger by tablet power button (Closed)
Patch Set: rebase Created 3 years, 7 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 | ash/system/power/tablet_power_button_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell_delegate.h
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h
index 8aba55298845be1bba4d03e2ef305548b35633e2..f5c62c3b979303e4a6f14ef6db2ad6760c1d0666 100644
--- a/ash/shell_delegate.h
+++ b/ash/shell_delegate.h
@@ -138,6 +138,9 @@ class ASH_EXPORT ShellDelegate {
// Toggles the status of touchpad between enabled and disabled.
virtual void ToggleTouchpad() {}
+
+ // Suspends all WebContents-associated media sessions to stop managed players.
+ virtual void SuspendMediaSessions() {}
};
} // namespace ash
« no previous file with comments | « no previous file | ash/system/power/tablet_power_button_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698