Home | History | Annotate | Download | only in sessions

Lines Matching defs:TabRestoreService

34 TabRestoreService::TimeFactory::~TimeFactory() {}
41 TabRestoreService::Entry::Entry()
46 TabRestoreService::Entry::Entry(Type type)
51 TabRestoreService::Entry::~Entry() {}
53 // TabRestoreService ----------------------------------------------------------
56 const size_t TabRestoreService::kMaxEntries = 10;
118 typedef std::map<SessionID::id_type, TabRestoreService::Entry*> IDToEntry;
125 std::vector<TabRestoreService::Entry*>* entries) {
140 if (i->second->type == TabRestoreService::WINDOW) {
141 TabRestoreService::Window* window =
142 static_cast<TabRestoreService::Window*>(i->second);
143 std::vector<TabRestoreService::Tab>::iterator j = window->tabs.begin();
155 void RecordAppLaunch(Profile* profile, const TabRestoreService::Tab& tab) {
168 TabRestoreService::Tab::Tab()
176 TabRestoreService::Tab::~Tab() {
179 TabRestoreService::Window::Window() : Entry(WINDOW), selected_tab_index(-1) {
182 TabRestoreService::Window::~Window() {
185 TabRestoreService::TabRestoreService(Profile* profile,
186 TabRestoreService::TimeFactory* time_factory)
197 TabRestoreService::~TabRestoreService() {
208 void TabRestoreService::AddObserver(TabRestoreServiceObserver* observer) {
212 void TabRestoreService::RemoveObserver(TabRestoreServiceObserver* observer) {
216 void TabRestoreService::CreateHistoricalTab(NavigationController* tab,
234 void TabRestoreService::BrowserClosing(TabRestoreServiceDelegate* delegate) {
271 void TabRestoreService::BrowserClosed(TabRestoreServiceDelegate* delegate) {
275 void TabRestoreService::ClearEntries() {
293 const TabRestoreService::Entries& TabRestoreService::entries() const {
297 void TabRestoreService::RestoreMostRecentEntry(
305 void TabRestoreService::RestoreEntryById(TabRestoreServiceDelegate* delegate,
417 void TabRestoreService::LoadTabsFromLastSession() {
430 NewCallback(this, &TabRestoreService::OnGotPreviousSession));
440 NewCallback(this, &TabRestoreService::OnGotLastSessionCommands)),
444 void TabRestoreService::Save() {
477 void TabRestoreService::PopulateTab(Tab* tab,
517 void TabRestoreService::NotifyTabsChanged() {
522 void TabRestoreService::AddEntry(Entry* entry, bool notify, bool to_front) {
534 void TabRestoreService::PruneAndNotify() {
544 TabRestoreService::Entries::iterator TabRestoreService::GetEntryIteratorById(
565 void TabRestoreService::ScheduleCommandsForWindow(const Window& window) {
593 void TabRestoreService::ScheduleCommandsForTab(const Tab& tab,
645 SessionCommand* TabRestoreService::CreateWindowCommand(SessionID::id_type id,
664 SessionCommand* TabRestoreService::CreateSelectedNavigationInTabCommand(
678 SessionCommand* TabRestoreService::CreateRestoredEntryCommand(
687 int TabRestoreService::GetSelectedNavigationIndexToPersist(const Tab& tab) {
712 void TabRestoreService::OnGotLastSessionCommands(
724 void TabRestoreService::CreateEntriesFromCommands(
888 TabRestoreServiceDelegate* TabRestoreService::RestoreTab(
931 bool TabRestoreService::ValidateTab(Tab* tab) {
941 void TabRestoreService::ValidateAndDeleteEmptyEntries(
985 void TabRestoreService::UpdateTabBrowserIDs(SessionID::id_type old_id,
997 void TabRestoreService::OnGotPreviousSession(
1009 void TabRestoreService::CreateEntriesFromWindows(
1019 bool TabRestoreService::ConvertSessionWindowToWindow(
1044 void TabRestoreService::LoadStateChanged() {
1090 Time TabRestoreService::TimeNow() const {