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

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

Issue 1924683003: [making a diff] Remove the old task manager view (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: delete disabled tests Created 4 years, 8 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 e72f60e32065e033bb306f41ad2b6b01740b25ab..59e8e5cc8ce08aa7c38ef5fc3f42c41eecbdf979 100644
--- a/chrome/browser/ui/views/extensions/extension_install_dialog_view.cc
+++ b/chrome/browser/ui/views/extensions/extension_install_dialog_view.cc
@@ -771,19 +771,8 @@ void ExpandableContainerView::UpdateArrowToggle(bool expanded) {
arrow_toggle_->SetImage(views::Button::STATE_NORMAL, &icon);
}
-// On Mac, GetViewsShowDialogCallback is defined in Cocoa code.
-#if !defined(OS_MACOSX)
// static
ExtensionInstallPrompt::ShowDialogCallback
ExtensionInstallPrompt::GetDefaultShowDialogCallback() {
return base::Bind(&ShowExtensionInstallDialogImpl);
}
-#endif
-
-#if defined(OS_MACOSX)
-// static
-ExtensionInstallPrompt::ShowDialogCallback
-ExtensionInstallPrompt::GetViewsShowDialogCallback() {
- return base::Bind(&ShowExtensionInstallDialogImpl);
-}
-#endif

Powered by Google App Engine
This is Rietveld 408576698