| 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 e748229027ce9dc9d5ba1cc4e2bd4ca84fbfe42e..4f240982092d8dddd86b84883acead5aff87d2e6 100644
|
| --- a/chrome/browser/tab_contents/tab_contents_delegate.h
|
| +++ b/chrome/browser/tab_contents/tab_contents_delegate.h
|
| @@ -154,6 +154,10 @@ class TabContentsDelegate : public AutomationResourceRoutingDelegate {
|
| virtual void ShowHtmlDialog(HtmlDialogUIDelegate* delegate,
|
| gfx::NativeWindow parent_window);
|
|
|
| + // Returns true if javascript dialogs and unload alerts are suppressed.
|
| + // Default is false.
|
| + virtual bool ShouldSuppressDialogs();
|
| +
|
| // Tells us that we've finished firing this tab's beforeunload event.
|
| // The proceed bool tells us whether the user chose to proceed closing the
|
| // tab. Returns true if the tab can continue on firing it's unload event.
|
|
|