DescriptionAllow cert-popup for WebView guests.
The SSL cert-selection dialog is currently being suppressed
for requests originating within a WebView guest. This
appears to be on account of
1) ShowSSLClientCertificateSelector() not checking to see
if the current WebContents is actually a guest without a
WebContentsModalDialogManager, in which case it should
attempt to use the embedder's WebContentsModalDialogManager,
and possibly also
2) The embedder WebContents in the inline login view will
not have a WebContentsModalDialogManager since it is
created via a views::WebView.
This CL remedies this by applying the correct check for the
existence of an embedder WebContentsModalDialogManager, as
well as making sure the inline flow provides a
WebContentsModalDialogManager for the embedder WebContents.
Note: applications that want the ability to show the
certificate selector dialog,but are not hosted in a browser
tab, have the option to provide a
WebContentsModalDialogManager for the embedder's
WebContents.
BUG=499996
Patch Set 1 #
Total comments: 1
Patch Set 2 : Updated to use WebContentsModalDialogManager. #
Total comments: 4
Patch Set 3 : Add WebContentsModalDialogDelegate support to ProfileChooserView. #Patch Set 4 : Address comments. #
Depends on Patchset: Messages
Total messages: 17 (3 generated)
|