Searched refs:active_tab_index (Results 1 – 10 of 10) sorted by relevance
65 bool BrowserProxy::GetActiveTabIndex(int* active_tab_index) const { in GetActiveTabIndex()69 if (!active_tab_index) { in GetActiveTabIndex()82 *active_tab_index = active_tab_index_response; in GetActiveTabIndex()112 int active_tab_index; in GetActiveTab() local113 if (!GetActiveTabIndex(&active_tab_index)) in GetActiveTab()115 return GetTab(active_tab_index); in GetActiveTab()
51 bool GetActiveTabIndex(int* active_tab_index) const WARN_UNUSED_RESULT;
74 int active_tab_index; in AssertWindowHasOneTab() local75 ASSERT_TRUE(browser_proxy->GetActiveTabIndex(&active_tab_index)); in AssertWindowHasOneTab()76 ASSERT_EQ(0, active_tab_index); in AssertWindowHasOneTab()225 int active_tab_index; in TEST_F() local226 ASSERT_TRUE(browser_proxy->GetActiveTabIndex(&active_tab_index)); in TEST_F()227 ASSERT_EQ(1, active_tab_index); in TEST_F()
257 int active_tab_index = -1; in GetActiveTab() local258 EXPECT_TRUE(window_proxy->GetActiveTabIndex(&active_tab_index)); in GetActiveTab()259 if (active_tab_index == -1) in GetActiveTab()262 return window_proxy->GetTab(active_tab_index); in GetActiveTab()344 int active_tab_index = -1; in GetActiveTabIndex() local345 EXPECT_TRUE(window_proxy->GetActiveTabIndex(&active_tab_index)); in GetActiveTabIndex()346 return active_tab_index; in GetActiveTabIndex()
1280 int active_tab_index = -1; in PaintChildren() local1307 active_tab_index = i; in PaintChildren()1320 active_tab_index = i; in PaintChildren()1326 if (stacking && active_tab_index >= 0) { in PaintChildren()1327 for (int i = 0; i < active_tab_index; ++i) { in PaintChildren()1332 for (int i = tab_count() - 1; i > active_tab_index; --i) { in PaintChildren()1910 int active_tab_index = static_cast<int>( in LayoutDraggedTabsAt() local1917 active_tab_model_index - (active_tab_index - static_cast<int>(i)); in LayoutDraggedTabsAt()2654 int active_tab_index = touch_layout_->active_index(); in FindTabForEvent() local2655 if (active_tab_index != -1) { in FindTabForEvent()[all …]
484 int active_tab_index = static_cast<int>( in LayoutDraggedTabsAt() local491 active_tab_model_index - (active_tab_index - static_cast<int>(i)); in LayoutDraggedTabsAt()
69 void GetActiveTabIndex(int handle, int* active_tab_index);
488 int* active_tab_index) { in GetActiveTabIndex() argument489 *active_tab_index = -1; // -1 is the error code in GetActiveTabIndex()492 *active_tab_index = browser->active_index(); in GetActiveTabIndex()
86 void GetActiveTabIndex(int handle, int* active_tab_index);
480 int* active_tab_index) { in GetActiveTabIndex() argument481 *active_tab_index = -1; // -1 is the error code in GetActiveTabIndex()484 *active_tab_index = browser->tab_strip_model()->active_index(); in GetActiveTabIndex()