| 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;
|
|
|
|
|