| Index: chrome/browser/ui/views/infobars/infobar_container.h
|
| ===================================================================
|
| --- chrome/browser/ui/views/infobars/infobar_container.h (revision 80169)
|
| +++ chrome/browser/ui/views/infobars/infobar_container.h (working copy)
|
| @@ -43,10 +43,10 @@
|
| // |contents|, and show them all. |contents| may be NULL.
|
| void ChangeTabContents(TabContents* contents);
|
|
|
| - // Called when a contained infobar has animated. The container is expected to
|
| - // do anything necessary to respond to the infobar's possible size change,
|
| + // Called when a contained infobar has animated or by some other means changed
|
| + // its size. The container is expected to do anything necessary to respond,
|
| // e.g. re-layout.
|
| - void OnInfoBarAnimated(bool done);
|
| + void OnInfoBarSizeChanged(bool is_animating);
|
|
|
| // Remove the specified InfoBarDelegate from the selected TabContents. This
|
| // will notify us back and cause us to close the InfoBar. This is called from
|
| @@ -58,6 +58,10 @@
|
| // hidden.
|
| void RemoveInfoBar(InfoBar* infobar);
|
|
|
| + // Return the amount by which to overlap the toolbar above, so that the
|
| + // InfoBars inside may draw anti-spoof arrows atop it.
|
| + virtual int GetVerticalOverlap() = 0;
|
| +
|
| protected:
|
| // These must be implemented on each platform to e.g. adjust the visible
|
| // object hierarchy.
|
|
|