/external/chromium_org/chrome/browser/sessions/ |
D | tab_restore_service.cc | 11 TabRestoreService::TimeFactory::~TimeFactory() {} in ~TimeFactory() 18 TabRestoreService::Entry::Entry() in Entry() 23 TabRestoreService::Entry::Entry(Type type) in Entry() 28 TabRestoreService::Entry::~Entry() {} in ~Entry() 32 TabRestoreService::Tab::Tab() in Tab() 40 TabRestoreService::Tab::~Tab() { in ~Tab() 45 TabRestoreService::Window::Window() : Entry(WINDOW), selected_tab_index(-1) { in Window() 48 TabRestoreService::Window::~Window() { in ~Window() 53 TabRestoreService::~TabRestoreService() { in ~TabRestoreService()
|
D | persistent_tab_restore_service_unittest.cc | 35 typedef TabRestoreService::Tab Tab; 36 typedef TabRestoreService::Window Window; 45 class PersistentTabRestoreTimeFactory : public TabRestoreService::TimeFactory { 93 TabRestoreService::Entries* mutable_entries() { in mutable_entries() 184 virtual void TabRestoreServiceChanged(TabRestoreService* service) OVERRIDE { in TabRestoreServiceChanged() 186 virtual void TabRestoreServiceDestroyed(TabRestoreService* service) OVERRIDE { in TabRestoreServiceDestroyed() 188 virtual void TabRestoreServiceLoaded(TabRestoreService* service) OVERRIDE { in TabRestoreServiceLoaded() 211 TabRestoreService::Entry* entry = service_->entries().front(); in TEST_F() 212 ASSERT_EQ(TabRestoreService::TAB, entry->type); in TEST_F() 236 ASSERT_EQ(TabRestoreService::TAB, entry->type); in TEST_F() [all …]
|
D | tab_restore_service_helper.h | 20 class TabRestoreService; variable 35 typedef TabRestoreService::Entries Entries; 36 typedef TabRestoreService::Entry Entry; 37 typedef TabRestoreService::Tab Tab; 38 typedef TabRestoreService::TimeFactory TimeFactory; 39 typedef TabRestoreService::Window Window; 68 TabRestoreServiceHelper(TabRestoreService* tab_restore_service, 168 TabRestoreService* const tab_restore_service_;
|
D | tab_restore_service_observer.h | 8 class TabRestoreService; variable 15 virtual void TabRestoreServiceChanged(TabRestoreService* service) = 0; 19 virtual void TabRestoreServiceDestroyed(TabRestoreService* service) = 0; 22 virtual void TabRestoreServiceLoaded(TabRestoreService* service) {} in TabRestoreServiceLoaded()
|
D | tab_restore_service_factory.cc | 12 TabRestoreService* TabRestoreServiceFactory::GetForProfile(Profile* profile) { in GetForProfile() 13 return static_cast<TabRestoreService*>( in GetForProfile() 18 TabRestoreService* TabRestoreServiceFactory::GetForProfileIfExisting( in GetForProfileIfExisting() 20 return static_cast<TabRestoreService*>( in GetForProfileIfExisting()
|
D | persistent_tab_restore_service_browsertest.cc | 21 typedef TabRestoreService::Window Window; 27 TabRestoreService* trs = TabRestoreServiceFactory::GetForProfile(profile); in IN_PROC_BROWSER_TEST_F() 39 const TabRestoreService::Entry* restored_entry = trs->entries().front(); in IN_PROC_BROWSER_TEST_F() 42 ASSERT_EQ(TabRestoreService::WINDOW, restored_entry->type); in IN_PROC_BROWSER_TEST_F()
|
D | tab_restore_service_helper.cc | 38 void RecordAppLaunch(Profile* profile, const TabRestoreService::Tab& tab) { in RecordAppLaunch() 71 TabRestoreService* tab_restore_service, in TabRestoreServiceHelper() 74 TabRestoreService::TimeFactory* time_factory) in TabRestoreServiceHelper() 170 const TabRestoreService::Entries& TabRestoreServiceHelper::entries() const { in entries() 185 TabRestoreService::Tab* TabRestoreServiceHelper::RemoveTabEntryById( in RemoveTabEntryById() 192 if (entry->type != TabRestoreService::TAB) in RemoveTabEntryById() 228 if (entry->type == TabRestoreService::TAB) { in RestoreEntryById() 235 } else if (entry->type == TabRestoreService::WINDOW) { in RestoreEntryById() 354 for (TabRestoreService::Entries::const_iterator iter = entries_.begin(); in PruneEntries() 356 TabRestoreService::Entry* entry = *iter; in PruneEntries() [all …]
|
D | tab_restore_service_factory.h | 11 class TabRestoreService; variable 19 static TabRestoreService* GetForProfile(Profile* profile); 23 static TabRestoreService* GetForProfileIfExisting(Profile* profile);
|
D | in_memory_tab_restore_service.cc | 15 TabRestoreService::TimeFactory* time_factory) in InMemoryTabRestoreService() 51 const TabRestoreService::Entries& InMemoryTabRestoreService::entries() const { in entries() 62 TabRestoreService::Tab* InMemoryTabRestoreService::RemoveTabEntryById( in RemoveTabEntryById()
|
/external/chromium_org/chrome/browser/android/ |
D | recently_closed_tabs_bridge.cc | 25 TabRestoreService::Entry* entry, in AddTabToList() 27 const TabRestoreService::Tab* tab = in AddTabToList() 28 static_cast<TabRestoreService::Tab*>(entry); in AddTabToList() 39 const TabRestoreService::Entries& entries, in AddTabsToList() 43 for (TabRestoreService::Entries::const_iterator it = entries.begin(); in AddTabsToList() 45 TabRestoreService::Entry* entry = *it; in AddTabsToList() 46 DCHECK_EQ(entry->type, TabRestoreService::TAB); in AddTabsToList() 47 if (entry->type == TabRestoreService::TAB) { in AddTabsToList() 99 scoped_ptr<TabRestoreService::Tab> tab_entry( in OpenRecentlyClosedTab() 132 TabRestoreService* service) { in TabRestoreServiceChanged() [all …]
|
D | recently_closed_tabs_bridge.h | 15 class TabRestoreService; variable 37 virtual void TabRestoreServiceChanged(TabRestoreService* service) OVERRIDE; 40 virtual void TabRestoreServiceDestroyed(TabRestoreService* service) OVERRIDE; 59 TabRestoreService* tab_restore_service_;
|
/external/chromium_org/chrome/browser/ui/ |
D | browser_tab_restorer.cc | 40 virtual void TabRestoreServiceChanged(TabRestoreService* service) OVERRIDE; 41 virtual void TabRestoreServiceDestroyed(TabRestoreService* service) OVERRIDE; 42 virtual void TabRestoreServiceLoaded(TabRestoreService* service) OVERRIDE; 48 TabRestoreService* tab_restore_service_; 80 void BrowserTabRestorer::TabRestoreServiceChanged(TabRestoreService* service) { in TabRestoreServiceChanged() 84 TabRestoreService* service) { in TabRestoreServiceDestroyed() 87 void BrowserTabRestorer::TabRestoreServiceLoaded(TabRestoreService* service) { in TabRestoreServiceLoaded() 102 TabRestoreService* service = in RestoreTab()
|
D | browser_command_controller.h | 99 virtual void TabRestoreServiceChanged(TabRestoreService* service) OVERRIDE; 100 virtual void TabRestoreServiceDestroyed(TabRestoreService* service) OVERRIDE; 101 virtual void TabRestoreServiceLoaded(TabRestoreService* service) OVERRIDE;
|
/external/chromium_org/chrome/browser/ui/ash/ |
D | chrome_new_window_delegate.cc | 22 TabRestoreService* service = TabRestoreServiceFactory::GetForProfile(profile); in RestoreTabUsingProfile() 45 TabRestoreService* service) in TabRestoreHelper() 56 TabRestoreService* tab_restore_service() { return tab_restore_service_; } in tab_restore_service() 58 virtual void TabRestoreServiceChanged(TabRestoreService* service) OVERRIDE { in TabRestoreServiceChanged() 61 virtual void TabRestoreServiceDestroyed(TabRestoreService* service) OVERRIDE { in TabRestoreServiceDestroyed() 66 virtual void TabRestoreServiceLoaded(TabRestoreService* service) OVERRIDE { in TabRestoreServiceLoaded() 75 TabRestoreService* tab_restore_service_; 112 TabRestoreService* service = in RestoreTab()
|
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
D | recently_closed_tabs_handler.cc | 22 void TabToValue(const TabRestoreService::Tab& tab, in TabToValue() 32 void WindowToValue(const TabRestoreService::Window& window, in WindowToValue() 113 TabRestoreService* service) { in TabRestoreServiceChanged() 120 for (TabRestoreService::Entries::const_iterator it = in TabRestoreServiceChanged() 123 TabRestoreService::Entry* entry = *it; in TabRestoreServiceChanged() 125 if (entry->type == TabRestoreService::TAB) { in TabRestoreServiceChanged() 126 TabToValue(*static_cast<TabRestoreService::Tab*>(entry), in TabRestoreServiceChanged() 129 DCHECK_EQ(entry->type, TabRestoreService::WINDOW); in TabRestoreServiceChanged() 130 WindowToValue(*static_cast<TabRestoreService::Window*>(entry), in TabRestoreServiceChanged() 143 TabRestoreService* service) { in TabRestoreServiceDestroyed()
|
D | recently_closed_tabs_handler.h | 13 class TabRestoreService; variable 38 virtual void TabRestoreServiceChanged(TabRestoreService* service) OVERRIDE; 42 virtual void TabRestoreServiceDestroyed(TabRestoreService* service) OVERRIDE; 50 TabRestoreService* tab_restore_service_;
|
/external/chromium_org/chrome/browser/ |
D | jumplist_win.cc | 198 TabRestoreService* tab_restore_service = in JumpList() 272 TabRestoreService* tab_restore_service = in Terminate() 307 void JumpList::TabRestoreServiceChanged(TabRestoreService* service) { in TabRestoreServiceChanged() 326 TabRestoreService* tab_restore_service = in TabRestoreServiceChanged() 328 const TabRestoreService::Entries& entries = tab_restore_service->entries(); in TabRestoreServiceChanged() 329 for (TabRestoreService::Entries::const_iterator it = entries.begin(); in TabRestoreServiceChanged() 331 const TabRestoreService::Entry* entry = *it; in TabRestoreServiceChanged() 332 if (entry->type == TabRestoreService::TAB) { in TabRestoreServiceChanged() 333 AddTab(static_cast<const TabRestoreService::Tab*>(entry), in TabRestoreServiceChanged() 335 } else if (entry->type == TabRestoreService::WINDOW) { in TabRestoreServiceChanged() [all …]
|
D | jumplist_win.h | 68 virtual void TabRestoreServiceChanged(TabRestoreService* service); 72 virtual void TabRestoreServiceDestroyed(TabRestoreService* service); 96 bool AddTab(const TabRestoreService::Tab* tab, 99 void AddWindow(const TabRestoreService::Window* window,
|
/external/chromium_org/chrome/browser/extensions/api/sessions/ |
D | sessions_api.h | 37 scoped_ptr<api::tabs::Tab> CreateTabModel(const TabRestoreService::Tab& tab, 41 const TabRestoreService::Window& window, 44 const TabRestoreService::Entry* entry); 92 virtual void TabRestoreServiceChanged(TabRestoreService* service) OVERRIDE; 96 virtual void TabRestoreServiceDestroyed(TabRestoreService* service) OVERRIDE; 102 TabRestoreService* tab_restore_service_;
|
D | sessions_api.cc | 137 bool is_tab_entry(const TabRestoreService::Entry* entry) { in is_tab_entry() 138 return entry->type == TabRestoreService::TAB; in is_tab_entry() 141 bool is_window_entry(const TabRestoreService::Entry* entry) { in is_window_entry() 142 return entry->type == TabRestoreService::WINDOW; in is_window_entry() 146 const TabRestoreService::Tab& tab, int session_id, int selected_index) { in CreateTabModel() 158 const TabRestoreService::Window& window, in CreateWindowModel() 178 const TabRestoreService::Entry* entry) { in CreateSessionModel() 182 case TabRestoreService::TAB: in CreateSessionModel() 184 *static_cast<const TabRestoreService::Tab*>(entry), entry->id, -1); in CreateSessionModel() 186 case TabRestoreService::WINDOW: in CreateSessionModel() [all …]
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
D | history_menu_bridge.h | 26 class TabRestoreService; variable 135 virtual void TabRestoreServiceChanged(TabRestoreService* service) OVERRIDE; 136 virtual void TabRestoreServiceDestroyed(TabRestoreService* service) OVERRIDE; 185 HistoryItem* HistoryItemForTab(const TabRestoreService::Tab& entry); 210 TabRestoreService* tab_restore_service_; // weak
|
/external/chromium_org/chrome/browser/ui/toolbar/ |
D | recent_tabs_sub_menu_model.cc | 180 TabRestoreService* service = in RecentTabsSubMenuModel() 215 TabRestoreService* service = in ~RecentTabsSubMenuModel() 268 TabRestoreService* service = in ExecuteCommand() 380 TabRestoreService* service = in BuildLocalEntries() 397 TabRestoreService::Entries entries = service->entries(); in BuildLocalEntries() 398 for (TabRestoreService::Entries::const_iterator it = entries.begin(); in BuildLocalEntries() 400 TabRestoreService::Entry* entry = *it; in BuildLocalEntries() 401 if (entry->type == TabRestoreService::TAB) { in BuildLocalEntries() 402 TabRestoreService::Tab* tab = in BuildLocalEntries() 403 static_cast<TabRestoreService::Tab*>(entry); in BuildLocalEntries() [all …]
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
D | global_menu_bar_x11.h | 94 HistoryItem* HistoryItemForTab(const TabRestoreService::Tab& entry); 139 virtual void TabRestoreServiceChanged(TabRestoreService* service) OVERRIDE; 140 virtual void TabRestoreServiceDestroyed(TabRestoreService* service) OVERRIDE; 178 TabRestoreService* tab_restore_service_; // weak
|
D | global_menu_bar_x11.cc | 537 const TabRestoreService::Tab& entry) { in HistoryItemForTab() 741 void GlobalMenuBarX11::TabRestoreServiceChanged(TabRestoreService* service) { in TabRestoreServiceChanged() 742 const TabRestoreService::Entries& entries = service->entries(); in TabRestoreServiceChanged() 752 for (TabRestoreService::Entries::const_iterator it = entries.begin(); in TabRestoreServiceChanged() 754 TabRestoreService::Entry* entry = *it; in TabRestoreServiceChanged() 756 if (entry->type == TabRestoreService::WINDOW) { in TabRestoreServiceChanged() 757 TabRestoreService::Window* entry_win = in TabRestoreServiceChanged() 758 static_cast<TabRestoreService::Window*>(entry); in TabRestoreServiceChanged() 759 std::vector<TabRestoreService::Tab>& tabs = entry_win->tabs; in TabRestoreServiceChanged() 799 std::vector<TabRestoreService::Tab>::const_iterator iter; in TabRestoreServiceChanged() [all …]
|
D | system_menu_model_delegate.cc | 51 TabRestoreService* trs = in IsCommandIdEnabled() 75 TabRestoreService* trs = in GetLabelForCommandId() 79 trs->entries().front()->type == TabRestoreService::WINDOW) in GetLabelForCommandId()
|