/external/chromium_org/ui/views/controls/tabbed_pane/ |
D | tabbed_pane.cc | 214 int selected_tab_index = tabbed_pane_->selected_tab_index(); in OnPaint() local 215 if (selected_tab_index >= 0) { in OnPaint() 216 Tab* selected_tab = tabbed_pane_->GetTabAt(selected_tab_index); in OnPaint() 258 return selected_tab_index() < 0 ? in GetSelectedTab() 259 NULL : GetTabAt(selected_tab_index())->contents(); in GetSelectedTab() 274 if (selected_tab_index() < 0) in AddTabAtIndex() 282 if (index == selected_tab_index()) in SelectTabAt() 285 if (selected_tab_index() >= 0) in SelectTabAt() 286 GetTabAt(selected_tab_index())->SetSelected(false); in SelectTabAt() 349 int next_tab_index = (selected_tab_index() + increment) % tab_count; in AcceleratorPressed()
|
D | tabbed_pane_unittest.cc | 77 EXPECT_EQ(0, tabbed_pane->selected_tab_index()); in TEST_F() 83 EXPECT_EQ(i, tabbed_pane->selected_tab_index()); in TEST_F() 90 EXPECT_NE(0, tabbed_pane->selected_tab_index()); in TEST_F()
|
D | tabbed_pane.h | 32 int selected_tab_index() const { return selected_tab_index_; } in selected_tab_index() function
|
/external/chromium_org/chrome/browser/sessions/ |
D | tab_restore_service_helper.cc | 123 window->selected_tab_index = delegate->GetSelectedIndex(); in BrowserClosing() 151 window->selected_tab_index = in BrowserClosing() 153 window->selected_tab_index); in BrowserClosing() 252 static_cast<int>(tab_i) == window->selected_tab_index, in RestoreEntryById() 524 window->selected_tab_index = in ValidateWindow() 525 std::max(0, std::min(window->selected_tab_index, in ValidateWindow() 533 if (i < window->selected_tab_index) in ValidateWindow() 534 window->selected_tab_index--; in ValidateWindow() 535 else if (i == window->selected_tab_index) in ValidateWindow() 536 window->selected_tab_index = 0; in ValidateWindow()
|
D | persistent_tab_restore_service.cc | 49 int32 selected_tab_index; member 158 int selected_tab_index, 387 int selected_tab = window.selected_tab_index; in ScheduleCommandsForWindow() 478 int selected_tab_index, in CreateWindowCommand() argument 486 payload.selected_tab_index = selected_tab_index; in CreateWindowCommand() 614 payload.selected_tab_index = old_payload.selected_tab_index; in CreateEntriesFromCommands() 630 current_window->selected_tab_index = payload.selected_tab_index; in CreateEntriesFromCommands() 807 window->selected_tab_index = in ConvertSessionWindowToWindow() 808 std::min(session_window->selected_tab_index, in ConvertSessionWindowToWindow()
|
D | session_service_unittest.cc | 201 ASSERT_EQ(0, windows[0]->selected_tab_index); in TEST_F() 254 ASSERT_EQ(0, windows[0]->selected_tab_index); in TEST_F() 286 ASSERT_EQ(0, windows[0]->selected_tab_index); in TEST_F() 314 ASSERT_EQ(0, windows[0]->selected_tab_index); in TEST_F() 315 ASSERT_EQ(0, windows[1]->selected_tab_index); in TEST_F() 368 ASSERT_EQ(0, windows[0]->selected_tab_index); in TEST_F() 401 ASSERT_EQ(0, windows[0]->selected_tab_index); in TEST_F() 479 ASSERT_EQ(0, windows[0]->selected_tab_index); in TEST_F() 518 ASSERT_EQ(0, windows[0]->selected_tab_index); in TEST_F() 562 ASSERT_EQ(0, windows[tabbed_index]->selected_tab_index); in TEST_F() [all …]
|
D | session_types.cc | 61 : selected_tab_index(-1), in SessionWindow() 74 sync_data.set_selected_tab_index(selected_tab_index); in ToSyncData()
|
D | session_restore.cc | 612 int selected_tab_index = std::max( in RestoreForeignSession() local 614 std::min((*i)->selected_tab_index, in RestoreForeignSession() 617 selected_tab_index); in RestoreForeignSession() 888 int selected_tab_index = in ProcessSessionWindows() local 891 std::min((*i)->selected_tab_index, in ProcessSessionWindows() 896 selected_tab_to_activate = selected_tab_index; in ProcessSessionWindows() 900 selected_tab_index); in ProcessSessionWindows() 964 int selected_tab_index) { in RestoreTabsToBrowser() argument 973 bool is_selected_tab = (i == selected_tab_index); in RestoreTabsToBrowser() 1090 void ShowBrowser(Browser* browser, int selected_tab_index) { in ShowBrowser() argument [all …]
|
D | tab_restore_service.cc | 45 TabRestoreService::Window::Window() : Entry(WINDOW), selected_tab_index(-1) { in Window()
|
D | session_types.h | 130 int selected_tab_index; member
|
D | tab_restore_service.h | 119 int selected_tab_index; member
|
D | persistent_tab_restore_service_unittest.cc | 391 EXPECT_EQ(0, window->selected_tab_index); in TEST_F() 449 EXPECT_EQ(0, window->selected_tab_index); in TEST_F() 492 EXPECT_EQ(0, window->selected_tab_index); in TEST_F() 537 EXPECT_EQ(0, window->selected_tab_index); in TEST_F()
|
D | session_service.cc | 948 if ((*j)->tab_visual_index == (*i)->selected_tab_index) { in UpdateSelectedTabIndex() 953 (*i)->selected_tab_index = new_index; in UpdateSelectedTabIndex() 1241 GetWindow(payload.id, windows)->selected_tab_index = payload.index; in CreateTabsAndWindows()
|
/external/chromium_org/ui/views/examples/ |
D | tabbed_pane_example.cc | 79 tabbed_pane_->selected_tab_index()); in PrintStatus()
|
/external/chromium_org/chrome/browser/sync/glue/ |
D | session_sync_test_helper.cc | 71 ASSERT_EQ(0, win_ptr->selected_tab_index); in VerifySyncedSession()
|
/external/chromium_org/chrome/browser/extensions/api/sessions/ |
D | sessions_api.cc | 167 window.selected_tab_index).release())); in CreateWindowModel() 280 window.selected_tab_index).release())); in CreateWindowModel()
|
/external/chromium_org/sync/protocol/ |
D | session_specifics.proto | 43 optional int32 selected_tab_index = 2 [default = -1]; field
|
D | proto_value_conversions.cc | 187 SET_INT32(selected_tab_index); in SessionWindowToValue()
|
/external/chromium_org/chrome/browser/sync/sessions/ |
D | sessions_sync_manager.cc | 739 session_window->selected_tab_index = specifics.selected_tab_index(); in BuildSyncedSessionFromSpecifics()
|
D | sessions_sync_manager_unittest.cc | 350 ASSERT_EQ(1, session->windows[0]->selected_tab_index); in TEST_F()
|