[iOS] fix NTP size in animation
This CL fixes the size distortion of the incognito NTP in the new tab animation. The foreground animation view was assuming that the content view it animated had the same bounds as itself; this isn't correct for the incognito NTP, which is shorter to accommodate the toolbar. This CL instead repositions the content view correctly without resizing it. It also makes the animation view shorter (by StatusBarHeight()) to make this calculation cleaner. Bug: 868292 Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: Id49a3de2f3f62c246356da082f74285014a7b37a Reviewed-on: https://chromium-review.googlesource.com/1160843Reviewed-by:Kurt Horimoto <kkhorimoto@chromium.org> Commit-Queue: Mark Cogan <marq@chromium.org> Cr-Commit-Position: refs/heads/master@{#580459}
Showing
Please register or sign in to comment