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

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

Issue 276833002: Make the App Info Dialog appear modal (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unnecessary mac fixes Created 6 years, 7 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_app_item.cc
diff --git a/chrome/browser/ui/app_list/extension_app_item.cc b/chrome/browser/ui/app_list/extension_app_item.cc
index daf3b83caa3075db3d8be6ddf7c9ac211b9070ad..0b80572893d1e05cddb7e3176403fe7d83593a42 100644
--- a/chrome/browser/ui/app_list/extension_app_item.cc
+++ b/chrome/browser/ui/app_list/extension_app_item.cc
@@ -256,7 +256,7 @@ bool ExtensionAppItem::RunExtensionEnableFlow() {
if (!extension_enable_flow_) {
extension_enable_flow_controller_ = GetController();
- extension_enable_flow_controller_->OnShowExtensionPrompt();
+ extension_enable_flow_controller_->OnShowChildDialog();
extension_enable_flow_.reset(new ExtensionEnableFlow(
profile_, extension_id_, this));
@@ -289,7 +289,7 @@ void ExtensionAppItem::OnExtensionIconImageChanged(
void ExtensionAppItem::ExtensionEnableFlowFinished() {
extension_enable_flow_.reset();
- extension_enable_flow_controller_->OnCloseExtensionPrompt();
+ extension_enable_flow_controller_->OnCloseChildDialog();
extension_enable_flow_controller_ = NULL;
// Automatically launch app after enabling.
@@ -298,7 +298,7 @@ void ExtensionAppItem::ExtensionEnableFlowFinished() {
void ExtensionAppItem::ExtensionEnableFlowAborted(bool user_initiated) {
extension_enable_flow_.reset();
- extension_enable_flow_controller_->OnCloseExtensionPrompt();
+ extension_enable_flow_controller_->OnCloseChildDialog();
extension_enable_flow_controller_ = NULL;
}
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_views_browsertest.cc ('k') | chrome/browser/ui/app_list/extension_uninstaller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698