Home | History | Annotate | Download | only in ui

Lines Matching refs:tabs

46 #include "chrome/browser/tabs/pinned_tab_codec.h"
47 #include "chrome/browser/tabs/tab_strip_model.h"
436 std::vector<BrowserInit::LaunchWithProfile::Tab>* tabs) {
441 tabs->push_back(tab);
686 // Open the required browser windows and tabs. First, see if
688 // opened an app shortcut. Don't restore tabs or open initial
912 std::vector<Tab> tabs = PinnedTabCodec::ReadPinnedTabs(profile_);
914 RecordAppLaunches(profile_, urls_to_open, tabs);
918 UrlsToTabs(urls_to_open, &tabs);
923 AddUniqueURLs(pref.urls, &tabs);
924 } else if (pref.type == SessionStartupPref::DEFAULT && !tabs.empty()) {
925 // Make sure the home page is opened even if there are pinned tabs.
928 UrlsToTabs(urls, &tabs);
931 if (tabs.empty())
934 Browser* browser = OpenTabsInBrowser(NULL, true, tabs);
941 std::vector<Tab>* tabs) {
942 size_t num_existing_tabs = tabs->size();
946 if (urls[i] == (*tabs)[j].url) {
955 tabs->push_back(tab);
964 std::vector<Tab> tabs;
965 UrlsToTabs(urls, &tabs);
966 return OpenTabsInBrowser(browser, process_startup, tabs);
972 const std::vector<Tab>& tabs) {
973 DCHECK(!tabs.empty());
998 for (size_t i = 0; i < tabs.size(); ++i) {
1003 if (!process_startup && !net::URLRequest::IsHandledURL(tabs[i].url))
1009 if (tabs[i].is_pinned)
1013 browser::NavigateParams params(browser, tabs[i].url,
1018 params.extension_app_id = tabs[i].app_id;
1321 // screen instead of a browser window, so it won't load any tabs.
1349 // new tab; if there are none then we have no tabs