Chromium Code Reviews| 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
|