• zelidrag@chromium.org's avatar
    Fixed screen capture confirmation dialog to be either system- or window-modal... · ca5e056c
    zelidrag@chromium.org authored
    Fixed screen capture confirmation dialog to be either system- or window-modal depending on where it got initiated from. Previous implementation created window-modal with no parent window which allowed it to hide underneath its browser window.
    
    Fixed handling of window-modal dialogs. Modal dialogs and their toplevel parent windows weren't properly activated on events (i.e. mouse click) that happen in toplevel parent windows area but outside of the modal dialog.
    
    TEST=added WindowModalityControllerTest.EventsForEclipsedWindows, manual: start go/present/<whatever>, try to alt-tab away from the pop up dialog, try to eclipse it with another browser window
    BUG=366956
    
    Review URL: https://codereview.chromium.org/252673002
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266319 0039d316-1c4b-4281-b951-d872f2087c98
    ca5e056c
simple_message_box_views.cc 8.48 KB