Lines Matching defs:Tab
259 // called during shutdown and |tab| can be NULL.
260 TabContents* tab = browser->GetSelectedTabContents();
261 if (!tab || tab->infobar_count() > 0)
263 tab->AddInfoBar(new DefaultBrowserInfoBarDelegate(tab));
436 std::vector<BrowserInit::LaunchWithProfile::Tab>* tabs) {
438 BrowserInit::LaunchWithProfile::Tab tab;
439 tab.is_pinned = false;
440 tab.url = urls[i];
441 tabs->push_back(tab);
482 const std::vector<BrowserInit::LaunchWithProfile::Tab>& autolaunch_tabs) {
611 // BrowserInit::LaunchWithProfile::Tab ----------------------------------------
613 BrowserInit::LaunchWithProfile::Tab::Tab() : is_app(false), is_pinned(true) {}
615 BrowserInit::LaunchWithProfile::Tab::~Tab() {}
699 // be an app tab.
718 // current selected tab would be the page which will be printed.
766 // function will open an app that should be in a tab, there is no need
777 // If the user doesn't want to open a tab, fail.
912 std::vector<Tab> tabs = PinnedTabCodec::ReadPinnedTabs(profile_);
941 std::vector<Tab>* tabs) {
952 BrowserInit::LaunchWithProfile::Tab tab;
953 tab.is_pinned = false;
954 tab.url = urls[i];
955 tabs->push_back(tab);
964 std::vector<Tab> tabs;
972 const std::vector<Tab>& tabs) {
985 // focus, which is what the user wants when opening a new tab in an existing
1043 TabContents* tab) {
1051 tab->AddInfoBar(new SessionCrashedInfoBarDelegate(tab));
1056 TabContents* tab) {
1079 tab->AddInfoBar(new SimpleAlertInfoBarDelegate(tab, NULL,
1137 AddDNSCertProvenanceCheckingWarningInfoBarIfNecessary(TabContents* tab) {
1145 tab->AddInfoBar(new LearnMoreInfoBar(tab,
1151 TabContents* tab) {
1168 tab->AddInfoBar(new LearnMoreInfoBar(tab,
1202 // Otherwise open at least the new tab page (and the welcome page, if this
1205 startup_urls->push_back(GURL()); // New tab page.
1315 // new tab; if there are none then we get one homepage tab.
1349 // new tab; if there are none then we have no tabs
1419 // If we don't want to launch a new browser window or tab (in the case