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

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: Review feedback 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 dd4b23f3f87d0f59a7bf44ceec98d328b682900c..042f8b0b19d8ba1229cf36a32285826d37e99451 100644
--- a/chrome/browser/ui/app_list/extension_uninstaller.cc
+++ b/chrome/browser/ui/app_list/extension_uninstaller.cc
@@ -31,8 +31,8 @@ void ExtensionUninstaller::Run() {
return;
}
controller_->OnShowChildDialog();
- dialog_.reset(
- extensions::ExtensionUninstallDialog::Create(profile_, NULL, this));
+ dialog_.reset(extensions::ExtensionUninstallDialog::CreateForAppList(
+ profile_, controller_->GetAppListWindow(), this));
dialog_->ConfirmUninstall(extension);
}

Powered by Google App Engine
This is Rietveld 408576698