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

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: Remove BUILD.gn changes 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm » ('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..41a58c5655430471f8c17673248295a485e61f9c 100644
--- a/chrome/browser/extensions/extension_install_prompt.h
+++ b/chrome/browser/extensions/extension_install_prompt.h
@@ -260,6 +260,10 @@ 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.
+ static ShowDialogCallback GetViewsShowDialogCallback();
+
// 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/cocoa/extensions/extension_install_dialog_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698