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

Unified Diff: chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm

Issue 634313004: Display dialog when app install succeeds / fails on Athena (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/cocoa/extensions/extension_installed_bubble_controller.mm
diff --git a/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm b/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm
index 25a15630dba84d6a0e0af77772928d18d6e28d4c..8bdc4b6be1b93c41b97c5ec743db77b1e5a23c04 100644
--- a/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm
@@ -7,6 +7,7 @@
#include "base/i18n/rtl.h"
#include "base/mac/bundle_locations.h"
#include "base/mac/mac_util.h"
+#include "base/memory/scoped_ptr.h"
#include "base/strings/sys_string_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/chrome_notification_types.h"
@@ -694,7 +695,9 @@ class ExtensionLoadedNotificationObserver
}
- (IBAction)onAppShortcutClicked:(id)sender {
- ExtensionInstallUI::OpenAppInstalledUI(browser_->profile(), extension_->id());
+ scoped_ptr<ExtensionInstallUI> install_ui(
+ chrome::CreateExtensionInstallUI(browser_->profile()));
+ install_ui->OpenAppInstalledUI(extension_->id());
}
- (void)awakeFromNib {

Powered by Google App Engine
This is Rietveld 408576698