Home | History | Annotate | Download | only in tabs

Lines Matching refs:new_bounds

360         gfx::Rect new_bounds(CalculateDraggedBrowserBounds(source_tabstrip_,
363 new_bounds.Offset(-widget->GetRestoredBounds().x() +
368 widget->SetBounds(new_bounds);
431 const gfx::Rect& new_bounds) {
433 "new_bounds", new_bounds.ToString());
1634 gfx::Rect new_bounds(source->GetWidget()->GetRestoredBounds());
1641 new_bounds.set_width(
1642 std::max(max_size.width() / 2, new_bounds.width()));
1643 new_bounds.set_height(
1644 std::max(max_size.height() / 2, new_bounds.height()));
1646 new_bounds.set_y(point_in_screen.y() - center.y());
1649 new_bounds.set_x(point_in_screen.x() - center.x());
1650 new_bounds.Offset(-mouse_offset_.x(), 0);
1655 new_bounds.set_x(point_in_screen.x() - right_edge.x());
1656 new_bounds.Offset(drag_bounds->back().right() - mouse_offset_.x(), 0);
1668 new_bounds.Offset(0, -source->kNewTabButtonVerticalOffset);
1669 new_bounds;
1714 gfx::Rect new_bounds(CalculateDraggedBrowserBounds(source,
1717 *drag_offset = point_in_screen - new_bounds.origin();
1724 create_params.initial_bounds = new_bounds;
1730 browser->window()->SetBounds(new_bounds);