Revert "Don't use constrained dialogs for macOS certificate viewer."
This reverts commit 662e18cb. Reason for revert: This CL seems to be a trigger of a test failure on Mac. Bug: 1110172 Original change's description: > Don't use constrained dialogs for macOS certificate viewer. > > Instead parent the sheet to the specified gfx::NativeWindow directly. > This avoids a host of bugs around the native constrained dialogs > machinery, but does mean the dialog is now window-modal rather than > tab-modal. On Windows, where we also use the native dialog, the sheet is > similarly window-modal and the certificate viewer only ever opens in > response to the user clicking in browser-owned UI or DevTools, so there > shouldn't be an abuse concern. > > See https://crbug.com/1098786#c4 > > Bug: 762915, 1078158, 1098786 > Change-Id: Iafeee58fd04aff9f8b88e8c2f030fe18913f81f2 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2313160 > Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org> > Commit-Queue: David Benjamin <davidben@chromium.org> > Cr-Commit-Position: refs/heads/master@{#791907} TBR=ellyjones@chromium.org,davidben@chromium.org Change-Id: I8e29389c8a609daeed12b13d50b3d8d27f8959d6 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 762915 Bug: 1078158 Bug: 1098786 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2320913Reviewed-by:Hitoshi Yoshida <peria@chromium.org> Commit-Queue: Hitoshi Yoshida <peria@chromium.org> Cr-Commit-Position: refs/heads/master@{#792133}
Showing
Please register or sign in to comment