Searched refs:tab_data_index (Results 1 – 7 of 7) sorted by relevance
/external/chromium/chrome/browser/ui/touch/tabs/ |
D | touch_tab_strip.cc | 107 int tab_data_index = ModelIndexToTabIndex(model_index); in StartInsertTabAnimation() local 108 BaseTab* tab = base_tab_at_tab_index(tab_data_index); in StartInsertTabAnimation() 110 tab->SetBounds(0, ideal_bounds(tab_data_index).y(), 0, in StartInsertTabAnimation() 111 ideal_bounds(tab_data_index).height()); in StartInsertTabAnimation() 113 BaseTab* last_tab = base_tab_at_tab_index(tab_data_index - 1); in StartInsertTabAnimation() 115 ideal_bounds(tab_data_index).y(), 0, in StartInsertTabAnimation() 116 ideal_bounds(tab_data_index).height()); in StartInsertTabAnimation() 270 TouchTab* TouchTabStrip::GetTabAtTabDataIndex(int tab_data_index) const { in GetTabAtTabDataIndex() 271 return static_cast<TouchTab*>(base_tab_at_tab_index(tab_data_index)); in GetTabAtTabDataIndex()
|
D | touch_tab_strip.h | 63 TouchTab* GetTabAtTabDataIndex(int tab_data_index) const;
|
/external/chromium/chrome/browser/ui/views/tabs/ |
D | tab_strip.cc | 441 int tab_data_index = ModelIndexToTabIndex(model_index); in StartInsertTabAnimation() local 442 BaseTab* tab = base_tab_at_tab_index(tab_data_index); in StartInsertTabAnimation() 444 tab->SetBounds(0, ideal_bounds(tab_data_index).y(), 0, in StartInsertTabAnimation() 445 ideal_bounds(tab_data_index).height()); in StartInsertTabAnimation() 447 BaseTab* last_tab = base_tab_at_tab_index(tab_data_index - 1); in StartInsertTabAnimation() 449 ideal_bounds(tab_data_index).y(), 0, in StartInsertTabAnimation() 450 ideal_bounds(tab_data_index).height()); in StartInsertTabAnimation() 592 Tab* TabStrip::GetTabAtTabDataIndex(int tab_data_index) const { in GetTabAtTabDataIndex() 593 return static_cast<Tab*>(base_tab_at_tab_index(tab_data_index)); in GetTabAtTabDataIndex() 796 void TabStrip::SetDropIndex(int tab_data_index, bool drop_before) { in SetDropIndex() argument [all …]
|
D | base_tab_strip.cc | 439 int tab_data_index = TabIndexOfTab(tab); in RemoveAndDeleteTab() local 441 DCHECK(tab_data_index != -1); in RemoveAndDeleteTab() 444 tab_data_.erase(tab_data_.begin() + tab_data_index); in RemoveAndDeleteTab() 489 int tab_data_index = TabIndexOfTab(tabs[i]); in StartedDraggingTabs() local 490 DCHECK(tab_data_index != -1); in StartedDraggingTabs() 491 tabs[i]->SetBoundsRect(ideal_bounds(tab_data_index)); in StartedDraggingTabs() 544 int tab_data_index = TabIndexOfTab(tab); in StoppedDraggingTab() local 545 if (tab_data_index == -1) { in StoppedDraggingTab()
|
D | side_tab_strip.cc | 345 int tab_data_index = ModelIndexToTabIndex(model_index); in StartInsertTabAnimation() local 346 BaseTab* tab = base_tab_at_tab_index(tab_data_index); in StartInsertTabAnimation() 348 tab->SetBounds(ideal_bounds(tab_data_index).x(), 0, in StartInsertTabAnimation() 349 ideal_bounds(tab_data_index).width(), 0); in StartInsertTabAnimation() 351 BaseTab* last_tab = base_tab_at_tab_index(tab_data_index - 1); in StartInsertTabAnimation() 353 ideal_bounds(tab_data_index).width(), 0); in StartInsertTabAnimation()
|
D | tab_strip.h | 150 Tab* GetTabAtTabDataIndex(int tab_data_index) const; 200 void SetDropIndex(int tab_data_index, bool drop_before);
|
D | base_tab_strip.h | 43 const gfx::Rect& ideal_bounds(int tab_data_index) { in ideal_bounds() argument 44 return tab_data_[tab_data_index].ideal_bounds; in ideal_bounds()
|