Home
last modified time | relevance | path

Searched refs:selected_tab_index (Results 1 – 13 of 13) sorted by relevance

/external/chromium/chrome/browser/sessions/
Dtab_restore_service.cc93 int32 selected_tab_index; member
179 TabRestoreService::Window::Window() : Entry(WINDOW), selected_tab_index(-1) { in Window()
238 window->selected_tab_index = delegate->GetSelectedIndex(); in BrowserClosing()
264 window->selected_tab_index = in BrowserClosing()
266 window->selected_tab_index); in BrowserClosing()
357 window->selected_tab_index), in RestoreEntryById()
567 int selected_tab = window.selected_tab_index; in ScheduleCommandsForWindow()
646 int selected_tab_index, in CreateWindowCommand() argument
654 payload.selected_tab_index = selected_tab_index; in CreateWindowCommand()
778 payload.selected_tab_index = old_payload.selected_tab_index; in CreateEntriesFromCommands()
[all …]
Dsession_service_unittest.cc161 ASSERT_EQ(0, windows[0]->selected_tab_index); in TEST_F()
214 ASSERT_EQ(0, windows[0]->selected_tab_index); in TEST_F()
245 ASSERT_EQ(0, windows[0]->selected_tab_index); in TEST_F()
283 ASSERT_EQ(0, windows[0]->selected_tab_index); in TEST_F()
284 ASSERT_EQ(0, windows[1]->selected_tab_index); in TEST_F()
334 ASSERT_EQ(0, windows[0]->selected_tab_index); in TEST_F()
367 ASSERT_EQ(0, windows[0]->selected_tab_index); in TEST_F()
410 ASSERT_EQ(0, windows[0]->selected_tab_index); in TEST_F()
449 ASSERT_EQ(0, windows[0]->selected_tab_index); in TEST_F()
491 ASSERT_EQ(0, windows[normal_index]->selected_tab_index); in TEST_F()
[all …]
Dsession_restore.cc464 int selected_tab_index = (*i)->selected_tab_index; in RestoreForeignSession() local
465 RestoreTabsToBrowser(*(*i), browser, selected_tab_index); in RestoreForeignSession()
466 ShowBrowser(browser, initial_tab_count, selected_tab_index); in RestoreForeignSession()
603 int selected_tab_index = (*i)->selected_tab_index; in ProcessSessionWindows() local
604 RestoreTabsToBrowser(*(*i), browser, selected_tab_index); in ProcessSessionWindows()
605 ShowBrowser(browser, initial_tab_count, selected_tab_index); in ProcessSessionWindows()
631 int selected_tab_index) { in RestoreTabsToBrowser() argument
639 RestoreTab(tab, tab_index, browser, tab_index != selected_tab_index); in RestoreTabsToBrowser()
Dtab_restore_service.h112 int selected_tab_index; member
230 int selected_tab_index,
Dtab_restore_service_browsertest.cc302 EXPECT_EQ(0, window->selected_tab_index); in TEST_F()
356 EXPECT_EQ(0, window->selected_tab_index); in TEST_F()
398 EXPECT_EQ(0, window->selected_tab_index); in TEST_F()
442 EXPECT_EQ(0, window->selected_tab_index); in TEST_F()
Dsession_types.cc101 : selected_tab_index(-1), in SessionWindow()
Dsession_types.h166 int selected_tab_index; member
Dsession_service.cc774 if ((*j)->tab_visual_index == (*i)->selected_tab_index) { in UpdateSelectedTabIndex()
779 (*i)->selected_tab_index = new_index; in UpdateSelectedTabIndex()
1015 GetWindow(payload.id, windows)->selected_tab_index = payload.index; in CreateTabsAndWindows()
/external/chromium/chrome/browser/sync/protocol/
Dsession_specifics.proto34 optional int32 selected_tab_index = 2 [default = -1]; field
Dproto_value_conversions.cc126 SET_INT32(selected_tab_index); in SessionWindowToValue()
/external/chromium/chrome/browser/sync/glue/
Dsession_model_associator_unittest.cc68 ASSERT_EQ(1, win->selected_tab_index); in TEST_F()
Dsession_model_associator.cc581 session_window->selected_tab_index = specifics.selected_tab_index(); in PopulateSessionWindowFromSpecifics()
910 session_window->set_selected_tab_index(window.selected_tab_index); in PopulateSessionSpecificsWindow()
/external/chromium/chrome/browser/sync/
Dprofile_sync_service_session_unittest.cc299 ASSERT_EQ(1, foreign_sessions[0]->windows[0]->selected_tab_index); in TEST_F()