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

Issue 11361239: Keep playing audio even when opening another tab, going to another app etc. (Closed)

Created:
8 years, 1 month ago by Miguel Garcia
Modified:
8 years, 1 month ago
Reviewers:
tkent, jamesr, qinmin
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, feature-media-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Keep playing audio even when opening another tab, going to another app etc. Test: run both content shell and chrome for android, gone to a few html5 serving pages. http://romaindillet.github.com/That-Radio-Player/# and http://grooveshark.com/#!/playlist/ac-dc/28046570 Then verified that audio keeps playing if I switch tabs or leave the app. Also added some logging to verify that no matter what the internal player is released when you leave either when you leave the page if nothing is playing or upon closing the tab or navigating away if it is. BUG=121898 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167906

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 10

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -6 lines) Patch
M content/renderer/render_view_impl.cc View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M webkit/media/android/webmediaplayer_manager_android.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M webkit/media/android/webmediaplayer_manager_android.cc View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download
M webkit/support/webkit_support.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Miguel Garcia
Min, if you are ok, I am going to wait till you have a look ...
8 years, 1 month ago (2012-11-13 15:49:58 UTC) #1
qinmin
http://codereview.chromium.org/11361239/diff/3005/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): http://codereview.chromium.org/11361239/diff/3005/content/renderer/render_view_impl.cc#newcode5683 content/renderer/render_view_impl.cc:5683: DCHECK(media_player_manager_); this DCHECK is useless, if media_player_manager_ is null, ...
8 years, 1 month ago (2012-11-14 18:14:29 UTC) #2
Miguel Garcia
Thanks for the quick review! http://codereview.chromium.org/11361239/diff/3005/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): http://codereview.chromium.org/11361239/diff/3005/content/renderer/render_view_impl.cc#newcode5683 content/renderer/render_view_impl.cc:5683: DCHECK(media_player_manager_); On 2012/11/14 18:14:29, ...
8 years, 1 month ago (2012-11-14 18:50:31 UTC) #3
qinmin
lgtm.
8 years, 1 month ago (2012-11-14 19:01:40 UTC) #4
Miguel Garcia
Kent, James can you have a look for OWNERs approval of the different directories?
8 years, 1 month ago (2012-11-14 19:05:57 UTC) #5
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
8 years, 1 month ago (2012-11-14 19:26:37 UTC) #6
jamesr
lgtm
8 years, 1 month ago (2012-11-14 22:09:20 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miguelg@chromium.org/11361239/7002
8 years, 1 month ago (2012-11-15 08:51:14 UTC) #8
commit-bot: I haz the power
8 years, 1 month ago (2012-11-15 13:01:57 UTC) #9
Change committed as 167906

Powered by Google App Engine
This is Rietveld 408576698