Lines Matching refs:bounds
37 gfx::Rect bounds = gfx::Rect(contents()->GetPreferredSize());
38 bounds.set_width(std::max(0, width() - GetScrollBarWidth()));
39 contents()->SetBoundsRect(bounds);
43 gfx::Rect bounds = contents()->bounds();
44 bounds.set_width(bounds.width() + GetScrollBarWidth());
45 contents()->SetBoundsRect(bounds);
50 gfx::Rect bounds = gfx::Rect(contents()->GetPreferredSize());
51 bounds.set_width(std::max(0, width() - GetScrollBarWidth()));
52 contents()->SetBoundsRect(bounds);