• Kurt Horimoto's avatar
    [iOS] Implement hybrid viewport adjustment experiment. · def17f59
    Kurt Horimoto authored
    This CL adds an additional fullscreen viewport adjustment experiment.
    In this approach, the WKWebView's frame is translated up and down to
    account for the bottom inset created by the secondary toolbar.
    Meanwhile, the top safe area inset is adjusted to push the top of the
    rendered viewport below the toolbars.
    
    Bug: none
    Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
    Change-Id: Idb3ae9fb11ca2b35ee5219a52f9e08aa14363a7b
    Reviewed-on: https://chromium-review.googlesource.com/1066975
    Commit-Queue: Kurt Horimoto <kkhorimoto@chromium.org>
    Reviewed-by: default avatarJustin Cohen <justincohen@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#562562}
    def17f59
fullscreen_features.mm 1.99 KB