Lines Matching refs:browser
5 #include "chrome/browser/printing/print_dialog_cloud.h"
6 #include "chrome/browser/printing/print_dialog_cloud_internal.h"
13 #include "chrome/browser/debugger/devtools_manager.h"
14 #include "chrome/browser/prefs/pref_service.h"
15 #include "chrome/browser/printing/cloud_print/cloud_print_url.h"
16 #include "chrome/browser/profiles/profile.h"
17 #include "chrome/browser/profiles/profile_manager.h"
18 #include "chrome/browser/ui/browser_dialogs.h"
19 #include "chrome/browser/ui/browser_list.h"
24 #include "content/browser/browser_thread.h"
25 #include "content/browser/renderer_host/render_view_host.h"
26 #include "content/browser/tab_contents/tab_contents.h"
27 #include "content/browser/tab_contents/tab_contents_view.h"
28 #include "content/browser/webui/web_ui.h"
54 // CloudPrintHtmlDialogDelegate and asks the current active browser to
442 // If we're not modal we can show the dialog with no browser.
492 // If we're modal we can show the dialog with no browser.
520 Browser* browser = BrowserList::GetLastActive();
527 DCHECK(browser);
528 if (job_title.empty() && browser->GetSelectedTabContents())
529 job_title = browser->GetSelectedTabContents()->GetTitle();
530 profile = browser->GetProfile();
554 DCHECK(browser);
555 browser->BrowserShowHtmlDialog(dialog_delegate, NULL);
557 browser::ShowHtmlDialog(NULL, profile, dialog_delegate);