• Thomas Tangl's avatar
    Add sync-error UI for DICE user menu · 08a8eeaf
    Thomas Tangl authored
    When DICE is enabled and there is a sync error, the user menu should
    show a red field containing the profile photo, an action title and a
    short overview of the error. This field should be clickable and
    replace the current action button.
    
    Mocks can be found in the bug report.
    
    Additional changes:
     - The spacing in the HoverButton class for the badged
       profile photo is corrected.
    
    Bug: 786369
    Change-Id: I3165100d16dd75a57e5381edddfb56ae37668bbf
    Reviewed-on: https://chromium-review.googlesource.com/781692Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Reviewed-by: default avatarTrent Apted <tapted@chromium.org>
    Commit-Queue: Thomas Tangl <tangltom@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#521656}
    08a8eeaf
badged_profile_photo.h 1.63 KB