Home | History | Annotate | Download | only in menu

Lines Matching refs:vis_bounds

218   gfx::Rect vis_bounds = GetVisibleBounds();
220 if (vis_bounds.height() == height() || !menu_item_count) {
228 while ((i < menu_item_count) && (GetMenuItemAt(i)->y() < vis_bounds.y()))
233 (GetMenuItemAt(i)->y() == vis_bounds.y()) ? i : i - 1);
245 if (GetMenuItemAt(first_vis_index)->y() == vis_bounds.y()) {
255 if (GetMenuItemAt(first_vis_index)->y() == vis_bounds.y())
259 vis_bounds.size()));
260 vis_bounds = GetVisibleBounds();
446 const gfx::Rect& vis_bounds = GetVisibleBounds();
448 int x = vis_bounds.x();
449 int y = vis_bounds.y() - static_cast<int>(dy);
451 y = std::min(y, full_bounds.height() - vis_bounds.height() - 1);
453 gfx::Rect new_vis_bounds(x, y, vis_bounds.width(), vis_bounds.height());
454 if (new_vis_bounds != vis_bounds) {