Home | History | Annotate | Download | only in frame

Lines Matching refs:bounds

33 void PanelBrowserView::LimitBounds(gfx::Rect* bounds) const {
38 if (bounds->width() == 0 && bounds->height() == 0) {
39 bounds->set_width(kPanelDefaultWidthPixels);
40 bounds->set_height(kPanelDefaultHeightPixels);
43 if (bounds->width() < kPanelMinWidthPixels)
44 bounds->set_width(kPanelMinWidthPixels);
45 else if (bounds->width() > max_width)
46 bounds->set_width(max_width);
48 if (bounds->height() < kPanelMinHeightPixels)
49 bounds->set_height(kPanelMinHeightPixels);
50 else if (bounds->height() > max_height)
51 bounds->set_height(max_height);
72 is_active, bounds(), creator_xid_,
77 void PanelBrowserView::SetBounds(const gfx::Rect& bounds) {
78 gfx::Rect limit_bounds = bounds;
101 bool PanelBrowserView::GetSavedWindowBounds(gfx::Rect* bounds) const {
102 bool res = ::BrowserView::GetSavedWindowBounds(bounds);
104 LimitBounds(bounds);