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

Unified Diff: chrome/browser/ui/intents/web_intent_picker.h

Issue 11035017: Mac Web Intents Part 15: Inline extension install prompt (model) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix merge Created 8 years, 2 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/intents/web_intent_picker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/intents/web_intent_picker.h
diff --git a/chrome/browser/ui/intents/web_intent_picker.h b/chrome/browser/ui/intents/web_intent_picker.h
index 4279f9424fff6289a709264a9f9dd93fa162a059..3320b9b3499fb127f4c04b156942fb470786b097 100644
--- a/chrome/browser/ui/intents/web_intent_picker.h
+++ b/chrome/browser/ui/intents/web_intent_picker.h
@@ -10,6 +10,7 @@
#include <vector>
#include "base/string16.h"
+#include "chrome/browser/extensions/extension_install_prompt.h"
#include "ui/gfx/size.h"
class WebIntentPickerDelegate;
@@ -83,6 +84,15 @@ class WebIntentPicker {
// Called when an extension installation started via the picker has failed.
virtual void OnExtensionInstallFailure(const std::string& id) = 0;
+ // Shows the default extension install dialog. Override this to show a custom
+ // dialog. We *MUST* eventually call either Proceed() or Abort() on
+ // |delegate|.
+ virtual void OnShowExtensionInstallDialog(
+ gfx::NativeWindow parent,
+ content::PageNavigator* navigator,
+ ExtensionInstallPrompt::Delegate* delegate,
+ const ExtensionInstallPrompt::Prompt& prompt);
+
// Called when the inline disposition experiences an auto-resize.
virtual void OnInlineDispositionAutoResize(const gfx::Size& size) = 0;
« no previous file with comments | « no previous file | chrome/browser/ui/intents/web_intent_picker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698