Home | History | Annotate | Download | only in find_bar

Lines Matching refs:new_pos

190   gfx::Rect new_pos = view_location;
196 avoid_overlapping_rect.Intersects(new_pos)) {
198 new_pos.set_x(avoid_overlapping_rect.x() +
203 if (new_pos.x() + new_pos.width() > dialog_bounds.width())
204 new_pos = view_location; // Reset.
206 new_pos.set_x(avoid_overlapping_rect.x() - new_pos.width() -
210 if (new_pos.x() < 0)
211 new_pos = view_location; // Reset.
215 return new_pos;