DescriptionEnsure RemoteViewportIntersection rect persists across frame navigations
To prevent excessive IPC messages, a parent frame of an OOPIF only
updates its remote viewport intersection rect when the intersection
changes. However, a frame can navigate without the parent frame being
aware of it, in which case the rect is lost without being resent.
To address that problem, this CL caches the rect on
CrossProcessFrameConnector in the browser process, and sends it to the
renderer whenever RenderWidgetHostImpl::SendScreenRects() is called.
This CL also moves the rect's storage in Blink from LocalFrameView to
LocalFrame so that it persists across same-process navigations.
BUG=720342
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Review-Url: https://codereview.chromium.org/2910023002
Cr-Commit-Position: refs/heads/master@{#475756}
Committed: https://chromium.googlesource.com/chromium/src/+/1e68f60e90fc7b0b12bbf884291458e5e4aa3b2f
Patch Set 1 #
Total comments: 4
Patch Set 2 : ncarter comments addressed #
Total comments: 9
Patch Set 3 : dcheng comments addressed #
Total comments: 2
Messages
Total messages: 27 (18 generated)
|