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

Issue 2437623005: Let Flash take one-shot focus in default MediaSession (Closed)

Created:
4 years, 2 months ago by Zhiqiang Zhang (Slow)
Modified:
4 years, 2 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Let Flash take one-shot focus in default MediaSession Previously, the interaction between Flash and MediaSession is: * When default MediaSession is enabled, Flash does not interact with MediaSession at all. * When default MediaSession is enabled with Flash, Flash will join MediaSession. It takes audio focus and ducks when losing audio focus. After this CL, the first behavior will be changed to: * When default MediaSession is enabled, Flash takes audio focus once, but will not respond to audio focus changes. BUG=619084 Committed: https://crrev.com/f9730d243f7a1f85ae6008cc4d6ceff367a16e66 Cr-Commit-Position: refs/heads/master@{#426770}

Patch Set 1 #

Total comments: 2

Patch Set 2 : IsDuckFlash -> ShouldDuckFlash #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -17 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/media/session/pepper_playback_observer.cc View 1 2 chunks +14 lines, -9 lines 0 comments Download
M content/browser/media/session/pepper_player_delegate.cc View 1 3 chunks +16 lines, -0 lines 0 comments Download
M media/base/media_switches.h View 1 chunk +1 line, -1 line 0 comments Download
M media/base/media_switches.cc View 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
Zhiqiang Zhang (Slow)
PTAL. This CL is for the upcoming UX experiment.
4 years, 2 months ago (2016-10-20 18:44:51 UTC) #4
DaleCurtis
Seems like this should be a base::Feature instead of switch, especially if you're considering further ...
4 years, 2 months ago (2016-10-20 18:46:52 UTC) #5
Zhiqiang Zhang (Slow)
On 2016/10/20 18:46:52, DaleCurtis wrote: > Seems like this should be a base::Feature instead of ...
4 years, 2 months ago (2016-10-20 18:51:49 UTC) #6
DaleCurtis
On 2016/10/20 at 18:51:49, zqzhang wrote: > > We also tried using Feature variation but ...
4 years, 2 months ago (2016-10-20 18:56:23 UTC) #7
Zhiqiang Zhang (Slow)
On 2016/10/20 18:56:23, DaleCurtis wrote: > On 2016/10/20 at 18:51:49, zqzhang wrote: > > > ...
4 years, 2 months ago (2016-10-20 19:46:30 UTC) #8
DaleCurtis
lgtm given my other concerns seem to have already been discussed. https://codereview.chromium.org/2437623005/diff/1/content/browser/media/session/pepper_playback_observer.cc File content/browser/media/session/pepper_playback_observer.cc (right): ...
4 years, 2 months ago (2016-10-20 21:06:03 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2437623005/20001
4 years, 2 months ago (2016-10-21 10:04:29 UTC) #12
mlamouri (slow - plz ping)
lgtm
4 years, 2 months ago (2016-10-21 10:21:27 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-21 11:38:49 UTC) #14
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:28:51 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f9730d243f7a1f85ae6008cc4d6ceff367a16e66
Cr-Commit-Position: refs/heads/master@{#426770}

Powered by Google App Engine
This is Rietveld 408576698