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

Issue 2302023003: Set content opacity of DFHAndroid surfacelayer based on renderer frame contents. (Closed)

Created:
4 years, 3 months ago by jbauman
Modified:
4 years, 3 months ago
Reviewers:
Ted C, no sievers, boliu
CC:
chromium-reviews, yusukes+watch_chromium.org, nona+watch_chromium.org, avayvod+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, shuchen+watch_chromium.org, cc-bugs_chromium.org, James Su, mlamouri+watch-media_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Set content opacity of DFHAndroid surfacelayer based on renderer frame contents. The browser updates the overlay video mode flag before the renderer can send a new frame. This means that when switching from fullscreen to non-fullscreen the browser was expecting the renderer the fill the frame completely and wasn't drawing the background, but it was accidentally leaving part of the frame corrupted and uncleared. BUG=631866 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/862bef99a8b729f501689b0658f029464ff84135 Cr-Commit-Position: refs/heads/master@{#417131}

Patch Set 1 #

Patch Set 2 : remove testing change #

Patch Set 3 : modify background color #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -39 lines) Patch
M content/browser/media/android/browser_media_player_manager.cc View 1 2 2 chunks +0 lines, -13 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 6 chunks +7 lines, -9 lines 2 comments Download
M ui/android/delegated_frame_host_android.h View 2 chunks +1 line, -2 lines 0 comments Download
M ui/android/delegated_frame_host_android.cc View 1 2 6 chunks +12 lines, -11 lines 1 comment Download

Messages

Total messages: 30 (18 generated)
jbauman
4 years, 3 months ago (2016-09-02 00:35:15 UTC) #10
jbauman
Apparently we have to change the background color in fullscreen when overlay video is disabled, ...
4 years, 3 months ago (2016-09-02 04:40:34 UTC) #15
sadrul
I assume you added me for ui/ changes? Would you mind adding an owner from ...
4 years, 3 months ago (2016-09-02 18:29:13 UTC) #16
no sievers
lgtm https://codereview.chromium.org/2302023003/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2302023003/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode1031 content/browser/renderer_host/render_widget_host_view_android.cc:1031: OnFrameMetadataUpdated(frame_metadata.Clone(), false); +Bo for whether WebView needs to ...
4 years, 3 months ago (2016-09-02 22:06:52 UTC) #19
boliu
https://codereview.chromium.org/2302023003/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2302023003/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode1031 content/browser/renderer_host/render_widget_host_view_android.cc:1031: OnFrameMetadataUpdated(frame_metadata.Clone(), false); On 2016/09/02 22:06:52, sievers_OOOtil_Sep12 wrote: > +Bo ...
4 years, 3 months ago (2016-09-02 22:52:11 UTC) #20
watk
Yay! \o/ Btw, a field trial just landed for experimenting with not ever using Overlay ...
4 years, 3 months ago (2016-09-02 23:07:35 UTC) #21
jbauman
On 2016/09/02 22:06:52, sievers_OOOtil_Sep12 wrote: > lgtm > > https://codereview.chromium.org/2302023003/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc > File content/browser/renderer_host/render_widget_host_view_android.cc (right): > ...
4 years, 3 months ago (2016-09-03 01:12:18 UTC) #22
jbauman
tedchoc@: ui/android OWNERS review
4 years, 3 months ago (2016-09-07 22:05:39 UTC) #23
Ted C
On 2016/09/07 22:05:39, jbauman wrote: > tedchoc@: ui/android OWNERS review ui/android - lgtm
4 years, 3 months ago (2016-09-07 23:02:48 UTC) #24
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/2302023003/40001
4 years, 3 months ago (2016-09-07 23:20:18 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-08 00:33:04 UTC) #28
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 00:34:51 UTC) #30
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/862bef99a8b729f501689b0658f029464ff84135
Cr-Commit-Position: refs/heads/master@{#417131}

Powered by Google App Engine
This is Rietveld 408576698