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

Issue 1021723003: Android: Never automatically enter fullscreen when media playback starts. (Closed)

Created:
5 years, 9 months ago by ddorwin
Modified:
5 years, 9 months ago
Reviewers:
*qinmin, xhwang, gunsch
CC:
chromium-reviews, posciak+watch_chromium.org, avayvod+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Android: Never automatically enter fullscreen when media playback starts. Previously, the media player would automatically enter fullscreen when a protected surface is required and hole-punching is not enabled. This behavior is inconsistent with all other scenarios. This is mostly a revert of r282588 (7d930ce), which disabled the automatic behavior when hole-punching is enabled. The other change is to remove the automatic behavior altogether. The original automatic behavior was added to MediaPlayerManagerImpl in r210114. BUG=459416 Committed: https://crrev.com/a1a3db25697c8cbc046a77a0c0a4e706f7f31be6 Cr-Commit-Position: refs/heads/master@{#321668}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Remove obsolete IsProtectedSurfaceRequired(). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -37 lines) Patch
M content/browser/media/android/browser_media_player_manager.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/media/android/browser_media_player_manager.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M media/base/android/media_player_manager.h View 1 chunk +0 lines, -6 lines 0 comments Download
M media/base/android/media_source_player.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M media/base/android/media_source_player.cc View 1 2 chunks +0 lines, -14 lines 0 comments Download
M media/base/android/media_source_player_unittest.cc View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
ddorwin
5 years, 9 months ago (2015-03-19 23:25:37 UTC) #4
xhwang
Thanks for the cleanup! Looking good in general but I think we can remove more ...
5 years, 9 months ago (2015-03-20 18:07:45 UTC) #5
ddorwin
qinmin: PTAL at the discussion in browser_media_player_manager.h https://codereview.chromium.org/1021723003/diff/1/content/browser/media/android/browser_media_player_manager.h File content/browser/media/android/browser_media_player_manager.h (left): https://codereview.chromium.org/1021723003/diff/1/content/browser/media/android/browser_media_player_manager.h#oldcode100 content/browser/media/android/browser_media_player_manager.h:100: bool ShouldUseVideoOverlayForEmbeddedEncryptedVideo() ...
5 years, 9 months ago (2015-03-20 18:45:25 UTC) #6
qinmin
https://codereview.chromium.org/1021723003/diff/1/content/browser/media/android/browser_media_player_manager.h File content/browser/media/android/browser_media_player_manager.h (left): https://codereview.chromium.org/1021723003/diff/1/content/browser/media/android/browser_media_player_manager.h#oldcode100 content/browser/media/android/browser_media_player_manager.h:100: bool ShouldUseVideoOverlayForEmbeddedEncryptedVideo() override; This surface is for hole punching ...
5 years, 9 months ago (2015-03-20 19:47:46 UTC) #7
qinmin
https://codereview.chromium.org/1021723003/diff/1/content/browser/media/android/browser_media_player_manager.h File content/browser/media/android/browser_media_player_manager.h (left): https://codereview.chromium.org/1021723003/diff/1/content/browser/media/android/browser_media_player_manager.h#oldcode100 content/browser/media/android/browser_media_player_manager.h:100: bool ShouldUseVideoOverlayForEmbeddedEncryptedVideo() override; On 2015/03/20 19:47:46, qinmin wrote: > ...
5 years, 9 months ago (2015-03-20 20:31:49 UTC) #8
qinmin
lgtm
5 years, 9 months ago (2015-03-20 20:32:56 UTC) #9
gunsch
lgtm from Cast-ATV perspective
5 years, 9 months ago (2015-03-20 21:04:04 UTC) #10
xhwang
lgtm. We have a lot to fix, but we can do that later.
5 years, 9 months ago (2015-03-20 23:44:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1021723003/20001
5 years, 9 months ago (2015-03-20 23:45:34 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-21 00:32:33 UTC) #14
commit-bot: I haz the power
5 years, 9 months ago (2015-03-21 00:33:14 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a1a3db25697c8cbc046a77a0c0a4e706f7f31be6
Cr-Commit-Position: refs/heads/master@{#321668}

Powered by Google App Engine
This is Rietveld 408576698