• phweiss's avatar
    Add toggle in Chrome Settings for Always-on VPN · 29605b3a
    phweiss authored
    If a VPN connection is set to be Always-on (via Android setting
    or policy), we want an off-switch in Chrome Settings in case
    the Android container is compromised.
    
    If the VpnConfigAllowed preference is set to false, this new switch will be
    disabled, and potentially the policy indicator is displayed to its right.
    This should line up with the same indicator next to the "(Dis)Connect"
    button above, and the "open subpage" indicators in the lines below.
    
    For this, the controlled-button needs to remove its right margin for the
    (Dis)Connect buttons. Fortunately, these two buttons are the only
    controlled-buttons in the codebase that do not have the end-justified attribute
    set, as there is only one other instance of controlled-button
    (in downloads_page.html, with end-justified set).
    
    BUG=b:72861260
    BUG=873123
    TEST=browser_tests --gtest_filter=*CrSettingsInternetDetailPageTest*
    
    Change-Id: Ifa76dc905fb0b06ddd13d1e1e2d2ab6d4c2cd018
    Reviewed-on: https://chromium-review.googlesource.com/c/1340333Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
    Commit-Queue: Philipp Weiß <phweiss@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#609643}
    29605b3a
settings_strings.grdp 300 KB