| Index: chrome/browser/tab_contents/tab_contents_delegate.h
|
| diff --git a/chrome/browser/tab_contents/tab_contents_delegate.h b/chrome/browser/tab_contents/tab_contents_delegate.h
|
| index b3cbf72785f111dcafc0c7efec372d230afa3856..6a597414b0fa680e6a2c8df2bfd4204d62d8e0f8 100644
|
| --- a/chrome/browser/tab_contents/tab_contents_delegate.h
|
| +++ b/chrome/browser/tab_contents/tab_contents_delegate.h
|
| @@ -158,6 +158,9 @@ class TabContentsDelegate : public AutomationResourceRoutingDelegate {
|
| virtual void ShowHtmlDialog(HtmlDialogUIDelegate* delegate,
|
| gfx::NativeWindow parent_window);
|
|
|
| + // Invoked prior to showing before unload handler confirmation dialog.
|
| + virtual void WillRunBeforeUnloadConfirm();
|
| +
|
| // Returns true if javascript dialogs and unload alerts are suppressed.
|
| // Default is false.
|
| virtual bool ShouldSuppressDialogs();
|
|
|