New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 743001 link

Starred by 9 users

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 1
Type: Feature

Blocked on:
issue 742999
issue 759129



Sign in to add a comment

Implement Desktop UI for site muting

Project Member Reported by mlamouri@chromium.org, Jul 14 2017

Issue description

Blockedon: 742999
Status: Started (was: Assigned)
Project Member

Comment 3 by bugdroid1@chromium.org, Aug 24 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a8c3757e2d8d239d653da008ea6faffce296b854

commit a8c3757e2d8d239d653da008ea6faffce296b854
Author: Tommy Steimel <steimel@chromium.org>
Date: Thu Aug 24 00:15:46 2017

Implement Desktop UI for Site Muting

This CL adds desktop UI that uses the sound content setting to mute and
unmute WebContents. This is hidden behind a feature flag
(kSoundContentSetting).

Bug:  743001 
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: If685718e2b5f69d8480b40d5d80a8a64cf7ca13e
Reviewed-on: https://chromium-review.googlesource.com/580112
Reviewed-by: Tommy Li <tommycli@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Yuri Wiitala <miu@chromium.org>
Reviewed-by: Mounir Lamouri <mlamouri@chromium.org>
Commit-Queue: Tommy Steimel <steimel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#496881}
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/app/generated_resources.grd
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/app/settings_strings.grdp
[add] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/app/theme/default_100_percent/common/allowed_sound.png
[add] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/app/theme/default_100_percent/common/blocked_sound.png
[add] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/app/theme/default_200_percent/common/allowed_sound.png
[add] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/app/theme/default_200_percent/common/blocked_sound.png
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/app/theme/theme_resources.grd
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/browser/content_settings/sound_content_setting_observer.cc
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/browser/content_settings/sound_content_setting_observer_unittest.cc
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/browser/extensions/extension_tab_util.cc
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/browser/resources/settings/privacy_page/privacy_page.html
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/browser/resources/settings/privacy_page/privacy_page.js
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/browser/resources/settings/route.js
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/browser/resources/settings/site_settings/category_default_setting.js
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/browser/resources/settings/site_settings/constants.js
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/browser/resources/settings/site_settings_page/site_settings_page.html
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/browser/resources/settings/site_settings_page/site_settings_page.js
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/browser/ui/browser_commands.cc
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/browser/ui/page_info/page_info.cc
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/browser/ui/page_info/page_info_ui.cc
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/browser/ui/tab_helpers.cc
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/browser/ui/tabs/tab_menu_model.cc
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/browser/ui/tabs/tab_strip_model.cc
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/browser/ui/tabs/tab_strip_model.h
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/browser/ui/tabs/tab_utils.cc
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/browser/ui/tabs/tab_utils.h
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/browser/ui/webui/site_settings_helper.cc
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/common/chrome_features.cc
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/common/chrome_features.h
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/test/data/webui/settings/all_sites_tests.js
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/test/data/webui/settings/site_details_tests.js
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/test/data/webui/settings/site_list_tests.js
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/chrome/test/data/webui/settings/test_site_settings_prefs_browser_proxy.js
[modify] https://crrev.com/a8c3757e2d8d239d653da008ea6faffce296b854/components/page_info_strings.grdp

Project Member

Comment 4 by bugdroid1@chromium.org, Aug 28 2017

Blockedon: 759129
adding screenshots of the UI
01.desktop_oib_no_sound_playing_default_setting.png
564 KB View Download
02.desktop_oib_sound_playing.png
479 KB View Download
03.desktop_oib_no_sound_playing_non_default_setting.png
501 KB View Download
04.desktop_tab_dropdown_mute_site.png
528 KB View Download
05.desktop_tab_dropdown_unmute_site.png
528 KB View Download
06.desktop_tab_dropdown_mute_sites.png
536 KB View Download
07.desktop_tab_dropdown_unmute_sites.png
536 KB View Download
08.desktop_site_settings_default.png
64.9 KB View Download
09.desktop_site_settings_change.png
71.3 KB View Download
10.desktop_site_settings_block.png
67.9 KB View Download
11.desktop_content_settings_list_allow.png
66.2 KB View Download
12.desktop_content_setting_allow.png
39.3 KB View Download
13.desktop_content_setting_block.png
38.2 KB View Download
14.desktop_content_setting_add_exception.png
41.7 KB View Download
15.desktop_content_setting_exception_added.png
38.7 KB View Download
16.desktop_content_settings_list_block.png
66.5 KB View Download
Project Member

Comment 10 by bugdroid1@chromium.org, Oct 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4bee58d8cc08debda0ea2d40a9d41a09b6f165a9

commit 4bee58d8cc08debda0ea2d40a9d41a09b6f165a9
Author: Tommy Steimel <steimel@chromium.org>
Date: Wed Oct 18 15:35:37 2017

Enable SoundContentSetting feature

Bug:  743001 ,  743000 
Change-Id: I5e17fd023ad75657c98b286ea40ff6b4e81acdd1
Reviewed-on: https://chromium-review.googlesource.com/722445
Reviewed-by: Becca Hughes <beccahughes@chromium.org>
Reviewed-by: Mounir Lamouri <mlamouri@chromium.org>
Commit-Queue: Tommy Steimel <steimel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#509776}
[modify] https://crrev.com/4bee58d8cc08debda0ea2d40a9d41a09b6f165a9/chrome/browser/media/media_engagement_browsertest.cc
[modify] https://crrev.com/4bee58d8cc08debda0ea2d40a9d41a09b6f165a9/chrome/common/chrome_features.cc

Cc: mlamouri@chromium.org
Is there anything missing here?
Status: Fixed (was: Started)
No, should be good to close. Any modifications can be in a new bug
Can u deploy mute site AND mute tab?
Usefull to watch streams (mute tab), and wont lost mute site function

Sign in to add a comment