/external/chromium_org/chrome/browser/ui/views/tabs/ |
stacked_tab_strip_layout.cc | 46 SetIdealBoundsAt(active_index(), ConstrainActiveX(ideal_x(active_index()))); 47 LayoutByTabOffsetAfter(active_index()); 48 LayoutByTabOffsetBefore(active_index()); 64 int old = active_index(); 66 if (old == active_index() || !requires_stacking()) 68 SetIdealBoundsAt(active_index(), ConstrainActiveX(ideal_x(active_index()))); 69 LayoutByTabOffsetBefore(active_index()); 70 LayoutByTabOffsetAfter(active_index()); [all...] |
stacked_tab_strip_layout_unittest.cc | 24 const int active_index; member in struct:__anon9968::CommonTestData 40 int active_index) { 41 layout->Reset(x, width, mini_tab_count, active_index); 55 data.active_index); 59 data.active_index); 106 std::string BoundsString2(int active_index) const { 111 if (i == active_index) 114 if (i == active_index) 120 void Validate(int active_index, int max_width) {
|
stacked_tab_strip_layout.h | 81 int active_index() const { function in class:StackedTabStripLayout 102 void Reset(int x, int width, int mini_tab_count, int active_index); 142 // against the |active_index()|. |delta| is the amount of space to resize the 171 // to the |active_index()| and is only useful when the active tab is pushed
|
tab_strip.cc | 577 const int active_index = controller_->GetActiveIndex(); local 579 if (active_index != -1) { 580 active_center = ideal_bounds(active_index).x() + 581 ideal_bounds(active_index).width() / 2; 587 if (touch_layout_ && active_index != -1) { 589 active_center - ideal_bounds(active_index).width() / 2); 1158 int active_index = IsStackingDraggedTabs() ? local 1648 const int active_index = controller_->GetActiveIndex(); local 2694 const int active_index = controller_->GetActiveIndex(); local [all...] |
/external/chromium_org/chrome/browser/ui/views/translate/ |
translate_bubble_view_browsertest.cc | 91 int active_index = browser()->tab_strip_model()->active_index(); local 94 int french_index = active_index + 1; 98 EXPECT_EQ(active_index, browser()->tab_strip_model()->active_index()); 116 EXPECT_EQ(active_index, browser()->tab_strip_model()->active_index());
|
/external/chromium_org/chrome/browser/ui/views/ash/ |
tab_scrubber_browsertest.cc | 84 int active_index = browser->tab_strip_model()->active_index(); local 85 TabScrubber::Direction direction = index < active_index ? 88 GetStartX(browser, active_index, direction); 113 int active_index = browser->tab_strip_model()->active_index(); local 114 ASSERT_NE(index, active_index); 115 ASSERT_TRUE(scrub_type != SKIP_TABS || ((index - active_index) % 2) == 0); 118 if (index < active_index) { 127 int last = GetStartX(browser, active_index, direction) [all...] |
tab_scrubber.cc | 113 browser->tab_strip_model()->active_index() : highlighted_tab_; 118 browser->tab_strip_model()->active_index(), 137 browser->tab_strip_model()->active_index(), 164 new_index == browser->tab_strip_model()->active_index()) 186 if (new_index == browser->tab_strip_model()->active_index()) { 276 highlighted_tab_ - browser_->tab_strip_model()->active_index());
|
/external/chromium_org/chrome/browser/ui/tabs/ |
tab_strip_model_order_controller.cc | 32 tabstrip_->active_index() != -1) { 36 return tabstrip_->active_index() + 1; 42 opener, tabstrip_->active_index()); 46 return tabstrip_->active_index() + 1; 88 int selected_index = tabstrip_->active_index();
|
hover_tab_selector.cc | 32 if (index != tab_strip_model_->active_index()) {
|
tab_strip_model_unittest.cc | 371 State s(model()->GetActiveWebContents(), model()->active_index(), SELECT); 393 states_.push_back(State(contents, model()->active_index(), DEACTIVATE)); 607 EXPECT_EQ(0, tabstrip.active_index()); 619 EXPECT_EQ(1, tabstrip.active_index()); 649 EXPECT_EQ(0, tabstrip.active_index()); 651 EXPECT_EQ(1, tabstrip.active_index()); 653 EXPECT_EQ(0, tabstrip.active_index()); 663 EXPECT_EQ(0, tabstrip.active_index()); 846 EXPECT_EQ(1, tabstrip.active_index()); 851 EXPECT_EQ(0, tabstrip.active_index()); [all...] |
/external/chromium_org/chrome/browser/feedback/ |
show_feedback_page.cc | 46 browser->tab_strip_model()->active_index());
|
/external/chromium_org/chrome/browser/ui/views/ |
keyboard_access_browsertest.cc | 188 ASSERT_EQ(0, browser()->tab_strip_model()->active_index()); 244 ASSERT_EQ(1, browser()->tab_strip_model()->active_index()); 297 ASSERT_EQ(1, browser()->tab_strip_model()->active_index()); 306 ASSERT_EQ(0, browser()->tab_strip_model()->active_index()); 401 ASSERT_EQ(0, browser()->tab_strip_model()->active_index()); 406 ASSERT_EQ(2, browser()->tab_strip_model()->active_index()); 410 ASSERT_EQ(0, browser()->tab_strip_model()->active_index());
|
/external/chromium_org/chrome/browser/ |
browser_commands_unittest.cc | 45 ASSERT_EQ(0, browser()->tab_strip_model()->active_index()); 49 ASSERT_EQ(1, browser()->tab_strip_model()->active_index()); 53 ASSERT_EQ(0, browser()->tab_strip_model()->active_index()); 57 ASSERT_EQ(2, browser()->tab_strip_model()->active_index()); 169 EXPECT_EQ(0, browser()->tab_strip_model()->active_index()); 193 EXPECT_EQ(1, browser()->tab_strip_model()->active_index()); 200 EXPECT_EQ(1, browser()->tab_strip_model()->active_index()); 217 ASSERT_EQ(3, browser()->tab_strip_model()->active_index()); 227 ASSERT_EQ(4, browser()->tab_strip_model()->active_index());
|
browser_keyevents_browsertest.cc | 258 ASSERT_EQ(tab_index, browser()->tab_strip_model()->active_index()); 367 int tab_index = browser()->tab_strip_model()->active_index(); 461 int tab_index = browser()->tab_strip_model()->active_index(); 507 int tab_index = browser()->tab_strip_model()->active_index(); 608 int tab_index = browser()->tab_strip_model()->active_index(); 702 ASSERT_EQ(1, browser()->tab_strip_model()->active_index()); 775 int tab_index = browser()->tab_strip_model()->active_index(); 813 int tab_index = browser()->tab_strip_model()->active_index(); 855 int tab_index = browser()->tab_strip_model()->active_index(); [all...] |
/external/chromium_org/chrome/browser/chromeos/memory/ |
oom_priority_manager_browsertest.cc | 109 EXPECT_EQ(1, browser()->tab_strip_model()->active_index()); 126 EXPECT_EQ(0, browser()->tab_strip_model()->active_index()); 137 EXPECT_EQ(2, browser()->tab_strip_model()->active_index());
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
multi_profile_browser_status_monitor.cc | 69 int active_index = browser->tab_strip_model()->active_index(); local 73 browser->window()->IsActive() && i == active_index ?
|
app_shortcut_launcher_item_controller.cc | 255 int active_index = tab_strip->active_index(); local 258 (index + active_index) % tab_strip->count()); 318 int old_index = tab_strip->active_index(); 334 tab_strip->active_index());
|
/external/chromium_org/chrome/browser/ui/autofill/ |
account_chooser_model.cc | 64 size_t active_index) { 66 SelectWalletAccount(active_index);
|
account_chooser_model.h | 77 size_t active_index);
|
/external/chromium_org/chrome/browser/ui/ |
browser_navigator_browsertest.cc | 257 EXPECT_EQ(2, browser()->tab_strip_model()->active_index()); 270 EXPECT_EQ(1, browser()->tab_strip_model()->active_index()); 289 EXPECT_EQ(1, browser()->tab_strip_model()->active_index()); 300 EXPECT_EQ(1, browser()->tab_strip_model()->active_index()); 312 EXPECT_EQ(2, browser()->tab_strip_model()->active_index()); 324 EXPECT_EQ(3, browser()->tab_strip_model()->active_index()); 333 EXPECT_EQ(0, browser()->tab_strip_model()->active_index()); 344 EXPECT_EQ(1, browser()->tab_strip_model()->active_index()); 787 EXPECT_EQ(1, browser()->tab_strip_model()->active_index()); 801 EXPECT_EQ(2, browser()->tab_strip_model()->active_index()); [all...] |
/external/chromium_org/chrome/browser/ui/sync/ |
browser_synced_window_delegate.cc | 78 return browser_->tab_strip_model()->active_index();
|
/external/chromium_org/chrome/browser/sessions/ |
session_restore_browsertest.cc | 612 ASSERT_EQ(0, browser()->tab_strip_model()->active_index()); 843 ASSERT_EQ(1, new_browser->tab_strip_model()->active_index()); [all...] |
/external/chromium_org/chrome/browser/printing/ |
print_preview_dialog_controller_unittest.cc | 126 EXPECT_EQ(tab_2_index, tab_strip_model->active_index()); 131 EXPECT_EQ(tab_1_index, tab_strip_model->active_index());
|
/external/chromium_org/chrome/browser/ui/webui/ |
bookmarks_ui_browsertest.cc | 93 ASSERT_EQ(1, browser()->tab_strip_model()->active_index());
|
/external/chromium_org/chrome/browser/captive_portal/ |
captive_portal_browsertest.cc | 1120 int active_index = browser->tab_strip_model()->active_index(); local [all...] |