• estade's avatar
    Introduce BubbleDialogDelegateView, which extends DialogDelegateView · 4c499dc1
    estade authored
    and shares more code with it than BubbleDelegateView.
    
    The idea is to eventually replace BubbleDelegateView. I'd just have
    modified BubbleDelegateView in place, but it requires updates to many
    bubbles, so the two classes coexist for now.
    
    This CL also removes redundant code in DialogClientView for laying out
    the footnote view. I verified this doesn't affect the one place that
    was using the code (CardUnmaskPromptViews).
    
    SessionCrashedBubbleView is the only bubble using the new parent class
    so far. It got a bit simpler because it didn't have to reimplement the
    button strip.
    
    BUG=585312
    
    Review URL: https://codereview.chromium.org/1717453003
    
    Cr-Commit-Position: refs/heads/master@{#378545}
    4c499dc1
bubble_delegate.h 7.83 KB