| Index: chrome/browser/infobars/infobar_manager.h
|
| diff --git a/chrome/browser/infobars/infobar_manager.h b/chrome/browser/infobars/infobar_manager.h
|
| index 756601080db3c71e34c7f16a61a8cdfaa3dea8c2..724b6b62e5448a7837d1a081d0e4ad7341d0eea4 100644
|
| --- a/chrome/browser/infobars/infobar_manager.h
|
| +++ b/chrome/browser/infobars/infobar_manager.h
|
| @@ -42,7 +42,7 @@ class InfoBarManager {
|
| // immediately without being added.
|
| //
|
| // Returns the infobar if it was successfully added.
|
| - virtual InfoBar* AddInfoBar(scoped_ptr<InfoBar> infobar);
|
| + InfoBar* AddInfoBar(scoped_ptr<InfoBar> infobar);
|
|
|
| // Removes the specified |infobar|. This in turn may close immediately or
|
| // animate closed; at the end the infobar will delete itself.
|
| @@ -90,6 +90,14 @@ class InfoBarManager {
|
| void AddObserver(Observer* obs);
|
| void RemoveObserver(Observer* obs);
|
|
|
| + protected:
|
| + // Notifies the observer in |observer_list_|.
|
| + virtual void NotifyInfoBarAdded(InfoBar* infobar);
|
| + virtual void NotifyInfoBarRemoved(InfoBar* infobar, bool animate);
|
| + virtual void NotifyInfoBarReplaced(InfoBar* old_infobar,
|
| + InfoBar* new_infobar);
|
| + void NotifyManagerShuttingDown();
|
| +
|
| private:
|
| // InfoBars associated with this InfoBarManager. We own these pointers.
|
| // However, this is not a ScopedVector, because we don't delete the infobars
|
|
|