Home | History | Annotate | Download | only in tabs

Lines Matching refs:bounds

75 // we pick up the normal bounds by connecting to the configure-event signal.
427 gfx::Rect bounds(Round(new_x), start_tab_a_bounds_.y(), tab_a_->width(),
429 tabstrip_->SetTabBounds(tab_a_, bounds);
435 bounds = gfx::Rect(Round(new_x), start_tab_b_bounds_.y(), tab_b_->width(),
437 tabstrip_->SetTabBounds(tab_b_, bounds);
449 // ...and their bounds.
673 // Initial bounds of tab_.
676 // Target bounds.
803 const gfx::Rect& bounds = tab_data_.at(i).ideal_bounds;
807 SetTabBounds(tab, bounds);
808 tab_right = bounds.right();
819 void TabStripGtk::SetBounds(const gfx::Rect& bounds) {
820 bounds_ = bounds;
1358 gfx::Rect bounds(0, kNewTabButtonVOffset,
1363 // right edge of the TabStrip's bounds, rather than the right edge of the
1365 bounds.set_x(bounds_.width() - newtab_button_->width());
1367 bounds.set_x(Round(last_tab_right - kTabHOffset) + kNewTabButtonHOffset);
1369 bounds.set_x(gtk_util::MirroredLeftPointForRect(tabstrip_.get(), bounds));
1372 bounds.x(), bounds.y());
1505 gfx::Rect bds = bounds();
1539 gfx::Rect bounds = tab->GetNonMirroredBounds(tabstrip_.get());
1542 center_x = bounds.x() - (kTabHOffset / 2);
1544 center_x = bounds.x() + (bounds.width() / 2);
1547 gfx::Rect bounds = last_tab->GetNonMirroredBounds(tabstrip_.get());
1548 center_x = bounds.x() + bounds.width() + (kTabHOffset / 2);
1553 // Determine the screen bounds.
1564 drop_bounds.Offset(0, drop_bounds.height() + bounds().height());
1577 gfx::Rect bounds = tab->GetNonMirroredBounds(tabstrip_.get());
1578 const int tab_max_x = bounds.x() + bounds.width();
1579 const int hot_width = bounds.width() / 3;
1581 if (x < bounds.x() + hot_width)
1795 gfx::Rect bounds(rounded_tab_x, 0, Round(end_of_tab) - rounded_tab_x,
1797 SetTabBounds(tab, bounds);
1926 gfx::Rect bounds = gfx::Rect(allocation->x, allocation->y,
1929 // Nothing to do if the bounds are the same. If we don't catch this, we'll
1931 if (bounds_ == bounds)
1934 SetBounds(bounds);
2020 void TabStripGtk::SetTabBounds(TabGtk* tab, const gfx::Rect& bounds) {
2021 gfx::Rect bds = bounds;
2022 bds.set_x(gtk_util::MirroredLeftPointForRect(tabstrip_.get(), bounds));