Description[Cocoa] Tab audio mute control, behind a switch (off by default).
This change renames MediaIndicatorView to MediaIndicatorButton, and then
merges-in the new functionality to support tab muting by clicking on the
indicator. This is the "Cocoa port" of a previous change that added
this feature to the views UI: http://codereview.chromium.org/591963002
See change description in link above for details.
Also, this change resolves a long-standing bug where navigating back
into a NTP would leave the audio indicator turned on even though the NTP
does not emit sound.
BUG=360372, 344229
TEST=With --enable-tab-audio-muting, user can click audio indicator to toggle tab muting, or use the tab context menu to toggle muting of one or more selected tabs.
Committed: https://crrev.com/2178ec8cf854f0996a2d66649f52841e1ed18795
Cr-Commit-Position: refs/heads/master@{#302378}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Prevent TabStripController from unconditionally causing creation of MediaIndicatorButton. #
Total comments: 2
Messages
Total messages: 10 (2 generated)
|