Index: chrome/browser/ui/browser.h |
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h |
index 7f851351abc0f36fe118305b0567dc71a551a7f1..3af23d246fffa2ef622110cb6d167b3cd1785ab7 100644 |
--- a/chrome/browser/ui/browser.h |
+++ b/chrome/browser/ui/browser.h |
@@ -394,6 +394,9 @@ class Browser : public TabStripModelObserver, |
///////////////////////////////////////////////////////////////////////////// |
+ // Returns true if we need to run unload events for the |contents|. |
+ static bool ShouldRunUnloadEventsHelper(content::WebContents* contents); |
sky
2013/11/14 18:50:04
Why does this needs to be in browser (browser is h
lushnikov
2013/11/14 22:29:48
This is a complimentary method to |RunUnloadEvents
|
+ |
// Helper function to run unload listeners on a WebContents. |
static bool RunUnloadEventsHelper(content::WebContents* contents); |