/external/chromium/chrome/browser/ui/webui/options/ |
H A D | options_ui_uitest.cc | 56 int tab_count = -1; local 57 ASSERT_TRUE(browser->GetTabCount(&tab_count)); 58 ASSERT_EQ(1, tab_count); 62 ASSERT_TRUE(browser->GetTabCount(&tab_count)); 63 ASSERT_EQ(2, tab_count); 75 int tab_count = -1; local 76 ASSERT_TRUE(browser->GetTabCount(&tab_count)); 77 ASSERT_EQ(1, tab_count); 81 ASSERT_TRUE(browser->GetTabCount(&tab_count)); 82 ASSERT_EQ(2, tab_count); 106 int tab_count = -1; local [all...] |
/external/chromium/chrome/browser/ui/webui/ |
H A D | bookmarks_ui_uitest.cc | 66 int tab_count = -1; local 67 ASSERT_TRUE(browser->GetTabCount(&tab_count)); 68 ASSERT_EQ(1, tab_count); 87 int tab_count = -1; local 88 ASSERT_TRUE(browser->GetTabCount(&tab_count)); 89 ASSERT_EQ(1, tab_count); 93 ASSERT_TRUE(browser->GetTabCount(&tab_count)); 94 ASSERT_EQ(2, tab_count); 108 int tab_count = -1; local 109 ASSERT_TRUE(browser->GetTabCount(&tab_count)); 141 int tab_count = -1; local [all...] |
H A D | print_preview_ui_uitest.cc | 57 int tab_count; local 58 ASSERT_TRUE(browser->GetTabCount(&tab_count)); 59 ASSERT_EQ(1, tab_count); 66 ASSERT_TRUE(browser->GetTabCount(&tab_count)); 67 ASSERT_EQ(2, tab_count);
|
/external/chromium/chrome/browser/sessions/ |
H A D | session_restore_uitest.cc | 70 int tab_count; local 71 ASSERT_TRUE(browser_proxy->GetTabCount(&tab_count)); 72 ASSERT_EQ(1, tab_count); 175 int tab_count; local 176 ASSERT_TRUE(browser_proxy->GetTabCount(&tab_count)); 177 ASSERT_EQ(1, tab_count); 221 int tab_count; local 222 ASSERT_TRUE(browser_proxy->GetTabCount(&tab_count)); 223 ASSERT_EQ(2, tab_count); 420 int tab_count; local [all...] |
/external/chromium/chrome/browser/ |
H A D | tab_restore_uitest.cc | 45 int tab_count = 0; local 60 ASSERT_TRUE(browser_proxy->GetTabCount(&tab_count)); 61 ASSERT_GT(tab_count, 0); 75 EXPECT_EQ(++tab_count, new_tab_count); 79 ASSERT_TRUE(browser_proxy->GetTabCount(&tab_count)); 80 ASSERT_GT(tab_count, expected_tabstrip_index); 103 int tab_count; local 104 EXPECT_TRUE(browser->GetTabCount(&tab_count)); 105 EXPECT_EQ(starting_tab_count + how_many, tab_count); 106 return tab_count; 146 int tab_count = AddSomeTabs(browser_proxy.get(), 1); local 176 int tab_count = AddSomeTabs(browser_proxy.get(), 3); local 212 int tab_count = AddSomeTabs(browser_proxy.get(), 3); local 252 int tab_count; local 339 int tab_count = AddSomeTabs(browser_proxy.get(), 3); local 396 int tab_count = AddSomeTabs(browser_proxy.get(), 2); local 455 int tab_count; local 502 int tab_count; local 584 int tab_count; local [all...] |
H A D | accessibility_events.cc | 109 int tab_count) 112 tab_count_(tab_count) { 106 AccessibilityTabInfo(Profile* profile, const std::string& tab_name, int tab_index, int tab_count) argument
|
H A D | accessibility_events.h | 132 int tab_count); 144 int tab_count() const { return tab_count_; } function in class:AccessibilityTabInfo
|
/external/chromium/chrome/browser/tabs/ |
H A D | tab_strip_model_order_controller.cc | 27 int tab_count = tabstrip_->count(); local 28 if (!tab_count) 68 int tab_count = tabstrip_->count(); local 69 DCHECK(removing_index >= 0 && removing_index < tab_count); 103 if (selected_index >= (tab_count - 1))
|
H A D | tab_strip_model_unittest.cc | 226 int tab_count, 229 for (int i = 0; i < tab_count; ++i) { 2102 const int tab_count; member in struct:TestData 2153 PrepareTabstripForSelectionTest(&strip, test_data[i].tab_count, 225 PrepareTabstripForSelectionTest(TabStripModel* model, int tab_count, int pinned_count, const std::string& selected_tabs) argument
|
/external/chromium/chrome/browser/ui/views/tabs/ |
H A D | base_tab_strip.h | 92 int tab_count() const { return static_cast<int>(tab_data_.size()); } function in class:BaseTabStrip
|
H A D | tab_strip.cc | 194 for (int i = 0; i < tab_count(); ++i) 256 for (int i = 0; i < tab_count(); ++i) 278 for (int i = tab_count() - 1; i >= 0; --i) { 338 if (tab_count() > 0) { 340 return GetTabAtTabDataIndex(tab_count() - 1); 343 if (index >= 0 && index < tab_count()) { 409 for (int i = 0; i < tab_count(); ++i) { 410 Tab* next_tab = i < (tab_count() - 1) ? GetTabAtTabDataIndex(i + 1) : NULL; 457 for (int i = 0; i < tab_count(); ++i) { 606 void TabStrip::GetDesiredTabWidths(int tab_count, argument [all...] |
/external/chromium/chrome/browser/ui/ |
H A D | browser_navigator.cc | 99 int tab_count = params->browser->tab_count(); local 100 for (int i = 0; i < tab_count; ++i) { 101 int tab_index = (start_index + i) % tab_count;
|
H A D | browser_list.cc | 76 int tab_count = 0; local 81 (*browser_iterator)->tab_count(), 1, 200, 50); 82 tab_count += (*browser_iterator)->tab_count(); 85 UMA_HISTOGRAM_CUSTOM_COUNTS("Tabs.TabCountPerLoad", tab_count, 1, 200, 50); 91 browser->tab_count(), 1, 200, 50); 625 while (web_view_index_ >= (*browser_iterator_)->tab_count()) {
|
H A D | browser.cc | 873 for (int i = 0; i < tab_count(); ++i) { 923 if (tab_restore_service && type() == TYPE_NORMAL && tab_count()) 957 int Browser::tab_count() const { function in class:Browser 1012 TabStripModel::INSERT_AFTER) ? tab_count() : relative_index; 1471 if (index < tab_count()) { 2534 return TabStripModelDelegate::TAB_TEAROFF_ACTION | (tab_count() > 1 ? 2660 tab_count() > 1 && 3203 GetConstrainingContents(tab) == tab && tab_count() > 1) { 3887 for (int tab = 0; tab < tab_count(); tab++) { 3974 for (int i = index; i < tab_count(); [all...] |
/external/chromium/chrome/browser/autocomplete/ |
H A D | autocomplete_edit_view_browsertest.cc | 213 int tab_count = browser->tab_count(); local 214 if (tab_count == expected_tab_count) 219 (tab_count < expected_tab_count ? 224 while (!HasFailure() && browser->tab_count() != expected_tab_count) 227 ASSERT_EQ(expected_tab_count, browser->tab_count()); 364 int tab_count = browser()->tab_count(); local 368 ASSERT_NO_FATAL_FAILURE(WaitForTabOpenOrClose(tab_count + 1)); 384 ASSERT_NO_FATAL_FAILURE(WaitForTabOpenOrClose(tab_count)); 566 int tab_count = browser()->tab_count(); local [all...] |
/external/chromium/chrome/browser/ui/gtk/tabs/ |
H A D | dragged_tab_controller_gtk.cc | 355 int tab_count = attached_tabstrip_->GetTabCount(); local 358 ++tab_count; 360 attached_tabstrip_->GetDesiredTabWidths(tab_count, mini_tab_count,
|
H A D | tab_strip_gtk.cc | 264 int tab_count = tabstrip->GetTabCount(); local 269 GenerateStartAndEndWidths(tab_count - 1, tab_count, start_mini_count, 324 int tab_count = tabstrip->GetTabCount(); local 329 GenerateStartAndEndWidths(tab_count, tab_count - 1, start_mini_count, 341 tab_count == start_mini_count + 1))); 464 int tab_count = tabstrip->GetTabCount(); local 466 GenerateStartAndEndWidths(tab_count, tab_count, mini_tab_coun 527 int tab_count = tabstrip->GetTabCount(); local 593 int tab_count = tabstrip->GetTabCount(); local 800 int tab_count = GetTabCount(); local 1329 int tab_count = GetTabCount(); local 1375 GetDesiredTabWidths(int tab_count, int mini_tab_count, double* unselected_width, double* selected_width) const argument 1902 int tab_count = GetTabCount(); local [all...] |
/external/chromium/chrome/browser/automation/ |
H A D | automation_provider_observers.cc | 88 InitialLoadObserver::InitialLoadObserver(size_t tab_count, argument 91 outstanding_tab_count_(tab_count), 2240 for (int i = 0; i < browser->tab_count(); ++i) {
|
H A D | testing_automation_provider.cc | 450 if (at_index >= 0 && at_index < browser->tab_count()) { 977 void TestingAutomationProvider::GetTabCount(int handle, int* tab_count) { argument 978 *tab_count = -1; // -1 is the error code 982 *tab_count = browser->tab_count(); 1001 if (tab_index < browser->tab_count()) { 2534 for (int i = 0; i < browser->tab_count(); ++i) { 5057 for (int tab_index = 0; tab_index < browser->tab_count(); ++tab_index) { 5275 for (int i = 0; i < browser->tab_count(); ++i) { 5297 for (int i = 0; i < browser->tab_count(); [all...] |