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

Issue 2643893002: Skip video overlay surface management when in VR. (Closed)

Created:
3 years, 11 months ago by amp
Modified:
3 years, 11 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, yusukes+watch_chromium.org, feature-media-reviews_chromium.org, avayvod+watch_chromium.org, nasko+codewatch_chromium.org, jam, miu+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, shuchen+watch_chromium.org, apacible+watch_chromium.org, xjz+watch_chromium.org, James Su, mlamouri+watch-media_chromium.org, erickung+watch_chromium.org, feature-vr-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Skip video overlay surface management when in VR. This changes the overlay surface from being disabled when VrShell flag was enabled at all to only when VrShell is actually active. It also re-enables VrShell testing config. BUG=654851 Review-Url: https://codereview.chromium.org/2643893002 Cr-Commit-Position: refs/heads/master@{#444634} Committed: https://chromium.googlesource.com/chromium/src/+/ea73f799eb7fe7a9b5836f2c491bd99dbf933089

Patch Set 1 #

Total comments: 2

Patch Set 2 : Send back noSurfaceId to signal wmpi properly. #

Patch Set 3 : Also send back no surface id when there is no web contents delegate. #

Total comments: 1

Patch Set 4 : Removed public API changes and changed references to cast to base instead. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -14 lines) Patch
M content/browser/media/android/browser_surface_view_manager.cc View 1 2 3 2 chunks +13 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M media/blink/webmediaplayer_impl.h View 1 chunk +0 lines, -1 line 0 comments Download
M media/blink/webmediaplayer_impl.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M testing/variations/fieldtrial_testing_config.json View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (5 generated)
amp
I'm changing the way that overlay surfaces are disabled for http://crbug.com/654851. As the current solution ...
3 years, 11 months ago (2017-01-18 18:17:04 UTC) #2
liberato (no reviews please)
https://codereview.chromium.org/2643893002/diff/1/content/browser/media/android/browser_surface_view_manager.cc File content/browser/media/android/browser_surface_view_manager.cc (right): https://codereview.chromium.org/2643893002/diff/1/content/browser/media/android/browser_surface_view_manager.cc#newcode69 content/browser/media/android/browser_surface_view_manager.cc:69: if (render_frame_host_->GetView()->IsInVR()) { one migh tneed SendSurfaceID(kNoSurfaceID), else WMPI ...
3 years, 11 months ago (2017-01-18 18:21:49 UTC) #3
liberato (no reviews please)
3 years, 11 months ago (2017-01-18 18:21:49 UTC) #4
amp
https://codereview.chromium.org/2643893002/diff/1/content/browser/media/android/browser_surface_view_manager.cc File content/browser/media/android/browser_surface_view_manager.cc (right): https://codereview.chromium.org/2643893002/diff/1/content/browser/media/android/browser_surface_view_manager.cc#newcode69 content/browser/media/android/browser_surface_view_manager.cc:69: if (render_frame_host_->GetView()->IsInVR()) { On 2017/01/18 18:21:48, liberato wrote: > ...
3 years, 11 months ago (2017-01-18 19:30:25 UTC) #5
liberato (no reviews please)
On 2017/01/18 19:30:25, amp wrote: > https://codereview.chromium.org/2643893002/diff/1/content/browser/media/android/browser_surface_view_manager.cc > File content/browser/media/android/browser_surface_view_manager.cc (right): > > https://codereview.chromium.org/2643893002/diff/1/content/browser/media/android/browser_surface_view_manager.cc#newcode69 > ...
3 years, 11 months ago (2017-01-18 19:35:08 UTC) #6
watk
On 2017/01/18 19:35:08, liberato wrote: > On 2017/01/18 19:30:25, amp wrote: > > > https://codereview.chromium.org/2643893002/diff/1/content/browser/media/android/browser_surface_view_manager.cc ...
3 years, 11 months ago (2017-01-18 20:57:56 UTC) #7
amp
On 2017/01/18 20:57:56, watk wrote: > On 2017/01/18 19:35:08, liberato wrote: > > On 2017/01/18 ...
3 years, 11 months ago (2017-01-18 21:02:39 UTC) #8
watk
On 2017/01/18 21:02:39, amp wrote: > On 2017/01/18 20:57:56, watk wrote: > > On 2017/01/18 ...
3 years, 11 months ago (2017-01-18 21:07:52 UTC) #9
rkaplow
lgtm
3 years, 11 months ago (2017-01-18 21:33:46 UTC) #10
Charlie Reis
Mostly looks good, except for one requirement of the content API. https://codereview.chromium.org/2643893002/diff/40001/content/public/browser/render_widget_host_view.h File content/public/browser/render_widget_host_view.h (right): ...
3 years, 11 months ago (2017-01-18 22:34:41 UTC) #11
amp
On 2017/01/18 22:34:41, Charlie Reis wrote: > Mostly looks good, except for one requirement of ...
3 years, 11 months ago (2017-01-18 22:39:24 UTC) #12
amp
On 2017/01/18 22:39:24, amp wrote: > On 2017/01/18 22:34:41, Charlie Reis wrote: > > Mostly ...
3 years, 11 months ago (2017-01-18 23:03:36 UTC) #13
Charlie Reis
Thanks! content/ LGTM.
3 years, 11 months ago (2017-01-18 23:08:43 UTC) #14
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/2643893002/60001
3 years, 11 months ago (2017-01-19 02:26:36 UTC) #17
commit-bot: I haz the power
3 years, 11 months ago (2017-01-19 04:06:45 UTC) #20
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/ea73f799eb7fe7a9b5836f2c491b...

Powered by Google App Engine
This is Rietveld 408576698