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

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

Issue 1918793004: MacViews: add extension install dialog to MacViewsWebUIDialogs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gn build 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
« no previous file with comments | « no previous file | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
+#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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698