• tfarina's avatar
    Cleanup: Move PaintVerticalDivider() into bookmark_bar_view.cc. · 39f40c22
    tfarina authored
    Actually it does not have to do much with DetachableToolbarView.
    
    It is used by BookmarkBarView to draw a button separator in the left
    side of "Other bookmarks" folder. The "Other bookmarks" only appears
    when you actually have bookmarks on it. So to separate it from the rest
    of the Bookmarks bar nodes, a separator is drawn.
    
    Screenshot: http://imgur.com/nW38lEy
    
    BUG=None
    TEST=open chrome, bookmark something in the "Other bookmarks" folder,
    make sure you have "Bookmarks bar" shown, then make sure the separator
    is there. No regressions observed.
    R=sky@chromium.org
    
    Review URL: https://codereview.chromium.org/798283002
    
    Cr-Commit-Position: refs/heads/master@{#308371}
    39f40c22
detachable_toolbar_view.h 1.91 KB