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

Issue 380303003: Enable resize and layout for frames with RemoteFrame ancestors (Closed)

Created:
6 years, 5 months ago by kenrb
Modified:
6 years, 5 months ago
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-events_chromium.org, dglazkov+blink, dstockwell, eae+blinkwatch, Eric Willigers, Mike Lawther (Google), nasko, pdr., rjwright, shans, site-isolation-reviews_chromium.org, Steve Block, Timothy Loh
Project:
blink
Visibility:
Public.

Description

Enable resize and layout for frames with RemoteFrame ancestors In order to support frame tree replication across processes, frames must be able to render correctly even when they have ancestor frames out of process. This will require a refactoring of WebViewImpl, but to enable immediate progress on this goal we add the assumption to WebViewImpl that the first LocalFrame found in a frame tree traversal should be treated as a local root, and used instead of the actual main frame in some cases. BUG=346764 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178066

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 10

Patch Set 3 : dcheng comments and rebase #

Total comments: 18

Patch Set 4 : eseidel comments addressed, plus null check added for testing #

Patch Set 5 : Fixed condition skobes has pointed out was wrong #

Patch Set 6 : fixed DeferUpdatePageInfo problem #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -43 lines) Patch
M Source/core/frame/Frame.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/frame/Frame.cpp View 1 chunk +11 lines, -0 lines 0 comments Download
M Source/core/frame/FrameView.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/frame/LocalFrame.cpp View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/page/EventHandler.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/page/PageAnimator.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/page/PageAnimator.cpp View 1 chunk +2 lines, -5 lines 0 comments Download
M Source/web/PageWidgetDelegate.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/web/PageWidgetDelegate.cpp View 1 chunk +10 lines, -3 lines 0 comments Download
M Source/web/WebViewImpl.h View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 1 2 3 4 5 3 chunks +50 lines, -25 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
kenrb
Daniel: Can you please review with respect to the path forward for frame tree replication? ...
6 years, 5 months ago (2014-07-10 21:06:29 UTC) #1
dcheng
https://codereview.chromium.org/380303003/diff/20001/Source/core/frame/LocalFrame.cpp File Source/core/frame/LocalFrame.cpp (right): https://codereview.chromium.org/380303003/diff/20001/Source/core/frame/LocalFrame.cpp#newcode370 Source/core/frame/LocalFrame.cpp:370: bool isMainFrame = this->isLocalRoot(); Should we rename the bool ...
6 years, 5 months ago (2014-07-10 21:14:55 UTC) #2
kenrb
https://codereview.chromium.org/380303003/diff/20001/Source/core/frame/LocalFrame.cpp File Source/core/frame/LocalFrame.cpp (right): https://codereview.chromium.org/380303003/diff/20001/Source/core/frame/LocalFrame.cpp#newcode370 Source/core/frame/LocalFrame.cpp:370: bool isMainFrame = this->isLocalRoot(); On 2014/07/10 21:14:54, dcheng (OOO) ...
6 years, 5 months ago (2014-07-11 16:06:18 UTC) #3
eseidel
I'm glad to see this taking shape. rslgtm, I don't need to see this again. ...
6 years, 5 months ago (2014-07-11 16:33:04 UTC) #4
pdr.
https://codereview.chromium.org/380303003/diff/40001/Source/web/WebViewImpl.cpp File Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/380303003/diff/40001/Source/web/WebViewImpl.cpp#newcode1631 Source/web/WebViewImpl.cpp:1631: // FIXME: FastTextAutosizer does not yet support out-of-process frames. ...
6 years, 5 months ago (2014-07-11 17:14:52 UTC) #5
skobes
https://codereview.chromium.org/380303003/diff/40001/Source/web/WebViewImpl.cpp File Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/380303003/diff/40001/Source/web/WebViewImpl.cpp#newcode1632 Source/web/WebViewImpl.cpp:1632: if (!mainFrameImpl()->frame()->isLocalFrame()) { This check doesn't make sense in ...
6 years, 5 months ago (2014-07-11 19:05:28 UTC) #6
kenrb
leviw@: Are you able to review the FrameView changes here? https://codereview.chromium.org/380303003/diff/40001/Source/web/PageWidgetDelegate.cpp File Source/web/PageWidgetDelegate.cpp (right): https://codereview.chromium.org/380303003/diff/40001/Source/web/PageWidgetDelegate.cpp#newcode74 ...
6 years, 5 months ago (2014-07-11 20:03:34 UTC) #7
skobes
https://codereview.chromium.org/380303003/diff/40001/Source/web/WebViewImpl.cpp File Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/380303003/diff/40001/Source/web/WebViewImpl.cpp#newcode1634 Source/web/WebViewImpl.cpp:1634: FastTextAutosizer::DeferUpdatePageInfo deferUpdatePageInfo(page()); On 2014/07/11 20:03:33, kenrb wrote: > On ...
6 years, 5 months ago (2014-07-11 20:30:36 UTC) #8
kenrb
On 2014/07/11 20:30:36, skobes wrote: > https://codereview.chromium.org/380303003/diff/40001/Source/web/WebViewImpl.cpp > File Source/web/WebViewImpl.cpp (right): > > https://codereview.chromium.org/380303003/diff/40001/Source/web/WebViewImpl.cpp#newcode1634 > ...
6 years, 5 months ago (2014-07-11 21:14:19 UTC) #9
dcheng
https://codereview.chromium.org/380303003/diff/40001/Source/web/PageWidgetDelegate.cpp File Source/web/PageWidgetDelegate.cpp (right): https://codereview.chromium.org/380303003/diff/40001/Source/web/PageWidgetDelegate.cpp#newcode74 Source/web/PageWidgetDelegate.cpp:74: if (!page) On 2014/07/11 20:03:33, kenrb wrote: > On ...
6 years, 5 months ago (2014-07-11 21:22:52 UTC) #10
kenrb
On 2014/07/11 21:22:52, dcheng (OOO) wrote: > https://codereview.chromium.org/380303003/diff/40001/Source/web/PageWidgetDelegate.cpp > File Source/web/PageWidgetDelegate.cpp (right): > > https://codereview.chromium.org/380303003/diff/40001/Source/web/PageWidgetDelegate.cpp#newcode74 ...
6 years, 5 months ago (2014-07-11 21:31:19 UTC) #11
skobes
On 2014/07/11 21:22:52, dcheng (OOO) wrote: > I thought fast text-autosizing only ran on mobile? ...
6 years, 5 months ago (2014-07-11 22:47:44 UTC) #12
Julien - ping for review
lgtm for the FrameView.cpp changes.
6 years, 5 months ago (2014-07-11 23:03:05 UTC) #13
kenrb
The CQ bit was checked by kenrb@chromium.org
6 years, 5 months ago (2014-07-14 14:37:54 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenrb@chromium.org/380303003/100001
6 years, 5 months ago (2014-07-14 14:38:52 UTC) #15
commit-bot: I haz the power
6 years, 5 months ago (2014-07-14 15:13:20 UTC) #16
Message was sent while issue was closed.
Change committed as 178066

Powered by Google App Engine
This is Rietveld 408576698