Index: chrome/browser/ui/unload_controller.h |
diff --git a/chrome/browser/ui/unload_controller.h b/chrome/browser/ui/unload_controller.h |
index a96ec5d5c2ecc80c5d48a941803b8ca827c83538..33651c0886333afd95255a72fb6a6c1b8f9d5ef3 100644 |
--- a/chrome/browser/ui/unload_controller.h |
+++ b/chrome/browser/ui/unload_controller.h |
@@ -78,6 +78,10 @@ class UnloadController : public content::NotificationObserver, |
// could be pursued. |
bool TabsNeedBeforeUnloadFired(); |
+ // Clears all the state associated with processing tabs' beforeunload/unload |
+ // events since the user cancelled closing the window. |
+ void CancelWindowClose(); |
+ |
private: |
typedef std::set<content::WebContents*> UnloadListenerSet; |
@@ -107,10 +111,6 @@ class UnloadController : public content::NotificationObserver, |
// Whether we've completed firing all the tabs' beforeunload/unload events. |
bool HasCompletedUnloadProcessing() const; |
- // Clears all the state associated with processing tabs' beforeunload/unload |
- // events since the user cancelled closing the window. |
- void CancelWindowClose(); |
- |
// Removes |web_contents| from the passed |set|. |
// Returns whether the tab was in the set in the first place. |
bool RemoveFromSet(UnloadListenerSet* set, |