Lines Matching refs:SidebarContainer
20 class SidebarContainer;
27 // This class is a singleton that manages SidebarContainer instances and
32 private SidebarContainer::Delegate {
42 // Returns SidebarContainer registered for |tab| and active or NULL if
43 // there is no alive and active SidebarContainer registered for |tab|.
44 SidebarContainer* GetActiveSidebarContainerFor(TabContents* tab);
46 // Returns SidebarContainer registered for |tab| and |content_id| or NULL if
47 // there is no such SidebarContainer registered.
48 SidebarContainer* GetSidebarContainerFor(TabContents* tab,
106 // Overridden from SidebarContainer::Delegate.
107 virtual void UpdateSidebar(SidebarContainer* host);
112 // Returns SidebarContainer corresponding to |sidebar_contents|.
113 SidebarContainer* FindSidebarContainerFor(TabContents* sidebar_contents);
115 // Registers new SidebarContainer for |tab|. There must be no
118 SidebarContainer* container);
120 // Unregisters SidebarContainer identified by |tab| and |content_id|.
125 void BindSidebarHost(TabContents* tab, SidebarContainer* sidebar_host);
128 void UnbindSidebarHost(TabContents* tab, SidebarContainer* sidebar_host);
134 typedef std::map<std::string, SidebarContainer*> ContentIdToSidebarHostMap;
145 typedef std::map<SidebarContainer*, TabContents*> SidebarHostToTabMap;