Home
last modified time | relevance | path

Searched refs:tab_restore_service_ (Results 1 – 7 of 7) sorted by relevance

/external/chromium/chrome/browser/ui/webui/
Dnew_tab_ui.cc74 RecentlyClosedTabsHandler() : tab_restore_service_(NULL) {} in RecentlyClosedTabsHandler()
99 TabRestoreService* tab_restore_service_; member in __anon058342910111::RecentlyClosedTabsHandler
113 if (tab_restore_service_) in ~RecentlyClosedTabsHandler()
114 tab_restore_service_->RemoveObserver(this); in ~RecentlyClosedTabsHandler()
126 tab_restore_service_->RestoreEntryById(delegate, session_to_restore, true); in HandleReopenTab()
133 if (!tab_restore_service_) { in HandleGetRecentlyClosedTabs()
134 tab_restore_service_ = web_ui_->GetProfile()->GetTabRestoreService(); in HandleGetRecentlyClosedTabs()
138 if (tab_restore_service_) { in HandleGetRecentlyClosedTabs()
141 tab_restore_service_->LoadTabsFromLastSession(); in HandleGetRecentlyClosedTabs()
143 tab_restore_service_->AddObserver(this); in HandleGetRecentlyClosedTabs()
[all …]
/external/chromium/chrome/browser/ui/cocoa/
Dhistory_menu_bridge.mm72 tab_restore_service_(NULL), function
87 tab_restore_service_ = profile_->GetTabRestoreService();
88 if (tab_restore_service_) {
89 tab_restore_service_->AddObserver(this);
90 tab_restore_service_->LoadTabsFromLastSession();
123 if (tab_restore_service_)
124 tab_restore_service_->RemoveObserver(this);
Dhistory_menu_bridge.h204 TabRestoreService* tab_restore_service_; // weak variable
/external/chromium/chrome/browser/profiles/
Dprofile_impl.cc587 tab_restore_service_ = NULL; in ~ProfileImpl()
1224 if (!tab_restore_service_.get()) in GetTabRestoreService()
1225 tab_restore_service_ = new TabRestoreService(this); in GetTabRestoreService()
1226 return tab_restore_service_.get(); in GetTabRestoreService()
1242 tab_restore_service_ = NULL; in ResetTabRestoreService()
Dprofile_impl.h272 scoped_refptr<TabRestoreService> tab_restore_service_; variable
/external/chromium/chrome/browser/ui/
Dbrowser.cc268 tab_restore_service_ = profile->GetTabRestoreService(); in Browser()
269 if (tab_restore_service_) { in Browser()
270 tab_restore_service_->AddObserver(this); in Browser()
271 TabRestoreServiceChanged(tab_restore_service_); in Browser()
337 TabRestoreServiceDestroyed(tab_restore_service_); in ~Browser()
4295 if (!tab_restore_service_) in TabRestoreServiceDestroyed()
4298 DCHECK_EQ(tab_restore_service_, service); in TabRestoreServiceDestroyed()
4299 tab_restore_service_->RemoveObserver(this); in TabRestoreServiceDestroyed()
4300 tab_restore_service_ = NULL; in TabRestoreServiceDestroyed()
Dbrowser.h1172 TabRestoreService* tab_restore_service_; variable