Home | History | Annotate | Download | only in browser

Lines Matching refs:browser

12 #include "chrome/browser/background_application_list_model.h"
13 #include "chrome/browser/background_mode_manager.h"
14 #include "chrome/browser/extensions/extension_service.h"
15 #include "chrome/browser/metrics/user_metrics.h"
16 #include "chrome/browser/profiles/profile.h"
17 #include "chrome/browser/status_icons/status_icon.h"
18 #include "chrome/browser/status_icons/status_tray.h"
19 #include "chrome/browser/ui/browser_list.h"
56 // Keep the browser alive until extensions are done loading - this is needed
108 // Extensions are loaded, so we don't need to manually keep the browser
327 Browser* browser = BrowserList::GetLastActive();
328 if (!browser) {
329 Browser::OpenEmptyWindow(profile_);
330 browser = BrowserList::GetLastActive();
333 browser->OpenApplicationTab(profile_, extension, NULL);
357 Browser* BackgroundModeManager::GetBrowserWindow() {
358 Browser* browser = BrowserList::GetLastActive();
359 if (!browser) {
360 Browser::OpenEmptyWindow(profile_);
361 browser = BrowserList::GetLastActive();
363 return browser;