Set ViewAndroid layout properly
In ViewAndroid tree, the top view for WebContents should be of normal layout that can adjust its size to the OnSizeChanged event, while the bottom one for RenderWidgetHostViewAndroid should be of type match-parent to keep its size always in sync with its parent. This CL takes care of that. BUG=622847 Change-Id: Ie928a68334fc8c7342643081d85cdb88da075bb4 Reviewed-on: https://chromium-review.googlesource.com/654397 Commit-Queue: Jinsuk Kim <jinsukkim@chromium.org> Reviewed-by:Bo <boliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#501474}
Showing
Please register or sign in to comment