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

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
Index: ash/shell_delegate.h
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h
index 7a3caf47562952531fba8c24f85e0b3541da6221..73f8f7278394a289b4d96f781c8c5b9b7a834b96 100644
--- a/ash/shell_delegate.h
+++ b/ash/shell_delegate.h
@@ -139,6 +139,10 @@ class ASH_EXPORT ShellDelegate {
// Toggles the status of touchpad between enabled and disabled.
virtual void ToggleTouchpad() {}
+
+ // Resumes/Suspends media sessions systematically.
Daniel Erat 2017/05/17 01:22:25 could you document what media sessions are here? i
Qiang(Joe) Xu 2017/05/22 22:58:46 Done. Media session is a name/way manage media con
+ virtual void ResumeMediaSessions() {}
+ virtual void SuspendMediaSessions() {}
};
} // namespace ash
« no previous file with comments | « no previous file | ash/system/power/tablet_power_button_controller.cc » ('j') | ash/system/power/tablet_power_button_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698