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

Unified Diff: chrome/browser/ui/views/extensions/extension_install_dialog_view_shim.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_shim.cc
diff --git a/chrome/browser/ui/views/extensions/extension_install_dialog_view_shim.cc b/chrome/browser/ui/views/extensions/extension_install_dialog_view_shim.cc
new file mode 100644
index 0000000000000000000000000000000000000000..a72477441832e94b725a585164c87941d89efe04
--- /dev/null
+++ b/chrome/browser/ui/views/extensions/extension_install_dialog_view_shim.cc
@@ -0,0 +1,11 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/extensions/extension_install_prompt.h"
+
+// static
+ExtensionInstallPrompt::ShowDialogCallback
+ExtensionInstallPrompt::GetDefaultShowDialogCallback() {
tapted 2016/05/13 07:42:08 Can this go in chrome/browser/ui/views/browser_dia
tapted 2016/05/13 07:54:57 oops ignore just this part of the comment - "chrom
Elly Fong-Jones 2016/05/13 21:41:51 Done.
+ return ExtensionInstallPrompt::GetViewsShowDialogCallback();
+}

Powered by Google App Engine
This is Rietveld 408576698