Home | History | Annotate | Download | only in core

Lines Matching defs:InfoBar

22 // InfoBar is a cross-platform base class for an infobar "view" (in the MVC
26 // create a platform-specific subclass of InfoBar to own it, and then call
27 // InfoBarManager::AddInfoBar() to give it ownership of the infobar.
28 // During its life, the InfoBar may be shown and hidden as the owning tab is
30 // will instruct the InfoBar to close itself. At this point, the InfoBar will
34 // Thus, InfoBarDelegate and InfoBar implementations can assume they share
37 class InfoBar : public gfx::AnimationDelegate {
39 // These are the types passed as Details for infobar-related notifications.
40 typedef InfoBar AddedDetails;
41 typedef std::pair<InfoBar*, bool> RemovedDetails;
53 explicit InfoBar(scoped_ptr<InfoBarDelegate> delegate);
54 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);