chromium.src
chromium.src copied to clipboard
activate window before showing dialogs
Bounds of dialogs are calcuated based on the bounds of parent window.
However on Windows, when window is minized, the bounds returned from
system is empty.
Implementing WebContentsDelegate::ActivateContents in AppWindow to
activate the native window before showing dialog fixes the issue.
fixed nwjs/nw.js#4992
backport from PR #30
Please also review this backport for nw14