diff options
Diffstat (limited to 'chrome/browser/extensions/extensions_ui.h')
-rw-r--r-- | chrome/browser/extensions/extensions_ui.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extensions_ui.h b/chrome/browser/extensions/extensions_ui.h index 352e42c..d2fe206 100644 --- a/chrome/browser/extensions/extensions_ui.h +++ b/chrome/browser/extensions/extensions_ui.h @@ -10,6 +10,7 @@ #include "chrome/browser/dom_ui/chrome_url_data_manager.h" #include "chrome/browser/dom_ui/dom_ui.h" +#include "chrome/browser/extensions/extension_install_ui.h" #include "chrome/browser/extensions/pack_extension_job.h" #include "chrome/browser/shell_dialogs.h" #include "chrome/common/extensions/extension_resource.h" @@ -58,7 +59,8 @@ class ExtensionsDOMHandler : public DOMMessageHandler, public NotificationObserver, public PackExtensionJob::Client, - public SelectFileDialog::Listener { + public SelectFileDialog::Listener, + public ExtensionInstallUI::Delegate { public: // Helper class that loads the icons for the extensions in the management UI. @@ -118,6 +120,11 @@ class ExtensionsDOMHandler virtual void OnPackFailure(const std::wstring& message); + // ExtensionInstallUI::Delegate implementation, used for receiving + // notification about uninstall confirmation dialog selections. + virtual void InstallUIProceed(); + virtual void InstallUIAbort(); + private: // Callback for "requestExtensionsData" message. void HandleRequestExtensionsData(const Value* value); @@ -203,6 +210,9 @@ class ExtensionsDOMHandler // necessary. NotificationRegistrar registrar_; + // The id of the extension we are about to un-install. + std::string extension_id_uninstalling_; + DISALLOW_COPY_AND_ASSIGN(ExtensionsDOMHandler); }; |