/external/chromium/chrome/browser/ |
D | browser_commands_unittest.cc | 33 ASSERT_EQ(0, browser()->active_index()); in TEST_F() 37 ASSERT_EQ(1, browser()->active_index()); in TEST_F() 41 ASSERT_EQ(0, browser()->active_index()); in TEST_F() 45 ASSERT_EQ(2, browser()->active_index()); in TEST_F() 115 EXPECT_EQ(0, browser()->active_index()); in TEST_F() 137 EXPECT_EQ(1, browser()->active_index()); in TEST_F() 144 EXPECT_EQ(1, browser()->active_index()); in TEST_F() 159 ASSERT_EQ(3, browser()->active_index()); in TEST_F() 166 ASSERT_EQ(4, browser()->active_index()); in TEST_F()
|
D | browser_keyevents_browsertest.cc | 250 ASSERT_EQ(tab_index, browser()->active_index()); in TestKeyEvent() 358 int tab_index = browser()->active_index(); in IN_PROC_BROWSER_TEST_F() 443 int tab_index = browser()->active_index(); in IN_PROC_BROWSER_TEST_F() 488 int tab_index = browser()->active_index(); in IN_PROC_BROWSER_TEST_F() 585 int tab_index = browser()->active_index(); in IN_PROC_BROWSER_TEST_F() 680 ASSERT_EQ(1, browser()->active_index()); in IN_PROC_BROWSER_TEST_F() 750 int tab_index = browser()->active_index(); in IN_PROC_BROWSER_TEST_F() 787 int tab_index = browser()->active_index(); in IN_PROC_BROWSER_TEST_F() 828 int tab_index = browser()->active_index(); in IN_PROC_BROWSER_TEST_F()
|
D | browser_browsertest.cc | 213 EXPECT_EQ(0, browser()->active_index()); in IN_PROC_BROWSER_TEST_F() 222 EXPECT_EQ(1, browser()->active_index()); in IN_PROC_BROWSER_TEST_F()
|
D | aeropeek_manager.cc | 1144 (index == tab_strip_model->active_index()));
|
/external/chromium/chrome/browser/tabs/ |
D | tab_strip_model_order_controller.cc | 33 if (transition == PageTransition::LINK && tabstrip_->active_index() != -1) { in DetermineInsertionIndex() 38 return tabstrip_->active_index() + delta; in DetermineInsertionIndex() 47 opener, tabstrip_->active_index()); in DetermineInsertionIndex() 50 opener, tabstrip_->active_index()); in DetermineInsertionIndex() 55 return tabstrip_->active_index() + delta; in DetermineInsertionIndex() 102 int selected_index = tabstrip_->active_index(); in DetermineNewSelectedIndex()
|
D | tab_strip_model_unittest.cc | 527 EXPECT_EQ(0, tabstrip.active_index()); in TEST_F() 538 EXPECT_EQ(1, tabstrip.active_index()); in TEST_F() 569 EXPECT_EQ(0, tabstrip.active_index()); in TEST_F() 571 EXPECT_EQ(1, tabstrip.active_index()); in TEST_F() 573 EXPECT_EQ(0, tabstrip.active_index()); in TEST_F() 583 EXPECT_EQ(0, tabstrip.active_index()); in TEST_F() 790 EXPECT_EQ(1, tabstrip.active_index()); in TEST_F() 795 EXPECT_EQ(0, tabstrip.active_index()); in TEST_F() 808 EXPECT_EQ(tabstrip.count() - 1, tabstrip.active_index()); in TEST_F() 850 EXPECT_EQ(0, tabstrip.active_index()); in TEST_F() [all …]
|
D | tab_strip_model.cc | 183 if (active_index() == index) { in ReplaceTabContentsAt() 185 TabSelectedAt(old_contents, new_contents, active_index(), in ReplaceTabContentsAt() 222 int old_active = active_index(); in DetachTabContentsAt() 230 NotifyTabSelectedIfChanged(removed_contents, active_index(), false); in DetachTabContentsAt() 247 (active_index() == TabStripSelectionModel::kUnselectedIndex) ? in ActivateTabAt() 258 active_index(), user_gesture)); in ActivateTabAt() 314 return GetTabContentsAt(active_index()); in GetSelectedTabContents() 571 int old_active = active_index(); in ExtendSelectionTo() 579 int old_active = active_index(); in ToggleSelectionAt() 599 int old_active = active_index(); in AddSelectionFromAnchorTo() [all …]
|
D | tab_strip_model.h | 135 int active_index() const { return selection_model_.active(); } in active_index() function
|
/external/chromium/chrome/browser/ui/ |
D | browser_navigator_browsertest.cc | 110 EXPECT_EQ(2, browser()->active_index()); in IN_PROC_BROWSER_TEST_F() 123 EXPECT_EQ(1, browser()->active_index()); in IN_PROC_BROWSER_TEST_F() 137 EXPECT_EQ(0, browser()->active_index()); in IN_PROC_BROWSER_TEST_F() 148 EXPECT_EQ(1, browser()->active_index()); in IN_PROC_BROWSER_TEST_F() 592 EXPECT_EQ(1, browser()->active_index()); in IN_PROC_BROWSER_TEST_F() 606 EXPECT_EQ(2, browser()->active_index()); in IN_PROC_BROWSER_TEST_F() 624 EXPECT_EQ(2, browser()->active_index()); in IN_PROC_BROWSER_TEST_F() 638 EXPECT_EQ(1, browser()->active_index()); in IN_PROC_BROWSER_TEST_F() 656 EXPECT_EQ(2, browser()->active_index()); in IN_PROC_BROWSER_TEST_F() 670 EXPECT_EQ(1, browser()->active_index()); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | browser_tab_restore_service_delegate.cc | 24 return browser_->active_index(); in GetSelectedIndex()
|
D | browser.cc | 961 int Browser::active_index() const { in active_index() function in Browser 962 return tab_handler_->GetTabStripModel()->active_index(); in active_index() 1116 tab_handler_->GetTabStripModel()->active_index(), in ReplaceRestoredTab() 1485 DuplicateContentsAt(active_index()); in DuplicateTab() 1514 int tab_strip_index = tab_handler_->GetTabStripModel()->active_index(); in ConvertPopupToTabbedBrowser() 2798 session_id(), tab_handler_->GetTabStripModel()->active_index()); in TabSelectedAt() 2817 (index == tab_handler_->GetTabStripModel()->active_index())); in TabReplacedAt() 3722 non_app_window && CanDuplicateContentsAt(active_index())); in UpdateCommandsForTabState() 4253 index == tab_handler_->GetTabStripModel()->active_index()) { in TabDetachedAtImpl()
|
D | browser_navigator.cc | 98 int start_index = std::max(0, params->browser->active_index()); in GetIndexOfSingletonTab()
|
D | browser.h | 344 int active_index() const;
|
/external/chromium/chrome/browser/ui/webui/ |
D | mediaplayer_browsertest.cc | 33 (*it)->GetTabContentsAt((*it)->active_index())->GetURL(); in IsPlayerVisible() 49 (*it)->GetTabContentsAt((*it)->active_index())->GetURL(); in IsPlaylistVisible()
|
D | bug_report_ui.cc | 159 "#" + base::IntToString(browser->active_index()); in ShowHtmlBugReportView()
|
/external/chromium/chrome/browser/printing/ |
D | print_preview_tab_controller_unittest.cc | 104 EXPECT_EQ(preview_tab_2_index, browser()->active_index()); in TEST_F() 112 EXPECT_EQ(preview_tab_1_index, browser()->active_index()); in TEST_F()
|
/external/chromium/chrome/browser/chromeos/ |
D | wm_overview_controller.cc | 111 void SaveCurrentTab() { original_selected_tab_ = browser_->active_index(); } in SaveCurrentTab() 211 UpdateSelectedIndex(browser_->active_index()); in TabInsertedAt() 216 UpdateSelectedIndex(browser_->active_index()); in TabDetachedAt() 231 UpdateSelectedIndex(browser_->active_index()); in TabMoved() 308 UpdateSelectedIndex(browser_->active_index()); in RestoreOriginalSelectedTab()
|
/external/chromium/chrome/browser/chromeos/frame/ |
D | browser_view.cc | 257 params.push_back(browser()->active_index()); in Init() 283 params.push_back(browser()->active_index()); in ShowInternal()
|
/external/chromium/chrome/browser/ui/views/tabs/ |
D | browser_tab_strip_controller.cc | 155 TabInsertedAt(model_->GetTabContentsAt(i), i, model_->active_index() == i); in InitFromModel() 195 return model_->active_index() == model_index; in IsActiveTab()
|
/external/chromium/chrome/browser/extensions/ |
D | extension_tabs_module.cc | 132 tab_strip && tab_index == tab_strip->active_index()); in CreateTabValue() 637 tab_strip->active_index())); in RunImpl() 883 if (tab_strip->active_index() != tab_index) { in RunImpl()
|
D | extension_browser_event_router.cc | 480 TabInsertedAt(new_contents, index, tab_strip_model->active_index() == index); in TabReplacedAt()
|
/external/chromium/chrome/browser/ui/cocoa/applescript/ |
D | window_applescript.mm | 108 int activeTabIndex = browser_->active_index() + 1;
|
/external/chromium/chrome/browser/autocomplete/ |
D | autocomplete_edit_view_browsertest.cc | 372 ASSERT_EQ(0, browser()->active_index()); in BrowserAcceleratorsTest() 378 ASSERT_EQ(1, browser()->active_index()); in BrowserAcceleratorsTest()
|
/external/chromium/chrome/browser/sessions/ |
D | session_restore.cc | 205 if (browser && browser->active_index() != tab_index) { in LoadNextTab()
|
/external/chromium/chrome/browser/ui/gtk/ |
D | browser_titlebar.cc | 766 int index = tabstrip_model->active_index(); in OnScroll()
|