Home | History | Annotate | Download | only in find_bar

Lines Matching defs:new_pos

161   gfx::Rect new_pos = view_location;
167 avoid_overlapping_rect.Intersects(new_pos)) {
169 new_pos.set_x(avoid_overlapping_rect.x() +
174 if (new_pos.x() + new_pos.width() > dialog_bounds.width())
175 new_pos = view_location; // Reset.
177 new_pos.set_x(avoid_overlapping_rect.x() - new_pos.width() -
181 if (new_pos.x() < 0)
182 new_pos = view_location; // Reset.
186 return new_pos;