Commit 2d215d9a authored by wittman@chromium.org's avatar wittman@chromium.org

Close Views SSL client certificate selector dialog on interstitial WebUI

Configure Views SSL client certificate selector dialogs to be closed
when interstitial WebUI is displayed (e.g. for SSL warnings prior to
page load).

BUG=221884
R=sky@chromium.org

Review URL: https://codereview.chromium.org/24075005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222080 0039d316-1c4b-4281-b951-d872f2087c98
parent 9313100c
...@@ -154,6 +154,8 @@ void SSLClientCertificateSelector::Init() { ...@@ -154,6 +154,8 @@ void SSLClientCertificateSelector::Init() {
web_contents_->GetView()->GetNativeView(), web_contents_->GetView()->GetNativeView(),
modal_delegate->GetWebContentsModalDialogHost()->GetHostView()); modal_delegate->GetWebContentsModalDialogHost()->GetHostView());
web_contents_modal_dialog_manager->ShowDialog(window_->GetNativeView()); web_contents_modal_dialog_manager->ShowDialog(window_->GetNativeView());
web_contents_modal_dialog_manager->SetCloseOnInterstitialWebUI(
window_->GetNativeView(), true);
// Select the first row automatically. This must be done after the dialog has // Select the first row automatically. This must be done after the dialog has
// been created. // been created.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment