Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Implemented "Mute other Tabs" functionality #1535

Merged
merged 1 commit into from
May 4, 2016
Merged

Implemented "Mute other Tabs" functionality #1535

merged 1 commit into from
May 4, 2016

Conversation

bsclifton
Copy link
Member

@bsclifton bsclifton commented May 3, 2016

See #1253

  • Pulled muteAll code into windowActions.
  • Implemented "Mute other Tabs" functionality (shows on tab context menu).
  • Small cleanup in contextMenu.js

- Implemented "Mute other Tabs" functionality (shows on tab context menu).
- Small cleanup in contextMenu.js
@bsclifton bsclifton changed the title Implemented "Mute other Tabs" functionality (per https://github.com/brave/browser-laptop/issues/1253) Implemented "Mute other Tabs" functionality (#1253) May 3, 2016
@bsclifton bsclifton changed the title Implemented "Mute other Tabs" functionality (#1253) Implemented "Mute other Tabs" functionality May 3, 2016
*
* @param {Object} frameToSkip - Properties of the frame to keep audio
*/
muteAllAudioExcept: function (frameToSkip) {
Copy link
Member

@bbondy bbondy May 4, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm ok with this but just noting that both blocks are very similar. You could probably treat undefined passed here as no exception and have the other function call this one.

@bbondy
Copy link
Member

bbondy commented May 4, 2016

looks good to me, merging, thanks!

@bbondy bbondy merged commit beda979 into brave:master May 4, 2016
@luixxiul luixxiul added this to the 0.9.5dev milestone Oct 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants