commit | df283b07c23c49214afe36e7db83b31269c4b4da | [log] [tgz] |
---|---|---|
author | Illia Klimov <[email protected]> | Wed Jul 07 17:33:25 2021 |
committer | Chromium LUCI CQ <[email protected]> | Wed Jul 07 17:33:25 2021 |
tree | a9823c5385991ba0d5e9874e7e7b28571a6ab1d3 | |
parent | eae67610feef01851141cc1eb11ccc00299c30f2 [diff] [blame] |
Use chip framework for quiet notification prompt. This CL adds the possibility to display a permission prompt in a less prominent chip. Only requests from origins with an abusive reputation will be scheduled for the quiet chip. [Google internal] All test cases for the quiet chip. https://docs.google.com/spreadsheets/d/1AxruYU2ZrqGN06sNtWxjmkr_a0EaG89vbJRHY4A36zA/edit?usp=sharing Bug: 1177760 Change-Id: Iaf1a7204b56d64e3aedbdba4e68f7f82b62d43c3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2690644 Commit-Queue: Illia Klimov <[email protected]> Reviewed-by: Balazs Engedy <[email protected]> Reviewed-by: Caitlin Fischer <[email protected]> Reviewed-by: Andy Paicu <[email protected]> Reviewed-by: Bret Sepulveda <[email protected]> Cr-Commit-Position: refs/heads/master@{#899187}
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc index c49aaaa..272a6fd 100644 --- a/chrome/browser/flag_descriptions.cc +++ b/chrome/browser/flag_descriptions.cc
@@ -2070,6 +2070,13 @@ "chrome://flags/#quiet-notification-prompts and `Safe Browsing Enhanced " "Protection` to be enabled."; +const char kPermissionQuietChipName[] = "Quiet Permission Chip Experiment"; +const char kPermissionQuietChipDescription[] = + "Enables an experimental permission prompt that uses the quiet chip " + "instead of the right-hand side address bar icon for quiet permission " + "prompts. Requires chrome://flags/#quiet-notification-prompts to be " + "enabled."; + const char kPlaybackSpeedButtonName[] = "Playback Speed Button"; const char kPlaybackSpeedButtonDescription[] = "Enable the playback speed button on the media controls.";