Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(526)

Unified Diff: chrome/browser/ui/views/pdf_password_dialog.cc

Issue 231173004: [WebModal] Rename NativeWebContentsModalDialogManager to SingleWebContentsDialogManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add gtk Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/pdf_password_dialog.cc
diff --git a/chrome/browser/ui/views/pdf_password_dialog.cc b/chrome/browser/ui/views/pdf_password_dialog.cc
index 0d5e6565bd4e19c61d9dcf3648c667a3088f840e..d49ab2b7bcf16623a17ceb9a68c3ac05d28bd10d 100644
--- a/chrome/browser/ui/views/pdf_password_dialog.cc
+++ b/chrome/browser/ui/views/pdf_password_dialog.cc
@@ -74,7 +74,8 @@ PDFPasswordDialogViews::PDFPasswordDialogViews(
DCHECK(modal_delegate);
dialog_ = views::Widget::CreateWindowAsFramelessChild(
this, modal_delegate->GetWebContentsModalDialogHost()->GetHostView());
- web_contents_modal_dialog_manager->ShowDialog(dialog_->GetNativeView());
+ web_contents_modal_dialog_manager->ShowWebModalDialog(
Ben Goodger (Google) 2014/04/10 23:55:07 sorry to give you the runaround but could this be
Greg Billock 2014/04/11 18:34:45 Yes, that's better. will adjust.
+ dialog_->GetNativeView());
}
PDFPasswordDialogViews::~PDFPasswordDialogViews() {
« no previous file with comments | « chrome/browser/ui/views/login_prompt_views.cc ('k') | chrome/browser/ui/views/signed_certificate_timestamps_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698