/external/chromium_org/chrome/browser/ui/sync/ |
H A D | one_click_signin_bubble_links_delegate_browsertest.cc | 23 int tab_count = browser()->tab_strip_model()->count(); local 24 EXPECT_EQ(starting_tab_count, tab_count); 37 int tab_count = browser()->tab_strip_model()->count(); local 38 EXPECT_EQ(starting_tab_count + 1, tab_count);
|
/external/chromium_org/chrome/browser/chromeos/accessibility/ |
H A D | sticky_keys_browsertest.cc | 90 int tab_count = 1; local 91 for (; tab_count < 5; ++tab_count) { 92 EXPECT_EQ(tab_count, tab_strip_model->count()); 99 EXPECT_EQ(tab_count, tab_strip_model->count()); 106 EXPECT_EQ(tab_count, tab_strip_model->count()); 113 int tab_count = 1; local 114 EXPECT_EQ(tab_count, tab_strip_model->count()); 120 EXPECT_EQ(++tab_count, tab_strip_model->count()); 122 EXPECT_EQ(tab_count, tab_strip_mode [all...] |
/external/chromium_org/chrome/browser/sync/test/integration/performance/ |
H A D | sessions_sync_perf_test.cc | 83 int tab_count = 0; local 104 tab_count += win_it->second->tabs.size(); 107 return tab_count;
|
/external/chromium_org/chrome/browser/ui/bookmarks/ |
H A D | bookmark_bubble_sign_in_delegate_unittest.cc | 77 int tab_count = browser()->tab_strip_model()->count(); local 78 EXPECT_EQ(starting_tab_count + 1, tab_count); 145 int tab_count = extra_browser->tab_strip_model()->count(); local 146 EXPECT_EQ(starting_tab_count + 1, tab_count);
|
/external/chromium_org/chrome/test/perf/ |
H A D | mach_ports_performancetest.cc | 103 int tab_count = tab_strip_model->count(); local 104 ASSERT_EQ(4, tab_count); // Also count about:blank. 108 for (int i = 0; i < tab_count - 1; ++i) {
|
/external/chromium_org/chrome/browser/ui/ |
H A D | singleton_tabs.cc | 91 int tab_count = params->browser->tab_strip_model()->count(); local 92 for (int i = 0; i < tab_count; ++i) { 93 int tab_index = (start_index + i) % tab_count;
|
H A D | uma_browsing_activity_observer.cc | 95 int tab_count = 0; local 105 tab_count += browser->tab_strip_model()->count(); 122 UMA_HISTOGRAM_CUSTOM_COUNTS("Tabs.TabCountPerLoad", tab_count, 1, 200, 50);
|
/external/chromium_org/chrome/browser/ui/tabs/ |
H A D | tab_strip_model_order_controller.cc | 25 int tab_count = tabstrip_->count(); local 26 if (!tab_count) 54 int tab_count = tabstrip_->count(); local 55 DCHECK(removing_index >= 0 && removing_index < tab_count); 89 if (selected_index >= (tab_count - 1))
|
H A D | tab_strip_model_unittest.cc | 242 int tab_count, 245 for (int i = 0; i < tab_count; ++i) { 2265 const int tab_count; member in struct:TestData 2316 PrepareTabstripForSelectionTest(&strip, test_data[i].tab_count, 241 PrepareTabstripForSelectionTest(TabStripModel* model, int tab_count, int pinned_count, const std::string& selected_tabs) argument
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
H A D | stacked_tab_strip_layout.h | 194 return tab_count() != mini_tab_count_ && 195 x_ + width_for_count(tab_count() - mini_tab_count_) > width_; 199 int tab_count() const { return view_model_->view_size(); } function in class:StackedTabStripLayout 202 int normal_tab_count() const { return tab_count() - mini_tab_count_; }
|
H A D | tab_strip.h | 161 int tab_count() const { return tabs_.view_size(); } function in class:TabStrip 294 // WARNING: if drop_before is true it is possible this will == tab_count, 458 // |mini_tab_count| gives the number of mini-tabs and |tab_count| the number 460 void GetDesiredTabWidths(int tab_count,
|
H A D | tab_drag_controller.cc | 649 if (attached_tabstrip_->tab_count() != 660 if (index + 1 >= attached_tabstrip_->tab_count()) 1125 const int last_tab = attached_tabstrip_->tab_count() - 1; 1151 if (start < 0 || start >= attached_tabstrip_->tab_count() || 1167 const int tab_count = attached_tabstrip_->tab_count(); local 1168 if (!tab_count) 1191 attached_tabstrip_->ideal_bounds(tab_count - 1).right(); 1192 index = (dragged_bounds.right() > last_tab_right) ? tab_count : 0; 1212 if (index + 1 >= attached_tabstrip_->tab_count() || [all...] |
H A D | tab_strip.cc | 610 for (int i = 0; i < tab_count(); ++i) 643 if (tab_count() > 1 && GetWidget() && GetWidget()->IsVisible()) 879 for (int i = 0; i < tab_count(); ++i) { 929 for (int i = 0; i < tab_count(); ++i) 1068 for (int i = 0; i < tab_count(); ++i) { 1160 if (active_index == tab_count()) 1197 state->count = tab_count(); 1243 PaintClosingTabs(canvas, tab_count(), cull_set); 1245 for (int i = tab_count() - 1; i >= 0; --i) { 1278 for (int i = tab_count() 2051 GetDesiredTabWidths(int tab_count, int mini_tab_count, double* unselected_width, double* selected_width) const argument [all...] |
/external/chromium_org/chrome/browser/accessibility/ |
H A D | accessibility_events.cc | 167 int tab_count) 170 tab_count_(tab_count) { 163 AccessibilityTabInfo(Profile* profile, const std::string& tab_name, const std::string& context, int tab_index, int tab_count) argument
|
H A D | accessibility_events.h | 193 int tab_count); 205 int tab_count() const { return tab_count_; } function in class:AccessibilityTabInfo
|
/external/chromium_org/chrome/browser/renderer_host/ |
H A D | render_process_host_chrome_browsertest.cc | 119 int tab_count = 1; local 130 EXPECT_EQ(tab_count, browser()->tab_strip_model()->count()); 131 tab1 = browser()->tab_strip_model()->GetWebContentsAt(tab_count - 1); 144 tab_count++; 146 EXPECT_EQ(tab_count, browser()->tab_strip_model()->count()); 147 tab1 = browser()->tab_strip_model()->GetWebContentsAt(tab_count - 1); 159 tab_count++; 160 EXPECT_EQ(tab_count, browser()->tab_strip_model()->count()); 161 tab2 = browser()->tab_strip_model()->GetWebContentsAt(tab_count - 1); 175 tab_count 217 int tab_count = 1; local 352 int tab_count = 1; local 399 int tab_count = 1; local [all...] |
/external/chromium_org/chrome/browser/sessions/ |
H A D | tab_restore_browsertest.cc | 110 int tab_count = browser->tab_strip_model()->count(); local 111 EXPECT_EQ(starting_tab_count + how_many, tab_count); 112 return tab_count; 141 int tab_count = browser->tab_strip_model()->count(); local 142 ASSERT_GT(tab_count, 0); 164 EXPECT_EQ(++tab_count, browser->tab_strip_model()->count()); 208 int tab_count = AddSomeTabs(browser(), 1); local 210 int closed_tab_index = tab_count - 1; 418 int tab_count = browser()->tab_strip_model()->count(); local 424 EXPECT_EQ(++tab_count, browse 476 int tab_count = browser()->tab_strip_model()->count(); local [all...] |
/external/chromium_org/ui/views/controls/tabbed_pane/ |
H A D | tabbed_pane.cc | 345 const int tab_count = GetTabCount(); local 346 if (tab_count <= 1) 349 int next_tab_index = (selected_tab_index() + increment) % tab_count; 352 next_tab_index += tab_count;
|
/external/chromium_org/chrome/browser/chromeos/memory/ |
H A D | oom_priority_manager.cc | 414 int tab_count = 0; local 416 tab_count += it->tab_strip_model()->count(); 417 return tab_count;
|
/external/chromium_org/chrome/browser/ui/omnibox/ |
H A D | omnibox_view_browsertest.cc | 201 int tab_count = browser->tab_strip_model()->count(); local 202 if (tab_count == expected_tab_count) 207 (tab_count < expected_tab_count) ? 367 int tab_count = browser()->tab_strip_model()->count(); local 371 ASSERT_NO_FATAL_FAILURE(WaitForTabOpenOrClose(tab_count + 1)); 387 ASSERT_NO_FATAL_FAILURE(WaitForTabOpenOrClose(tab_count)); 651 int tab_count = browser()->tab_strip_model()->count(); local 654 ASSERT_NO_FATAL_FAILURE(WaitForTabOpenOrClose(tab_count + 1));
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
H A D | chrome_launcher_controller_browsertest.cc | 871 int tab_count = tab_strip->count(); local 875 EXPECT_EQ(++tab_count, tab_strip->count()); 881 EXPECT_EQ(--tab_count, tab_strip->count()); 888 int tab_count = tab_strip->count(); local 891 EXPECT_EQ(++tab_count, tab_strip->count()); 898 EXPECT_EQ(--tab_count, tab_strip->count()); 906 int tab_count = tab_strip->count(); local 909 EXPECT_EQ(++tab_count, tab_strip->count()); 929 int tab_count = tab_strip->count(); local 934 EXPECT_EQ(++tab_count, tab_stri 948 int tab_count = tab_strip->count(); local 965 int tab_count = tab_strip->count(); local 983 int tab_count = tab_strip->count(); local 1099 int tab_count = tab_strip->count(); local 1134 int tab_count = tab_strip->count(); local 1172 int tab_count = tab_strip->count(); local 1965 int tab_count = tab_strip->count(); local [all...] |