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

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 & todos for unfixed issues 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..10006d1fd51410c809f09f1f63ab76622928922c 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::Create(
+ profile_, controller_->GetAppListWindow(), this));
dialog_->ConfirmUninstall(extension);
}

Powered by Google App Engine
This is Rietveld 408576698