Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5453)

Unified Diff: chrome/browser/infobars/infobar_delegate.h

Issue 8533013: SessionRestore: Store session cookies and restore them if chrome crashes or auto-restarts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/infobars/infobar_delegate.h
diff --git a/chrome/browser/infobars/infobar_delegate.h b/chrome/browser/infobars/infobar_delegate.h
index 22f8152e5f1c778119920fa87f5c476d32b5bcba..64e896b9cf7c9f4df810d0af3469166c479cc9fe 100644
--- a/chrome/browser/infobars/infobar_delegate.h
+++ b/chrome/browser/infobars/infobar_delegate.h
@@ -70,6 +70,9 @@ class InfoBarDelegate {
// Called when the user clicks on the close button to dismiss the infobar.
virtual void InfoBarDismissed();
+ // Called when the infobar is about to close.
+ virtual void InfoBarClosing();
+
// Called after the InfoBar is closed. Deletes |this|.
// TODO(pkasting): Get rid of this and delete delegates directly.
void InfoBarClosed();
jochen (gone - plz use gerrit) 2011/11/25 14:45:14 why no make this a virtual method instead of addin
marja 2011/11/28 15:22:01 Then the subclass funcs would need to remember to
« no previous file with comments | « no previous file | chrome/browser/infobars/infobar_delegate.cc » ('j') | chrome/browser/net/sqlite_persistent_cookie_store.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698