Home
last modified time | relevance | path

Searched refs:active_tab_index (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/chrome/test/automation/
Dbrowser_proxy.cc65 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() local
113 if (!GetActiveTabIndex(&active_tab_index)) in GetActiveTab()
115 return GetTab(active_tab_index); in GetActiveTab()
Dbrowser_proxy.h51 bool GetActiveTabIndex(int* active_tab_index) const WARN_UNUSED_RESULT;
/external/chromium/chrome/browser/sessions/
Dsession_restore_uitest.cc74 int active_tab_index; in AssertWindowHasOneTab() local
75 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() local
226 ASSERT_TRUE(browser_proxy->GetActiveTabIndex(&active_tab_index)); in TEST_F()
227 ASSERT_EQ(1, active_tab_index); in TEST_F()
/external/chromium_org/chrome/test/ui/
Dui_test.cc257 int active_tab_index = -1; in GetActiveTab() local
258 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() local
345 EXPECT_TRUE(window_proxy->GetActiveTabIndex(&active_tab_index)); in GetActiveTabIndex()
346 return active_tab_index; in GetActiveTabIndex()
/external/chromium_org/chrome/browser/ui/views/tabs/
Dtab_strip.cc1280 int active_tab_index = -1; in PaintChildren() local
1307 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() local
1917 active_tab_model_index - (active_tab_index - static_cast<int>(i)); in LayoutDraggedTabsAt()
2654 int active_tab_index = touch_layout_->active_index(); in FindTabForEvent() local
2655 if (active_tab_index != -1) { in FindTabForEvent()
[all …]
/external/chromium/chrome/browser/ui/views/tabs/
Dtab_strip.cc484 int active_tab_index = static_cast<int>( in LayoutDraggedTabsAt() local
491 active_tab_model_index - (active_tab_index - static_cast<int>(i)); in LayoutDraggedTabsAt()
/external/chromium/chrome/browser/automation/
Dtesting_automation_provider.h69 void GetActiveTabIndex(int handle, int* active_tab_index);
Dtesting_automation_provider.cc488 int* active_tab_index) { in GetActiveTabIndex() argument
489 *active_tab_index = -1; // -1 is the error code in GetActiveTabIndex()
492 *active_tab_index = browser->active_index(); in GetActiveTabIndex()
/external/chromium_org/chrome/browser/automation/
Dtesting_automation_provider.h86 void GetActiveTabIndex(int handle, int* active_tab_index);
Dtesting_automation_provider.cc480 int* active_tab_index) { in GetActiveTabIndex() argument
481 *active_tab_index = -1; // -1 is the error code in GetActiveTabIndex()
484 *active_tab_index = browser->tab_strip_model()->active_index(); in GetActiveTabIndex()