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

Unified Diff: chrome/browser/extensions/extension_install_prompt.h

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/extensions/extension_install_prompt.h
diff --git a/chrome/browser/extensions/extension_install_prompt.h b/chrome/browser/extensions/extension_install_prompt.h
index 13ee5bf851578b2fcb961c50c217e3a1eea6cc16..f71eb801d67c260d461b42650930b234eb3bc624 100644
--- a/chrome/browser/extensions/extension_install_prompt.h
+++ b/chrome/browser/extensions/extension_install_prompt.h
@@ -260,6 +260,13 @@ class ExtensionInstallPrompt {
// The implementations of this function are platform-specific.
static ShowDialogCallback GetDefaultShowDialogCallback();
+ // Callback to show the Views extension install dialog. Don't use this; it is
+ // a temporary hack for MacViews.
+ // TODO(ellyjones): Remove this.
+#if defined(OS_MACOSX)
+ static ShowDialogCallback GetViewsShowDialogCallback();
tapted 2016/05/13 07:42:08 I think it would be nicer to expose this on all pl
Elly Fong-Jones 2016/05/13 21:41:51 Done.
+#endif
+
// Returns the appropriate prompt type for the given |extension|.
// TODO(devlin): This method is yucky - callers probably only care about one
// prompt type. We just need to comb through and figure out what it is.
« no previous file with comments | « no previous file | chrome/browser/ui/BUILD.gn » ('j') | chrome/browser/ui/views/extensions/extension_install_dialog_view_shim.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698