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

Unified Diff: chrome/browser/ui/views/extensions/extension_install_dialog_view.cc

Issue 1977593002: MacViews: add extension install dialog to MacViewsWebUIDialogs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/views/extensions/extension_install_dialog_view.cc
diff --git a/chrome/browser/ui/views/extensions/extension_install_dialog_view.cc b/chrome/browser/ui/views/extensions/extension_install_dialog_view.cc
index 59e8e5cc8ce08aa7c38ef5fc3f42c41eecbdf979..527ec7d94aac39f4abab4e6a8d927849e8eeb678 100644
--- a/chrome/browser/ui/views/extensions/extension_install_dialog_view.cc
+++ b/chrome/browser/ui/views/extensions/extension_install_dialog_view.cc
@@ -771,8 +771,10 @@ void ExpandableContainerView::UpdateArrowToggle(bool expanded) {
arrow_toggle_->SetImage(views::Button::STATE_NORMAL, &icon);
}
+#if defined(OS_MACOSX)
// static
ExtensionInstallPrompt::ShowDialogCallback
-ExtensionInstallPrompt::GetDefaultShowDialogCallback() {
+ExtensionInstallPrompt::GetViewsShowDialogCallback() {
return base::Bind(&ShowExtensionInstallDialogImpl);
}
+#endif

Powered by Google App Engine
This is Rietveld 408576698