Index: chrome/browser/ui/fast_unload_controller.h |
diff --git a/chrome/browser/ui/fast_unload_controller.h b/chrome/browser/ui/fast_unload_controller.h |
index dbcee928ab2d8f89cdccee92b86fbf0066a9047f..473ae383338143f1b2c86a0c27cdd48cc91b6b8d 100644 |
--- a/chrome/browser/ui/fast_unload_controller.h |
+++ b/chrome/browser/ui/fast_unload_controller.h |
@@ -109,6 +109,10 @@ class FastUnloadController : public content::NotificationObserver, |
// Returns true if all tabs' beforeunload/unload events have fired. |
bool HasCompletedUnloadProcessing() const; |
+ // Clears all the state associated with processing tabs' beforeunload/unload |
+ // events since the user cancelled closing the window. |
+ void CancelWindowClose(); |
+ |
private: |
// Overridden from content::NotificationObserver: |
virtual void Observe(int type, |
@@ -138,10 +142,6 @@ class FastUnloadController : public content::NotificationObserver, |
// Processes the next tab that needs it's beforeunload/unload event fired. |
void ProcessPendingTabs(); |
- // Clears all the state associated with processing tabs' beforeunload/unload |
- // events since the user cancelled closing the window. |
- void CancelWindowClose(); |
- |
// Cleans up state appropriately when we are trying to close the |
// browser or close a tab in the background. We also use this in the |
// cases where a tab crashes or hangs even if the |