• Sajad Maysam's avatar
    Add background with rounded corners. · 50d39d13
    Sajad Maysam authored
    Will be used to implement a scrollview that does not extend beyond the
    boundaries of a widget with rounded corners. Necessary because
    scrollviews paint on a layer so they will paint over the parent view's
    bounds. Also similar code creating rounded backgrounds happens in a
    bunch of places in the codebase and could be simplified to use a single
    common background factory method (example: bubble background code).
    
    Change-Id: Ie885ca9f71f2722680e6fb709fe3091e71ad88fd
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1524910
    Commit-Queue: Sajad Maysam <sajadm@google.com>
    Reviewed-by: default avatarSadrul Chowdhury <sadrul@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#644468}
    50d39d13
background.cc 4.06 KB