Home | History | Annotate | Download | only in session_restore

Lines Matching refs:tabs

26 #include "chrome/browser/ui/tabs/tab_strip_model.h"
46 namespace tabs = api::tabs;
50 scoped_ptr<tabs::Tab> SessionRestoreGetRecentlyClosedFunction::CreateTabModel(
52 scoped_ptr<tabs::Tab> tab_struct(new tabs::Tab);
79 DCHECK(!window.tabs.empty());
81 scoped_ptr<std::vector<linked_ptr<tabs::Tab> > > tabs(
82 new std::vector<linked_ptr<tabs::Tab> >);
83 for (size_t i = 0; i < window.tabs.size(); ++i) {
84 tabs->push_back(make_linked_ptr(CreateTabModel(window.tabs[i],
87 window_struct->tabs.reset(tabs.release());
142 // Include both tabs and windows if type is not defined.
202 std::vector<TabRestoreService::Tab>& tabs =
203 static_cast<TabRestoreService::Window*>(*it)->tabs;
204 for (std::vector<TabRestoreService::Tab>::iterator tab_it = tabs.begin();
205 tab_it != tabs.end(); ++tab_it) {