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

Unified Diff: chrome/browser/ui/app_list/extension_uninstaller.cc

Issue 382133003: Refactored ExtensionUninstallDialog to take a NativeWindow instead of a Browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved Browser out of ExtensionUninstallDialogViews Created 6 years, 5 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/app_list/extension_uninstaller.cc
diff --git a/chrome/browser/ui/app_list/extension_uninstaller.cc b/chrome/browser/ui/app_list/extension_uninstaller.cc
index 138b7ae72aac7885580cefccefcdd73ba5db2826..cc27f7f42c3d4df5a5108ff3ffb4f7fd3c2d51f0 100644
--- a/chrome/browser/ui/app_list/extension_uninstaller.cc
+++ b/chrome/browser/ui/app_list/extension_uninstaller.cc
@@ -32,8 +32,8 @@ void ExtensionUninstaller::Run() {
return;
}
controller_->OnShowChildDialog();
- dialog_.reset(
- extensions::ExtensionUninstallDialog::Create(profile_, NULL, this));
+ dialog_.reset(extensions::ExtensionUninstallDialog::CreateModal(
+ profile_, controller_->GetAppListWindow(), this));
dialog_->ConfirmUninstall(extension);
}

Powered by Google App Engine
This is Rietveld 408576698