HomeSort by relevance Sort by last modified time
    Searched refs:TabRestoreService (Results 1 - 22 of 22) sorted by null

  /external/chromium/chrome/browser/sessions/
tab_restore_service_observer.h 8 class TabRestoreService;
10 // Observer is notified when the set of entries managed by TabRestoreService
15 virtual void TabRestoreServiceChanged(TabRestoreService* service) = 0;
17 // Sent to all remaining Observers when TabRestoreService's
19 virtual void TabRestoreServiceDestroyed(TabRestoreService* service) = 0;
tab_restore_service_browsertest.cc 19 class TabRestoreTimeFactory : public TabRestoreService::TimeFactory {
49 service_ = new TabRestoreService(profile(), time_factory_);
78 service_ = new TabRestoreService(profile(), time_factory_);
117 scoped_refptr<TabRestoreService> service_;
132 TabRestoreService::Entry* entry = service_->entries().front();
133 ASSERT_EQ(TabRestoreService::TAB, entry->type);
134 TabRestoreService::Tab* tab = static_cast<TabRestoreService::Tab*>(entry);
155 ASSERT_EQ(TabRestoreService::TAB, entry->type);
156 tab = static_cast<TabRestoreService::Tab*>(entry)
    [all...]
tab_restore_service.cc 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
    [all...]
session_restore_browsertest.cc 129 TabRestoreService* service = browser()->profile()->GetTabRestoreService();
136 ASSERT_EQ(TabRestoreService::WINDOW, service->entries().front()->type);
137 const TabRestoreService::Window* window =
138 static_cast<TabRestoreService::Window*>(service->entries().front());
143 std::vector<TabRestoreService::Tab>::const_iterator it = window->tabs.begin();
145 const TabRestoreService::Tab& tab = *it;
155 ASSERT_EQ(TabRestoreService::WINDOW, service->entries().front()->type);
156 window = static_cast<TabRestoreService::Window*>(service->entries().front());
168 TabRestoreService* service = browser()->profile()->GetTabRestoreService();
177 ASSERT_EQ(TabRestoreService::TAB, service->entries().front()->type)
    [all...]
tab_restore_service.h 26 // TabRestoreService is responsible for maintaining the most recently closed
28 // TabRestoreService::CreateHistoricalTab is invoked and a Tab is created to
32 // To restore a tab/window from the TabRestoreService invoke RestoreEntryById
35 // To listen for changes to the set of entries managed by the TabRestoreService
37 class TabRestoreService : public BaseSessionService {
117 // Creates a new TabRestoreService and provides an object that provides the
118 // current time. The TabRestoreService does not take ownership of the
120 explicit TabRestoreService(Profile* profile,
123 // Adds/removes an observer. TabRestoreService does not take ownership of
175 virtual ~TabRestoreService();
    [all...]
  /external/chromium/chrome/browser/ui/webui/
value_helper.h 13 // Used to convert TabRestoreService elements to values for JSON processing.
16 static bool TabToValue(const TabRestoreService::Tab& tab,
18 static bool WindowToValue(const TabRestoreService::Window& window,
value_helper.cc 11 const TabRestoreService::Tab& tab,
28 const TabRestoreService::Window& window,
new_tab_ui.cc 81 // currently displayed tab to be the one in TabRestoreService with a
91 virtual void TabRestoreServiceChanged(TabRestoreService* service);
93 // Observer callback to notice when our associated TabRestoreService
95 virtual void TabRestoreServiceDestroyed(TabRestoreService* service);
98 // TabRestoreService that we are observing.
99 TabRestoreService* tab_restore_service_;
152 TabRestoreService* service) {
160 TabRestoreService* service) {
542 const TabRestoreService::Entries& entries, ListValue* entry_list_value) {
549 for (TabRestoreService::Entries::const_iterator it = entries.begin()
    [all...]
new_tab_ui.h 50 // Converts a list of TabRestoreService entries to the JSON format required
53 const TabRestoreService::Entries& entries,
  /external/chromium/chrome/browser/ui/cocoa/
history_menu_bridge.h 27 class TabRestoreService;
38 // HistoryService and the TabRestoreService, and then updates the NSMenu when
92 // TabRestoreService to re-open the closed window or tab that this
132 virtual void TabRestoreServiceChanged(TabRestoreService* service);
133 virtual void TabRestoreServiceDestroyed(TabRestoreService* service);
179 HistoryItem* HistoryItemForTab(const TabRestoreService::Tab& entry);
204 TabRestoreService* tab_restore_service_; // weak
  /external/chromium/chrome/browser/
jumplist_win.h 109 // When the TabRestoreService object notifies the tab status is changed, this
114 // Observer callback for TabRestoreService::Observer to notify when a tab is
119 virtual void TabRestoreServiceChanged(TabRestoreService* service);
121 // Observer callback to notice when our associated TabRestoreService
123 virtual void TabRestoreServiceDestroyed(TabRestoreService* service);
138 bool AddTab(const TabRestoreService::Tab* tab,
141 bool AddWindow(const TabRestoreService::Window* window,
jumplist_win.cc 592 // the observer list of the TabRestoreService class.
594 // TabRestoreService object. This pointer is used when we remove this object
599 TabRestoreService* tab_restore_service = profile->GetTabRestoreService();
616 void JumpList::TabRestoreServiceChanged(TabRestoreService* service) {
637 void JumpList::TabRestoreServiceDestroyed(TabRestoreService* service) {
640 bool JumpList::AddTab(const TabRestoreService::Tab* tab,
663 bool JumpList::AddWindow(const TabRestoreService::Window* window,
736 TabRestoreService* tab_restore_service = profile_->GetTabRestoreService();
737 const TabRestoreService::Entries& entries = tab_restore_service->entries();
738 for (TabRestoreService::Entries::const_iterator it = entries.begin()
    [all...]
browsing_data_remover.cc 150 TabRestoreService* tab_service = profile_->GetTabRestoreService();
  /external/chromium/android/autofill/
profile_android.h 107 class TabRestoreService;
200 virtual TabRestoreService* GetTabRestoreService() { NOTREACHED(); return NULL; }
  /external/chromium/chrome/browser/profiles/
profile.h 105 class TabRestoreService;
477 // Returns the TabRestoreService. This returns NULL when incognito.
478 virtual TabRestoreService* GetTabRestoreService() = 0;
profile_impl.h 111 virtual TabRestoreService* GetTabRestoreService();
272 scoped_refptr<TabRestoreService> tab_restore_service_;
profile.cc 538 virtual TabRestoreService* GetTabRestoreService() {
profile_impl.cc     [all...]
  /external/chromium/chrome/browser/ui/
browser.h 226 // Opens a new window with the tabs from |profile|'s TabRestoreService.
658 virtual void TabRestoreServiceChanged(TabRestoreService* service);
659 virtual void TabRestoreServiceDestroyed(TabRestoreService* service);
    [all...]
browser.cc 297 // TabRestoreService, which will start the shutdown of the
313 TabRestoreService* tab_restore_service = profile()->GetTabRestoreService();
503 TabRestoreService* service = profile->GetTabRestoreService();
    [all...]
  /external/chromium/chrome/browser/ui/views/frame/
browser_view.cc     [all...]
  /external/chromium/chrome/browser/automation/
automation_provider_observers.cc     [all...]

Completed in 2729 milliseconds