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

Unified Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.cc

Issue 11633052: Rename platform-independent ConstrainedWindow types to WebContentsModalDialog types (part 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use gtk_widget_get_toplevel for GetNativeWindow Created 7 years, 12 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/autofill/autofill_dialog_views.cc
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
index a1c94197e229f9989f9f6498e3fc7695a12d0deb..67bad2737394bcc0eb7b7d1b2d72cc0f0d72ebbe 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
@@ -90,8 +90,9 @@ AutofillDialogViews::~AutofillDialogViews() {
void AutofillDialogViews::Show() {
InitChildViews();
- // Ownership of |contents_| is handed off by this call. The ConstrainedWindow
- // will take care of deleting itself after calling DeleteDelegate().
+ // Ownership of |contents_| is handed off by this call. The
+ // WebContentsModalDialog will take care of deleting itself after calling
+ // DeleteDelegate().
window_ = new ConstrainedWindowViews(controller_->web_contents(), this);
}
« no previous file with comments | « chrome/browser/ui/tab_modal_confirm_dialog_delegate.cc ('k') | chrome/browser/ui/views/collected_cookies_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698