• jonross@chromium.org's avatar
    Linux Aura Task Manager Frame Buttons Misaligned · 53f18455
    jonross@chromium.org authored
    The task manager is a CustomFrameView. This had the logic for its button
    placement hardcoded. The view now adds itself as a listener for button
    configuration changes on linux. For other systems it falls back on a
    default set that matches the current (minimize, maximize, close) order.
    
    The layout of the buttons has changed to consult this order definition.
    
    Loading the assets for the close button has been moved out of layout.
    ResourceBundle only loads the asset once, so this can be done during
    initialization.
    
    The top padding for the buttons has been updated to provide more spacing. It now fits the rest of the padding in the class.
    
    TEST=CustomFrameViewTest
    BUG=351917
    
    Review URL: https://codereview.chromium.org/240163006
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269597 0039d316-1c4b-4281-b951-d872f2087c98
    53f18455
window_button_order_provider.h 1.78 KB