Home | History | Annotate | Download | only in ui

Lines Matching defs:BrowserList

30     BrowserList::observers_ = LAZY_INSTANCE_INITIALIZER;
33 BrowserList* BrowserList::native_instance_ = NULL;
34 BrowserList* BrowserList::ash_instance_ = NULL;
37 // BrowserList, public:
39 Browser* BrowserList::GetLastActive() const {
46 BrowserList* BrowserList::GetInstance(chrome::HostDesktopType type) {
47 BrowserList** list = NULL;
55 *list = new BrowserList;
60 void BrowserList::AddBrowser(Browser* browser) {
63 BrowserList* browser_list = GetInstance(browser->host_desktop_type());
78 void BrowserList::RemoveBrowser(Browser* browser) {
80 BrowserList* browser_list = GetInstance(browser->host_desktop_type());
111 void BrowserList::AddObserver(chrome::BrowserListObserver* observer) {
116 void BrowserList::RemoveObserver(chrome::BrowserListObserver* observer) {
121 void BrowserList::CloseAllBrowsersWithProfile(Profile* profile) {
135 void BrowserList::CloseAllBrowsersWithProfile(Profile* profile,
149 void BrowserList::TryToCloseBrowserList(const BrowserVector& browsers_to_close,
155 base::Bind(&BrowserList::PostBeforeUnloadHandlers,
174 void BrowserList::PostBeforeUnloadHandlers(
196 void BrowserList::SetLastActive(Browser* browser) {
198 BrowserList* browser_list = GetInstance(browser->host_desktop_type());
208 bool BrowserList::IsOffTheRecordSessionActive() {
217 bool BrowserList::IsOffTheRecordSessionActiveForProfile(Profile* profile) {
230 // BrowserList, private:
232 BrowserList::BrowserList() {
235 BrowserList::~BrowserList() {
239 void BrowserList::RemoveBrowserFrom(Browser* browser,