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 446003003: Call Enterfullscreen after player got initialized (Closed)

Created:
6 years, 4 months ago by qinmin
Modified:
6 years, 4 months ago
Reviewers:
xhwang
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
Project:
chromium
Visibility:
Public.

Description

Call Enterfullscreen after player got initialized It is possible that Enterfullscreen() is called on an video element without src attribute. Then later on, when the player got initialized, we should let the player enter fullscreen. The current implementation calls Enterfullscreen first in video url cases. This will cause an issue that the BrowserMediaPlayerManager doesn't know which player to pass the surface to. As a result, we should delay EnterFullscreen() call until the player is initialized. And there is no point to ask a player to enterfullscreen if it is not created. BUG=400935 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288000

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M content/renderer/media/android/webmediaplayer_android.cc View 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
qinmin
PTAL
6 years, 4 months ago (2014-08-06 21:22:32 UTC) #1
xhwang
lgtm
6 years, 4 months ago (2014-08-07 05:59:01 UTC) #2
qinmin
The CQ bit was checked by qinmin@chromium.org
6 years, 4 months ago (2014-08-07 06:03:23 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qinmin@chromium.org/446003003/1
6 years, 4 months ago (2014-08-07 06:05:29 UTC) #4
commit-bot: I haz the power
6 years, 4 months ago (2014-08-07 07:53:16 UTC) #5
Message was sent while issue was closed.
Change committed as 288000

Powered by Google App Engine
This is Rietveld 408576698