Searched refs:tab_bounds (Results 1 - 12 of 12) sorted by relevance

/external/chromium_org/chrome/browser/ui/views/ash/
H A Dtab_scrubber.cc44 gfx::Rect tab_bounds = tab_strip->tab_at(index)->bounds(); local
46 tab_bounds.x() + initial_tab_offset :
47 tab_bounds.right() - initial_tab_offset;
48 return gfx::Point(x, tab_bounds.CenterPoint().y());
/external/chromium/chrome/browser/ui/views/tabs/
H A Dbase_tab_strip.cc414 gfx::Rect tab_bounds = tab->bounds(); local
416 tab_bounds.set_width(0);
418 tab_bounds.set_height(0);
419 bounds_animator_.AnimateViewTo(tab, tab_bounds);
H A Dside_tab_strip.cc406 gfx::Rect tab_bounds(tab->bounds());
407 tab_bounds.set_y(y);
409 bounds->push_back(tab_bounds);
H A Dtab_strip.cc987 gfx::Rect tab_bounds = tab_closing->bounds(); local
989 tab_bounds.set_width(0);
991 tab_bounds.set_height(0);
992 bounds_animator().AnimateViewTo(tab_closing, tab_bounds);
/external/chromium_org/chrome/browser/ui/gtk/website_settings/
H A Dwebsite_settings_popup_gtk.cc656 GtkAllocation tab_bounds; local
657 gtk_widget_get_allocation(selected_tab, &tab_bounds);
669 tab_bounds.x - tab_shadow_width, allocation.y);
675 tab_bounds.x + tab_bounds.width, allocation.y);
687 tab_bounds.x - tab_shadow_width, allocation.height };
696 { tab_bounds.x + tab_bounds.width + tab_shadow_width,
/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dtab_strip.cc1211 const gfx::Rect& tab_bounds(tab_at(index)->bounds());
1213 if (tab_bounds.x() == previous_tab_bounds.x())
1216 if (tab_bounds.x() < previous_tab_bounds.x())
1219 if (previous_tab_bounds.right() + tab_h_offset() != tab_bounds.x()) {
1220 int x = previous_tab_bounds.right() - tab_bounds.x() -
1222 clip->SetRect(x, 0, tab_bounds.width() - x, tab_bounds.height());
1687 gfx::Rect tab_bounds = tab->bounds(); local
1688 tab_bounds.set_width(0);
1689 bounds_animator_.AnimateViewTo(tab, tab_bounds);
2262 SetTabBoundsForDrag(const std::vector<gfx::Rect>& tab_bounds) argument
2569 gfx::Rect tab_bounds = tab_closing->bounds(); local
[all...]
H A Dtab_strip.h434 // Sets the bounds of the tabs to |tab_bounds|.
435 void SetTabBoundsForDrag(const std::vector<gfx::Rect>& tab_bounds);
H A Dtab_drag_controller.cc1346 gfx::Rect& tab_bounds = drag_bounds[i]; local
1347 tab_bounds.Offset(-(x_offset + accumulated_width_offset), 0);
1348 int old_width = tab_bounds.width();
1354 tab_bounds.set_width(new_width);
1355 accumulated_width_offset += (old_width - tab_bounds.width());
/external/chromium/chrome/browser/instant/
H A Dinstant_loader.cc988 gfx::Rect tab_bounds; local
989 tab_contents->view()->GetContainerBounds(&tab_bounds);
990 preview_contents_->view()->SizeContents(tab_bounds.size());
/external/chromium/chrome/browser/ui/gtk/tabs/
H A Dtab_strip_gtk.cc616 gfx::Rect tab_bounds(x, start_bounds_.y(), width,
618 tabstrip_->SetTabBounds(tab_, tab_bounds);
/external/chromium_org/chrome/browser/ui/gtk/tabs/
H A Dtab_strip_gtk.cc642 gfx::Rect tab_bounds(x, start_bounds_.y(), width,
644 tabstrip_->SetTabBounds(tab_, tab_bounds);
/external/chromium/chrome/browser/tabs/
H A Dtab_strip_model_unittest.cc100 const gfx::Rect& tab_bounds) {
98 ContinueDraggingDetachedTab(TabContentsWrapper* contents, const gfx::Rect& window_bounds, const gfx::Rect& tab_bounds) argument

Completed in 253 milliseconds