commit | 2b6d885a62ab0fb12797bc1b80b3eadae936230a | [log] [tgz] |
---|---|---|
author | Richard Knoll <[email protected]> | Thu Sep 24 16:42:43 2020 |
committer | Commit Bot <[email protected]> | Thu Sep 24 16:42:43 2020 |
tree | 2841f3146227b4ce2de431dd3cc04e0d2c27bd5b | |
parent | 1b6baead2feeb11082c05ed734ea179c13c88935 [diff] [blame] |
Pause notifications while presenting full screen This adds a new NotificationBlocker that listens for screen share events and stops notifications when a full screen is currently being recorded. Implemented behind a mute-notifications-during-screen-share flag. Bug: 1131375 Change-Id: Icebcb9223614e07134ce038aef2ec2e45190c893 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2421665 Commit-Queue: Richard Knoll <[email protected]> Reviewed-by: Peter Beverloo <[email protected]> Reviewed-by: Avi Drissman <[email protected]> Cr-Commit-Position: refs/heads/master@{#810238}
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h index 8855c1c..cc71de0 100644 --- a/chrome/browser/flag_descriptions.h +++ b/chrome/browser/flag_descriptions.h
@@ -1848,6 +1848,9 @@ extern const char kGlobalMediaControlsCastStartStopName[]; extern const char kGlobalMediaControlsCastStartStopDescription[]; +extern const char kMuteNotificationsDuringScreenShareName[]; +extern const char kMuteNotificationsDuringScreenShareDescription[]; + extern const char kNtpDismissPromosName[]; extern const char kNtpDismissPromosDescription[];