Home | History | Annotate | Download | only in infobars

Lines Matching refs:InfoBar

20 // InfoBar is a cross-platform base class for an infobar "view" (in the MVC
24 // create a platform-specific subclass of InfoBar to own it, and then call
25 // InfoBarService::AddInfoBar() to give it ownership of the infobar.
26 // During its life, the InfoBar may be shown and hidden as the owning tab is
28 // will instruct the InfoBar to close itself. At this point, the InfoBar will
32 // Thus, InfoBarDelegate and InfoBar implementations can assume they share
35 class InfoBar : public gfx::AnimationDelegate {
37 // These are the types passed as Details for infobar-related notifications.
38 typedef InfoBar AddedDetails;
39 typedef std::pair<InfoBar*, bool> RemovedDetails;
40 typedef std::pair<InfoBar*, InfoBar*> ReplacedDetails;
52 explicit InfoBar(scoped_ptr<InfoBarDelegate> delegate);
53 virtual ~InfoBar();
64 // This must only be called once as there's no way to extract an infobar from
68 // Makes the infobar visible. If |animate| is true, the infobar is then
72 // Makes the infobar hidden. If |animate| is false, the infobar is
74 // |animate| is true, the infobar is animated to zero size, ultimately
78 // Changes the target height of the arrow portion of the infobar. This has no
79 // effect once the infobar is animating closed.
82 // Notifies the infobar that it is no longer owned and should delete itself
90 // Changes the target height of the main ("bar") portion of the infobar.
127 // Checks whether the infobar is unowned and done with all animations. If so,
128 // notifies the container that it should remove this infobar, and deletes
146 DISALLOW_COPY_AND_ASSIGN(InfoBar);