HomeSort by relevance Sort by last modified time
    Searched refs:TabRestoreService (Results 26 - 50 of 60) sorted by null

12 3

  /external/chromium_org/chrome/browser/
jumplist_win.h 133 // When the TabRestoreService object notifies the tab status is changed, this
138 // Observer callback for TabRestoreService::Observer to notify when a tab is
143 virtual void TabRestoreServiceChanged(TabRestoreService* service);
145 // Observer callback to notice when our associated TabRestoreService
147 virtual void TabRestoreServiceDestroyed(TabRestoreService* service);
153 // from TabRestoreService. This must be called before the profile provided
170 bool AddTab(const TabRestoreService::Tab* tab,
173 void AddWindow(const TabRestoreService::Window* window,
jumplist_win.cc 484 // the observer list of the TabRestoreService class.
486 // TabRestoreService object. This pointer is used when we remove this object
491 TabRestoreService* tab_restore_service =
545 TabRestoreService* tab_restore_service =
590 void JumpList::TabRestoreServiceChanged(TabRestoreService* service) {
609 TabRestoreService* tab_restore_service =
611 const TabRestoreService::Entries& entries = tab_restore_service->entries();
612 for (TabRestoreService::Entries::const_iterator it = entries.begin();
614 const TabRestoreService::Entry* entry = *it;
615 if (entry->type == TabRestoreService::TAB)
    [all...]
  /external/chromium_org/chrome/browser/ui/gtk/
global_history_menu.cc 79 // TabRestoreService to re-open the closed window or tab that this
181 const TabRestoreService::Tab& entry) {
290 void GlobalHistoryMenu::TabRestoreServiceChanged(TabRestoreService* service) {
291 const TabRestoreService::Entries& entries = service->entries();
302 for (TabRestoreService::Entries::const_iterator it = entries.begin();
304 TabRestoreService::Entry* entry = *it;
306 if (entry->type == TabRestoreService::WINDOW) {
307 TabRestoreService::Window* entry_win =
308 static_cast<TabRestoreService::Window*>(entry);
309 std::vector<TabRestoreService::Tab>& tabs = entry_win->tabs
    [all...]
  /external/chromium/chrome/browser/ui/webui/
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_org/chrome/browser/extensions/api/sessions/
sessions_api.cc 134 bool is_tab_entry(const TabRestoreService::Entry* entry) {
135 return entry->type == TabRestoreService::TAB;
138 bool is_window_entry(const TabRestoreService::Entry* entry) {
139 return entry->type == TabRestoreService::WINDOW;
143 const TabRestoreService::Tab& tab, int session_id, int selected_index) {
155 const TabRestoreService::Window& window,
175 const TabRestoreService::Entry* entry) {
179 case TabRestoreService::TAB:
181 *static_cast<const TabRestoreService::Tab*>(entry), entry->id, -1);
183 case TabRestoreService::WINDOW
    [all...]
  /external/chromium_org/chrome/browser/sessions/
tab_restore_service_helper.cc 37 void RecordAppLaunch(Profile* profile, const TabRestoreService::Tab& tab) {
70 TabRestoreService* tab_restore_service,
73 TabRestoreService::TimeFactory* time_factory)
169 const TabRestoreService::Entries& TabRestoreServiceHelper::entries() const {
184 TabRestoreService::Tab* TabRestoreServiceHelper::RemoveTabEntryById(
191 if (entry->type != TabRestoreService::TAB)
227 if (entry->type == TabRestoreService::TAB) {
234 } else if (entry->type == TabRestoreService::WINDOW) {
353 for (TabRestoreService::Entries::const_iterator iter = entries_.begin();
355 TabRestoreService::Entry* entry = *iter
    [all...]
tab_restore_service.h 30 // TabRestoreService is responsible for maintaining the most recently closed
32 // TabRestoreService::CreateHistoricalTab is invoked and a Tab is created to
36 // To restore a tab/window from the TabRestoreService invoke RestoreEntryById
39 // To listen for changes to the set of entries managed by the TabRestoreService
41 class TabRestoreService : public BrowserContextKeyedService {
127 virtual ~TabRestoreService();
129 // Adds/removes an observer. TabRestoreService does not take ownership of
in_memory_tab_restore_service.h 17 class InMemoryTabRestoreService : public TabRestoreService {
19 // Creates a new TabRestoreService and provides an object that provides the
20 // current time. The TabRestoreService does not take ownership of
27 // TabRestoreService:
persistent_tab_restore_service.h 19 class PersistentTabRestoreService : public TabRestoreService {
27 // TabRestoreService:
persistent_tab_restore_service.cc 36 typedef std::map<SessionID::id_type, TabRestoreService::Entry*> IDToEntry;
214 std::vector<TabRestoreService::Entry*>* entries);
868 std::vector<TabRestoreService::Entry*>* entries) {
883 if (i->second->type == TabRestoreService::WINDOW) {
884 TabRestoreService::Window* window =
885 static_cast<TabRestoreService::Window*>(i->second);
886 std::vector<TabRestoreService::Tab>::iterator j = window->tabs.begin();
    [all...]
session_restore_browsertest.cc 336 TabRestoreService* service =
346 ASSERT_EQ(TabRestoreService::WINDOW, service->entries().front()->type);
347 const TabRestoreService::Window* window =
348 static_cast<TabRestoreService::Window*>(service->entries().front());
355 for (std::vector<TabRestoreService::Tab>::const_iterator it =
357 const TabRestoreService::Tab& tab = *it;
375 ASSERT_EQ(TabRestoreService::WINDOW, service->entries().front()->type);
376 window = static_cast<TabRestoreService::Window*>(service->entries().front());
399 TabRestoreService* service =
411 ASSERT_EQ(TabRestoreService::TAB, service->entries().front()->type)
    [all...]
  /external/chromium/chrome/browser/sessions/
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_org/chrome/browser/ui/views/frame/
global_menu_bar_x11.cc 298 // TabRestoreService to re-open the closed window or tab that this
513 const TabRestoreService::Tab& entry) {
647 void GlobalMenuBarX11::TabRestoreServiceChanged(TabRestoreService* service) {
648 const TabRestoreService::Entries& entries = service->entries();
658 for (TabRestoreService::Entries::const_iterator it = entries.begin();
660 TabRestoreService::Entry* entry = *it;
662 if (entry->type == TabRestoreService::WINDOW) {
663 TabRestoreService::Window* entry_win =
664 static_cast<TabRestoreService::Window*>(entry);
665 std::vector<TabRestoreService::Tab>& tabs = entry_win->tabs
    [all...]
  /external/chromium_org/chrome/browser/ui/
browser_command_controller.h 106 virtual void TabRestoreServiceChanged(TabRestoreService* service) OVERRIDE;
107 virtual void TabRestoreServiceDestroyed(TabRestoreService* service) OVERRIDE;
browser_tab_strip_model_delegate.cc 130 TabRestoreService* service =
browser_command_controller.cc 238 TabRestoreService* tab_restore_service =
247 // TabRestoreService may have been shutdown by the time we get here. Don't
249 TabRestoreService* tab_restore_service =
822 TabRestoreService* service) {
829 TabRestoreService* service) {
    [all...]
  /external/chromium_org/chrome/browser/ui/toolbar/
recent_tabs_sub_menu_model.h 129 virtual void TabRestoreServiceChanged(TabRestoreService* service) OVERRIDE;
130 virtual void TabRestoreServiceDestroyed(TabRestoreService* service) OVERRIDE;
recent_tabs_sub_menu_model.cc 181 TabRestoreService* service =
216 TabRestoreService* service =
269 TabRestoreService* service =
376 TabRestoreService* service =
393 TabRestoreService::Entries entries = service->entries();
394 for (TabRestoreService::Entries::const_iterator it = entries.begin();
396 TabRestoreService::Entry* entry = *it;
397 if (entry->type == TabRestoreService::TAB) {
398 TabRestoreService::Tab* tab =
399 static_cast<TabRestoreService::Tab*>(entry)
    [all...]
  /external/chromium/chrome/browser/
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...]
  /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_;
  /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...]

Completed in 967 milliseconds

12 3