Chromium Code Reviews
Descriptionui: Pass the correct container size to DelegatedFrameHostAndroid.
Currently we pass the VisibleViewportSize from
RenderWidgetHostViewAndroid to the DelegatedFrameHostAndroid.
ContentViewCore eliminates the size of the top controls from this size.
So use GetViewportSizeDip instead. Also, the surface size for the
SurfaceLayer is the size of the viewport itself, so it can directly be
compared with the container size with no adjustments for the top
controls.
Committed: https://crrev.com/4c584d37669a3b2a4e0b80130cb61bad93b0e32e
Cr-Commit-Position: refs/heads/master@{#413639}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Rebase #
Messages
Total messages: 13 (4 generated)
|
||||||||||||||||||||||||||||