| Index: chrome/browser/ui/unload_controller.h
|
| diff --git a/chrome/browser/ui/unload_controller.h b/chrome/browser/ui/unload_controller.h
|
| index 416a12dced4b2e2c37e2e1d5900a56d5c2ce09fb..a96ec5d5c2ecc80c5d48a941803b8ca827c83538 100644
|
| --- a/chrome/browser/ui/unload_controller.h
|
| +++ b/chrome/browser/ui/unload_controller.h
|
| @@ -36,6 +36,9 @@ class UnloadController : public content::NotificationObserver,
|
| // renderer.
|
| bool CanCloseContents(content::WebContents* contents);
|
|
|
| + // Returns true if we need to run unload events for the |contents|.
|
| + static bool ShouldRunUnloadEventsHelper(content::WebContents* contents);
|
| +
|
| // Helper function to run beforeunload listeners on a WebContents.
|
| // Returns true if |contents| beforeunload listeners were invoked.
|
| static bool RunUnloadEventsHelper(content::WebContents* contents);
|
|
|