Skip to content
  • Trent Apted's avatar
    Update HTTP-Auth to latest Harmony mocks. · 70291900
    Trent Apted authored
    With *and without* --secondary-ui-md:
     * Removes the colons from the field labels
     * Alters the text for insecure domains to say "Your connection to this site is not private"
     * Makes the dialog title and "Log in" button text sentence case on non-Mac/iOS
     * Removes " requires a username and password" after the domain for non-Proxy auth requests
     * Removes the insets on the sides of the textfield stack relative to the dialog title.
     * Removes the close button from the http-auth dialog
    
    With --secondary-ui-md only:
     * Uses SECONDARY / gray text for the second line of header text
     * Makes textfields 28px tall
    
    3 general adjustments applicable to a class of dialogs remain to be done:
     * Too much spacing from the title to the body text, and
     * Too little spacing from the last textfield to the button row.
     * Textfields should horizontally align "somehow" we don't know how yet
    
    Adds ui/views/harmony/layout_helper.h to encapsulate methods for creating a
    textfield stack in the standard layout.
    
    Bug: 602392
    Change-Id: I27fbc52c95d9bd8ac2a3551d916d3f161f51593f
    Reviewed-on: https://chromium-review.googlesource.com/559205
    
    
    Reviewed-by: default avatarColin Blundell <blundell@chromium.org>
    Reviewed-by: default avatarPeter Kasting <pkasting@chromium.org>
    Reviewed-by: default avatarBret Sepulveda <bsep@chromium.org>
    Commit-Queue: Trent Apted <tapted@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#487030}
    70291900