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

Issue 955143002: Add setVisibilityState API to WebFrameWidget (Closed)

Created:
5 years, 10 months ago by kenrb
Modified:
5 years, 9 months ago
Reviewers:
Nate Chapin, dcheng
CC:
dcheng, blink-reviews, dglazkov+blink, mlamouri+watch-blink_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Add setVisibilityState API to WebFrameWidget Currently, WebFrameWidget does not update its layerTreeHost's visibility state when it has been changed. This causes out-of-process iframes to fail to draw in some cases. This adds an API to WebFrameWidget that can be called by RenderFrameImpl when it receives a WasShown/WasHidden notification. R=dcheng@chromium.org, japhet@chromium.org BUG=450674 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=191016

Patch Set 1 #

Total comments: 8

Patch Set 2 : Review comments addressed #

Total comments: 4

Patch Set 3 : Removed ASSERT #

Total comments: 2

Patch Set 4 : Comments updated #

Patch Set 5 : Another comment update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -0 lines) Patch
M Source/web/WebFrameWidgetImpl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/web/WebFrameWidgetImpl.cpp View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download
M public/web/WebFrameWidget.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
kenrb
Daniel, Nate: PTAL? Right now when we get WasShown or WasHidden from the browser, we ...
5 years, 10 months ago (2015-02-25 20:51:06 UTC) #1
dcheng
Mostly questions and simple things to help me understand this patch better. I'm a little ...
5 years, 10 months ago (2015-02-26 17:42:08 UTC) #2
kenrb
I have corrected the CL description. The reference to sizing was a mistake -- the ...
5 years, 10 months ago (2015-02-26 18:08:52 UTC) #3
Nate Chapin
Seems reasonable to me. https://codereview.chromium.org/955143002/diff/20001/Source/web/WebFrameWidgetImpl.cpp File Source/web/WebFrameWidgetImpl.cpp (right): https://codereview.chromium.org/955143002/diff/20001/Source/web/WebFrameWidgetImpl.cpp#newcode1022 Source/web/WebFrameWidgetImpl.cpp:1022: ASSERT(visibilityState == WebPageVisibilityStateVisible || visibilityState ...
5 years, 10 months ago (2015-02-26 21:16:34 UTC) #4
kenrb
https://codereview.chromium.org/955143002/diff/20001/Source/web/WebFrameWidgetImpl.cpp File Source/web/WebFrameWidgetImpl.cpp (right): https://codereview.chromium.org/955143002/diff/20001/Source/web/WebFrameWidgetImpl.cpp#newcode1022 Source/web/WebFrameWidgetImpl.cpp:1022: ASSERT(visibilityState == WebPageVisibilityStateVisible || visibilityState == WebPageVisibilityStateHidden || visibilityState ...
5 years, 10 months ago (2015-02-26 22:29:56 UTC) #5
Nate Chapin
On 2015/02/26 22:29:56, kenrb wrote: > https://codereview.chromium.org/955143002/diff/20001/Source/web/WebFrameWidgetImpl.cpp > File Source/web/WebFrameWidgetImpl.cpp (right): > > https://codereview.chromium.org/955143002/diff/20001/Source/web/WebFrameWidgetImpl.cpp#newcode1022 > ...
5 years, 10 months ago (2015-02-26 22:35:36 UTC) #6
dcheng
lgtm, adding a FIXME inside WebFrameWidgetImpl is probably a good idea though. https://codereview.chromium.org/955143002/diff/40001/public/web/WebFrameWidget.h File public/web/WebFrameWidget.h ...
5 years, 10 months ago (2015-02-26 22:40:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/955143002/60001
5 years, 9 months ago (2015-02-27 16:28:36 UTC) #10
dcheng
https://codereview.chromium.org/955143002/diff/40001/public/web/WebFrameWidget.h File public/web/WebFrameWidget.h (right): https://codereview.chromium.org/955143002/diff/40001/public/web/WebFrameWidget.h#newcode47 public/web/WebFrameWidget.h:47: // Set frame-level visibility state. On 2015/02/26 22:40:30, dcheng ...
5 years, 9 months ago (2015-02-27 16:28:49 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/955143002/80001
5 years, 9 months ago (2015-02-27 16:45:14 UTC) #15
commit-bot: I haz the power
5 years, 9 months ago (2015-02-27 17:56:21 UTC) #16
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=191016

Powered by Google App Engine
This is Rietveld 408576698