Home | History | Annotate | Download | only in extensions

Lines Matching refs:Browser

4 #include "chrome/browser/extensions/file_manager_util.h"
11 #include "chrome/browser/metrics/user_metrics.h"
12 #include "chrome/browser/platform_util.h"
13 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/ui/browser.h"
15 #include "chrome/browser/ui/browser_list.h"
16 #include "chrome/browser/ui/webui/mediaplayer_ui.h"
17 #include "content/browser/browser_thread.h"
26 // browser/resources/file_manager. In the future we may provide a way to swap
124 Browser* browser = BrowserList::GetLastActive();
125 if (!browser)
130 browser->ShowSingletonTab(GURL(url));
136 // For things supported natively by the browser, we should open it
149 Browser* browser = BrowserList::GetLastActive();
150 if (browser)
151 browser->AddSelectedTabWithURL(GURL(path), PageTransition::LINK);
155 Browser* browser = BrowserList::GetLastActive();
156 if (!browser)
160 mediaplayer->EnqueueMediaFile(browser->profile(), full_path, NULL);
162 mediaplayer->ForcePlayMediaFile(browser->profile(), full_path, NULL);