Chromium Code Reviews| 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 4f240982092d8dddd86b84883acead5aff87d2e6..162a120ab042db385d8b829551841541cd320f42 100644 |
| --- a/chrome/browser/tab_contents/tab_contents_delegate.h |
| +++ b/chrome/browser/tab_contents/tab_contents_delegate.h |
| @@ -154,6 +154,9 @@ class TabContentsDelegate : public AutomationResourceRoutingDelegate { |
| virtual void ShowHtmlDialog(HtmlDialogUIDelegate* delegate, |
| gfx::NativeWindow parent_window); |
| + // Invoked prior to showing before unload handler confirmation dialog. |
|
Charlie Reis
2010/12/08 01:26:12
What about unload handlers? Or is that a TODO?
sky
2010/12/08 03:04:22
No, this is only invoked for 'before unload' handl
|
| + virtual void WillRunBeforeUnloadConfirm(); |
| + |
| // Returns true if javascript dialogs and unload alerts are suppressed. |
| // Default is false. |
| virtual bool ShouldSuppressDialogs(); |