| Index: chrome/browser/ui/tab_modal_confirm_dialog.h
|
| diff --git a/chrome/browser/ui/tab_modal_confirm_dialog.h b/chrome/browser/ui/tab_modal_confirm_dialog.h
|
| index e9d5fed7d56d27a929751ee8cdde7a9f4411c09b..6bd54acc963669644d64093474f34b5cb834a1eb 100644
|
| --- a/chrome/browser/ui/tab_modal_confirm_dialog.h
|
| +++ b/chrome/browser/ui/tab_modal_confirm_dialog.h
|
| @@ -5,14 +5,14 @@
|
| #ifndef CHROME_BROWSER_UI_TAB_MODAL_CONFIRM_DIALOG_H_
|
| #define CHROME_BROWSER_UI_TAB_MODAL_CONFIRM_DIALOG_H_
|
|
|
| -class TabModalConfirmDialogDelegate;
|
| +#include "chrome/browser/ui/tab_modal_confirm_dialog_delegate.h"
|
|
|
| namespace content {
|
| class WebContents;
|
| }
|
|
|
| // Base class for the tab modal confirm dialog.
|
| -class TabModalConfirmDialog {
|
| +class TabModalConfirmDialog : public TabModalConfirmDialogCloseDelegate {
|
| public:
|
| // Platform specific factory function. This function will automatically show
|
| // the dialog.
|
| @@ -24,6 +24,10 @@ class TabModalConfirmDialog {
|
| // Cancels the dialog.
|
| virtual void CancelTabModalDialog() = 0;
|
|
|
| + // TabModalConfirmDialogCloseDelegate:
|
| + // Closes the dialog.
|
| + virtual void CloseDialog() = 0;
|
| +
|
| protected:
|
| virtual ~TabModalConfirmDialog() {}
|
| };
|
|
|