Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Issue 1554233004: Plumb audio muting state to guest web-contents. (Closed)

Created:
4 years, 11 months ago by wjmaclean
Modified:
4 years, 11 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Plumb audio muting state to guest web-contents. Currently, if a WebContents changes its muting state, this change is not shared with any guests it may have. This can lead to audio not playing when it should, or playing when it shouldn't. This CL adds the necessary plumbing so that guest WebContents have the same muting state as their embedder WebContents. BUG=567070 Committed: https://crrev.com/2f797c780f8638733e71c1a3da185000939cfbe7 Cr-Commit-Position: refs/heads/master@{#368073}

Patch Set 1 #

Patch Set 2 : Add tests. #

Patch Set 3 : Switch to WebContentsObserver design. #

Total comments: 11

Patch Set 4 : Add descriptive comment to function declaration. #

Patch Set 5 : Address comments. #

Messages

Total messages: 26 (11 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1554233004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1554233004/1
4 years, 11 months ago (2016-01-05 20:54:01 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-05 21:55:35 UTC) #4
wjmaclean
creis@, can you please take a look? It's mostly plumbing plus some short tests.
4 years, 11 months ago (2016-01-06 16:26:43 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1554233004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1554233004/20001
4 years, 11 months ago (2016-01-06 16:27:12 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-06 17:37:11 UTC) #12
wjmaclean
On 2016/01/06 16:26:43, wjmaclean wrote: > creis@, can you please take a look? It's mostly ...
4 years, 11 months ago (2016-01-06 18:28:10 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1554233004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1554233004/40001
4 years, 11 months ago (2016-01-06 21:44:19 UTC) #15
wjmaclean
creis@ - I've re-designed this using WebContentsObserver ... ptal?
4 years, 11 months ago (2016-01-06 21:46:22 UTC) #16
Charlie Reis
Thanks. I was happy to find that OOPIFs appear to work properly here already-- muting ...
4 years, 11 months ago (2016-01-06 22:13:51 UTC) #17
wjmaclean
Please see replies below ... I'm preparing a revised CL based on your comments, but ...
4 years, 11 months ago (2016-01-06 22:36:09 UTC) #18
wjmaclean
Revised CL uploaded ... ptal?
4 years, 11 months ago (2016-01-06 23:15:45 UTC) #19
Charlie Reis
Thanks, LGTM. https://codereview.chromium.org/1554233004/diff/40001/chrome/browser/apps/guest_view/web_view_browsertest.cc File chrome/browser/apps/guest_view/web_view_browsertest.cc (right): https://codereview.chromium.org/1554233004/diff/40001/chrome/browser/apps/guest_view/web_view_browsertest.cc#newcode787 chrome/browser/apps/guest_view/web_view_browsertest.cc:787: EXPECT_FALSE(guest->IsAudioMuted()); On 2016/01/06 22:36:09, wjmaclean wrote: > ...
4 years, 11 months ago (2016-01-07 00:11:03 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1554233004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1554233004/80001
4 years, 11 months ago (2016-01-07 13:42:57 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 11 months ago (2016-01-07 14:52:11 UTC) #24
commit-bot: I haz the power
4 years, 11 months ago (2016-01-07 14:53:03 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/2f797c780f8638733e71c1a3da185000939cfbe7
Cr-Commit-Position: refs/heads/master@{#368073}

Powered by Google App Engine
This is Rietveld 408576698