• Christos Froussios's avatar
    Revert "Make dialogs not draggable (Widgets with MODAL_TYPE_NONE remain" · 52b60b4e
    Christos Froussios authored
    This reverts commit 0a25dcde.
    
    Reason for revert: Suspected of making DialogTest.InitialFocusWithDeactivatedWidget very flaky on Mac
    
    Bug:949911
    
    Original change's description:
    > Make dialogs not draggable (Widgets with MODAL_TYPE_NONE remain
    > draggable).
    > 
    > This change makes the title area of a dialog act as the client. Also
    > removed code so system menu does not appear on dialogs. This makes more
    > sense since the system dialog has properties such as move (which is now
    > illegal, also it doesn't work), and resize (illegal), and close with
    > hints of using Alt+F4 (Alt+F4 does not close dialogs).
    > 
    > Bug: 930782
    > Change-Id: I0956b85df2c3059af7b38b63ccf8774ccd150158
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1536198
    > Commit-Queue: Charlene Yan <cyan@chromium.org>
    > Reviewed-by: Trent Apted <tapted@chromium.org>
    > Reviewed-by: Bret Sepulveda <bsep@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#647985}
    
    TBR=tapted@chromium.org,bsep@chromium.org,cyan@chromium.org
    
    Change-Id: I800192f4a32822b68b9027f0b7b1ebcab9e22684
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: 930782
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1553544Reviewed-by: default avatarChristos Froussios <cfroussios@chromium.org>
    Commit-Queue: Christos Froussios <cfroussios@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#648116}
    52b60b4e
bubble_frame_view.cc 25.4 KB